owntone-server/htdocs/assets/index.js
2023-06-29 22:52:21 +02:00

45 lines
782 KiB
JavaScript

const $1=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}};$1();function hl(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const ft={},Lr=[],Bn=()=>{},S1=()=>!1,A1=/^on[^a-z]/,pi=e=>A1.test(e),qc=e=>e.startsWith("onUpdate:"),yt=Object.assign,Wc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T1=Object.prototype.hasOwnProperty,rt=(e,t)=>T1.call(e,t),ke=Array.isArray,Mr=e=>eo(e)==="[object Map]",mr=e=>eo(e)==="[object Set]",_m=e=>eo(e)==="[object Date]",O1=e=>eo(e)==="[object RegExp]",Ne=e=>typeof e=="function",wt=e=>typeof e=="string",ei=e=>typeof e=="symbol",pt=e=>e!==null&&typeof e=="object",Gc=e=>pt(e)&&Ne(e.then)&&Ne(e.catch),sh=Object.prototype.toString,eo=e=>sh.call(e),D1=e=>eo(e).slice(8,-1),rh=e=>eo(e)==="[object Object]",Kc=e=>wt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ro=hl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_l=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P1=/-(\w)/g,dn=_l(e=>e.replace(P1,(t,n)=>n?n.toUpperCase():"")),I1=/\B([A-Z])/g,$n=_l(e=>e.replace(I1,"-$1").toLowerCase()),hi=_l(e=>e.charAt(0).toUpperCase()+e.slice(1)),Lo=_l(e=>e?`on${hi(e)}`:""),Ur=(e,t)=>!Object.is(e,t),Nr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Wa=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ga=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ka=e=>{const t=wt(e)?Number(e):NaN;return isNaN(t)?e:t};let gm;const Hu=()=>gm||(gm=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),F1="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",R1=hl(F1);function un(e){if(ke(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=wt(s)?V1(s):un(s);if(r)for(const o in r)t[o]=r[o]}return t}else{if(wt(e))return e;if(pt(e))return e}}const L1=/;(?![^(]*\))/g,M1=/:([^]+)/,N1=/\/\*[^]*?\*\//g;function V1(e){const t={};return e.replace(N1,"").split(L1).forEach(n=>{if(n){const s=n.split(M1);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Te(e){let t="";if(wt(e))t=e;else if(ke(e))for(let n=0;n<e.length;n++){const s=Te(e[n]);s&&(t+=s+" ")}else if(pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Eo(e){if(!e)return null;let{class:t,style:n}=e;return t&&!wt(t)&&(e.class=Te(t)),n&&(e.style=un(n)),e}const B1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",H1=hl(B1);function oh(e){return!!e||e===""}function U1(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ms(e[s],t[s]);return n}function Ms(e,t){if(e===t)return!0;let n=_m(e),s=_m(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ei(e),s=ei(t),n||s)return e===t;if(n=ke(e),s=ke(t),n||s)return n&&s?U1(e,t):!1;if(n=pt(e),s=pt(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),u=t.hasOwnProperty(i);if(a&&!u||!a&&u||!Ms(e[i],t[i]))return!1}}return String(e)===String(t)}function gl(e,t){return e.findIndex(n=>Ms(n,t))}const g=e=>wt(e)?e:e==null?"":ke(e)||pt(e)&&(e.toString===sh||!Ne(e.toString))?JSON.stringify(e,ih,2):String(e),ih=(e,t)=>t&&t.__v_isRef?ih(e,t.value):Mr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:mr(t)?{[`Set(${t.size})`]:[...t.values()]}:pt(t)&&!ke(t)&&!rh(t)?String(t):t;let _n;class Zc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_n,!t&&_n&&(this.index=(_n.scopes||(_n.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_n;try{return _n=this,t()}finally{_n=n}}}on(){_n=this}off(){_n=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Yc(e){return new Zc(e)}function ah(e,t=_n){t&&t.active&&t.effects.push(e)}function lh(){return _n}function j1(e){_n&&_n.cleanups.push(e)}const Jc=e=>{const t=new Set(e);return t.w=0,t.n=0,t},uh=e=>(e.w&Ns)>0,ch=e=>(e.n&Ns)>0,q1=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ns},W1=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];uh(r)&&!ch(r)?r.delete(e):t[n++]=r,r.w&=~Ns,r.n&=~Ns}t.length=n}},Za=new WeakMap;let $o=0,Ns=1;const Uu=30;let Mn;const sr=Symbol(""),ju=Symbol("");class _i{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,ah(this,s)}run(){if(!this.active)return this.fn();let t=Mn,n=Rs;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Mn,Mn=this,Rs=!0,Ns=1<<++$o,$o<=Uu?q1(this):ym(this),this.fn()}finally{$o<=Uu&&W1(this),Ns=1<<--$o,Mn=this.parent,Rs=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Mn===this?this.deferStop=!0:this.active&&(ym(this),this.onStop&&this.onStop(),this.active=!1)}}function ym(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function G1(e,t){e.effect&&(e=e.effect.fn);const n=new _i(e);t&&(yt(n,t),t.scope&&ah(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function K1(e){e.effect.stop()}let Rs=!0;const dh=[];function to(){dh.push(Rs),Rs=!1}function no(){const e=dh.pop();Rs=e===void 0?!0:e}function mn(e,t,n){if(Rs&&Mn){let s=Za.get(e);s||Za.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Jc()),mh(r)}}function mh(e,t){let n=!1;$o<=Uu?ch(e)||(e.n|=Ns,n=!uh(e)):n=!e.has(Mn),n&&(e.add(Mn),Mn.deps.push(e))}function _s(e,t,n,s,r,o){const i=Za.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ke(e)){const u=Number(s);i.forEach((c,d)=>{(d==="length"||d>=u)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ke(e)?Kc(n)&&a.push(i.get("length")):(a.push(i.get(sr)),Mr(e)&&a.push(i.get(ju)));break;case"delete":ke(e)||(a.push(i.get(sr)),Mr(e)&&a.push(i.get(ju)));break;case"set":Mr(e)&&a.push(i.get(sr));break}if(a.length===1)a[0]&&qu(a[0]);else{const u=[];for(const c of a)c&&u.push(...c);qu(Jc(u))}}function qu(e,t){const n=ke(e)?e:[...e];for(const s of n)s.computed&&vm(s);for(const s of n)s.computed||vm(s)}function vm(e,t){(e!==Mn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Z1(e,t){var n;return(n=Za.get(e))==null?void 0:n.get(t)}const Y1=hl("__proto__,__v_isRef,__isVue"),fh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ei)),J1=yl(),X1=yl(!1,!0),Q1=yl(!0),eb=yl(!0,!0),bm=tb();function tb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=et(this);for(let o=0,i=this.length;o<i;o++)mn(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(et)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){to();const s=et(this)[t].apply(this,n);return no(),s}}),e}function nb(e){const t=et(this);return mn(t,"has",e),t.hasOwnProperty(e)}function yl(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?bh:vh:t?yh:gh).get(s))return s;const i=ke(s);if(!e){if(i&&rt(bm,r))return Reflect.get(bm,r,o);if(r==="hasOwnProperty")return nb}const a=Reflect.get(s,r,o);return(ei(r)?fh.has(r):Y1(r))||(e||mn(s,"get",r),t)?a:Pt(a)?i&&Kc(r)?a:a.value:pt(a)?e?Qc(a):fr(a):a}}const sb=ph(),rb=ph(!0);function ph(e=!1){return function(n,s,r,o){let i=n[s];if(ur(i)&&Pt(i)&&!Pt(r))return!1;if(!e&&(!ti(r)&&!ur(r)&&(i=et(i),r=et(r)),!ke(n)&&Pt(i)&&!Pt(r)))return i.value=r,!0;const a=ke(n)&&Kc(s)?Number(s)<n.length:rt(n,s),u=Reflect.set(n,s,r,o);return n===et(o)&&(a?Ur(r,i)&&_s(n,"set",s,r):_s(n,"add",s,r)),u}}function ob(e,t){const n=rt(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&_s(e,"delete",t,void 0),s}function ib(e,t){const n=Reflect.has(e,t);return(!ei(t)||!fh.has(t))&&mn(e,"has",t),n}function ab(e){return mn(e,"iterate",ke(e)?"length":sr),Reflect.ownKeys(e)}const hh={get:J1,set:sb,deleteProperty:ob,has:ib,ownKeys:ab},_h={get:Q1,set(e,t){return!0},deleteProperty(e,t){return!0}},lb=yt({},hh,{get:X1,set:rb}),ub=yt({},_h,{get:eb}),Xc=e=>e,vl=e=>Reflect.getPrototypeOf(e);function Pi(e,t,n=!1,s=!1){e=e.__v_raw;const r=et(e),o=et(t);n||(t!==o&&mn(r,"get",t),mn(r,"get",o));const{has:i}=vl(r),a=s?Xc:n?nd:ni;if(i.call(r,t))return a(e.get(t));if(i.call(r,o))return a(e.get(o));e!==r&&e.get(t)}function Ii(e,t=!1){const n=this.__v_raw,s=et(n),r=et(e);return t||(e!==r&&mn(s,"has",e),mn(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Fi(e,t=!1){return e=e.__v_raw,!t&&mn(et(e),"iterate",sr),Reflect.get(e,"size",e)}function Cm(e){e=et(e);const t=et(this);return vl(t).has.call(t,e)||(t.add(e),_s(t,"add",e,e)),this}function wm(e,t){t=et(t);const n=et(this),{has:s,get:r}=vl(n);let o=s.call(n,e);o||(e=et(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Ur(t,i)&&_s(n,"set",e,t):_s(n,"add",e,t),this}function zm(e){const t=et(this),{has:n,get:s}=vl(t);let r=n.call(t,e);r||(e=et(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&_s(t,"delete",e,void 0),o}function km(){const e=et(this),t=e.size!==0,n=e.clear();return t&&_s(e,"clear",void 0,void 0),n}function Ri(e,t){return function(s,r){const o=this,i=o.__v_raw,a=et(i),u=t?Xc:e?nd:ni;return!e&&mn(a,"iterate",sr),i.forEach((c,d)=>s.call(r,u(c),u(d),o))}}function Li(e,t,n){return function(...s){const r=this.__v_raw,o=et(r),i=Mr(o),a=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,c=r[e](...s),d=n?Xc:t?nd:ni;return!t&&mn(o,"iterate",u?ju:sr),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:a?[d(f[0]),d(f[1])]:d(f),done:m}},[Symbol.iterator](){return this}}}}function Cs(e){return function(...t){return e==="delete"?!1:this}}function cb(){const e={get(o){return Pi(this,o)},get size(){return Fi(this)},has:Ii,add:Cm,set:wm,delete:zm,clear:km,forEach:Ri(!1,!1)},t={get(o){return Pi(this,o,!1,!0)},get size(){return Fi(this)},has:Ii,add:Cm,set:wm,delete:zm,clear:km,forEach:Ri(!1,!0)},n={get(o){return Pi(this,o,!0)},get size(){return Fi(this,!0)},has(o){return Ii.call(this,o,!0)},add:Cs("add"),set:Cs("set"),delete:Cs("delete"),clear:Cs("clear"),forEach:Ri(!0,!1)},s={get(o){return Pi(this,o,!0,!0)},get size(){return Fi(this,!0)},has(o){return Ii.call(this,o,!0)},add:Cs("add"),set:Cs("set"),delete:Cs("delete"),clear:Cs("clear"),forEach:Ri(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Li(o,!1,!1),n[o]=Li(o,!0,!1),t[o]=Li(o,!1,!0),s[o]=Li(o,!0,!0)}),[e,n,t,s]}const[db,mb,fb,pb]=cb();function bl(e,t){const n=t?e?pb:fb:e?mb:db;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(rt(n,r)&&r in s?n:s,r,o)}const hb={get:bl(!1,!1)},_b={get:bl(!1,!0)},gb={get:bl(!0,!1)},yb={get:bl(!0,!0)},gh=new WeakMap,yh=new WeakMap,vh=new WeakMap,bh=new WeakMap;function vb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bb(e){return e.__v_skip||!Object.isExtensible(e)?0:vb(D1(e))}function fr(e){return ur(e)?e:Cl(e,!1,hh,hb,gh)}function Ch(e){return Cl(e,!1,lb,_b,yh)}function Qc(e){return Cl(e,!0,_h,gb,vh)}function Cb(e){return Cl(e,!0,ub,yb,bh)}function Cl(e,t,n,s,r){if(!pt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=bb(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function rr(e){return ur(e)?rr(e.__v_raw):!!(e&&e.__v_isReactive)}function ur(e){return!!(e&&e.__v_isReadonly)}function ti(e){return!!(e&&e.__v_isShallow)}function ed(e){return rr(e)||ur(e)}function et(e){const t=e&&e.__v_raw;return t?et(t):e}function td(e){return Wa(e,"__v_skip",!0),e}const ni=e=>pt(e)?fr(e):e,nd=e=>pt(e)?Qc(e):e;function sd(e){Rs&&Mn&&(e=et(e),mh(e.dep||(e.dep=Jc())))}function wl(e,t){e=et(e);const n=e.dep;n&&qu(n)}function Pt(e){return!!(e&&e.__v_isRef===!0)}function Xt(e){return zh(e,!1)}function wh(e){return zh(e,!0)}function zh(e,t){return Pt(e)?e:new wb(e,t)}class wb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:et(t),this._value=n?t:ni(t)}get value(){return sd(this),this._value}set value(t){const n=this.__v_isShallow||ti(t)||ur(t);t=n?t:et(t),Ur(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ni(t),wl(this))}}function zb(e){wl(e)}function ln(e){return Pt(e)?e.value:e}function kb(e){return Ne(e)?e():ln(e)}const xb={get:(e,t,n)=>ln(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Pt(r)&&!Pt(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function rd(e){return rr(e)?e:new Proxy(e,xb)}class Eb{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>sd(this),()=>wl(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function $b(e){return new Eb(e)}function Sb(e){const t=ke(e)?new Array(e.length):{};for(const n in e)t[n]=kh(e,n);return t}class Ab{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Z1(et(this._object),this._key)}}class Tb{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ob(e,t,n){return Pt(e)?e:Ne(e)?new Tb(e):pt(e)&&arguments.length>1?kh(e,t,n):Xt(e)}function kh(e,t,n){const s=e[t];return Pt(s)?s:new Ab(e,t,n)}class Db{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new _i(t,()=>{this._dirty||(this._dirty=!0,wl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=et(this);return sd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Pb(e,t,n=!1){let s,r;const o=Ne(e);return o?(s=e,r=Bn):(s=e.get,r=e.set),new Db(s,r,o||!r,n)}function Ib(e,...t){}function Fb(e,t){}function fs(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){pr(o,t,n)}return r}function vn(e,t,n,s){if(Ne(e)){const o=fs(e,t,n,s);return o&&Gc(o)&&o.catch(i=>{pr(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(vn(e[o],t,n,s));return r}function pr(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}o=o.parent}const u=t.appContext.config.errorHandler;if(u){fs(u,null,10,[e,i,a]);return}}Rb(e,n,r,s)}function Rb(e,t,n,s=!0){console.error(e)}let si=!1,Wu=!1;const Wt=[];let Xn=0;const Vr=[];let cs=null,er=0;const xh=Promise.resolve();let od=null;function gi(e){const t=od||xh;return e?t.then(this?e.bind(this):e):t}function Lb(e){let t=Xn+1,n=Wt.length;for(;t<n;){const s=t+n>>>1;ri(Wt[s])<e?t=s+1:n=s}return t}function zl(e){(!Wt.length||!Wt.includes(e,si&&e.allowRecurse?Xn+1:Xn))&&(e.id==null?Wt.push(e):Wt.splice(Lb(e.id),0,e),Eh())}function Eh(){!si&&!Wu&&(Wu=!0,od=xh.then($h))}function Mb(e){const t=Wt.indexOf(e);t>Xn&&Wt.splice(t,1)}function id(e){ke(e)?Vr.push(...e):(!cs||!cs.includes(e,e.allowRecurse?er+1:er))&&Vr.push(e),Eh()}function xm(e,t=si?Xn+1:0){for(;t<Wt.length;t++){const n=Wt[t];n&&n.pre&&(Wt.splice(t,1),t--,n())}}function Ya(e){if(Vr.length){const t=[...new Set(Vr)];if(Vr.length=0,cs){cs.push(...t);return}for(cs=t,cs.sort((n,s)=>ri(n)-ri(s)),er=0;er<cs.length;er++)cs[er]();cs=null,er=0}}const ri=e=>e.id==null?1/0:e.id,Nb=(e,t)=>{const n=ri(e)-ri(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function $h(e){Wu=!1,si=!0,Wt.sort(Nb);const t=Bn;try{for(Xn=0;Xn<Wt.length;Xn++){const n=Wt[Xn];n&&n.active!==!1&&fs(n,null,14)}}finally{Xn=0,Wt.length=0,Ya(),si=!1,od=null,(Wt.length||Vr.length)&&$h()}}let Sr,Mi=[];function Sh(e,t){var n,s;Sr=e,Sr?(Sr.enabled=!0,Mi.forEach(({event:r,args:o})=>Sr.emit(r,...o)),Mi=[]):typeof window!="undefined"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Sh(o,t)}),setTimeout(()=>{Sr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Mi=[])},3e3)):Mi=[]}function Vb(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ft;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:m}=s[d]||ft;m&&(r=n.map(p=>wt(p)?p.trim():p)),f&&(r=n.map(Ga))}let a,u=s[a=Lo(t)]||s[a=Lo(dn(t))];!u&&o&&(u=s[a=Lo($n(t))]),u&&vn(u,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,vn(c,e,6,r)}}function Ah(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!Ne(e)){const u=c=>{const d=Ah(c,t,!0);d&&(a=!0,yt(i,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!a?(pt(e)&&s.set(e,null),null):(ke(o)?o.forEach(u=>i[u]=null):yt(i,o),pt(e)&&s.set(e,i),i)}function kl(e,t){return!e||!pi(t)?!1:(t=t.slice(2).replace(/Once$/,""),rt(e,t[0].toLowerCase()+t.slice(1))||rt(e,$n(t))||rt(e,t))}let Vt=null,xl=null;function oi(e){const t=Vt;return Vt=e,xl=e&&e.type.__scopeId||null,t}function Bb(e){xl=e}function Hb(){xl=null}const Ub=e=>E;function E(e,t=Vt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Qu(-1);const o=oi(t);let i;try{i=e(...r)}finally{oi(o),s._d&&Qu(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Pa(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:a,attrs:u,emit:c,render:d,renderCache:f,data:m,setupState:p,ctx:h,inheritAttrs:_}=e;let w,b;const y=oi(e);try{if(n.shapeFlag&4){const C=r||s;w=gn(d.call(C,C,f,o,p,m,h)),b=u}else{const C=t;w=gn(C.length>1?C(o,{attrs:u,slots:a,emit:c}):C(o,null)),b=t.props?u:qb(u)}}catch(C){Bo.length=0,pr(C,e,1),w=v(Zt)}let x=w;if(b&&_!==!1){const C=Object.keys(b),{shapeFlag:k}=x;C.length&&k&7&&(i&&C.some(qc)&&(b=Wb(b,i)),x=ns(x,b))}return n.dirs&&(x=ns(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),w=x,oi(y),w}function jb(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Bs(s)){if(s.type!==Zt||s.children==="v-if"){if(t)return;t=s}}else return}return t}const qb=e=>{let t;for(const n in e)(n==="class"||n==="style"||pi(n))&&((t||(t={}))[n]=e[n]);return t},Wb=(e,t)=>{const n={};for(const s in e)(!qc(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Gb(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:u}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Em(s,i,c):!!i;if(u&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const m=d[f];if(i[m]!==s[m]&&!kl(c,m))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Em(s,i,c):!0:!!i;return!1}function Em(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!kl(n,o))return!0}return!1}function ad({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Th=e=>e.__isSuspense,Kb={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,a,u,c){e==null?Yb(t,n,s,r,o,i,a,u,c):Jb(e,t,n,s,r,i,a,u,c)},hydrate:Xb,create:ld,normalize:Qb},Zb=Kb;function ii(e,t){const n=e.props&&e.props[t];Ne(n)&&n()}function Yb(e,t,n,s,r,o,i,a,u){const{p:c,o:{createElement:d}}=u,f=d("div"),m=e.suspense=ld(e,r,s,t,f,n,o,i,a,u);c(null,m.pendingBranch=e.ssContent,f,null,s,m,o,i),m.deps>0?(ii(e,"onPending"),ii(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,o,i),Br(m,e.ssFallback)):m.resolve(!1,!0)}function Jb(e,t,n,s,r,o,i,a,{p:u,um:c,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const m=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:w,isHydrating:b}=f;if(_)f.pendingBranch=m,Nn(m,_)?(u(_,m,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0?f.resolve():w&&(u(h,p,n,s,r,null,o,i,a),Br(f,p))):(f.pendingId++,b?(f.isHydrating=!1,f.activeBranch=_):c(_,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),w?(u(null,m,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0?f.resolve():(u(h,p,n,s,r,null,o,i,a),Br(f,p))):h&&Nn(m,h)?(u(h,m,n,s,r,f,o,i,a),f.resolve(!0)):(u(null,m,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&Nn(m,h))u(h,m,n,s,r,f,o,i,a),Br(f,m);else if(ii(t,"onPending"),f.pendingBranch=m,f.pendingId++,u(null,m,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:x}=f;y>0?setTimeout(()=>{f.pendingId===x&&f.fallback(p)},y):y===0&&f.fallback(p)}}function ld(e,t,n,s,r,o,i,a,u,c,d=!1){const{p:f,m,um:p,n:h,o:{parentNode:_,remove:w}}=c;let b;const y=e0(e);y&&t!=null&&t.pendingBranch&&(b=t.pendingId,t.deps++);const x=e.props?Ka(e.props.timeout):void 0,C={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:r,anchor:o,deps:0,pendingId:0,timeout:typeof x=="number"?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(k=!1,T=!1){const{vnode:L,activeBranch:I,pendingBranch:D,pendingId:j,effects:Z,parentComponent:X,container:U}=C;if(C.isHydrating)C.isHydrating=!1;else if(!k){const te=I&&D.transition&&D.transition.mode==="out-in";te&&(I.transition.afterLeave=()=>{j===C.pendingId&&m(D,U,ie,0)});let{anchor:ie}=C;I&&(ie=h(I),p(I,X,C,!0)),te||m(D,U,ie,0)}Br(C,D),C.pendingBranch=null,C.isInFallback=!1;let q=C.parent,Ce=!1;for(;q;){if(q.pendingBranch){q.effects.push(...Z),Ce=!0;break}q=q.parent}Ce||id(Z),C.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),ii(L,"onResolve")},fallback(k){if(!C.pendingBranch)return;const{vnode:T,activeBranch:L,parentComponent:I,container:D,isSVG:j}=C;ii(T,"onFallback");const Z=h(L),X=()=>{!C.isInFallback||(f(null,k,D,Z,I,null,j,a,u),Br(C,k))},U=k.transition&&k.transition.mode==="out-in";U&&(L.transition.afterLeave=X),C.isInFallback=!0,p(L,I,null,!0),U||X()},move(k,T,L){C.activeBranch&&m(C.activeBranch,k,T,L),C.container=k},next(){return C.activeBranch&&h(C.activeBranch)},registerDep(k,T){const L=!!C.pendingBranch;L&&C.deps++;const I=k.vnode.el;k.asyncDep.catch(D=>{pr(D,k,0)}).then(D=>{if(k.isUnmounted||C.isUnmounted||C.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:j}=k;ec(k,D,!1),I&&(j.el=I);const Z=!I&&k.subTree.el;T(k,j,_(I||k.subTree.el),I?null:h(k.subTree),C,i,u),Z&&w(Z),ad(k,j.el),L&&--C.deps===0&&C.resolve()})},unmount(k,T){C.isUnmounted=!0,C.activeBranch&&p(C.activeBranch,n,k,T),C.pendingBranch&&p(C.pendingBranch,n,k,T)}};return C}function Xb(e,t,n,s,r,o,i,a,u){const c=t.suspense=ld(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,a,!0),d=u(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),d}function Qb(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=$m(s?n.default:n),e.ssFallback=s?$m(n.fallback):v(Zt)}function $m(e){let t;if(Ne(e)){const n=dr&&e._c;n&&(e._d=!1,z()),e=e(),n&&(e._d=!0,t=cn,a_())}return ke(e)&&(e=jb(e)),e=gn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Oh(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):id(e)}function Br(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,ad(s,r))}function e0(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Dh(e,t){return yi(e,null,t)}function Ph(e,t){return yi(e,null,{flush:"post"})}function t0(e,t){return yi(e,null,{flush:"sync"})}const Ni={};function tn(e,t,n){return yi(e,t,n)}function yi(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=ft){var a;const u=lh()===((a=Dt)==null?void 0:a.scope)?Dt:null;let c,d=!1,f=!1;if(Pt(e)?(c=()=>e.value,d=ti(e)):rr(e)?(c=()=>e,s=!0):ke(e)?(f=!0,d=e.some(C=>rr(C)||ti(C)),c=()=>e.map(C=>{if(Pt(C))return C.value;if(rr(C))return nr(C);if(Ne(C))return fs(C,u,2)})):Ne(e)?t?c=()=>fs(e,u,2):c=()=>{if(!(u&&u.isUnmounted))return m&&m(),vn(e,u,3,[p])}:c=Bn,t&&s){const C=c;c=()=>nr(C())}let m,p=C=>{m=y.onStop=()=>{fs(C,u,4)}},h;if(qr)if(p=Bn,t?n&&vn(t,u,3,[c(),f?[]:void 0,p]):c(),r==="sync"){const C=g_();h=C.__watcherHandles||(C.__watcherHandles=[])}else return Bn;let _=f?new Array(e.length).fill(Ni):Ni;const w=()=>{if(!!y.active)if(t){const C=y.run();(s||d||(f?C.some((k,T)=>Ur(k,_[T])):Ur(C,_)))&&(m&&m(),vn(t,u,3,[C,_===Ni?void 0:f&&_[0]===Ni?[]:_,p]),_=C)}else y.run()};w.allowRecurse=!!t;let b;r==="sync"?b=w:r==="post"?b=()=>Ut(w,u&&u.suspense):(w.pre=!0,u&&(w.id=u.uid),b=()=>zl(w));const y=new _i(c,b);t?n?w():_=y.run():r==="post"?Ut(y.run.bind(y),u&&u.suspense):y.run();const x=()=>{y.stop(),u&&u.scope&&Wc(u.scope.effects,y)};return h&&h.push(x),x}function n0(e,t,n){const s=this.proxy,r=wt(e)?e.includes(".")?Ih(s,e):()=>s[e]:e.bind(s,s);let o;Ne(t)?o=t:(o=t.handler,n=t);const i=Dt;Hs(this);const a=yi(r,o.bind(s),n);return i?Hs(i):Ls(),a}function Ih(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function nr(e,t){if(!pt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Pt(e))nr(e.value,t);else if(ke(e))for(let n=0;n<e.length;n++)nr(e[n],t);else if(mr(e)||Mr(e))e.forEach(n=>{nr(n,t)});else if(rh(e))for(const n in e)nr(e[n],t);return e}function dt(e,t){const n=Vt;if(n===null)return e;const s=Ol(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,u,c=ft]=t[o];i&&(Ne(i)&&(i={mounted:i,updated:i}),i.deep&&nr(a),r.push({dir:i,instance:s,value:a,oldValue:void 0,arg:u,modifiers:c}))}return e}function Yn(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let u=a.dir[s];u&&(to(),vn(u,n,8,[e.el,a,e,t]),no())}}function ud(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ro(()=>{e.isMounted=!0}),Al(()=>{e.isUnmounting=!0}),e}const zn=[Function,Array],cd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},s0={name:"BaseTransition",props:cd,setup(e,{slots:t}){const n=Dn(),s=ud();let r;return()=>{const o=t.default&&El(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const _ of o)if(_.type!==Zt){i=_;break}}const a=et(e),{mode:u}=a;if(s.isLeaving)return nu(i);const c=Sm(i);if(!c)return nu(i);const d=jr(c,a,s,n);cr(c,d);const f=n.subTree,m=f&&Sm(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();r===void 0?r=_:_!==r&&(r=_,p=!0)}if(m&&m.type!==Zt&&(!Nn(c,m)||p)){const _=jr(m,a,s,n);if(cr(m,_),u==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},nu(i);u==="in-out"&&c.type!==Zt&&(_.delayLeave=(w,b,y)=>{const x=Rh(s,m);x[String(m.key)]=m,w._leaveCb=()=>{b(),w._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=y})}return i}}},Fh=s0;function Rh(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function jr(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:w,onAfterAppear:b,onAppearCancelled:y}=t,x=String(e.key),C=Rh(n,e),k=(I,D)=>{I&&vn(I,s,9,D)},T=(I,D)=>{const j=D[1];k(I,D),ke(I)?I.every(Z=>Z.length<=1)&&j():I.length<=1&&j()},L={mode:o,persisted:i,beforeEnter(I){let D=a;if(!n.isMounted)if(r)D=_||a;else return;I._leaveCb&&I._leaveCb(!0);const j=C[x];j&&Nn(e,j)&&j.el._leaveCb&&j.el._leaveCb(),k(D,[I])},enter(I){let D=u,j=c,Z=d;if(!n.isMounted)if(r)D=w||u,j=b||c,Z=y||d;else return;let X=!1;const U=I._enterCb=q=>{X||(X=!0,q?k(Z,[I]):k(j,[I]),L.delayedLeave&&L.delayedLeave(),I._enterCb=void 0)};D?T(D,[I,U]):U()},leave(I,D){const j=String(e.key);if(I._enterCb&&I._enterCb(!0),n.isUnmounting)return D();k(f,[I]);let Z=!1;const X=I._leaveCb=U=>{Z||(Z=!0,D(),U?k(h,[I]):k(p,[I]),I._leaveCb=void 0,C[j]===e&&delete C[j])};C[j]=e,m?T(m,[I,X]):X()},clone(I){return jr(I,t,n,s)}};return L}function nu(e){if(vi(e))return e=ns(e),e.children=null,e}function Sm(e){return vi(e)?e.children?e.children[0]:void 0:e}function cr(e,t){e.shapeFlag&6&&e.component?cr(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 El(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===De?(i.patchFlag&128&&r++,s=s.concat(El(i.children,t,a))):(t||i.type!==Zt)&&s.push(a!=null?ns(i,{key:a}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function so(e,t){return Ne(e)?(()=>yt({name:e.name},t,{setup:e}))():e}const or=e=>!!e.type.__asyncLoader;function r0(e){Ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:a}=e;let u=null,c,d=0;const f=()=>(d++,u=null,m()),m=()=>{let p;return u||(p=u=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,w)=>{a(h,()=>_(f()),()=>w(h),d+1)});throw h}).then(h=>p!==u&&u?u:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return so({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return c},setup(){const p=Dt;if(c)return()=>su(c,p);const h=y=>{u=null,pr(y,p,13,!s)};if(i&&p.suspense||qr)return m().then(y=>()=>su(y,p)).catch(y=>(h(y),()=>s?v(s,{error:y}):null));const _=Xt(!1),w=Xt(),b=Xt(!!r);return r&&setTimeout(()=>{b.value=!1},r),o!=null&&setTimeout(()=>{if(!_.value&&!w.value){const y=new Error(`Async component timed out after ${o}ms.`);h(y),w.value=y}},o),m().then(()=>{_.value=!0,p.parent&&vi(p.parent.vnode)&&zl(p.parent.update)}).catch(y=>{h(y),w.value=y}),()=>{if(_.value&&c)return su(c,p);if(w.value&&s)return v(s,{error:w.value});if(n&&!b.value)return v(n)}}})}function su(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=v(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const vi=e=>e.type.__isKeepAlive,o0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dn(),s=n.ctx;if(!s.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const r=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:u,m:c,um:d,o:{createElement:f}}}=s,m=f("div");s.activate=(y,x,C,k,T)=>{const L=y.component;c(y,x,C,0,a),u(L.vnode,y,x,C,L,a,k,y.slotScopeIds,T),Ut(()=>{L.isDeactivated=!1,L.a&&Nr(L.a);const I=y.props&&y.props.onVnodeMounted;I&&an(I,L.parent,y)},a)},s.deactivate=y=>{const x=y.component;c(y,m,null,1,a),Ut(()=>{x.da&&Nr(x.da);const C=y.props&&y.props.onVnodeUnmounted;C&&an(C,x.parent,y),x.isDeactivated=!0},a)};function p(y){ru(y),d(y,n,a,!0)}function h(y){r.forEach((x,C)=>{const k=nc(x.type);k&&(!y||!y(k))&&_(C)})}function _(y){const x=r.get(y);!i||!Nn(x,i)?p(x):i&&ru(i),r.delete(y),o.delete(y)}tn(()=>[e.include,e.exclude],([y,x])=>{y&&h(C=>So(y,C)),x&&h(C=>!So(x,C))},{flush:"post",deep:!0});let w=null;const b=()=>{w!=null&&r.set(w,ou(n.subTree))};return ro(b),Sl(b),Al(()=>{r.forEach(y=>{const{subTree:x,suspense:C}=n,k=ou(x);if(y.type===k.type&&y.key===k.key){ru(k);const T=k.component.da;T&&Ut(T,C);return}p(y)})}),()=>{if(w=null,!t.default)return null;const y=t.default(),x=y[0];if(y.length>1)return i=null,y;if(!Bs(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let C=ou(x);const k=C.type,T=nc(or(C)?C.type.__asyncResolved||{}:k),{include:L,exclude:I,max:D}=e;if(L&&(!T||!So(L,T))||I&&T&&So(I,T))return i=C,x;const j=C.key==null?k:C.key,Z=r.get(j);return C.el&&(C=ns(C),x.shapeFlag&128&&(x.ssContent=C)),w=j,Z?(C.el=Z.el,C.component=Z.component,C.transition&&cr(C,C.transition),C.shapeFlag|=512,o.delete(j),o.add(j)):(o.add(j),D&&o.size>parseInt(D,10)&&_(o.values().next().value)),C.shapeFlag|=256,i=C,Th(x.type)?x:C}}},i0=o0;function So(e,t){return ke(e)?e.some(n=>So(n,t)):wt(e)?e.split(",").includes(t):O1(e)?e.test(t):!1}function Lh(e,t){Nh(e,"a",t)}function Mh(e,t){Nh(e,"da",t)}function Nh(e,t,n=Dt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($l(t,s,n),n){let r=n.parent;for(;r&&r.parent;)vi(r.parent.vnode)&&a0(s,t,n,r),r=r.parent}}function a0(e,t,n,s){const r=$l(t,e,s,!0);bi(()=>{Wc(s[t],r)},n)}function ru(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ou(e){return e.shapeFlag&128?e.ssContent:e}function $l(e,t,n=Dt,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;to(),Hs(n);const a=vn(t,n,e,i);return Ls(),no(),a});return s?r.unshift(o):r.push(o),o}}const vs=e=>(t,n=Dt)=>(!qr||e==="sp")&&$l(e,(...s)=>t(...s),n),Vh=vs("bm"),ro=vs("m"),Bh=vs("bu"),Sl=vs("u"),Al=vs("bum"),bi=vs("um"),Hh=vs("sp"),Uh=vs("rtg"),jh=vs("rtc");function qh(e,t=Dt){$l("ec",e,t)}const dd="components",l0="directives";function $(e,t){return fd(dd,e,!0,t)||e}const Wh=Symbol.for("v-ndc");function Gh(e){return wt(e)?fd(dd,e,!1)||e:e||Wh}function md(e){return fd(l0,e)}function fd(e,t,n=!0,s=!1){const r=Vt||Dt;if(r){const o=r.type;if(e===dd){const a=nc(o,!1);if(a&&(a===t||a===dn(t)||a===hi(dn(t))))return o}const i=Am(r[e]||o[e],t)||Am(r.appContext[e],t);return!i&&s?o:i}}function Am(e,t){return e&&(e[t]||e[dn(t)]||e[hi(dn(t))])}function ht(e,t,n,s){let r;const o=n&&n[s];if(ke(e)||wt(e)){r=new Array(e.length);for(let i=0,a=e.length;i<a;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(pt(e))if(e[Symbol.iterator])r=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,u=i.length;a<u;a++){const c=i[a];r[a]=t(e[c],c,a,o&&o[a])}}else r=[];return n&&(n[s]=r),r}function Ci(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(ke(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function ut(e,t,n={},s,r){if(Vt.isCE||Vt.parent&&or(Vt.parent)&&Vt.parent.isCE)return t!=="default"&&(n.name=t),v("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),z();const i=o&&Kh(o(n)),a=ve(De,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Kh(e){return e.some(t=>Bs(t)?!(t.type===Zt||t.type===De&&!Kh(t.children)):!0)?e:null}function u0(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Lo(s)]=e[s];return n}const Gu=e=>e?m_(e)?Ol(e)||e.proxy:Gu(e.parent):null,Mo=yt(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=>Gu(e.parent),$root:e=>Gu(e.root),$emit:e=>e.emit,$options:e=>pd(e),$forceUpdate:e=>e.f||(e.f=()=>zl(e.update)),$nextTick:e=>e.n||(e.n=gi.bind(e.proxy)),$watch:e=>n0.bind(e)}),iu=(e,t)=>e!==ft&&!e.__isScriptSetup&&rt(e,t),Ku={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:u}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(iu(s,t))return i[t]=1,s[t];if(r!==ft&&rt(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&rt(c,t))return i[t]=3,o[t];if(n!==ft&&rt(n,t))return i[t]=4,n[t];Zu&&(i[t]=0)}}const d=Mo[t];let f,m;if(d)return t==="$attrs"&&mn(e,"get",t),d(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ft&&rt(n,t))return i[t]=4,n[t];if(m=u.config.globalProperties,rt(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return iu(r,t)?(r[t]=n,!0):s!==ft&&rt(s,t)?(s[t]=n,!0):rt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let a;return!!n[i]||e!==ft&&rt(e,i)||iu(t,i)||(a=o[0])&&rt(a,i)||rt(s,i)||rt(Mo,i)||rt(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:rt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},c0=yt({},Ku,{get(e,t){if(t!==Symbol.unscopables)return Ku.get(e,t,e)},has(e,t){return t[0]!=="_"&&!R1(t)}});function d0(){return null}function m0(){return null}function f0(e){}function p0(e){}function h0(){return null}function _0(){}function g0(e,t){return null}function y0(){return Zh().slots}function v0(){return Zh().attrs}function b0(e,t,n){const s=Dn();if(n&&n.local){const r=Xt(e[t]);return tn(()=>e[t],o=>r.value=o),tn(r,o=>{o!==e[t]&&s.emit(`update:${t}`,o)}),r}else return{__v_isRef:!0,get value(){return e[t]},set value(r){s.emit(`update:${t}`,r)}}}function Zh(){const e=Dn();return e.setupContext||(e.setupContext=h_(e))}function ai(e){return ke(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function C0(e,t){const n=ai(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?ke(r)||Ne(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function w0(e,t){return!e||!t?e||t:ke(e)&&ke(t)?e.concat(t):yt({},ai(e),ai(t))}function z0(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function k0(e){const t=Dn();let n=e();return Ls(),Gc(n)&&(n=n.catch(s=>{throw Hs(t),s})),[n,()=>Hs(t)]}let Zu=!0;function x0(e){const t=pd(e),n=e.proxy,s=e.ctx;Zu=!1,t.beforeCreate&&Tm(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:u,inject:c,created:d,beforeMount:f,mounted:m,beforeUpdate:p,updated:h,activated:_,deactivated:w,beforeDestroy:b,beforeUnmount:y,destroyed:x,unmounted:C,render:k,renderTracked:T,renderTriggered:L,errorCaptured:I,serverPrefetch:D,expose:j,inheritAttrs:Z,components:X,directives:U,filters:q}=t;if(c&&E0(c,s,null),i)for(const ie in i){const ye=i[ie];Ne(ye)&&(s[ie]=ye.bind(n))}if(r){const ie=r.call(n,n);pt(ie)&&(e.data=fr(ie))}if(Zu=!0,o)for(const ie in o){const ye=o[ie],je=Ne(ye)?ye.bind(n,n):Ne(ye.get)?ye.get.bind(n,n):Bn,at=!Ne(ye)&&Ne(ye.set)?ye.set.bind(n):Bn,ce=Rt({get:je,set:at});Object.defineProperty(s,ie,{enumerable:!0,configurable:!0,get:()=>ce.value,set:W=>ce.value=W})}if(a)for(const ie in a)Yh(a[ie],s,n,ie);if(u){const ie=Ne(u)?u.call(n):u;Reflect.ownKeys(ie).forEach(ye=>{No(ye,ie[ye])})}d&&Tm(d,e,"c");function te(ie,ye){ke(ye)?ye.forEach(je=>ie(je.bind(n))):ye&&ie(ye.bind(n))}if(te(Vh,f),te(ro,m),te(Bh,p),te(Sl,h),te(Lh,_),te(Mh,w),te(qh,I),te(jh,T),te(Uh,L),te(Al,y),te(bi,C),te(Hh,D),ke(j))if(j.length){const ie=e.exposed||(e.exposed={});j.forEach(ye=>{Object.defineProperty(ie,ye,{get:()=>n[ye],set:je=>n[ye]=je})})}else e.exposed||(e.exposed={});k&&e.render===Bn&&(e.render=k),Z!=null&&(e.inheritAttrs=Z),X&&(e.components=X),U&&(e.directives=U)}function E0(e,t,n=Bn){ke(e)&&(e=Yu(e));for(const s in e){const r=e[s];let o;pt(r)?"default"in r?o=Hn(r.from||s,r.default,!0):o=Hn(r.from||s):o=Hn(r),Pt(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Tm(e,t,n){vn(ke(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yh(e,t,n,s){const r=s.includes(".")?Ih(n,s):()=>n[s];if(wt(e)){const o=t[e];Ne(o)&&tn(r,o)}else if(Ne(e))tn(r,e.bind(n));else if(pt(e))if(ke(e))e.forEach(o=>Yh(o,t,n,s));else{const o=Ne(e.handler)?e.handler.bind(n):t[e.handler];Ne(o)&&tn(r,o,e)}}function pd(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let u;return a?u=a:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(c=>Ja(u,c,i,!0)),Ja(u,t,i)),pt(t)&&o.set(t,u),u}function Ja(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Ja(e,o,n,!0),r&&r.forEach(i=>Ja(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=$0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const $0={data:Om,props:Dm,emits:Dm,methods:Ao,computed:Ao,beforeCreate:Yt,created:Yt,beforeMount:Yt,mounted:Yt,beforeUpdate:Yt,updated:Yt,beforeDestroy:Yt,beforeUnmount:Yt,destroyed:Yt,unmounted:Yt,activated:Yt,deactivated:Yt,errorCaptured:Yt,serverPrefetch:Yt,components:Ao,directives:Ao,watch:A0,provide:Om,inject:S0};function Om(e,t){return t?e?function(){return yt(Ne(e)?e.call(this,this):e,Ne(t)?t.call(this,this):t)}:t:e}function S0(e,t){return Ao(Yu(e),Yu(t))}function Yu(e){if(ke(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Yt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ao(e,t){return e?yt(Object.create(null),e,t):t}function Dm(e,t){return e?ke(e)&&ke(t)?[...new Set([...e,...t])]:yt(Object.create(null),ai(e),ai(t!=null?t:{})):t}function A0(e,t){if(!e)return t;if(!t)return e;const n=yt(Object.create(null),e);for(const s in t)n[s]=Yt(e[s],t[s]);return n}function Jh(){return{app:null,config:{isNativeTag:S1,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 T0=0;function O0(e,t){return function(s,r=null){Ne(s)||(s=yt({},s)),r!=null&&!pt(r)&&(r=null);const o=Jh(),i=new Set;let a=!1;const u=o.app={_uid:T0++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:v_,get config(){return o.config},set config(c){},use(c,...d){return i.has(c)||(c&&Ne(c.install)?(i.add(c),c.install(u,...d)):Ne(c)&&(i.add(c),c(u,...d))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,d){return d?(o.components[c]=d,u):o.components[c]},directive(c,d){return d?(o.directives[c]=d,u):o.directives[c]},mount(c,d,f){if(!a){const m=v(s,r);return m.appContext=o,d&&t?t(m,c):e(m,c,f),a=!0,u._container=c,c.__vue_app__=u,Ol(m.component)||m.component.proxy}},unmount(){a&&(e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return o.provides[c]=d,u},runWithContext(c){li=u;try{return c()}finally{li=null}}};return u}}let li=null;function No(e,t){if(Dt){let n=Dt.provides;const s=Dt.parent&&Dt.parent.provides;s===n&&(n=Dt.provides=Object.create(s)),n[e]=t}}function Hn(e,t,n=!1){const s=Dt||Vt;if(s||li){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:li._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Ne(t)?t.call(s&&s.proxy):t}}function D0(){return!!(Dt||Vt||li)}function P0(e,t,n,s=!1){const r={},o={};Wa(o,Tl,1),e.propsDefaults=Object.create(null),Xh(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Ch(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function I0(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=et(r),[u]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let m=d[f];if(kl(e.emitsOptions,m))continue;const p=t[m];if(u)if(rt(o,m))p!==o[m]&&(o[m]=p,c=!0);else{const h=dn(m);r[h]=Ju(u,a,h,p,e,!1)}else p!==o[m]&&(o[m]=p,c=!0)}}}else{Xh(e,t,r,o)&&(c=!0);let d;for(const f in a)(!t||!rt(t,f)&&((d=$n(f))===f||!rt(t,d)))&&(u?n&&(n[f]!==void 0||n[d]!==void 0)&&(r[f]=Ju(u,a,f,void 0,e,!0)):delete r[f]);if(o!==a)for(const f in o)(!t||!rt(t,f)&&!0)&&(delete o[f],c=!0)}c&&_s(e,"set","$attrs")}function Xh(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let u in t){if(Ro(u))continue;const c=t[u];let d;r&&rt(r,d=dn(u))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:kl(e.emitsOptions,u)||(!(u in s)||c!==s[u])&&(s[u]=c,i=!0)}if(o){const u=et(n),c=a||ft;for(let d=0;d<o.length;d++){const f=o[d];n[f]=Ju(r,u,f,c[f],e,!rt(c,f))}}return i}function Ju(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=rt(i,"default");if(a&&s===void 0){const u=i.default;if(i.type!==Function&&!i.skipFactory&&Ne(u)){const{propsDefaults:c}=r;n in c?s=c[n]:(Hs(r),s=c[n]=u.call(null,t),Ls())}else s=u}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===$n(n))&&(s=!0))}return s}function Qh(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},a=[];let u=!1;if(!Ne(e)){const d=f=>{u=!0;const[m,p]=Qh(f,t,!0);yt(i,m),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!u)return pt(e)&&s.set(e,Lr),Lr;if(ke(o))for(let d=0;d<o.length;d++){const f=dn(o[d]);Pm(f)&&(i[f]=ft)}else if(o)for(const d in o){const f=dn(d);if(Pm(f)){const m=o[d],p=i[f]=ke(m)||Ne(m)?{type:m}:yt({},m);if(p){const h=Rm(Boolean,p.type),_=Rm(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||rt(p,"default"))&&a.push(f)}}}const c=[i,a];return pt(e)&&s.set(e,c),c}function Pm(e){return e[0]!=="$"}function Im(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Fm(e,t){return Im(e)===Im(t)}function Rm(e,t){return ke(t)?t.findIndex(n=>Fm(n,e)):Ne(t)&&Fm(t,e)?0:-1}const e_=e=>e[0]==="_"||e==="$stable",hd=e=>ke(e)?e.map(gn):[gn(e)],F0=(e,t,n)=>{if(t._n)return t;const s=E((...r)=>hd(t(...r)),n);return s._c=!1,s},t_=(e,t,n)=>{const s=e._ctx;for(const r in e){if(e_(r))continue;const o=e[r];if(Ne(o))t[r]=F0(r,o,s);else if(o!=null){const i=hd(o);t[r]=()=>i}}},n_=(e,t)=>{const n=hd(t);e.slots.default=()=>n},R0=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=et(t),Wa(t,"_",n)):t_(t,e.slots={})}else e.slots={},t&&n_(e,t);Wa(e.slots,Tl,1)},L0=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ft;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(yt(r,t),!n&&a===1&&delete r._):(o=!t.$stable,t_(t,r)),i=t}else t&&(n_(e,t),i={default:1});if(o)for(const a in r)!e_(a)&&!(a in i)&&delete r[a]};function Xa(e,t,n,s,r=!1){if(ke(e)){e.forEach((m,p)=>Xa(m,t&&(ke(t)?t[p]:t),n,s,r));return}if(or(s)&&!r)return;const o=s.shapeFlag&4?Ol(s.component)||s.component.proxy:s.el,i=r?null:o,{i:a,r:u}=e,c=t&&t.r,d=a.refs===ft?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==u&&(wt(c)?(d[c]=null,rt(f,c)&&(f[c]=null)):Pt(c)&&(c.value=null)),Ne(u))fs(u,a,12,[i,d]);else{const m=wt(u),p=Pt(u);if(m||p){const h=()=>{if(e.f){const _=m?rt(f,u)?f[u]:d[u]:u.value;r?ke(_)&&Wc(_,o):ke(_)?_.includes(o)||_.push(o):m?(d[u]=[o],rt(f,u)&&(f[u]=d[u])):(u.value=[o],e.k&&(d[e.k]=u.value))}else m?(d[u]=i,rt(f,u)&&(f[u]=i)):p&&(u.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,Ut(h,n)):h()}}}let ws=!1;const Vi=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Bi=e=>e.nodeType===8;function M0(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:a,insert:u,createComment:c}}=e,d=(b,y)=>{if(!y.hasChildNodes()){n(null,b,y),Ya(),y._vnode=b;return}ws=!1,f(y.firstChild,b,null,null,null),Ya(),y._vnode=b,ws&&console.error("Hydration completed but contains mismatches.")},f=(b,y,x,C,k,T=!1)=>{const L=Bi(b)&&b.data==="[",I=()=>_(b,y,x,C,k,L),{type:D,ref:j,shapeFlag:Z,patchFlag:X}=y;let U=b.nodeType;y.el=b,X===-2&&(T=!1,y.dynamicChildren=null);let q=null;switch(D){case Vs:U!==3?y.children===""?(u(y.el=r(""),i(b),b),q=b):q=I():(b.data!==y.children&&(ws=!0,b.data=y.children),q=o(b));break;case Zt:U!==8||L?q=I():q=o(b);break;case ir:if(L&&(b=o(b),U=b.nodeType),U===1||U===3){q=b;const Ce=!y.children.length;for(let te=0;te<y.staticCount;te++)Ce&&(y.children+=q.nodeType===1?q.outerHTML:q.data),te===y.staticCount-1&&(y.anchor=q),q=o(q);return L?o(q):q}else I();break;case De:L?q=h(b,y,x,C,k,T):q=I();break;default:if(Z&1)U!==1||y.type.toLowerCase()!==b.tagName.toLowerCase()?q=I():q=m(b,y,x,C,k,T);else if(Z&6){y.slotScopeIds=k;const Ce=i(b);if(t(y,Ce,null,x,C,Vi(Ce),T),q=L?w(b):o(b),q&&Bi(q)&&q.data==="teleport end"&&(q=o(q)),or(y)){let te;L?(te=v(De),te.anchor=q?q.previousSibling:Ce.lastChild):te=b.nodeType===3?mt(""):v("div"),te.el=b,y.component.subTree=te}}else Z&64?U!==8?q=I():q=y.type.hydrate(b,y,x,C,k,T,e,p):Z&128&&(q=y.type.hydrate(b,y,x,C,Vi(i(b)),k,T,e,f))}return j!=null&&Xa(j,null,C,y),q},m=(b,y,x,C,k,T)=>{T=T||!!y.dynamicChildren;const{type:L,props:I,patchFlag:D,shapeFlag:j,dirs:Z}=y,X=L==="input"&&Z||L==="option";if(X||D!==-1){if(Z&&Yn(y,null,x,"created"),I)if(X||!T||D&48)for(const q in I)(X&&q.endsWith("value")||pi(q)&&!Ro(q))&&s(b,q,null,I[q],!1,void 0,x);else I.onClick&&s(b,"onClick",null,I.onClick,!1,void 0,x);let U;if((U=I&&I.onVnodeBeforeMount)&&an(U,x,y),Z&&Yn(y,null,x,"beforeMount"),((U=I&&I.onVnodeMounted)||Z)&&Oh(()=>{U&&an(U,x,y),Z&&Yn(y,null,x,"mounted")},C),j&16&&!(I&&(I.innerHTML||I.textContent))){let q=p(b.firstChild,y,b,x,C,k,T);for(;q;){ws=!0;const Ce=q;q=q.nextSibling,a(Ce)}}else j&8&&b.textContent!==y.children&&(ws=!0,b.textContent=y.children)}return b.nextSibling},p=(b,y,x,C,k,T,L)=>{L=L||!!y.dynamicChildren;const I=y.children,D=I.length;for(let j=0;j<D;j++){const Z=L?I[j]:I[j]=gn(I[j]);if(b)b=f(b,Z,C,k,T,L);else{if(Z.type===Vs&&!Z.children)continue;ws=!0,n(null,Z,x,null,C,k,Vi(x),T)}}return b},h=(b,y,x,C,k,T)=>{const{slotScopeIds:L}=y;L&&(k=k?k.concat(L):L);const I=i(b),D=p(o(b),y,I,x,C,k,T);return D&&Bi(D)&&D.data==="]"?o(y.anchor=D):(ws=!0,u(y.anchor=c("]"),I,D),D)},_=(b,y,x,C,k,T)=>{if(ws=!0,y.el=null,T){const D=w(b);for(;;){const j=o(b);if(j&&j!==D)a(j);else break}}const L=o(b),I=i(b);return a(b),n(null,y,I,L,x,C,Vi(I),k),L},w=b=>{let y=0;for(;b;)if(b=o(b),b&&Bi(b)&&(b.data==="["&&y++,b.data==="]")){if(y===0)return o(b);y--}return b};return[d,f]}const Ut=Oh;function s_(e){return o_(e)}function r_(e){return o_(e,M0)}function o_(e,t){const n=Hu();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:u,setText:c,setElementText:d,parentNode:f,nextSibling:m,setScopeId:p=Bn,insertStaticContent:h}=e,_=(A,O,P,K=null,J=null,ee=null,de=!1,ae=null,oe=!!O.dynamicChildren)=>{if(A===O)return;A&&!Nn(A,O)&&(K=V(A),W(A,J,ee,!0),A=null),O.patchFlag===-2&&(oe=!1,O.dynamicChildren=null);const{type:Y,ref:R,shapeFlag:H}=O;switch(Y){case Vs:w(A,O,P,K);break;case Zt:b(A,O,P,K);break;case ir:A==null&&y(O,P,K,de);break;case De:X(A,O,P,K,J,ee,de,ae,oe);break;default:H&1?k(A,O,P,K,J,ee,de,ae,oe):H&6?U(A,O,P,K,J,ee,de,ae,oe):(H&64||H&128)&&Y.process(A,O,P,K,J,ee,de,ae,oe,ne)}R!=null&&J&&Xa(R,A&&A.ref,ee,O||A,!O)},w=(A,O,P,K)=>{if(A==null)s(O.el=a(O.children),P,K);else{const J=O.el=A.el;O.children!==A.children&&c(J,O.children)}},b=(A,O,P,K)=>{A==null?s(O.el=u(O.children||""),P,K):O.el=A.el},y=(A,O,P,K)=>{[A.el,A.anchor]=h(A.children,O,P,K,A.el,A.anchor)},x=({el:A,anchor:O},P,K)=>{let J;for(;A&&A!==O;)J=m(A),s(A,P,K),A=J;s(O,P,K)},C=({el:A,anchor:O})=>{let P;for(;A&&A!==O;)P=m(A),r(A),A=P;r(O)},k=(A,O,P,K,J,ee,de,ae,oe)=>{de=de||O.type==="svg",A==null?T(O,P,K,J,ee,de,ae,oe):D(A,O,J,ee,de,ae,oe)},T=(A,O,P,K,J,ee,de,ae)=>{let oe,Y;const{type:R,props:H,shapeFlag:ge,transition:we,dirs:Re}=A;if(oe=A.el=i(A.type,ee,H&&H.is,H),ge&8?d(oe,A.children):ge&16&&I(A.children,oe,null,K,J,ee&&R!=="foreignObject",de,ae),Re&&Yn(A,null,K,"created"),L(oe,A,A.scopeId,de,K),H){for(const Be in H)Be!=="value"&&!Ro(Be)&&o(oe,Be,null,H[Be],ee,A.children,K,J,Ee);"value"in H&&o(oe,"value",null,H.value),(Y=H.onVnodeBeforeMount)&&an(Y,K,A)}Re&&Yn(A,null,K,"beforeMount");const qe=(!J||J&&!J.pendingBranch)&&we&&!we.persisted;qe&&we.beforeEnter(oe),s(oe,O,P),((Y=H&&H.onVnodeMounted)||qe||Re)&&Ut(()=>{Y&&an(Y,K,A),qe&&we.enter(oe),Re&&Yn(A,null,K,"mounted")},J)},L=(A,O,P,K,J)=>{if(P&&p(A,P),K)for(let ee=0;ee<K.length;ee++)p(A,K[ee]);if(J){let ee=J.subTree;if(O===ee){const de=J.vnode;L(A,de,de.scopeId,de.slotScopeIds,J.parent)}}},I=(A,O,P,K,J,ee,de,ae,oe=0)=>{for(let Y=oe;Y<A.length;Y++){const R=A[Y]=ae?As(A[Y]):gn(A[Y]);_(null,R,O,P,K,J,ee,de,ae)}},D=(A,O,P,K,J,ee,de)=>{const ae=O.el=A.el;let{patchFlag:oe,dynamicChildren:Y,dirs:R}=O;oe|=A.patchFlag&16;const H=A.props||ft,ge=O.props||ft;let we;P&&Gs(P,!1),(we=ge.onVnodeBeforeUpdate)&&an(we,P,O,A),R&&Yn(O,A,P,"beforeUpdate"),P&&Gs(P,!0);const Re=J&&O.type!=="foreignObject";if(Y?j(A.dynamicChildren,Y,ae,P,K,Re,ee):de||ye(A,O,ae,null,P,K,Re,ee,!1),oe>0){if(oe&16)Z(ae,O,H,ge,P,K,J);else if(oe&2&&H.class!==ge.class&&o(ae,"class",null,ge.class,J),oe&4&&o(ae,"style",H.style,ge.style,J),oe&8){const qe=O.dynamicProps;for(let Be=0;Be<qe.length;Be++){const F=qe[Be],M=H[F],G=ge[F];(G!==M||F==="value")&&o(ae,F,M,G,J,A.children,P,K,Ee)}}oe&1&&A.children!==O.children&&d(ae,O.children)}else!de&&Y==null&&Z(ae,O,H,ge,P,K,J);((we=ge.onVnodeUpdated)||R)&&Ut(()=>{we&&an(we,P,O,A),R&&Yn(O,A,P,"updated")},K)},j=(A,O,P,K,J,ee,de)=>{for(let ae=0;ae<O.length;ae++){const oe=A[ae],Y=O[ae],R=oe.el&&(oe.type===De||!Nn(oe,Y)||oe.shapeFlag&70)?f(oe.el):P;_(oe,Y,R,null,K,J,ee,de,!0)}},Z=(A,O,P,K,J,ee,de)=>{if(P!==K){if(P!==ft)for(const ae in P)!Ro(ae)&&!(ae in K)&&o(A,ae,P[ae],null,de,O.children,J,ee,Ee);for(const ae in K){if(Ro(ae))continue;const oe=K[ae],Y=P[ae];oe!==Y&&ae!=="value"&&o(A,ae,Y,oe,de,O.children,J,ee,Ee)}"value"in K&&o(A,"value",P.value,K.value)}},X=(A,O,P,K,J,ee,de,ae,oe)=>{const Y=O.el=A?A.el:a(""),R=O.anchor=A?A.anchor:a("");let{patchFlag:H,dynamicChildren:ge,slotScopeIds:we}=O;we&&(ae=ae?ae.concat(we):we),A==null?(s(Y,P,K),s(R,P,K),I(O.children,P,R,J,ee,de,ae,oe)):H>0&&H&64&&ge&&A.dynamicChildren?(j(A.dynamicChildren,ge,P,J,ee,de,ae),(O.key!=null||J&&O===J.subTree)&&_d(A,O,!0)):ye(A,O,P,R,J,ee,de,ae,oe)},U=(A,O,P,K,J,ee,de,ae,oe)=>{O.slotScopeIds=ae,A==null?O.shapeFlag&512?J.ctx.activate(O,P,K,de,oe):q(O,P,K,J,ee,de,oe):Ce(A,O,oe)},q=(A,O,P,K,J,ee,de)=>{const ae=A.component=d_(A,K,J);if(vi(A)&&(ae.ctx.renderer=ne),f_(ae),ae.asyncDep){if(J&&J.registerDep(ae,te),!A.el){const oe=ae.subTree=v(Zt);b(null,oe,O,P)}return}te(ae,A,O,P,J,ee,de)},Ce=(A,O,P)=>{const K=O.component=A.component;if(Gb(A,O,P))if(K.asyncDep&&!K.asyncResolved){ie(K,O,P);return}else K.next=O,Mb(K.update),K.update();else O.el=A.el,K.vnode=O},te=(A,O,P,K,J,ee,de)=>{const ae=()=>{if(A.isMounted){let{next:R,bu:H,u:ge,parent:we,vnode:Re}=A,qe=R,Be;Gs(A,!1),R?(R.el=Re.el,ie(A,R,de)):R=Re,H&&Nr(H),(Be=R.props&&R.props.onVnodeBeforeUpdate)&&an(Be,we,R,Re),Gs(A,!0);const F=Pa(A),M=A.subTree;A.subTree=F,_(M,F,f(M.el),V(M),A,J,ee),R.el=F.el,qe===null&&ad(A,F.el),ge&&Ut(ge,J),(Be=R.props&&R.props.onVnodeUpdated)&&Ut(()=>an(Be,we,R,Re),J)}else{let R;const{el:H,props:ge}=O,{bm:we,m:Re,parent:qe}=A,Be=or(O);if(Gs(A,!1),we&&Nr(we),!Be&&(R=ge&&ge.onVnodeBeforeMount)&&an(R,qe,O),Gs(A,!0),H&&Pe){const F=()=>{A.subTree=Pa(A),Pe(H,A.subTree,A,J,null)};Be?O.type.__asyncLoader().then(()=>!A.isUnmounted&&F()):F()}else{const F=A.subTree=Pa(A);_(null,F,P,K,A,J,ee),O.el=F.el}if(Re&&Ut(Re,J),!Be&&(R=ge&&ge.onVnodeMounted)){const F=O;Ut(()=>an(R,qe,F),J)}(O.shapeFlag&256||qe&&or(qe.vnode)&&qe.vnode.shapeFlag&256)&&A.a&&Ut(A.a,J),A.isMounted=!0,O=P=K=null}},oe=A.effect=new _i(ae,()=>zl(Y),A.scope),Y=A.update=()=>oe.run();Y.id=A.uid,Gs(A,!0),Y()},ie=(A,O,P)=>{O.component=A;const K=A.vnode.props;A.vnode=O,A.next=null,I0(A,O.props,K,P),L0(A,O.children,P),to(),xm(),no()},ye=(A,O,P,K,J,ee,de,ae,oe=!1)=>{const Y=A&&A.children,R=A?A.shapeFlag:0,H=O.children,{patchFlag:ge,shapeFlag:we}=O;if(ge>0){if(ge&128){at(Y,H,P,K,J,ee,de,ae,oe);return}else if(ge&256){je(Y,H,P,K,J,ee,de,ae,oe);return}}we&8?(R&16&&Ee(Y,J,ee),H!==Y&&d(P,H)):R&16?we&16?at(Y,H,P,K,J,ee,de,ae,oe):Ee(Y,J,ee,!0):(R&8&&d(P,""),we&16&&I(H,P,K,J,ee,de,ae,oe))},je=(A,O,P,K,J,ee,de,ae,oe)=>{A=A||Lr,O=O||Lr;const Y=A.length,R=O.length,H=Math.min(Y,R);let ge;for(ge=0;ge<H;ge++){const we=O[ge]=oe?As(O[ge]):gn(O[ge]);_(A[ge],we,P,null,J,ee,de,ae,oe)}Y>R?Ee(A,J,ee,!0,!1,H):I(O,P,K,J,ee,de,ae,oe,H)},at=(A,O,P,K,J,ee,de,ae,oe)=>{let Y=0;const R=O.length;let H=A.length-1,ge=R-1;for(;Y<=H&&Y<=ge;){const we=A[Y],Re=O[Y]=oe?As(O[Y]):gn(O[Y]);if(Nn(we,Re))_(we,Re,P,null,J,ee,de,ae,oe);else break;Y++}for(;Y<=H&&Y<=ge;){const we=A[H],Re=O[ge]=oe?As(O[ge]):gn(O[ge]);if(Nn(we,Re))_(we,Re,P,null,J,ee,de,ae,oe);else break;H--,ge--}if(Y>H){if(Y<=ge){const we=ge+1,Re=we<R?O[we].el:K;for(;Y<=ge;)_(null,O[Y]=oe?As(O[Y]):gn(O[Y]),P,Re,J,ee,de,ae,oe),Y++}}else if(Y>ge)for(;Y<=H;)W(A[Y],J,ee,!0),Y++;else{const we=Y,Re=Y,qe=new Map;for(Y=Re;Y<=ge;Y++){const Ae=O[Y]=oe?As(O[Y]):gn(O[Y]);Ae.key!=null&&qe.set(Ae.key,Y)}let Be,F=0;const M=ge-Re+1;let G=!1,se=0;const be=new Array(M);for(Y=0;Y<M;Y++)be[Y]=0;for(Y=we;Y<=H;Y++){const Ae=A[Y];if(F>=M){W(Ae,J,ee,!0);continue}let He;if(Ae.key!=null)He=qe.get(Ae.key);else for(Be=Re;Be<=ge;Be++)if(be[Be-Re]===0&&Nn(Ae,O[Be])){He=Be;break}He===void 0?W(Ae,J,ee,!0):(be[He-Re]=Y+1,He>=se?se=He:G=!0,_(Ae,O[He],P,null,J,ee,de,ae,oe),F++)}const Ie=G?N0(be):Lr;for(Be=Ie.length-1,Y=M-1;Y>=0;Y--){const Ae=Re+Y,He=O[Ae],Ge=Ae+1<R?O[Ae+1].el:K;be[Y]===0?_(null,He,P,Ge,J,ee,de,ae,oe):G&&(Be<0||Y!==Ie[Be]?ce(He,P,Ge,2):Be--)}}},ce=(A,O,P,K,J=null)=>{const{el:ee,type:de,transition:ae,children:oe,shapeFlag:Y}=A;if(Y&6){ce(A.component.subTree,O,P,K);return}if(Y&128){A.suspense.move(O,P,K);return}if(Y&64){de.move(A,O,P,ne);return}if(de===De){s(ee,O,P);for(let H=0;H<oe.length;H++)ce(oe[H],O,P,K);s(A.anchor,O,P);return}if(de===ir){x(A,O,P);return}if(K!==2&&Y&1&&ae)if(K===0)ae.beforeEnter(ee),s(ee,O,P),Ut(()=>ae.enter(ee),J);else{const{leave:H,delayLeave:ge,afterLeave:we}=ae,Re=()=>s(ee,O,P),qe=()=>{H(ee,()=>{Re(),we&&we()})};ge?ge(ee,Re,qe):qe()}else s(ee,O,P)},W=(A,O,P,K=!1,J=!1)=>{const{type:ee,props:de,ref:ae,children:oe,dynamicChildren:Y,shapeFlag:R,patchFlag:H,dirs:ge}=A;if(ae!=null&&Xa(ae,null,P,A,!0),R&256){O.ctx.deactivate(A);return}const we=R&1&&ge,Re=!or(A);let qe;if(Re&&(qe=de&&de.onVnodeBeforeUnmount)&&an(qe,O,A),R&6)Me(A.component,P,K);else{if(R&128){A.suspense.unmount(P,K);return}we&&Yn(A,null,O,"beforeUnmount"),R&64?A.type.remove(A,O,P,J,ne,K):Y&&(ee!==De||H>0&&H&64)?Ee(Y,O,P,!1,!0):(ee===De&&H&384||!J&&R&16)&&Ee(oe,O,P),K&&fe(A)}(Re&&(qe=de&&de.onVnodeUnmounted)||we)&&Ut(()=>{qe&&an(qe,O,A),we&&Yn(A,null,O,"unmounted")},P)},fe=A=>{const{type:O,el:P,anchor:K,transition:J}=A;if(O===De){Oe(P,K);return}if(O===ir){C(A);return}const ee=()=>{r(P),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(A.shapeFlag&1&&J&&!J.persisted){const{leave:de,delayLeave:ae}=J,oe=()=>de(P,ee);ae?ae(A.el,ee,oe):oe()}else ee()},Oe=(A,O)=>{let P;for(;A!==O;)P=m(A),r(A),A=P;r(O)},Me=(A,O,P)=>{const{bum:K,scope:J,update:ee,subTree:de,um:ae}=A;K&&Nr(K),J.stop(),ee&&(ee.active=!1,W(de,A,O,P)),ae&&Ut(ae,O),Ut(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Ee=(A,O,P,K=!1,J=!1,ee=0)=>{for(let de=ee;de<A.length;de++)W(A[de],O,P,K,J)},V=A=>A.shapeFlag&6?V(A.component.subTree):A.shapeFlag&128?A.suspense.next():m(A.anchor||A.el),le=(A,O,P)=>{A==null?O._vnode&&W(O._vnode,null,null,!0):_(O._vnode||null,A,O,null,null,null,P),xm(),Ya(),O._vnode=A},ne={p:_,um:W,m:ce,r:fe,mt:q,mc:I,pc:ye,pbc:j,n:V,o:e};let pe,Pe;return t&&([pe,Pe]=t(ne)),{render:le,hydrate:pe,createApp:O0(le,pe)}}function Gs({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _d(e,t,n=!1){const s=e.children,r=t.children;if(ke(s)&&ke(r))for(let o=0;o<s.length;o++){const i=s[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=As(r[o]),a.el=i.el),n||_d(i,a)),a.type===Vs&&(a.el=i.el)}}function N0(e){const t=e.slice(),n=[0];let s,r,o,i,a;const u=e.length;for(s=0;s<u;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const V0=e=>e.__isTeleport,Vo=e=>e&&(e.disabled||e.disabled===""),Lm=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Xu=(e,t)=>{const n=e&&e.to;return wt(n)?t?t(n):null:n},B0={__isTeleport:!0,process(e,t,n,s,r,o,i,a,u,c){const{mc:d,pc:f,pbc:m,o:{insert:p,querySelector:h,createText:_,createComment:w}}=c,b=Vo(t.props);let{shapeFlag:y,children:x,dynamicChildren:C}=t;if(e==null){const k=t.el=_(""),T=t.anchor=_("");p(k,n,s),p(T,n,s);const L=t.target=Xu(t.props,h),I=t.targetAnchor=_("");L&&(p(I,L),i=i||Lm(L));const D=(j,Z)=>{y&16&&d(x,j,Z,r,o,i,a,u)};b?D(n,T):L&&D(L,I)}else{t.el=e.el;const k=t.anchor=e.anchor,T=t.target=e.target,L=t.targetAnchor=e.targetAnchor,I=Vo(e.props),D=I?n:T,j=I?k:L;if(i=i||Lm(T),C?(m(e.dynamicChildren,C,D,r,o,i,a),_d(e,t,!0)):u||f(e,t,D,j,r,o,i,a,!1),b)I||Hi(t,n,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=Xu(t.props,h);Z&&Hi(t,Z,null,c,0)}else I&&Hi(t,T,L,c,1)}i_(t)},remove(e,t,n,s,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:u,anchor:c,targetAnchor:d,target:f,props:m}=e;if(f&&o(d),(i||!Vo(m))&&(o(c),a&16))for(let p=0;p<u.length;p++){const h=u[p];r(h,t,n,!0,!!h.dynamicChildren)}},move:Hi,hydrate:H0};function Hi(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:u,children:c,props:d}=e,f=o===2;if(f&&s(i,t,n),(!f||Vo(d))&&u&16)for(let m=0;m<c.length;m++)r(c[m],t,n,2);f&&s(a,t,n)}function H0(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:a,querySelector:u}},c){const d=t.target=Xu(t.props,u);if(d){const f=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Vo(t.props))t.anchor=c(i(e),t,a(e),n,s,r,o),t.targetAnchor=f;else{t.anchor=i(e);let m=f;for(;m;)if(m=i(m),m&&m.nodeType===8&&m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,d,n,s,r,o)}i_(t)}return t.anchor&&i(t.anchor)}const js=B0;function i_(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const De=Symbol.for("v-fgt"),Vs=Symbol.for("v-txt"),Zt=Symbol.for("v-cmt"),ir=Symbol.for("v-stc"),Bo=[];let cn=null;function z(e=!1){Bo.push(cn=e?null:[])}function a_(){Bo.pop(),cn=Bo[Bo.length-1]||null}let dr=1;function Qu(e){dr+=e}function l_(e){return e.dynamicChildren=dr>0?cn||Lr:null,a_(),dr>0&&cn&&cn.push(e),e}function S(e,t,n,s,r,o){return l_(l(e,t,n,s,r,o,!0))}function ve(e,t,n,s,r){return l_(v(e,t,n,s,r,!0))}function Bs(e){return e?e.__v_isVNode===!0:!1}function Nn(e,t){return e.type===t.type&&e.key===t.key}function U0(e){}const Tl="__vInternal",u_=({key:e})=>e!=null?e:null,Ia=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?wt(e)||Pt(e)||Ne(e)?{i:Vt,r:e,k:t,f:!!n}:e:null);function l(e,t=null,n=null,s=0,r=null,o=e===De?0:1,i=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&u_(t),ref:t&&Ia(t),scopeId:xl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Vt};return a?(gd(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=wt(n)?8:16),dr>0&&!i&&cn&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&cn.push(u),u}const v=j0;function j0(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Wh)&&(e=Zt),Bs(e)){const a=ns(e,t,!0);return n&&gd(a,n),dr>0&&!o&&cn&&(a.shapeFlag&6?cn[cn.indexOf(e)]=a:cn.push(a)),a.patchFlag|=-2,a}if(X0(e)&&(e=e.__vccOpts),t){t=c_(t);let{class:a,style:u}=t;a&&!wt(a)&&(t.class=Te(a)),pt(u)&&(ed(u)&&!ke(u)&&(u=yt({},u)),t.style=un(u))}const i=wt(e)?1:Th(e)?128:V0(e)?64:pt(e)?4:Ne(e)?2:0;return l(e,t,n,s,r,i,o,!0)}function c_(e){return e?ed(e)||Tl in e?yt({},e):e:null}function ns(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,a=t?Pr(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&u_(a),ref:t&&t.ref?n&&r?ke(r)?r.concat(Ia(t)):[r,Ia(t)]:Ia(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==De?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ns(e.ssContent),ssFallback:e.ssFallback&&ns(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function mt(e=" ",t=0){return v(Vs,null,e,t)}function q0(e,t){const n=v(ir,null,e);return n.staticCount=t,n}function B(e="",t=!1){return t?(z(),ve(Zt,null,e)):v(Zt,null,e)}function gn(e){return e==null||typeof e=="boolean"?v(Zt):ke(e)?v(De,null,e.slice()):typeof e=="object"?As(e):v(Vs,null,String(e))}function As(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ns(e)}function gd(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ke(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),gd(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Tl in t)?t._ctx=Vt:r===3&&Vt&&(Vt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ne(t)?(t={default:t,_ctx:Vt},n=32):(t=String(t),s&64?(n=16,t=[mt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Te([t.class,s.class]));else if(r==="style")t.style=un([t.style,s.style]);else if(pi(r)){const o=t[r],i=s[r];i&&o!==i&&!(ke(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function an(e,t,n,s=null){vn(e,t,7,[n,s])}const W0=Jh();let G0=0;function d_(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||W0,o={uid:G0++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Zc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qh(s,r),emitsOptions:Ah(s,r),emit:null,emitted:null,propsDefaults:ft,inheritAttrs:s.inheritAttrs,ctx:ft,data:ft,props:ft,attrs:ft,slots:ft,refs:ft,setupState:ft,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Vb.bind(null,o),e.ce&&e.ce(o),o}let Dt=null;const Dn=()=>Dt||Vt;let yd,yr,Mm="__VUE_INSTANCE_SETTERS__";(yr=Hu()[Mm])||(yr=Hu()[Mm]=[]),yr.push(e=>Dt=e),yd=e=>{yr.length>1?yr.forEach(t=>t(e)):yr[0](e)};const Hs=e=>{yd(e),e.scope.on()},Ls=()=>{Dt&&Dt.scope.off(),yd(null)};function m_(e){return e.vnode.shapeFlag&4}let qr=!1;function f_(e,t=!1){qr=t;const{props:n,children:s}=e.vnode,r=m_(e);P0(e,n,r,t),R0(e,s);const o=r?K0(e,t):void 0;return qr=!1,o}function K0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=td(new Proxy(e.ctx,Ku));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?h_(e):null;Hs(e),to();const o=fs(s,e,0,[e.props,r]);if(no(),Ls(),Gc(o)){if(o.then(Ls,Ls),t)return o.then(i=>{ec(e,i,t)}).catch(i=>{pr(i,e,0)});e.asyncDep=o}else ec(e,o,t)}else p_(e,t)}function ec(e,t,n){Ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=rd(t)),p_(e,n)}let Qa,tc;function Z0(e){Qa=e,tc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,c0))}}const Y0=()=>!Qa;function p_(e,t,n){const s=e.type;if(!e.render){if(!t&&Qa&&!s.render){const r=s.template||pd(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:u}=s,c=yt(yt({isCustomElement:o,delimiters:a},i),u);s.render=Qa(r,c)}}e.render=s.render||Bn,tc&&tc(e)}Hs(e),to(),x0(e),no(),Ls()}function J0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return mn(e,"get","$attrs"),t[n]}}))}function h_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return J0(e)},slots:e.slots,emit:e.emit,expose:t}}function Ol(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(rd(td(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mo)return Mo[n](e)},has(t,n){return n in t||n in Mo}}))}function nc(e,t=!0){return Ne(e)?e.displayName||e.name:e.name||t&&e.__name}function X0(e){return Ne(e)&&"__vccOpts"in e}const Rt=(e,t)=>Pb(e,t,qr);function Qn(e,t,n){const s=arguments.length;return s===2?pt(t)&&!ke(t)?Bs(t)?v(e,null,[t]):v(e,t):v(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Bs(n)&&(n=[n]),v(e,t,n))}const __=Symbol.for("v-scx"),g_=()=>Hn(__);function Q0(){}function eC(e,t,n,s){const r=n[s];if(r&&y_(r,e))return r;const o=t();return o.memo=e.slice(),n[s]=o}function y_(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(Ur(n[s],t[s]))return!1;return dr>0&&cn&&cn.push(e),!0}const v_="3.3.4",tC={createComponentInstance:d_,setupComponent:f_,renderComponentRoot:Pa,setCurrentRenderingInstance:oi,isVNode:Bs,normalizeVNode:gn},nC=tC,sC=null,rC=null,oC="http://www.w3.org/2000/svg",tr=typeof document!="undefined"?document:null,Nm=tr&&tr.createElement("template"),iC={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?tr.createElementNS(oC,e):tr.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},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,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Nm.innerHTML=s?`<svg>${e}</svg>`:e;const a=Nm.content;if(s){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function aC(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function lC(e,t,n){const s=e.style,r=wt(n);if(n&&!r){if(t&&!wt(t))for(const o in t)n[o]==null&&sc(s,o,"");for(const o in n)sc(s,o,n[o])}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const Vm=/\s*!important$/;function sc(e,t,n){if(ke(n))n.forEach(s=>sc(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=uC(e,t);Vm.test(n)?e.setProperty($n(s),n.replace(Vm,""),"important"):e[s]=n}}const Bm=["Webkit","Moz","ms"],au={};function uC(e,t){const n=au[t];if(n)return n;let s=dn(t);if(s!=="filter"&&s in e)return au[t]=s;s=hi(s);for(let r=0;r<Bm.length;r++){const o=Bm[r]+s;if(o in e)return au[t]=o}return t}const Hm="http://www.w3.org/1999/xlink";function cC(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Hm,t.slice(6,t.length)):e.setAttributeNS(Hm,t,n);else{const o=H1(t);n==null||o&&!oh(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function dC(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n==null?"":n;return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,d=n==null?"":n;c!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let u=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=oh(n):n==null&&c==="string"?(n="",u=!0):c==="number"&&(n=0,u=!0)}try{e[t]=n}catch{}u&&e.removeAttribute(t)}function ds(e,t,n,s){e.addEventListener(t,n,s)}function mC(e,t,n,s){e.removeEventListener(t,n,s)}function fC(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[a,u]=pC(t);if(s){const c=o[t]=gC(s,r);ds(e,a,c,u)}else i&&(mC(e,a,i,u),o[t]=void 0)}}const Um=/(?:Once|Passive|Capture)$/;function pC(e){let t;if(Um.test(e)){t={};let s;for(;s=e.match(Um);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$n(e.slice(2)),t]}let lu=0;const hC=Promise.resolve(),_C=()=>lu||(hC.then(()=>lu=0),lu=Date.now());function gC(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;vn(yC(s,n.value),t,5,[s])};return n.value=e,n.attached=_C(),n}function yC(e,t){if(ke(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const jm=/^on[a-z]/,vC=(e,t,n,s,r=!1,o,i,a,u)=>{t==="class"?aC(e,s,r):t==="style"?lC(e,n,s):pi(t)?qc(t)||fC(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bC(e,t,s,r))?dC(e,t,s,o,i,a,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),cC(e,t,s,r))};function bC(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&jm.test(t)&&Ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||jm.test(t)&&wt(n)?!1:t in e}function b_(e,t){const n=so(e);class s extends Dl{constructor(o){super(n,o,t)}}return s.def=n,s}const CC=e=>b_(e,I_),wC=typeof HTMLElement!="undefined"?HTMLElement:class{};class Dl extends wC{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,gi(()=>{this._connected||(ic(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:o,styles:i}=s;let a;if(o&&!ke(o))for(const u in o){const c=o[u];(c===Number||c&&c.type===Number)&&(u in this._props&&(this._props[u]=Ka(this._props[u])),(a||(a=Object.create(null)))[dn(u)]=!0)}this._numberProps=a,r&&this._resolveProps(s),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=ke(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(dn))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(o){this._setProp(r,o)}})}_setAttr(t){let n=this.getAttribute(t);const s=dn(t);this._numberProps&&this._numberProps[s]&&(n=Ka(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute($n(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute($n(t),n+""):n||this.removeAttribute($n(t))))}_update(){ic(this._createVNode(),this.shadowRoot)}_createVNode(){const t=v(this._def,yt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(o,i)=>{this.dispatchEvent(new CustomEvent(o,{detail:i}))};n.emit=(o,...i)=>{s(o,i),$n(o)!==o&&s($n(o),i)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof Dl){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function zC(e="$style"){{const t=Dn();if(!t)return ft;const n=t.type.__cssModules;if(!n)return ft;const s=n[e];return s||ft}}function kC(e){const t=Dn();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>oc(o,r))},s=()=>{const r=e(t.proxy);rc(t.subTree,r),n(r)};Ph(s),ro(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),bi(()=>r.disconnect())})}function rc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{rc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)oc(e.el,t);else if(e.type===De)e.children.forEach(n=>rc(n,t));else if(e.type===ir){let{el:n,anchor:s}=e;for(;n&&(oc(n,t),n!==s);)n=n.nextSibling}}function oc(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const zs="transition",fo="animation",Ft=(e,{slots:t})=>Qn(Fh,w_(e),t);Ft.displayName="Transition";const C_={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},xC=Ft.props=yt({},cd,C_),Ks=(e,t=[])=>{ke(e)?e.forEach(n=>n(...t)):e&&e(...t)},qm=e=>e?ke(e)?e.some(t=>t.length>1):e.length>1:!1;function w_(e){const t={};for(const X in e)X in C_||(t[X]=e[X]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=EC(r),_=h&&h[0],w=h&&h[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:x,onLeave:C,onLeaveCancelled:k,onBeforeAppear:T=b,onAppear:L=y,onAppearCancelled:I=x}=t,D=(X,U,q)=>{Ss(X,U?d:a),Ss(X,U?c:i),q&&q()},j=(X,U)=>{X._isLeaving=!1,Ss(X,f),Ss(X,p),Ss(X,m),U&&U()},Z=X=>(U,q)=>{const Ce=X?L:y,te=()=>D(U,X,q);Ks(Ce,[U,te]),Wm(()=>{Ss(U,X?u:o),us(U,X?d:a),qm(Ce)||Gm(U,s,_,te)})};return yt(t,{onBeforeEnter(X){Ks(b,[X]),us(X,o),us(X,i)},onBeforeAppear(X){Ks(T,[X]),us(X,u),us(X,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(X,U){X._isLeaving=!0;const q=()=>j(X,U);us(X,f),k_(),us(X,m),Wm(()=>{!X._isLeaving||(Ss(X,f),us(X,p),qm(C)||Gm(X,s,w,q))}),Ks(C,[X,q])},onEnterCancelled(X){D(X,!1),Ks(x,[X])},onAppearCancelled(X){D(X,!0),Ks(I,[X])},onLeaveCancelled(X){j(X),Ks(k,[X])}})}function EC(e){if(e==null)return null;if(pt(e))return[uu(e.enter),uu(e.leave)];{const t=uu(e);return[t,t]}}function uu(e){return Ka(e)}function us(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ss(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Wm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $C=0;function Gm(e,t,n,s){const r=e._endId=++$C,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:u}=z_(e,t);if(!i)return s();const c=i+"end";let d=0;const f=()=>{e.removeEventListener(c,m),o()},m=p=>{p.target===e&&++d>=u&&f()};setTimeout(()=>{d<u&&f()},a+1),e.addEventListener(c,m)}function z_(e,t){const n=window.getComputedStyle(e),s=h=>(n[h]||"").split(", "),r=s(`${zs}Delay`),o=s(`${zs}Duration`),i=Km(r,o),a=s(`${fo}Delay`),u=s(`${fo}Duration`),c=Km(a,u);let d=null,f=0,m=0;t===zs?i>0&&(d=zs,f=i,m=o.length):t===fo?c>0&&(d=fo,f=c,m=u.length):(f=Math.max(i,c),d=f>0?i>c?zs:fo:null,m=d?d===zs?o.length:u.length:0);const p=d===zs&&/\b(transform|all)(,|$)/.test(s(`${zs}Property`).toString());return{type:d,timeout:f,propCount:m,hasTransform:p}}function Km(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Zm(n)+Zm(e[s])))}function Zm(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function k_(){return document.body.offsetHeight}const x_=new WeakMap,E_=new WeakMap,$_={name:"TransitionGroup",props:yt({},xC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Dn(),s=ud();let r,o;return Sl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!PC(r[0].el,n.vnode.el,i))return;r.forEach(TC),r.forEach(OC);const a=r.filter(DC);k_(),a.forEach(u=>{const c=u.el,d=c.style;us(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const f=c._moveCb=m=>{m&&m.target!==c||(!m||/transform$/.test(m.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,Ss(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=et(e),a=w_(i);let u=i.tag||De;r=o,o=t.default?El(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&cr(d,jr(d,a,s,n))}if(r)for(let c=0;c<r.length;c++){const d=r[c];cr(d,jr(d,a,s,n)),x_.set(d,d.el.getBoundingClientRect())}return v(u,null,o)}}},SC=e=>delete e.mode;$_.props;const AC=$_;function TC(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function OC(e){E_.set(e,e.el.getBoundingClientRect())}function DC(e){const t=x_.get(e),n=E_.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function PC(e,t,n){const s=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=z_(s);return r.removeChild(s),o}const Us=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?n=>Nr(t,n):t};function IC(e){e.target.composing=!0}function Ym(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const It={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=Us(r);const o=s||r.props&&r.props.type==="number";ds(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Ga(a)),e._assign(a)}),n&&ds(e,"change",()=>{e.value=e.value.trim()}),t||(ds(e,"compositionstart",IC),ds(e,"compositionend",Ym),ds(e,"change",Ym))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=Us(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&Ga(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},gs={deep:!0,created(e,t,n){e._assign=Us(n),ds(e,"change",()=>{const s=e._modelValue,r=Wr(e),o=e.checked,i=e._assign;if(ke(s)){const a=gl(s,r),u=a!==-1;if(o&&!u)i(s.concat(r));else if(!o&&u){const c=[...s];c.splice(a,1),i(c)}}else if(mr(s)){const a=new Set(s);o?a.add(r):a.delete(r),i(a)}else i(S_(e,o))})},mounted:Jm,beforeUpdate(e,t,n){e._assign=Us(n),Jm(e,t,n)}};function Jm(e,{value:t,oldValue:n},s){e._modelValue=t,ke(t)?e.checked=gl(t,s.props.value)>-1:mr(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Ms(t,S_(e,!0)))}const vd={created(e,{value:t},n){e.checked=Ms(t,n.props.value),e._assign=Us(n),ds(e,"change",()=>{e._assign(Wr(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=Us(s),t!==n&&(e.checked=Ms(t,s.props.value))}},bd={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=mr(t);ds(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ga(Wr(i)):Wr(i));e._assign(e.multiple?r?new Set(o):o:o[0])}),e._assign=Us(s)},mounted(e,{value:t}){Xm(e,t)},beforeUpdate(e,t,n){e._assign=Us(n)},updated(e,{value:t}){Xm(e,t)}};function Xm(e,t){const n=e.multiple;if(!(n&&!ke(t)&&!mr(t))){for(let s=0,r=e.options.length;s<r;s++){const o=e.options[s],i=Wr(o);if(n)ke(t)?o.selected=gl(t,i)>-1:o.selected=t.has(i);else if(Ms(Wr(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wr(e){return"_value"in e?e._value:e.value}function S_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const A_={created(e,t,n){Ui(e,t,n,null,"created")},mounted(e,t,n){Ui(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ui(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ui(e,t,n,s,"updated")}};function T_(e,t){switch(e){case"SELECT":return bd;case"TEXTAREA":return It;default:switch(t){case"checkbox":return gs;case"radio":return vd;default:return It}}}function Ui(e,t,n,s,r){const i=T_(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,s)}function FC(){It.getSSRProps=({value:e})=>({value:e}),vd.getSSRProps=({value:e},t)=>{if(t.props&&Ms(t.props.value,e))return{checked:!0}},gs.getSSRProps=({value:e},t)=>{if(ke(e)){if(t.props&&gl(e,t.props.value)>-1)return{checked:!0}}else if(mr(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},A_.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=T_(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const RC=["ctrl","shift","alt","meta"],LC={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)=>RC.some(n=>e[`${n}Key`]&&!t.includes(n))},it=(e,t)=>(n,...s)=>{for(let r=0;r<t.length;r++){const o=LC[t[r]];if(o&&o(n,t))return}return e(n,...s)},MC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},yn=(e,t)=>n=>{if(!("key"in n))return;const s=$n(n.key);if(t.some(r=>r===s||MC[r]===s))return e(n)},ui={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):po(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),po(e,!0),s.enter(e)):s.leave(e,()=>{po(e,!1)}):po(e,t))},beforeUnmount(e,{value:t}){po(e,t)}};function po(e,t){e.style.display=t?e._vod:"none"}function NC(){ui.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const O_=yt({patchProp:vC},iC);let Ho,Qm=!1;function D_(){return Ho||(Ho=s_(O_))}function P_(){return Ho=Qm?Ho:r_(O_),Qm=!0,Ho}const ic=(...e)=>{D_().render(...e)},I_=(...e)=>{P_().hydrate(...e)},F_=(...e)=>{const t=D_().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=R_(s);if(!r)return;const o=t._component;!Ne(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},VC=(...e)=>{const t=P_().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=R_(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function R_(e){return wt(e)?document.querySelector(e):e}let ef=!1;const BC=()=>{ef||(ef=!0,FC(),NC())},HC=()=>{};var UC=Object.freeze(Object.defineProperty({__proto__:null,compile:HC,EffectScope:Zc,ReactiveEffect:_i,customRef:$b,effect:G1,effectScope:Yc,getCurrentScope:lh,isProxy:ed,isReactive:rr,isReadonly:ur,isRef:Pt,isShallow:ti,markRaw:td,onScopeDispose:j1,proxyRefs:rd,reactive:fr,readonly:Qc,ref:Xt,shallowReactive:Ch,shallowReadonly:Cb,shallowRef:wh,stop:K1,toRaw:et,toRef:Ob,toRefs:Sb,toValue:kb,triggerRef:zb,unref:ln,camelize:dn,capitalize:hi,normalizeClass:Te,normalizeProps:Eo,normalizeStyle:un,toDisplayString:g,toHandlerKey:Lo,BaseTransition:Fh,BaseTransitionPropsValidators:cd,Comment:Zt,Fragment:De,KeepAlive:i0,Static:ir,Suspense:Zb,Teleport:js,Text:Vs,assertNumber:Fb,callWithAsyncErrorHandling:vn,callWithErrorHandling:fs,cloneVNode:ns,compatUtils:rC,computed:Rt,createBlock:ve,createCommentVNode:B,createElementBlock:S,createElementVNode:l,createHydrationRenderer:r_,createPropsRestProxy:z0,createRenderer:s_,createSlots:Ci,createStaticVNode:q0,createTextVNode:mt,createVNode:v,defineAsyncComponent:r0,defineComponent:so,defineEmits:m0,defineExpose:f0,defineModel:_0,defineOptions:p0,defineProps:d0,defineSlots:h0,get devtools(){return Sr},getCurrentInstance:Dn,getTransitionRawChildren:El,guardReactiveProps:c_,h:Qn,handleError:pr,hasInjectionContext:D0,initCustomFormatter:Q0,inject:Hn,isMemoSame:y_,isRuntimeOnly:Y0,isVNode:Bs,mergeDefaults:C0,mergeModels:w0,mergeProps:Pr,nextTick:gi,onActivated:Lh,onBeforeMount:Vh,onBeforeUnmount:Al,onBeforeUpdate:Bh,onDeactivated:Mh,onErrorCaptured:qh,onMounted:ro,onRenderTracked:jh,onRenderTriggered:Uh,onServerPrefetch:Hh,onUnmounted:bi,onUpdated:Sl,openBlock:z,popScopeId:Hb,provide:No,pushScopeId:Bb,queuePostFlushCb:id,registerRuntimeCompiler:Z0,renderList:ht,renderSlot:ut,resolveComponent:$,resolveDirective:md,resolveDynamicComponent:Gh,resolveFilter:sC,resolveTransitionHooks:jr,setBlockTracking:Qu,setDevtoolsHook:Sh,setTransitionHooks:cr,ssrContextKey:__,ssrUtils:nC,toHandlers:u0,transformVNodeArgs:U0,useAttrs:v0,useModel:b0,useSSRContext:g_,useSlots:y0,useTransitionState:ud,version:v_,warn:Ib,watch:tn,watchEffect:Dh,watchPostEffect:Ph,watchSyncEffect:t0,withAsyncContext:k0,withCtx:E,withDefaults:g0,withDirectives:dt,withMemo:eC,withScopeId:Ub,Transition:Ft,TransitionGroup:AC,VueElement:Dl,createApp:F_,createSSRApp:VC,defineCustomElement:b_,defineSSRCustomElement:CC,hydrate:I_,initDirectivesForSSR:BC,render:ic,useCssModule:zC,useCssVars:kC,vModelCheckbox:gs,vModelDynamic:A_,vModelRadio:vd,vModelSelect:bd,vModelText:It,vShow:ui,withKeys:yn,withModifiers:it},Symbol.toStringTag,{value:"Module"}));/*!
* shared v9.3.0-beta.14
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const ac=typeof window!="undefined",qs=(e,t=!1)=>t?Symbol.for(e):Symbol(e),jC=(e,t,n)=>qC({l:e,k:t,s:n}),qC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Nt=e=>typeof e=="number"&&isFinite(e),WC=e=>zd(e)==="[object Date]",el=e=>zd(e)==="[object RegExp]",Pl=e=>nt(e)&&Object.keys(e).length===0;function GC(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const nn=Object.assign;let tf;const Cd=()=>tf||(tf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function nf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const KC=Object.prototype.hasOwnProperty;function wd(e,t){return KC.call(e,t)}const Lt=Array.isArray,jt=e=>typeof e=="function",Se=e=>typeof e=="string",St=e=>typeof e=="boolean",gt=e=>e!==null&&typeof e=="object",L_=Object.prototype.toString,zd=e=>L_.call(e),nt=e=>zd(e)==="[object Object]",ZC=e=>e==null?"":Lt(e)||nt(e)&&e.toString===L_?JSON.stringify(e,null,2):String(e);/*!
* message-compiler v9.3.0-beta.14
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const M_={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function N_(e,t,n={}){const{domain:s,messages:r,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=s,a}/*!
* devtools-if v9.3.0-beta.14
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const V_={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
* core-base v9.3.0-beta.14
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const Ws=[];Ws[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Ws[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Ws[2]={w:[2],i:[3,0],[0]:[3,0]};Ws[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Ws[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Ws[5]={["'"]:[4,0],o:8,l:[5,0]};Ws[6]={['"']:[4,0],o:8,l:[6,0]};const YC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function JC(e){return YC.test(e)}function XC(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 QC(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 ew(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:JC(t)?XC(t):"*"+t}function tw(e){const t=[];let n=-1,s=0,r=0,o,i,a,u,c,d,f;const m=[];m[0]=()=>{i===void 0?i=a:i+=a},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),r++},m[3]=()=>{if(r>0)r--,s=4,m[0]();else{if(r=0,i===void 0||(i=ew(i),i===!1))return!1;m[1]()}};function p(){const h=e[n+1];if(s===5&&h==="'"||s===6&&h==='"')return n++,a="\\"+h,m[0](),!0}for(;s!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(u=QC(o),f=Ws[s],c=f[u]||f.l||8,c===8||(s=c[0],c[1]!==void 0&&(d=m[c[1]],d&&(a=o,d()===!1))))return;if(s===7)return t}}const sf=new Map;function nw(e,t){return gt(e)?e[t]:null}function sw(e,t){if(!gt(e))return null;let n=sf.get(t);if(n||(n=tw(t),n&&sf.set(t,n)),!n)return null;const s=n.length;let r=e,o=0;for(;o<s;){const i=r[n[o]];if(i===void 0)return null;r=i,o++}return r}const rw=e=>e,ow=e=>"",iw="text",aw=e=>e.length===0?"":e.join(""),lw=ZC;function rf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function uw(e){const t=Nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Nt(e.named.count)||Nt(e.named.n))?Nt(e.named.count)?e.named.count:Nt(e.named.n)?e.named.n:t:t}function cw(e,t){t.count||(t.count=e),t.n||(t.n=e)}function dw(e={}){const t=e.locale,n=uw(e),s=gt(e.pluralRules)&&Se(t)&&jt(e.pluralRules[t])?e.pluralRules[t]:rf,r=gt(e.pluralRules)&&Se(t)&&jt(e.pluralRules[t])?rf:void 0,o=b=>b[s(n,b.length,r)],i=e.list||[],a=b=>i[b],u=e.named||{};Nt(e.pluralIndex)&&cw(n,u);const c=b=>u[b];function d(b){const y=jt(e.messages)?e.messages(b):gt(e.messages)?e.messages[b]:!1;return y||(e.parent?e.parent.message(b):ow)}const f=b=>e.modifiers?e.modifiers[b]:rw,m=nt(e.processor)&&jt(e.processor.normalize)?e.processor.normalize:aw,p=nt(e.processor)&&jt(e.processor.interpolate)?e.processor.interpolate:lw,h=nt(e.processor)&&Se(e.processor.type)?e.processor.type:iw,w={list:a,named:c,plural:o,linked:(b,...y)=>{const[x,C]=y;let k="text",T="";y.length===1?gt(x)?(T=x.modifier||T,k=x.type||k):Se(x)&&(T=x||T):y.length===2&&(Se(x)&&(T=x||T),Se(C)&&(k=C||k));let L=d(b)(w);return k==="vnode"&&Lt(L)&&T&&(L=L[0]),T?f(T)(L,k):L},message:d,type:h,interpolate:p,normalize:m};return w}let ci=null;function mw(e){ci=e}function fw(e,t,n){ci&&ci.emit(V_.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const pw=hw(V_.FunctionTranslate);function hw(e){return t=>ci&&ci.emit(e,t)}const _w={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function gw(e,t,n){return[...new Set([n,...Lt(t)?t:gt(t)?Object.keys(t):Se(t)?[t]:[n]])]}function B_(e,t,n){const s=Se(n)?n:kd,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(s);if(!o){o=[];let i=[n];for(;Lt(i);)i=of(o,i,t);const a=Lt(t)||!nt(t)?t:t.default?t.default:null;i=Se(a)?[a]:a,Lt(i)&&of(o,i,!1),r.__localeChainCache.set(s,o)}return o}function of(e,t,n){let s=!0;for(let r=0;r<t.length&&St(s);r++){const o=t[r];Se(o)&&(s=yw(e,t[r],n))}return s}function yw(e,t,n){let s;const r=t.split("-");do{const o=r.join("-");s=vw(e,o,n),r.splice(-1,1)}while(r.length&&s===!0);return s}function vw(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(Lt(n)||nt(n))&&n[r]&&(s=n[r])}return s}const bw="9.3.0-beta.14",Il=-1,kd="en-US",af="",lf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Cw(){return{upper:(e,t)=>t==="text"&&Se(e)?e.toUpperCase():t==="vnode"&&gt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Se(e)?e.toLowerCase():t==="vnode"&&gt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Se(e)?lf(e):t==="vnode"&&gt(e)&&"__v_isVNode"in e?lf(e.children):e}}let ww,H_;function zw(e){H_=e}let U_;function kw(e){U_=e}let j_=null;const uf=e=>{j_=e},xw=()=>j_;let q_=null;const cf=e=>{q_=e},Ew=()=>q_;let df=0;function $w(e={}){const t=Se(e.version)?e.version:bw,n=Se(e.locale)?e.locale:kd,s=Lt(e.fallbackLocale)||nt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,r=nt(e.messages)?e.messages:{[n]:{}},o=nt(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=nt(e.numberFormats)?e.numberFormats:{[n]:{}},a=nn({},e.modifiers||{},Cw()),u=e.pluralRules||{},c=jt(e.missing)?e.missing:null,d=St(e.missingWarn)||el(e.missingWarn)?e.missingWarn:!0,f=St(e.fallbackWarn)||el(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,p=!!e.unresolving,h=jt(e.postTranslation)?e.postTranslation:null,_=nt(e.processor)?e.processor:null,w=St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,y=jt(e.messageCompiler)?e.messageCompiler:ww,x=jt(e.messageResolver)?e.messageResolver:H_||nw,C=jt(e.localeFallbacker)?e.localeFallbacker:U_||gw,k=gt(e.fallbackContext)?e.fallbackContext:void 0,T=jt(e.onWarn)?e.onWarn:GC,L=e,I=gt(L.__datetimeFormatters)?L.__datetimeFormatters:new Map,D=gt(L.__numberFormatters)?L.__numberFormatters:new Map,j=gt(L.__meta)?L.__meta:{};df++;const Z={version:t,cid:df,locale:n,fallbackLocale:s,messages:r,modifiers:a,pluralRules:u,missing:c,missingWarn:d,fallbackWarn:f,fallbackFormat:m,unresolving:p,postTranslation:h,processor:_,warnHtmlMessage:w,escapeParameter:b,messageCompiler:y,messageResolver:x,localeFallbacker:C,fallbackContext:k,onWarn:T,__meta:j};return Z.datetimeFormats=o,Z.numberFormats=i,Z.__datetimeFormatters=I,Z.__numberFormatters=D,__INTLIFY_PROD_DEVTOOLS__&&fw(Z,t,j),Z}function xd(e,t,n,s,r){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,r);return Se(a)?a:t}else return t}function ho(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let W_=M_.__EXTEND_POINT__;const cu=()=>++W_,Ir={INVALID_ARGUMENT:W_,INVALID_DATE_ARGUMENT:cu(),INVALID_ISO_DATE_ARGUMENT:cu(),__EXTEND_POINT__:cu()};function Fr(e){return N_(e,null,void 0)}const mf=()=>"",Jn=e=>jt(e);function ff(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:o,fallbackLocale:i,messages:a}=e,[u,c]=lc(...t),d=St(c.missingWarn)?c.missingWarn:e.missingWarn,f=St(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=St(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Se(c.default)||St(c.default)?St(c.default)?o?u:()=>u:c.default:n?o?u:()=>u:"",_=n||h!=="",w=Se(c.locale)?c.locale:e.locale;m&&Sw(c);let[b,y,x]=p?[u,w,a[w]||{}]:G_(e,u,w,i,f,d),C=b,k=u;if(!p&&!(Se(C)||Jn(C))&&_&&(C=h,k=C),!p&&(!(Se(C)||Jn(C))||!Se(y)))return r?Il:u;let T=!1;const L=()=>{T=!0},I=Jn(C)?C:K_(e,u,y,C,k,L);if(T)return C;const D=Ow(e,y,x,c),j=dw(D),Z=Aw(e,I,j),X=s?s(Z,u):Z;if(__INTLIFY_PROD_DEVTOOLS__){const U={timestamp:Date.now(),key:Se(u)?u:Jn(C)?C.key:"",locale:y||(Jn(C)?C.locale:""),format:Se(C)?C:Jn(C)?C.source:"",message:X};U.meta=nn({},e.__meta,xw()||{}),pw(U)}return X}function Sw(e){Lt(e.list)?e.list=e.list.map(t=>Se(t)?nf(t):t):gt(e.named)&&Object.keys(e.named).forEach(t=>{Se(e.named[t])&&(e.named[t]=nf(e.named[t]))})}function G_(e,t,n,s,r,o){const{messages:i,onWarn:a,messageResolver:u,localeFallbacker:c}=e,d=c(e,s,n);let f={},m,p=null;const h="translate";for(let _=0;_<d.length&&(m=d[_],f=i[m]||{},(p=u(f,t))===null&&(p=f[t]),!(Se(p)||jt(p)));_++){const w=xd(e,t,m,o,h);w!==t&&(p=w)}return[p,m,f]}function K_(e,t,n,s,r,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Jn(s)){const c=s;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=()=>s;return c.locale=n,c.key=t,c}const u=i(s,Tw(e,n,r,s,a,o));return u.locale=n,u.key=t,u.source=s,u}function Aw(e,t,n){return t(n)}function lc(...e){const[t,n,s]=e,r={};if(!Se(t)&&!Nt(t)&&!Jn(t))throw Fr(Ir.INVALID_ARGUMENT);const o=Nt(t)?String(t):(Jn(t),t);return Nt(n)?r.plural=n:Se(n)?r.default=n:nt(n)&&!Pl(n)?r.named=n:Lt(n)&&(r.list=n),Nt(s)?r.plural=s:Se(s)?r.default=s:nt(s)&&nn(r,s),[o,r]}function Tw(e,t,n,s,r,o){return{warnHtmlMessage:r,onError:i=>{throw o&&o(i),i},onCacheKey:i=>jC(t,n,i)}}function Ow(e,t,n,s){const{modifiers:r,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:u,missingWarn:c,fallbackContext:d}=e,m={locale:t,modifiers:r,pluralRules:o,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=G_(d,p,t,a,u,c);h=i(_,p)}if(Se(h)){let _=!1;const b=K_(e,p,t,h,p,()=>{_=!0});return _?mf:b}else return Jn(h)?h:mf}};return e.processor&&(m.processor=e.processor),s.list&&(m.list=s.list),s.named&&(m.named=s.named),Nt(s.plural)&&(m.pluralIndex=s.plural),m}function pf(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[u,c,d,f]=uc(...t),m=St(d.missingWarn)?d.missingWarn:e.missingWarn;St(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=Se(d.locale)?d.locale:e.locale,_=i(e,r,h);if(!Se(u)||u==="")return new Intl.DateTimeFormat(h,f).format(c);let w={},b,y=null;const x="datetime format";for(let T=0;T<_.length&&(b=_[T],w=n[b]||{},y=w[u],!nt(y));T++)xd(e,u,b,m,x);if(!nt(y)||!Se(b))return s?Il:u;let C=`${b}__${u}`;Pl(f)||(C=`${C}__${JSON.stringify(f)}`);let k=a.get(C);return k||(k=new Intl.DateTimeFormat(b,nn({},y,f)),a.set(C,k)),p?k.formatToParts(c):k.format(c)}const Z_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function uc(...e){const[t,n,s,r]=e,o={};let i={},a;if(Se(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Fr(Ir.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Fr(Ir.INVALID_ISO_DATE_ARGUMENT)}}else if(WC(t)){if(isNaN(t.getTime()))throw Fr(Ir.INVALID_DATE_ARGUMENT);a=t}else if(Nt(t))a=t;else throw Fr(Ir.INVALID_ARGUMENT);return Se(n)?o.key=n:nt(n)&&Object.keys(n).forEach(u=>{Z_.includes(u)?i[u]=n[u]:o[u]=n[u]}),Se(s)?o.locale=s:nt(s)&&(i=s),nt(r)&&(i=r),[o.key||"",a,o,i]}function hf(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;!s.__datetimeFormatters.has(o)||s.__datetimeFormatters.delete(o)}}function _f(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[u,c,d,f]=cc(...t),m=St(d.missingWarn)?d.missingWarn:e.missingWarn;St(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=Se(d.locale)?d.locale:e.locale,_=i(e,r,h);if(!Se(u)||u==="")return new Intl.NumberFormat(h,f).format(c);let w={},b,y=null;const x="number format";for(let T=0;T<_.length&&(b=_[T],w=n[b]||{},y=w[u],!nt(y));T++)xd(e,u,b,m,x);if(!nt(y)||!Se(b))return s?Il:u;let C=`${b}__${u}`;Pl(f)||(C=`${C}__${JSON.stringify(f)}`);let k=a.get(C);return k||(k=new Intl.NumberFormat(b,nn({},y,f)),a.set(C,k)),p?k.formatToParts(c):k.format(c)}const Y_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function cc(...e){const[t,n,s,r]=e,o={};let i={};if(!Nt(t))throw Fr(Ir.INVALID_ARGUMENT);const a=t;return Se(n)?o.key=n:nt(n)&&Object.keys(n).forEach(u=>{Y_.includes(u)?i[u]=n[u]:o[u]=n[u]}),Se(s)?o.locale=s:nt(s)&&(i=s),nt(r)&&(i=r),[o.key||"",a,o,i]}function gf(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;!s.__numberFormatters.has(o)||s.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Cd().__INTLIFY_PROD_DEVTOOLS__=!1);function Dw(){return J_().__VUE_DEVTOOLS_GLOBAL_HOOK__}function J_(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const Pw=typeof Proxy=="function",Iw="devtools-plugin:setup",Fw="plugin:settings:set";let vr,dc;function Rw(){var e;return vr!==void 0||(typeof window!="undefined"&&window.performance?(vr=!0,dc=window.performance):typeof global!="undefined"&&((e=global.perf_hooks)===null||e===void 0?void 0:e.performance)?(vr=!0,dc=global.perf_hooks.performance):vr=!1),vr}function Lw(){return Rw()?dc.now():Date.now()}class Mw{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const s={};if(t.settings)for(const i in t.settings){const a=t.settings[i];s[i]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},s);try{const i=localStorage.getItem(r),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch{}o=i},now(){return Lw()}},n&&n.on(Fw,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...u)=>{this.onQueue.push({method:a,args:u})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...u)=>(this.targetQueue.push({method:a,args:u,resolve:()=>{}}),this.fallbacks[a](...u)):(...u)=>new Promise(c=>{this.targetQueue.push({method:a,args:u,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Nw(e,t){const n=e,s=J_(),r=Dw(),o=Pw&&n.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(Iw,e,t);else{const i=o?new Mw(n,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
* vue-i18n v9.3.0-beta.14
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const Vw="9.3.0-beta.14";function Bw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Cd().__INTLIFY_PROD_DEVTOOLS__=!1)}_w.__EXTEND_POINT__;let X_=M_.__EXTEND_POINT__;const sn=()=>++X_,Cn={UNEXPECTED_RETURN_TYPE:X_,INVALID_ARGUMENT:sn(),MUST_BE_CALL_SETUP_TOP:sn(),NOT_INSLALLED:sn(),NOT_AVAILABLE_IN_LEGACY_MODE:sn(),REQUIRED_VALUE:sn(),INVALID_VALUE:sn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:sn(),NOT_INSLALLED_WITH_PROVIDE:sn(),UNEXPECTED_ERROR:sn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:sn(),BRIDGE_SUPPORT_VUE_2_ONLY:sn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:sn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:sn(),__EXTEND_POINT__:sn()};function Tn(e,...t){return N_(e,null,void 0)}const mc=qs("__translateVNode"),fc=qs("__datetimeParts"),pc=qs("__numberParts"),Hw=qs("__setPluralRules");qs("__intlifyMeta");const Uw=qs("__injectWithOption");function hc(e){if(!gt(e))return e;for(const t in e)if(!!wd(e,t))if(!t.includes("."))gt(e[t])&&hc(e[t]);else{const n=t.split("."),s=n.length-1;let r=e;for(let o=0;o<s;o++)n[o]in r||(r[n[o]]={}),r=r[n[o]];r[n[s]]=e[t],delete e[t],gt(r[n[s]])&&hc(r[n[s]])}return e}function Q_(e,t){const{messages:n,__i18n:s,messageResolver:r,flatJson:o}=t,i=nt(n)?n:Lt(s)?{}:{[e]:{}};if(Lt(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:u,resource:c}=a;u?(i[u]=i[u]||{},Uo(c,i[u])):Uo(c,i)}else Se(a)&&Uo(JSON.parse(a),i)}),r==null&&o)for(const a in i)wd(i,a)&&hc(i[a]);return i}const ji=e=>!gt(e)||Lt(e);function Uo(e,t){if(ji(e)||ji(t))throw Tn(Cn.INVALID_VALUE);for(const n in e)wd(e,n)&&(ji(e[n])||ji(t[n])?t[n]=e[n]:Uo(e[n],t[n]))}function eg(e){return e.type}function jw(e,t,n){let s=gt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=Q_(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(o=>{e.mergeLocaleMessage(o,s[o])});{if(gt(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(gt(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function yf(e){return v(Vs,null,e,0)}const vf="__INTLIFY_META__";let bf=0;function Cf(e){return(t,n,s,r)=>e(n,s,Dn()||void 0,r)}const qw=()=>{const e=Dn();let t=null;return e&&(t=eg(e)[vf])?{[vf]:t}:null};function tg(e={},t){const{__root:n}=e,s=n===void 0;let r=St(e.inheritLocale)?e.inheritLocale:!0;const o=Xt(n&&r?n.locale.value:Se(e.locale)?e.locale:kd),i=Xt(n&&r?n.fallbackLocale.value:Se(e.fallbackLocale)||Lt(e.fallbackLocale)||nt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),a=Xt(Q_(o.value,e)),u=Xt(nt(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=Xt(nt(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=n?n.missingWarn:St(e.missingWarn)||el(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:St(e.fallbackWarn)||el(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:St(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=jt(e.missing)?e.missing:null,_=jt(e.missing)?Cf(e.missing):null,w=jt(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const x=n?n.modifiers:nt(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,k;k=(()=>{s&&cf(null);const R={version:Vw,locale:o.value,fallbackLocale:i.value,messages:a.value,modifiers:x,pluralRules:C,missing:_===null?void 0:_,missingWarn:d,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:b,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};R.datetimeFormats=u.value,R.numberFormats=c.value,R.__datetimeFormatters=nt(k)?k.__datetimeFormatters:void 0,R.__numberFormatters=nt(k)?k.__numberFormatters:void 0;const H=$w(R);return s&&cf(H),H})(),ho(k,o.value,i.value);function L(){return[o.value,i.value,a.value,u.value,c.value]}const I=Rt({get:()=>o.value,set:R=>{o.value=R,k.locale=o.value}}),D=Rt({get:()=>i.value,set:R=>{i.value=R,k.fallbackLocale=i.value,ho(k,o.value,R)}}),j=Rt(()=>a.value),Z=Rt(()=>u.value),X=Rt(()=>c.value);function U(){return jt(w)?w:null}function q(R){w=R,k.postTranslation=R}function Ce(){return h}function te(R){R!==null&&(_=Cf(R)),h=R,k.missing=_}const ie=(R,H,ge,we,Re,qe)=>{L();let Be;if(__INTLIFY_PROD_DEVTOOLS__)try{uf(qw()),s||(k.fallbackContext=n?Ew():void 0),Be=R(k)}finally{uf(null),s||(k.fallbackContext=void 0)}else Be=R(k);if(Nt(Be)&&Be===Il){const[F,M]=H();return n&&m?we(n):Re(F)}else{if(qe(Be))return Be;throw Tn(Cn.UNEXPECTED_RETURN_TYPE)}};function ye(...R){return ie(H=>Reflect.apply(ff,null,[H,...R]),()=>lc(...R),"translate",H=>Reflect.apply(H.t,H,[...R]),H=>H,H=>Se(H))}function je(...R){const[H,ge,we]=R;if(we&&!gt(we))throw Tn(Cn.INVALID_ARGUMENT);return ye(H,ge,nn({resolvedMessage:!0},we||{}))}function at(...R){return ie(H=>Reflect.apply(pf,null,[H,...R]),()=>uc(...R),"datetime format",H=>Reflect.apply(H.d,H,[...R]),()=>af,H=>Se(H))}function ce(...R){return ie(H=>Reflect.apply(_f,null,[H,...R]),()=>cc(...R),"number format",H=>Reflect.apply(H.n,H,[...R]),()=>af,H=>Se(H))}function W(R){return R.map(H=>Se(H)||Nt(H)||St(H)?yf(String(H)):H)}const Oe={normalize:W,interpolate:R=>R,type:"vnode"};function Me(...R){return ie(H=>{let ge;const we=H;try{we.processor=Oe,ge=Reflect.apply(ff,null,[we,...R])}finally{we.processor=null}return ge},()=>lc(...R),"translate",H=>H[mc](...R),H=>[yf(H)],H=>Lt(H))}function Ee(...R){return ie(H=>Reflect.apply(_f,null,[H,...R]),()=>cc(...R),"number format",H=>H[pc](...R),()=>[],H=>Se(H)||Lt(H))}function V(...R){return ie(H=>Reflect.apply(pf,null,[H,...R]),()=>uc(...R),"datetime format",H=>H[fc](...R),()=>[],H=>Se(H)||Lt(H))}function le(R){C=R,k.pluralRules=C}function ne(R,H){const ge=Se(H)?H:o.value,we=A(ge);return k.messageResolver(we,R)!==null}function pe(R){let H=null;const ge=B_(k,i.value,o.value);for(let we=0;we<ge.length;we++){const Re=a.value[ge[we]]||{},qe=k.messageResolver(Re,R);if(qe!=null){H=qe;break}}return H}function Pe(R){const H=pe(R);return H!=null?H:n?n.tm(R)||{}:{}}function A(R){return a.value[R]||{}}function O(R,H){a.value[R]=H,k.messages=a.value}function P(R,H){a.value[R]=a.value[R]||{},Uo(H,a.value[R]),k.messages=a.value}function K(R){return u.value[R]||{}}function J(R,H){u.value[R]=H,k.datetimeFormats=u.value,hf(k,R,H)}function ee(R,H){u.value[R]=nn(u.value[R]||{},H),k.datetimeFormats=u.value,hf(k,R,H)}function de(R){return c.value[R]||{}}function ae(R,H){c.value[R]=H,k.numberFormats=c.value,gf(k,R,H)}function oe(R,H){c.value[R]=nn(c.value[R]||{},H),k.numberFormats=c.value,gf(k,R,H)}bf++,n&&ac&&(tn(n.locale,R=>{r&&(o.value=R,k.locale=R,ho(k,o.value,i.value))}),tn(n.fallbackLocale,R=>{r&&(i.value=R,k.fallbackLocale=R,ho(k,o.value,i.value))}));const Y={id:bf,locale:I,fallbackLocale:D,get inheritLocale(){return r},set inheritLocale(R){r=R,R&&n&&(o.value=n.locale.value,i.value=n.fallbackLocale.value,ho(k,o.value,i.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:j,get modifiers(){return x},get pluralRules(){return C||{}},get isGlobal(){return s},get missingWarn(){return d},set missingWarn(R){d=R,k.missingWarn=d},get fallbackWarn(){return f},set fallbackWarn(R){f=R,k.fallbackWarn=f},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return p},set fallbackFormat(R){p=R,k.fallbackFormat=p},get warnHtmlMessage(){return b},set warnHtmlMessage(R){b=R,k.warnHtmlMessage=R},get escapeParameter(){return y},set escapeParameter(R){y=R,k.escapeParameter=R},t:ye,getLocaleMessage:A,setLocaleMessage:O,mergeLocaleMessage:P,getPostTranslationHandler:U,setPostTranslationHandler:q,getMissingHandler:Ce,setMissingHandler:te,[Hw]:le};return Y.datetimeFormats=Z,Y.numberFormats=X,Y.rt=je,Y.te=ne,Y.tm=Pe,Y.d=at,Y.n=ce,Y.getDateTimeFormat=K,Y.setDateTimeFormat=J,Y.mergeDateTimeFormat=ee,Y.getNumberFormat=de,Y.setNumberFormat=ae,Y.mergeNumberFormat=oe,Y[Uw]=e.__injectWithOption,Y[mc]=Me,Y[fc]=V,Y[pc]=Ee,Y}const Ed={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ww({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===De?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function ng(e){return De}const wf={name:"i18n-t",props:nn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Nt(e)||!isNaN(e)}},Ed),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||$d({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Se(e.plural)?+e.plural:e.plural);const a=Ww(t,o),u=r[mc](e.keypath,a,i),c=nn({},s),d=Se(e.tag)||gt(e.tag)?e.tag:ng();return Qn(d,c,u)}}};function Gw(e){return Lt(e)&&!Se(e[0])}function sg(e,t,n,s){const{slots:r,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Se(e.format)?i.key=e.format:gt(e.format)&&(Se(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((m,p)=>n.includes(p)?nn({},m,{[p]:e.format[p]}):m,{}));const u=s(e.value,i,a);let c=[i.key];Lt(u)?c=u.map((m,p)=>{const h=r[m.type],_=h?h({[m.type]:m.value,index:p,parts:u}):[m.value];return Gw(_)&&(_[0].key=`${m.type}-${p}`),_}):Se(u)&&(c=[u]);const d=nn({},o),f=Se(e.tag)||gt(e.tag)?e.tag:ng();return Qn(f,d,c)}}const zf={name:"i18n-n",props:nn({value:{type:Number,required:!0},format:{type:[String,Object]}},Ed),setup(e,t){const n=e.i18n||$d({useScope:"parent",__useComponent:!0});return sg(e,t,Y_,(...s)=>n[pc](...s))}},kf={name:"i18n-d",props:nn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ed),setup(e,t){const n=e.i18n||$d({useScope:"parent",__useComponent:!0});return sg(e,t,Z_,(...s)=>n[fc](...s))}};function Kw(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function Zw(e){const t=i=>{const{instance:a,modifiers:u,value:c}=i;if(!a||!a.$)throw Tn(Cn.UNEXPECTED_ERROR);const d=Kw(e,a.$),f=xf(c);return[Reflect.apply(d.t,d,[...Ef(f)]),d]};return{created:(i,a)=>{const[u,c]=t(a);ac&&e.global===c&&(i.__i18nWatcher=tn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=u},unmounted:i=>{ac&&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 u=i.__composer,c=xf(a);i.textContent=Reflect.apply(u.t,u,[...Ef(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function xf(e){if(Se(e))return{path:e};if(nt(e)){if(!("path"in e))throw Tn(Cn.REQUIRED_VALUE,"path");return e}else throw Tn(Cn.INVALID_VALUE)}function Ef(e){const{path:t,locale:n,args:s,choice:r,plural:o}=e,i={},a=s||{};return Se(n)&&(i.locale=n),Nt(r)&&(i.plural=r),Nt(o)&&(i.plural=o),[t,a,i]}function Yw(e,t,...n){const s=nt(n[0])?n[0]:{},r=!!s.useI18nComponentName;(St(s.globalInstall)?s.globalInstall:!0)&&(e.component(r?"i18n":wf.name,wf),e.component(zf.name,zf),e.component(kf.name,kf)),e.directive("t",Zw(t))}const Jw=qs("global-vue-i18n");function Xw(e={},t){const n=St(e.globalInjection)?e.globalInjection:!0,s=!0,r=new Map,[o,i]=Qw(e),a=qs("");function u(f){return r.get(f)||null}function c(f,m){r.set(f,m)}function d(f){r.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return s},async install(m,...p){if(m.__VUE_I18N_SYMBOL__=a,m.provide(m.__VUE_I18N_SYMBOL__,f),nt(p[0])){const _=p[0];f.__composerExtend=_.__composerExtend,f.__vueI18nExtend=_.__vueI18nExtend}n&&az(m,f.global),Yw(m,f,...p);const h=m.unmount;m.unmount=()=>{f.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:u,__setInstance:c,__deleteInstance:d};return f}}function $d(e={}){const t=Dn();if(t==null)throw Tn(Cn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Tn(Cn.NOT_INSLALLED);const n=ez(t),s=nz(n),r=eg(t),o=tz(e,r);if(o==="global")return jw(s,e,r),s;if(o==="parent"){let u=sz(n,t,e.__useComponent);return u==null&&(u=s),u}const i=n;let a=i.__getInstance(t);if(a==null){const u=nn({},e);"__i18n"in r&&(u.__i18n=r.__i18n),s&&(u.__root=s),a=tg(u),i.__composerExtend&&i.__composerExtend(a),rz(i,t),i.__setInstance(t,a)}return a}function Qw(e,t,n){const s=Yc();{const r=s.run(()=>tg(e));if(r==null)throw Tn(Cn.UNEXPECTED_ERROR);return[s,r]}}function ez(e){{const t=Hn(e.isCE?Jw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Tn(e.isCE?Cn.NOT_INSLALLED_WITH_PROVIDE:Cn.UNEXPECTED_ERROR);return t}}function tz(e,t){return Pl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function nz(e){return e.mode==="composition"?e.global:e.global.__composer}function sz(e,t,n=!1){let s=null;const r=t.root;let o=t.parent;for(;o!=null;){const i=e;if(e.mode==="composition"&&(s=i.__getInstance(o)),s!=null||r===o)break;o=o.parent}return s}function rz(e,t,n){ro(()=>{},t),bi(()=>{e.__deleteInstance(t)},t)}const oz=["locale","fallbackLocale","availableLocales"],iz=["t","rt","d","n","tm","te"];function az(e,t){const n=Object.create(null);oz.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Tn(Cn.UNEXPECTED_ERROR);const o=Pt(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,iz.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Tn(Cn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)})}zw(sw);kw(B_);Bw();if(__INTLIFY_PROD_DEVTOOLS__){const e=Cd();e.__INTLIFY__=!0,mw(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var lz={de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen eines Podcasts f\xFChrt 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\u2026"])},title:e=>{const{normalize:t}=e;return t(["F\xFCge Podcast RSS-Feed-Url hinzu"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade\u2026"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream-URL hinzuf\xFCgen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugef\xFCgt am"])},artist:e=>{const{normalize:t}=e;return t(["Album K\xFCnstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugef\xFCgt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t}=e;return t(["Tracknummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere\u2026"])},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\xFCnstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["|"," ",n(s("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["|"," ",n(s("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\xE4t"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["|"," ",n(s("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},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"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-K\xFCnstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularit\xE4t / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-K\xFCnstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugef\xFCgt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-K\xFCnstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualit\xE4t"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},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\xF6schten und ver\xE4nderten 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\u2026"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unver\xE4nderten 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\xF6sisch (Fran\xE7ais)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek l\xF6schen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten l\xF6schen "])},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:s}=e;return t([", Beschr\xE4nkungsgrund: ",n(s("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["H\xF6rbuch"])},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(["\xDCber"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" - ",n(s("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\xE4rke"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},settings:e=>{const{normalize:t}=e;return t(["Einstellungen"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},"built-with":e=>{const{normalize:t}=e;return t(['Oberfl\xE4che erstellt mit <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> und <a href="https://github.com/owntone/owntone-server/network/dependencies">anderem</a>.'])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Compiliert mit Unterst\xFCtzung von ",n(s("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},"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:s}=e;return t(["vor ",n(s("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:s}=e;return t(["Version ",n(s("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Slbums"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt"])},"recently-released":e=>{const{normalize:t}=e;return t(["K\xFCrzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," K\xFCnstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt"])}},"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\xFCnstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," H\xF6rb\xFCcher"])},title:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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\xF6rb\xFCcher"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["Alben"])},title:e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["K\xFCrzlich gespielt"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},browse:e=>{const{normalize:t}=e;return t(["Ausw\xE4hlen"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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:s}=e;return t([n(s("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Tracks durch Ausw\xE4hlen aus der Bibliothek anf\xFCgen"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Playlisten"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek l\xF6schen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gel\xF6scht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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\xFCgen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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\xFCnstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},help:e=>{const{normalize:t}=e;return t(['Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">Ausdr\xFCcken</a> suchen wenn Du dem Ausdruck ein <code>query:</code> voranstellst.'])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine K\xFCnstler gefunden"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Keine H\xF6rb\xFCcher gefunden"])},"no-composers":e=>{const{normalize:t}=e;return t(["Keine Komponisten gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Keine Podcasts gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Alben"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," K\xFCnstler"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," H\xF6rb\xFCcher"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Komponisten"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Playlisten"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zus\xE4tzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-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\xE4teverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode eingeben"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},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\xE4hlt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Men\xFC."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["W\xE4hle hier die Eintr\xE4ge des oberen Navigationsmen\xFCs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmen\xFCs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell l\xE4uft-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\xE4nkte die Zahl der Alben auf der "k\xFCrzlich hinzugef\xFCgt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell l\xE4uft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten f\xFCr die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell l\xE4uft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell l\xE4uft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["<b>Last.fm</b> - melde Dich mit Deinem Last.fm-Usernamen und Password an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird Usernamen und Passwort von last.fm nicht speichern, nur den Sitzungs-Schl\xFCssel. Dieser l\xE4uft 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\xFCtzung f\xFCr Last.fm erstellt."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop Scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterst\xFCtzung f\xFCr Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api erm\xF6glicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet f\xFCr "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},credentials:e=>{const{normalize:t}=e;return t([" - Anmelden mit dem Spotify Username und Passwort"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify Web-API</b> - Zugriff auf die Spotify Web-API gestatten"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify erm\xF6glicht OwnTone, Spotify-Tracks abzuspielen."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone speichert das Passwort nicht, aber wird \xFCber libspotify dennoch einen automatischen Login \xFCber ein Login-Token erm\xF6glichen."])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte f\xFCr 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"])}},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\xE4nge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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\xFCnstler"])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine K\xFCnstler gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Alben"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," K\xFCnstler"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Playlisten"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Zeige alle ",n(s("count"))," Tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf l\xF6schen"])},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\xFCckw\xE4rts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorw\xE4rts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zuf\xE4llig 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\xE4chsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Fehlender Websocket-Port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Anfrage gescheitert (Status: ",n(s("status"))," ",n(s("cause"))," ",n(s("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Warteschlange zu Playlist ",n(s("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Tracks an die Abspielliste angeh\xE4ngt"])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," Kan\xE4le"])}}},en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing\u2026"])},title:e=>{const{normalize:t}=e;return t(["Add Podcast RSS feed URL"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading\u2026"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add Stream URL"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},"track-count":e=>{const{normalize:t}=e;return t(["Track Count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving\u2026"])},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:s}=e;return t([" ","|"," ",n(s("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("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:s}=e;return t([" ","|"," ",n(s("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"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress\u2026"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Library update"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Fran\xE7ais)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([", restriction reason: ",n(s("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:s}=e;return t([" - ",n(s("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t}=e;return t(['Web interface built with <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> and <a href="https://github.com/owntone/owntone-server/network/dependencies">more</a>.'])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Compiled with support for ",n(s("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},"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:s}=e;return t([n(s("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:s}=e;return t(["Version ",n(s("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," artists"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," audiobooks"])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," authors"])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["albums"])},title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},browse:e=>{const{normalize:t}=e;return t(["Browse"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," playlists"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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:s}=e;return t([n(s("count"))," tracks"])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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"])},help:e=>{const{normalize:t}=e;return t(['Tip: you can search by a smart playlist query language <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">expression</a> if you prefix it with <code>query:</code>.'])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["No audiobooks found"])},"no-composers":e=>{const{normalize:t}=e;return t(["No composers found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["No podcasts found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," artists"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," audiobooks"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," composers"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," playlists"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-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(["Enter verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["<b>Last.fm</b> - Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},credentials:e=>{const{normalize:t}=e;return t([" - Login with your Spotify username and password"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify Web API</b> - Grant access to the Spotify Web API"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify enables OwnTone to play Spotify tracks."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone will not store your password, but will still be able to log you in automatically afterwards, because libspotify saves a login token."])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])}},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:s}=e;return t([n(s("count"))," tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," artists"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," playlists"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Show all ",n(s("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Missing websocket port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Request failed (status: ",n(s("status"))," ",n(s("cause"))," ",n(s("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Queue saved to playlist ",n(s("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," tracks appended to the queue"])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," channels"])}}},fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["L\u2019ajout d\u2019un podcast inclut la cr\xE9ation d\u2019une liste de lecture RSS, qui permettra \xE0 OwnTone de g\xE9rer l\u2019abonnement 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\u2026"])},title:e=>{const{normalize:t}=e;return t(["Ajouter l\u2019URL du flux RSS du podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement\u2026"])},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 l\u2019URL du flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajout\xE9 le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Ann\xE9e"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajout\xE9 le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},"track-count":e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours\u2026"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file d\u2019attente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},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\xE9"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("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\xE9e"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la t\xE9l\xE9commande"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de t\xE9l\xE9commande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularit\xE9 / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propri\xE9taire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajout\xE9 le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualit\xE9"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([" ","|"," ",n(s("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\xE9e"])}},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\xE9s, supprim\xE9s et modifi\xE9s"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la biblioth\xE8que locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la biblioth\xE8que en cours\u2026"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les m\xE9tadonn\xE9es des fichiers non modifi\xE9s"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualisation de la biblioth\xE8que"])}}},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\xE7ais"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer d\xE9finitivement ce podcast de votre biblioth\xE8que\xA0?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera \xE9galement la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas \xEAtre lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([", raison de la restriction\xA0: ",n(s("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(["\xC0 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:s}=e;return t([" - ",n(s("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP\xA0: \xE9chec du chargement du flux ou arr\xEAt du chargement en raison d\u2019un probl\xE8me r\xE9seau"])},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\xE9glages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la biblioth\xE8que"])}},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}=e;return t(['Interface utilisateur construite avec <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> et <a href="https://github.com/owntone/owntone-server/network/dependencies">plus</a>.'])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Compil\xE9 avec les options ",n(s("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Biblioth\xE8que"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Dur\xE9e 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:s}=e;return t(["il y a ",n(s("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis \xE0 jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},name:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Version ",n(s("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes n\u2019apparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui n\u2019apparaissent que dans votre biblioth\xE8que Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts r\xE9cents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties r\xE9centes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," artistes"])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts r\xE9cents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n\u2019apparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n\u2019apparaissent que dans votre biblioth\xE8que 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:s}=e;return t([n(s("count"))," pistes"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," livres audio"])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," auteurs"])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},tracks:e=>{const{normalize:t}=e;return t(["pistes"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["albums"])},title:e=>{const{normalize:t}=e;return t(["Ajouts r\xE9cents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures r\xE9centes"])},tracks:e=>{const{normalize:t}=e;return t(["pistes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},browse:e=>{const{normalize:t}=e;return t(["Parcourir"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Ajoutez des pistes en parcourant votre biblioth\xE8que"])},title:e=>{const{normalize:t}=e;return t(["La file d\u2019attente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," listes de lecture"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de mani\xE8re permanente de la biblioth\xE8que\xA0?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera \xE9galement la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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 \xE9pisodes"])},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:s}=e;return t([n(s("count"))," pistes"])},edit:e=>{const{normalize:t}=e;return t(["\xC9diter"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer l\u2019historique"])},queue:e=>{const{normalize:t}=e;return t(["File d\u2019attente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("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"])},help:e=>{const{normalize:t}=e;return t(['Astuce\xA0: en pr\xE9fixant votre requ\xEAte avec <code>query:</code>, vous pouvez effectuer une recherche avec une <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">expression</a> du langage de requ\xEAte de liste de lecture intelligente.'])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouv\xE9"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouv\xE9"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Aucun livre audio trouv\xE9"])},"no-composers":e=>{const{normalize:t}=e;return t(["Aucun compositeur trouv\xE9"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouv\xE9e"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Aucune podcast trouv\xE9"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouv\xE9e"])},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:s}=e;return t(["Afficher les ",n(s("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," artistes"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," livres audio"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," compositeurs"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," listes de lecture"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," pistes"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Biblioth\xE8que"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit plac\xE9es dans la biblioth\xE8que en tant que fichiers image s\xE9par\xE9s, soit int\xE9gr\xE9es dans les fichiers m\xE9dia, soit mises \xE0 disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la r\xE9cup\xE9ration des illustrations \xE0 partir des fournisseurs d\u2019illustrations suivants\xA0:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de t\xE9l\xE9commande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de t\xE9l\xE9commande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte n\xE9cessite un jumelage, activez-la ci-dessous et entrez le code PIN qu\u2019elle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage d\u2019enceinte et v\xE9rification d\u2019appareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de v\xE9rification"])},verify:e=>{const{normalize:t}=e;return t(["V\xE9rifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes d\u2019album"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},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\xE9lectionnez plus d\u2019\xE9l\xE9ments que ce qui peut \xEAtre affich\xE9 sur votre \xE9cran, le menu dispara\xEEtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["S\xE9lectionnez les \xE9l\xE9ments de la barre de navigation sup\xE9rieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page \xAB\xA0En cours de lecture\xA0\xBB"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre d\u2019album affich\xE9s dans la section \xAB\xA0Ajouts r\xE9cents\xA0\xBB"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page \xAB\xA0Ajouts r\xE9cents\xA0\xBB"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, s\xE9par\xE9s par des virgules, que le compositeur doit afficher sur la page \xAB\xA0En cours de lecture\xA0\xBB."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['L\u2019\xE9tiquette de genre de la piste actuelle est compar\xE9e en v\xE9rifiant si l\u2019un des genres d\xE9finis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l\u2019\xE9tiquette de genre est "classique contemporain" sera affich\xE9.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres list\xE9s"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affich\xE9 sur la page \xAB\xA0En cours de lecture\xA0\xBB"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustration dans la liste d\u2019albums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page \xAB\xA0En cours de lecture\xA0\xBB"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["<b>Last.fm</b> - Connectez-vous avec votre nom d\u2019utilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom d\u2019utilisateur et le mot de passe Last.fm ne sont pas enregistr\xE9s, uniquement la cl\xE9 de session. La cl\xE9 de session n\u2019expire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["L\u2019option Last.fm n\u2019est pas pr\xE9sente."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Arr\xEAter le scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["L\u2019option Spotify n\u2019est pas pr\xE9sente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connect\xE9 en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez poss\xE9der un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["L\u2019acc\xE8s \xE0 l\u2019API de Spotify permet l\u2019analyse de votre biblioth\xE8que Spotify. Les champs d\u2019application requis sont les suivants\xA0:"])},user:e=>{const{normalize:t}=e;return t(["Acc\xE8s autoris\xE9 pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser l\u2019acc\xE8s \xE0 l\u2019API"])},credentials:e=>{const{normalize:t}=e;return t([" - Connectez-vous avec votre nom d\u2019utilisateur et mot de passe Spotify"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify</b> - Accordez l\u2019acc\xE8s \xE0 l\u2019API de Spotify"])},"help-1":e=>{const{normalize:t}=e;return t(["La biblioth\xE8que libspotify permet de lire les pistes de Spotify."])},"help-2":e=>{const{normalize:t}=e;return t(["Votre nom d\u2019utilisateur et votre mot de passe Spotify ne sont pas enregistr\xE9s, uniquement le jeton de connexion."])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser \xE0 nouveau l\u2019acc\xE8s \xE0 l\u2019API pour accorder \xE0 OwnTone les droits d\u2019acc\xE8s suppl\xE9mentaires suivants\xA0:"])},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\xE9connecter"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["G\xE9n\xE9ral"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["T\xE9l\xE9commandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Listes de lecture en vedette"])},"new-releases":e=>{const{normalize:t}=e;return t(["Nouvelle sorties"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouv\xE9"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouv\xE9"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouv\xE9e"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouv\xE9e"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," artistes"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," listes de lecture"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Afficher les ",n(s("count"))," pistes"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer l\u2019historique"])},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\xE9p\xE9ter 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\xE9p\xE9ter 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\xE9atoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans l\u2019ordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer \xE0 la piste pr\xE9c\xE9dente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer \xE0 la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arr\xEAter la lecture"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur \xE0 l\u2019enregistrement du r\xE9glage)"])},saved:e=>{const{normalize:t}=e;return t([" (r\xE9glage enregistr\xE9)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["\xC9chec de connexion au serveur"])},"missing-port":e=>{const{normalize:t}=e;return t(["Port websocket manquant"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["La requ\xEAte a \xE9chou\xE9 (status: ",n(s("status"))," ",n(s("cause"))," ",n(s("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["La file d\u2019attente enregistr\xE9e dans la liste de lecture ",n(s("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," pistes ajout\xE9es \xE0 la file d\u2019attente"])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file d\u2019attente est vide"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Aujourd\u2019hui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine derni\xE8re"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["st\xE9r\xE9o"])},channels:e=>{const{normalize:t,interpolate:n,named:s}=e;return t([n(s("count"))," canaux"])}}}},Fl=Xw({legacy:!1,globalInjection:!0,availableLocales:"fr",locale:navigator.language,fallbackLocale:"en",fallbackWarn:!1,missingWarn:!1,messages:lz});/*!
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
*/var uz="store";function oo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function cz(e){return e!==null&&typeof e=="object"}function dz(e){return e&&typeof e.then=="function"}function mz(e,t){return function(){return e(t)}}function rg(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var s=t.indexOf(e);s>-1&&t.splice(s,1)}}function og(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Rl(e,n,[],e._modules.root,!0),Sd(e,n,t)}function Sd(e,t,n){var s=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},a={},u=Yc(!0);u.run(function(){oo(o,function(c,d){i[d]=mz(c,e),a[d]=Rt(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=fr({data:t}),e._scope=u,e.strict&&gz(e),s&&n&&e._withCommit(function(){s.data=null}),r&&r.stop()}function Rl(e,t,n,s,r){var o=!n.length,i=e._modules.getNamespace(n);if(s.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=s),!o&&!r){var a=Ad(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){a[u]=s.state})}var c=s.context=fz(e,i,n);s.forEachMutation(function(d,f){var m=i+f;pz(e,m,d,c)}),s.forEachAction(function(d,f){var m=d.root?f:i+f,p=d.handler||d;hz(e,m,p,c)}),s.forEachGetter(function(d,f){var m=i+f;_z(e,m,d,c)}),s.forEachChild(function(d,f){Rl(e,t,n.concat(f),d,r)})}function fz(e,t,n){var s=t==="",r={dispatch:s?e.dispatch:function(o,i,a){var u=tl(o,i,a),c=u.payload,d=u.options,f=u.type;return(!d||!d.root)&&(f=t+f),e.dispatch(f,c)},commit:s?e.commit:function(o,i,a){var u=tl(o,i,a),c=u.payload,d=u.options,f=u.type;(!d||!d.root)&&(f=t+f),e.commit(f,c,d)}};return Object.defineProperties(r,{getters:{get:s?function(){return e.getters}:function(){return ig(e,t)}},state:{get:function(){return Ad(e.state,n)}}}),r}function ig(e,t){if(!e._makeLocalGettersCache[t]){var n={},s=t.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,s)===t){var o=r.slice(s);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function pz(e,t,n,s){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(i){n.call(e,s.state,i)})}function hz(e,t,n,s){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(i){var a=n.call(e,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:e.getters,rootState:e.state},i);return dz(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(u){throw e._devtoolHook.emit("vuex:error",u),u}):a})}function _z(e,t,n,s){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(s.state,s.getters,o.state,o.getters)})}function gz(e){tn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Ad(e,t){return t.reduce(function(n,s){return n[s]},e)}function tl(e,t,n){return cz(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var yz="vuex bindings",$f="vuex:mutations",du="vuex:actions",br="vuex",vz=0;function bz(e,t){Nw({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[yz]},function(n){n.addTimelineLayer({id:$f,label:"Vuex Mutations",color:Sf}),n.addTimelineLayer({id:du,label:"Vuex Actions",color:Sf}),n.addInspector({id:br,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===e&&s.inspectorId===br)if(s.filter){var r=[];cg(r,t._modules.root,s.filter,""),s.rootNodes=r}else s.rootNodes=[ug(t._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===e&&s.inspectorId===br){var r=s.nodeId;ig(t,r),s.state=zz(xz(t._modules,r),r==="root"?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(s){if(s.app===e&&s.inspectorId===br){var r=s.nodeId,o=s.path;r!=="root"&&(o=r.split("/").filter(Boolean).concat(o)),t._withCommit(function(){s.set(t._state.data,o,s.state.value)})}}),t.subscribe(function(s,r){var o={};s.payload&&(o.payload=s.payload),o.state=r,n.notifyComponentUpdate(),n.sendInspectorTree(br),n.sendInspectorState(br),n.addTimelineEvent({layerId:$f,event:{time:Date.now(),title:s.type,data:o}})}),t.subscribeAction({before:function(s,r){var o={};s.payload&&(o.payload=s.payload),s._id=vz++,s._time=Date.now(),o.state=r,n.addTimelineEvent({layerId:du,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:o}})},after:function(s,r){var o={},i=Date.now()-s._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(o.payload=s.payload),o.state=r,n.addTimelineEvent({layerId:du,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:o}})}})})}var Sf=8702998,Cz=6710886,wz=16777215,ag={label:"namespaced",textColor:wz,backgroundColor:Cz};function lg(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function ug(e,t){return{id:t||"root",label:lg(t),tags:e.namespaced?[ag]:[],children:Object.keys(e._children).map(function(n){return ug(e._children[n],t+n+"/")})}}function cg(e,t,n,s){s.includes(n)&&e.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:t.namespaced?[ag]:[]}),Object.keys(t._children).forEach(function(r){cg(e,t._children[r],n,s+r+"/")})}function zz(e,t,n){t=n==="root"?t:t[n];var s=Object.keys(t),r={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(s.length){var o=kz(t);r.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?lg(i):i,editable:!1,value:_c(function(){return o[i]})}})}return r}function kz(e){var t={};return Object.keys(e).forEach(function(n){var s=n.split("/");if(s.length>1){var r=t,o=s.pop();s.forEach(function(i){r[i]||(r[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),r=r[i]._custom.value}),r[o]=_c(function(){return e[n]})}else t[n]=_c(function(){return e[n]})}),t}function xz(e,t){var n=t.split("/").filter(function(s){return s});return n.reduce(function(s,r,o){var i=s[r];if(!i)throw new Error('Missing module "'+r+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function _c(e){try{return e()}catch(t){return t}}var qn=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=(typeof s=="function"?s():s)||{}},dg={namespaced:{configurable:!0}};dg.namespaced.get=function(){return!!this._rawModule.namespaced};qn.prototype.addChild=function(t,n){this._children[t]=n};qn.prototype.removeChild=function(t){delete this._children[t]};qn.prototype.getChild=function(t){return this._children[t]};qn.prototype.hasChild=function(t){return t in this._children};qn.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};qn.prototype.forEachChild=function(t){oo(this._children,t)};qn.prototype.forEachGetter=function(t){this._rawModule.getters&&oo(this._rawModule.getters,t)};qn.prototype.forEachAction=function(t){this._rawModule.actions&&oo(this._rawModule.actions,t)};qn.prototype.forEachMutation=function(t){this._rawModule.mutations&&oo(this._rawModule.mutations,t)};Object.defineProperties(qn.prototype,dg);var hr=function(t){this.register([],t,!1)};hr.prototype.get=function(t){return t.reduce(function(n,s){return n.getChild(s)},this.root)};hr.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(s,r){return n=n.getChild(r),s+(n.namespaced?r+"/":"")},"")};hr.prototype.update=function(t){mg([],this.root,t)};hr.prototype.register=function(t,n,s){var r=this;s===void 0&&(s=!0);var o=new qn(n,s);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&oo(n.modules,function(a,u){r.register(t.concat(u),a,s)})};hr.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1],r=n.getChild(s);!r||!r.runtime||n.removeChild(s)};hr.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1];return n?n.hasChild(s):!1};function mg(e,t,n){if(t.update(n),n.modules)for(var s in n.modules){if(!t.getChild(s))return;mg(e.concat(s),t.getChild(s),n.modules[s])}}function Ez(e){return new fn(e)}var fn=function(t){var n=this;t===void 0&&(t={});var s=t.plugins;s===void 0&&(s=[]);var r=t.strict;r===void 0&&(r=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new hr(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,a=this,u=a.dispatch,c=a.commit;this.dispatch=function(m,p){return u.call(i,m,p)},this.commit=function(m,p,h){return c.call(i,m,p,h)},this.strict=r;var d=this._modules.root.state;Rl(this,d,[],this._modules.root),Sd(this,d),s.forEach(function(f){return f(n)})},Td={state:{configurable:!0}};fn.prototype.install=function(t,n){t.provide(n||uz,this),t.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&bz(t,this)};Td.state.get=function(){return this._state.data};Td.state.set=function(e){};fn.prototype.commit=function(t,n,s){var r=this,o=tl(t,n,s),i=o.type,a=o.payload,u={type:i,payload:a},c=this._mutations[i];!c||(this._withCommit(function(){c.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(d){return d(u,r.state)}))};fn.prototype.dispatch=function(t,n){var s=this,r=tl(t,n),o=r.type,i=r.payload,a={type:o,payload:i},u=this._actions[o];if(!!u){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,s.state)})}catch{}var c=u.length>1?Promise.all(u.map(function(d){return d(i)})):u[0](i);return new Promise(function(d,f){c.then(function(m){try{s._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,s.state)})}catch{}d(m)},function(m){try{s._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,s.state,m)})}catch{}f(m)})})}};fn.prototype.subscribe=function(t,n){return rg(t,this._subscribers,n)};fn.prototype.subscribeAction=function(t,n){var s=typeof t=="function"?{before:t}:t;return rg(s,this._actionSubscribers,n)};fn.prototype.watch=function(t,n,s){var r=this;return tn(function(){return t(r.state,r.getters)},n,Object.assign({},s))};fn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};fn.prototype.registerModule=function(t,n,s){s===void 0&&(s={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Rl(this,this.state,t,this._modules.get(t),s.preserveState),Sd(this,this.state)};fn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var s=Ad(n.state,t.slice(0,-1));delete s[t[t.length-1]]}),og(this)};fn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};fn.prototype.hotUpdate=function(t){this._modules.update(t),og(this,!0)};fn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(fn.prototype,Td);const fg="UPDATE_CONFIG",pg="UPDATE_SETTINGS",Ll="UPDATE_SETTINGS_OPTION",hg="UPDATE_LIBRARY_STATS",_g="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",gg="UPDATE_LIBRARY_PODCASTS_COUNT",yg="UPDATE_LIBRARY_RSS_COUNT",vg="UPDATE_OUTPUTS",Od="UPDATE_PLAYER_STATUS",bg="UPDATE_QUEUE",Cg="UPDATE_LASTFM",wg="UPDATE_SPOTIFY",zg="UPDATE_PAIRING",Dd="SPOTIFY_NEW_RELEASES",Pd="SPOTIFY_FEATURED_PLAYLISTS",Af="ADD_NOTIFICATION",gc="DELETE_NOTIFICATION",yc="SEARCH_PATH",Id="ADD_RECENT_SEARCH",kg="COMPOSER_TRACKS_SORT",xg="GENRE_TRACKS_SORT",Ml="HIDE_SINGLES",Fd="HIDE_SPOTIFY",Eg="ARTISTS_SORT",$g="ARTIST_ALBUMS_SORT",Sg="ARTIST_TRACKS_SORT",Ag="ALBUMS_SORT",Tg="SHOW_ONLY_NEXT_ITEMS",Gr="SHOW_BURGER_MENU",Kr="SHOW_PLAYER_MENU",wi="SHOW_UPDATE_DIALOG",Rd="UPDATE_DIALOG_SCAN_KIND";var Ke=Ez({state(){return{config:{websocket_port:0,version:"",buildoptions:[]},settings:{categories:[]},library:{artists:0,albums:0,songs:0,db_playtime:0,updating:!1},audiobooks_count:{},podcasts_count:{},rss_count:{},outputs:[],player:{state:"stop",repeat:"off",consume:!1,shuffle:!1,volume:0,item_id:0,item_length_ms:0,item_progress_ms:0},queue:{version:0,count:0,items:[]},lastfm:{},spotify:{},pairing:{},spotify_new_releases:[],spotify_featured_playlists:[],notifications:{next_id:1,list:[]},search_path:"/search/library",recent_searches:[],composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_sort:1,artist_tracks_sort:1,albums_sort:1,show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,update_dialog_scan_kind:""}},getters:{now_playing:e=>{const t=e.queue.items.find(function(n){return n.id===e.player.item_id});return t===void 0?{}:t},settings_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null,settings_option_recently_added_limit:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(s=>s.name==="recently_added_limit");if(n)return n.value}return 100},settings_option_show_composer_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(s=>s.name==="show_composer_now_playing");if(n)return n.value}return!1},settings_option_show_composer_for_genre:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(s=>s.name==="show_composer_for_genre");if(n)return n.value}return null},settings_option_show_filepath_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(s=>s.name==="show_filepath_now_playing");if(n)return n.value}return!1},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),settings_option:e=>(t,n)=>{const s=e.settings.categories.find(r=>r.name===t);return s?s.options.find(r=>r.name===n):{}}},mutations:{[fg](e,t){e.config=t},[pg](e,t){e.settings=t},[Ll](e,t){const s=e.settings.categories.find(r=>r.name===t.category).options.find(r=>r.name===t.name);s.value=t.value},[hg](e,t){e.library=t},[_g](e,t){e.audiobooks_count=t},[gg](e,t){e.podcasts_count=t},[yg](e,t){e.rss_count=t},[vg](e,t){e.outputs=t},[Od](e,t){e.player=t},[bg](e,t){e.queue=t},[Cg](e,t){e.lastfm=t},[wg](e,t){e.spotify=t},[zg](e,t){e.pairing=t},[Dd](e,t){e.spotify_new_releases=t},[Pd](e,t){e.spotify_featured_playlists=t},[Af](e,t){if(t.topic){const n=e.notifications.list.findIndex(s=>s.topic===t.topic);if(n>=0){e.notifications.list.splice(n,1,t);return}}e.notifications.list.push(t)},[gc](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[yc](e,t){e.search_path=t},[Id](e,t){const n=e.recent_searches.findIndex(s=>s===t);n>=0&&e.recent_searches.splice(n,1),e.recent_searches.splice(0,0,t),e.recent_searches.length>5&&e.recent_searches.pop()},[kg](e,t){e.composer_tracks_sort=t},[xg](e,t){e.genre_tracks_sort=t},[Ml](e,t){e.hide_singles=t},[Fd](e,t){e.hide_spotify=t},[Eg](e,t){e.artists_sort=t},[$g](e,t){e.artist_albums_sort=t},[Sg](e,t){e.artist_tracks_sort=t},[Ag](e,t){e.albums_sort=t},[Tg](e,t){e.show_only_next_items=t},[Gr](e,t){e.show_burger_menu=t},[Kr](e,t){e.show_player_menu=t},[wi](e,t){e.show_update_dialog=t},[Rd](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const s={id:t.notifications.next_id++,type:n.type,text:n.text,topic:n.topic,timeout:n.timeout};e(Af,s),n.timeout>0&&setTimeout(()=>{e(gc,s)},n.timeout)}}});/*!
* vue-router v4.2.2
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Ar=typeof window!="undefined";function $z(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ct=Object.assign;function mu(e,t){const n={};for(const s in t){const r=t[s];n[s]=Un(r)?r.map(e):e(r)}return n}const jo=()=>{},Un=Array.isArray,Sz=/\/$/,Az=e=>e.replace(Sz,"");function fu(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let u=t.indexOf("?");return a<u&&a>=0&&(u=-1),u>-1&&(s=t.slice(0,u),o=t.slice(u+1,a>-1?a:t.length),r=e(o)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Pz(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Tz(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Tf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Oz(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Zr(t.matched[s],n.matched[r])&&Og(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Zr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Og(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Dz(e[n],t[n]))return!1;return!0}function Dz(e,t){return Un(e)?Of(e,t):Un(t)?Of(t,e):e===t}function Of(e,t){return Un(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Pz(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var di;(function(e){e.pop="pop",e.push="push"})(di||(di={}));var qo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qo||(qo={}));function Iz(e){if(!e)if(Ar){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Az(e)}const Fz=/^[^#]+#/;function Rz(e,t){return e.replace(Fz,"#")+t}function Lz(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Nl=()=>({left:window.pageXOffset,top:window.pageYOffset});function Mz(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Lz(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Df(e,t){return(history.state?history.state.position-t:-1)+e}const vc=new Map;function Nz(e,t){vc.set(e,t)}function Vz(e){const t=vc.get(e);return vc.delete(e),t}let Bz=()=>location.protocol+"//"+location.host;function Dg(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,u=r.slice(a);return u[0]!=="/"&&(u="/"+u),Tf(u,"")}return Tf(n,e)+s+r}function Hz(e,t,n,s){let r=[],o=[],i=null;const a=({state:m})=>{const p=Dg(e,location),h=n.value,_=t.value;let w=0;if(m){if(n.value=p,t.value=m,i&&i===h){i=null;return}w=_?m.position-_.position:0}else s(p);r.forEach(b=>{b(n.value,h,{delta:w,type:di.pop,direction:w?w>0?qo.forward:qo.back:qo.unknown})})};function u(){i=n.value}function c(m){r.push(m);const p=()=>{const h=r.indexOf(m);h>-1&&r.splice(h,1)};return o.push(p),p}function d(){const{history:m}=window;!m.state||m.replaceState(ct({},m.state,{scroll:Nl()}),"")}function f(){for(const m of o)m();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:u,listen:c,destroy:f}}function Pf(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Nl():null}}function Uz(e){const{history:t,location:n}=window,s={value:Dg(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,c,d){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+u:Bz()+e+u;try{t[d?"replaceState":"pushState"](c,"",m),r.value=c}catch(p){console.error(p),n[d?"replace":"assign"](m)}}function i(u,c){const d=ct({},t.state,Pf(r.value.back,u,r.value.forward,!0),c,{position:r.value.position});o(u,d,!0),s.value=u}function a(u,c){const d=ct({},r.value,t.state,{forward:u,scroll:Nl()});o(d.current,d,!0);const f=ct({},Pf(s.value,u,null),{position:d.position+1},c);o(u,f,!1),s.value=u}return{location:s,state:r,push:a,replace:i}}function jz(e){e=Iz(e);const t=Uz(e),n=Hz(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ct({location:"",base:e,go:s,createHref:Rz.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function qz(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),jz(e)}function Wz(e){return typeof e=="string"||e&&typeof e=="object"}function Pg(e){return typeof e=="string"||typeof e=="symbol"}const ks={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ig=Symbol("");var If;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(If||(If={}));function Yr(e,t){return ct(new Error,{type:e,[Ig]:!0},t)}function ls(e,t){return e instanceof Error&&Ig in e&&(t==null||!!(e.type&t))}const Ff="[^/]+?",Gz={sensitive:!1,strict:!1,start:!0,end:!0},Kz=/[.+*?^${}()[\]/\\]/g;function Zz(e,t){const n=ct({},Gz,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const m=c[f];let p=40+(n.sensitive?.25:0);if(m.type===0)f||(r+="/"),r+=m.value.replace(Kz,"\\$&"),p+=40;else if(m.type===1){const{value:h,repeatable:_,optional:w,regexp:b}=m;o.push({name:h,repeatable:_,optional:w});const y=b||Ff;if(y!==Ff){p+=10;try{new RegExp(`(${y})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+C.message)}}let x=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=w&&c.length<2?`(?:/${x})`:"/"+x),w&&(x+="?"),r+=x,p+=20,w&&(p+=-8),_&&(p+=-20),y===".*"&&(p+=-50)}d.push(p)}s.push(d)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(c){const d=c.match(i),f={};if(!d)return null;for(let m=1;m<d.length;m++){const p=d[m]||"",h=o[m-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function u(c){let d="",f=!1;for(const m of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const p of m)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:w}=p,b=h in c?c[h]:"";if(Un(b)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=Un(b)?b.join("/"):b;if(!y)if(w)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);d+=y}}return d||"/"}return{re:i,score:s,keys:o,parse:a,stringify:u}}function Yz(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Jz(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Yz(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Rf(s))return 1;if(Rf(r))return-1}return r.length-s.length}function Rf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Xz={type:0,value:""},Qz=/[a-zA-Z0-9_]/;function ek(e){if(!e)return[[]];if(e==="/")return[[Xz]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,u,c="",d="";function f(){!c||(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function m(){c+=u}for(;a<e.length;){if(u=e[a++],u==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:u==="/"?(c&&f(),i()):u===":"?(f(),n=1):m();break;case 4:m(),n=s;break;case 1:u==="("?n=2:Qz.test(u)?m():(f(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case 2:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:n=3:d+=u;break;case 3:f(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}function tk(e,t,n){const s=Zz(ek(e.path),n),r=ct(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function nk(e,t){const n=[],s=new Map;t=Nf({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function o(d,f,m){const p=!m,h=sk(d);h.aliasOf=m&&m.record;const _=Nf(t,d),w=[h];if("alias"in d){const x=typeof d.alias=="string"?[d.alias]:d.alias;for(const C of x)w.push(ct({},h,{components:m?m.record.components:h.components,path:C,aliasOf:m?m.record:h}))}let b,y;for(const x of w){const{path:C}=x;if(f&&C[0]!=="/"){const k=f.record.path,T=k[k.length-1]==="/"?"":"/";x.path=f.record.path+(C&&T+C)}if(b=tk(x,f,_),m?m.alias.push(b):(y=y||b,y!==b&&y.alias.push(b),p&&d.name&&!Mf(b)&&i(d.name)),h.children){const k=h.children;for(let T=0;T<k.length;T++)o(k[T],b,m&&m.children[T])}m=m||b,(b.record.components&&Object.keys(b.record.components).length||b.record.name||b.record.redirect)&&u(b)}return y?()=>{i(y)}:jo}function i(d){if(Pg(d)){const f=s.get(d);f&&(s.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function u(d){let f=0;for(;f<n.length&&Jz(d,n[f])>=0&&(d.record.path!==n[f].record.path||!Fg(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!Mf(d)&&s.set(d.record.name,d)}function c(d,f){let m,p={},h,_;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw Yr(1,{location:d});_=m.record.name,p=ct(Lf(f.params,m.keys.filter(y=>!y.optional).map(y=>y.name)),d.params&&Lf(d.params,m.keys.map(y=>y.name))),h=m.stringify(p)}else if("path"in d)h=d.path,m=n.find(y=>y.re.test(h)),m&&(p=m.parse(h),_=m.record.name);else{if(m=f.name?s.get(f.name):n.find(y=>y.re.test(f.path)),!m)throw Yr(1,{location:d,currentLocation:f});_=m.record.name,p=ct({},f.params,d.params),h=m.stringify(p)}const w=[];let b=m;for(;b;)w.unshift(b.record),b=b.parent;return{name:_,path:h,params:p,matched:w,meta:ok(w)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:r}}function Lf(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function sk(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:rk(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function rk(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Mf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ok(e){return e.reduce((t,n)=>ct(t,n.meta),{})}function Nf(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Fg(e,t){return t.children.some(n=>n===e||Fg(e,n))}const Rg=/#/g,ik=/&/g,ak=/\//g,lk=/=/g,uk=/\?/g,Lg=/\+/g,ck=/%5B/g,dk=/%5D/g,Mg=/%5E/g,mk=/%60/g,Ng=/%7B/g,fk=/%7C/g,Vg=/%7D/g,pk=/%20/g;function Ld(e){return encodeURI(""+e).replace(fk,"|").replace(ck,"[").replace(dk,"]")}function hk(e){return Ld(e).replace(Ng,"{").replace(Vg,"}").replace(Mg,"^")}function bc(e){return Ld(e).replace(Lg,"%2B").replace(pk,"+").replace(Rg,"%23").replace(ik,"%26").replace(mk,"`").replace(Ng,"{").replace(Vg,"}").replace(Mg,"^")}function _k(e){return bc(e).replace(lk,"%3D")}function gk(e){return Ld(e).replace(Rg,"%23").replace(uk,"%3F")}function yk(e){return e==null?"":gk(e).replace(ak,"%2F")}function nl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function vk(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Lg," "),i=o.indexOf("="),a=nl(i<0?o:o.slice(0,i)),u=i<0?null:nl(o.slice(i+1));if(a in t){let c=t[a];Un(c)||(c=t[a]=[c]),c.push(u)}else t[a]=u}return t}function Vf(e){let t="";for(let n in e){const s=e[n];if(n=_k(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Un(s)?s.map(o=>o&&bc(o)):[s&&bc(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function bk(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Un(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ck=Symbol(""),Bf=Symbol(""),Md=Symbol(""),Bg=Symbol(""),Cc=Symbol("");function _o(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ts(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,a)=>{const u=f=>{f===!1?a(Yr(4,{from:n,to:t})):f instanceof Error?a(f):Wz(f)?a(Yr(2,{from:t,to:f})):(o&&s.enterCallbacks[r]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(s&&s.instances[r],t,n,u);let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(f=>a(f))})}function pu(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(wk(a)){const c=(a.__vccOpts||a)[t];c&&r.push(Ts(c,n,s,o,i))}else{let u=a();r.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=$z(c)?c.default:c;o.components[i]=d;const m=(d.__vccOpts||d)[t];return m&&Ts(m,n,s,o,i)()}))}}return r}function wk(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Hf(e){const t=Hn(Md),n=Hn(Bg),s=Rt(()=>t.resolve(ln(e.to))),r=Rt(()=>{const{matched:u}=s.value,{length:c}=u,d=u[c-1],f=n.matched;if(!d||!f.length)return-1;const m=f.findIndex(Zr.bind(null,d));if(m>-1)return m;const p=Uf(u[c-2]);return c>1&&Uf(d)===p&&f[f.length-1].path!==p?f.findIndex(Zr.bind(null,u[c-2])):m}),o=Rt(()=>r.value>-1&&Ek(n.params,s.value.params)),i=Rt(()=>r.value>-1&&r.value===n.matched.length-1&&Og(n.params,s.value.params));function a(u={}){return xk(u)?t[ln(e.replace)?"replace":"push"](ln(e.to)).catch(jo):Promise.resolve()}return{route:s,href:Rt(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}const zk=so({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:Hf,setup(e,{slots:t}){const n=fr(Hf(e)),{options:s}=Hn(Md),r=Rt(()=>({[jf(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[jf(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Qn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),kk=zk;function xk(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 Ek(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Un(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Uf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jf=(e,t,n)=>e!=null?e:t!=null?t:n,$k=so({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Hn(Cc),r=Rt(()=>e.route||s.value),o=Hn(Bf,0),i=Rt(()=>{let c=ln(o);const{matched:d}=r.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),a=Rt(()=>r.value.matched[i.value]);No(Bf,Rt(()=>i.value+1)),No(Ck,a),No(Cc,r);const u=Xt();return tn(()=>[u.value,a.value,e.name],([c,d,f],[m,p,h])=>{d&&(d.instances[f]=c,p&&p!==d&&c&&c===m&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!Zr(d,p)||!m)&&(d.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,d=e.name,f=a.value,m=f&&f.components[d];if(!m)return qf(n.default,{Component:m,route:c});const p=f.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,w=Qn(m,ct({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[d]=null)},ref:u}));return qf(n.default,{Component:w,route:c})||w}}});function qf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Sk=$k;function Ak(e){const t=nk(e.routes,e),n=e.parseQuery||vk,s=e.stringifyQuery||Vf,r=e.history,o=_o(),i=_o(),a=_o(),u=wh(ks);let c=ks;Ar&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=mu.bind(null,V=>""+V),f=mu.bind(null,yk),m=mu.bind(null,nl);function p(V,le){let ne,pe;return Pg(V)?(ne=t.getRecordMatcher(V),pe=le):pe=V,t.addRoute(pe,ne)}function h(V){const le=t.getRecordMatcher(V);le&&t.removeRoute(le)}function _(){return t.getRoutes().map(V=>V.record)}function w(V){return!!t.getRecordMatcher(V)}function b(V,le){if(le=ct({},le||u.value),typeof V=="string"){const P=fu(n,V,le.path),K=t.resolve({path:P.path},le),J=r.createHref(P.fullPath);return ct(P,K,{params:m(K.params),hash:nl(P.hash),redirectedFrom:void 0,href:J})}let ne;if("path"in V)ne=ct({},V,{path:fu(n,V.path,le.path).path});else{const P=ct({},V.params);for(const K in P)P[K]==null&&delete P[K];ne=ct({},V,{params:f(P)}),le.params=f(le.params)}const pe=t.resolve(ne,le),Pe=V.hash||"";pe.params=d(m(pe.params));const A=Tz(s,ct({},V,{hash:hk(Pe),path:pe.path})),O=r.createHref(A);return ct({fullPath:A,hash:Pe,query:s===Vf?bk(V.query):V.query||{}},pe,{redirectedFrom:void 0,href:O})}function y(V){return typeof V=="string"?fu(n,V,u.value.path):ct({},V)}function x(V,le){if(c!==V)return Yr(8,{from:le,to:V})}function C(V){return L(V)}function k(V){return C(ct(y(V),{replace:!0}))}function T(V){const le=V.matched[V.matched.length-1];if(le&&le.redirect){const{redirect:ne}=le;let pe=typeof ne=="function"?ne(V):ne;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=y(pe):{path:pe},pe.params={}),ct({query:V.query,hash:V.hash,params:"path"in pe?{}:V.params},pe)}}function L(V,le){const ne=c=b(V),pe=u.value,Pe=V.state,A=V.force,O=V.replace===!0,P=T(ne);if(P)return L(ct(y(P),{state:typeof P=="object"?ct({},Pe,P.state):Pe,force:A,replace:O}),le||ne);const K=ne;K.redirectedFrom=le;let J;return!A&&Oz(s,pe,ne)&&(J=Yr(16,{to:K,from:pe}),ce(pe,pe,!0,!1)),(J?Promise.resolve(J):j(K,pe)).catch(ee=>ls(ee)?ls(ee,2)?ee:at(ee):ye(ee,K,pe)).then(ee=>{if(ee){if(ls(ee,2))return L(ct({replace:O},y(ee.to),{state:typeof ee.to=="object"?ct({},Pe,ee.to.state):Pe,force:A}),le||K)}else ee=X(K,pe,!0,O,Pe);return Z(K,pe,ee),ee})}function I(V,le){const ne=x(V,le);return ne?Promise.reject(ne):Promise.resolve()}function D(V){const le=Oe.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(V):V()}function j(V,le){let ne;const[pe,Pe,A]=Tk(V,le);ne=pu(pe.reverse(),"beforeRouteLeave",V,le);for(const P of pe)P.leaveGuards.forEach(K=>{ne.push(Ts(K,V,le))});const O=I.bind(null,V,le);return ne.push(O),Ee(ne).then(()=>{ne=[];for(const P of o.list())ne.push(Ts(P,V,le));return ne.push(O),Ee(ne)}).then(()=>{ne=pu(Pe,"beforeRouteUpdate",V,le);for(const P of Pe)P.updateGuards.forEach(K=>{ne.push(Ts(K,V,le))});return ne.push(O),Ee(ne)}).then(()=>{ne=[];for(const P of V.matched)if(P.beforeEnter&&!le.matched.includes(P))if(Un(P.beforeEnter))for(const K of P.beforeEnter)ne.push(Ts(K,V,le));else ne.push(Ts(P.beforeEnter,V,le));return ne.push(O),Ee(ne)}).then(()=>(V.matched.forEach(P=>P.enterCallbacks={}),ne=pu(A,"beforeRouteEnter",V,le),ne.push(O),Ee(ne))).then(()=>{ne=[];for(const P of i.list())ne.push(Ts(P,V,le));return ne.push(O),Ee(ne)}).catch(P=>ls(P,8)?P:Promise.reject(P))}function Z(V,le,ne){for(const pe of a.list())D(()=>pe(V,le,ne))}function X(V,le,ne,pe,Pe){const A=x(V,le);if(A)return A;const O=le===ks,P=Ar?history.state:{};ne&&(pe||O?r.replace(V.fullPath,ct({scroll:O&&P&&P.scroll},Pe)):r.push(V.fullPath,Pe)),u.value=V,ce(V,le,ne,O),at()}let U;function q(){U||(U=r.listen((V,le,ne)=>{if(!Me.listening)return;const pe=b(V),Pe=T(pe);if(Pe){L(ct(Pe,{replace:!0}),pe).catch(jo);return}c=pe;const A=u.value;Ar&&Nz(Df(A.fullPath,ne.delta),Nl()),j(pe,A).catch(O=>ls(O,12)?O:ls(O,2)?(L(O.to,pe).then(P=>{ls(P,20)&&!ne.delta&&ne.type===di.pop&&r.go(-1,!1)}).catch(jo),Promise.reject()):(ne.delta&&r.go(-ne.delta,!1),ye(O,pe,A))).then(O=>{O=O||X(pe,A,!1),O&&(ne.delta&&!ls(O,8)?r.go(-ne.delta,!1):ne.type===di.pop&&ls(O,20)&&r.go(-1,!1)),Z(pe,A,O)}).catch(jo)}))}let Ce=_o(),te=_o(),ie;function ye(V,le,ne){at(V);const pe=te.list();return pe.length?pe.forEach(Pe=>Pe(V,le,ne)):console.error(V),Promise.reject(V)}function je(){return ie&&u.value!==ks?Promise.resolve():new Promise((V,le)=>{Ce.add([V,le])})}function at(V){return ie||(ie=!V,q(),Ce.list().forEach(([le,ne])=>V?ne(V):le()),Ce.reset()),V}function ce(V,le,ne,pe){const{scrollBehavior:Pe}=e;if(!Ar||!Pe)return Promise.resolve();const A=!ne&&Vz(Df(V.fullPath,0))||(pe||!ne)&&history.state&&history.state.scroll||null;return gi().then(()=>Pe(V,le,A)).then(O=>O&&Mz(O)).catch(O=>ye(O,V,le))}const W=V=>r.go(V);let fe;const Oe=new Set,Me={currentRoute:u,listening:!0,addRoute:p,removeRoute:h,hasRoute:w,getRoutes:_,resolve:b,options:e,push:C,replace:k,go:W,back:()=>W(-1),forward:()=>W(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:te.add,isReady:je,install(V){const le=this;V.component("RouterLink",kk),V.component("RouterView",Sk),V.config.globalProperties.$router=le,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>ln(u)}),Ar&&!fe&&u.value===ks&&(fe=!0,C(r.location).catch(Pe=>{}));const ne={};for(const Pe in ks)ne[Pe]=Rt(()=>u.value[Pe]);V.provide(Md,le),V.provide(Bg,fr(ne)),V.provide(Cc,u);const pe=V.unmount;Oe.add(V),V.unmount=function(){Oe.delete(V),Oe.size<1&&(c=ks,U&&U(),U=null,u.value=ks,fe=!1,ie=!1),pe()}}};function Ee(V){return V.reduce((le,ne)=>le.then(()=>D(ne)),Promise.resolve())}return Me}function Tk(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>Zr(c,a))?s.push(a):n.push(a));const u=e.matched[i];u&&(t.matched.find(c=>Zr(c,u))||r.push(u))}return[n,s,r]}var re=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const Ok={name:"ContentWithHeading",data(){return{options_visible:!1}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options_ref))},methods:{onElementObserved(e){e.forEach(({target:t,isIntersecting:n})=>{this.options_visible=n})},scroll_to_top(){window.scrollTo({top:0,behavior:"smooth"})},scroll_to_content(){this.$route.meta.has_tabs?this.$scrollTo("#top",{offset:-140}):this.$scrollTo("#top",{offset:-110})},visibilityChanged(e){this.options_visible=e}}},Dk={class:"section"},Pk={class:"container"},Ik={class:"columns is-centered"},Fk={class:"column is-four-fifths"},Rk={key:0},Lk={ref:"options_ref",style:{height:"1px"}},Mk={class:"buttons is-centered",style:{"margin-bottom":"6px","margin-top":"16px"}},Nk={class:"icon is-small"},Vk={class:"icon is-small"},Bk={id:"top",class:"level"},Hk={class:"level-left"},Uk={class:"level-item has-text-centered-mobile"},jk={class:"level-right has-text-centered-mobile"},qk={style:{"margin-top":"16px"}};function Wk(e,t,n,s,r,o){const i=$("mdicon");return z(),S("section",Dk,[l("div",Pk,[l("div",Ik,[l("div",Fk,[e.$slots.options?(z(),S("section",Rk,[l("div",Lk,null,512),ut(e.$slots,"options"),l("nav",Mk,[r.options_visible?(z(),S("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...a)=>o.scroll_to_content&&o.scroll_to_content(...a))},[l("span",Vk,[v(i,{name:"chevron-up",size:"16"})])])):(z(),S("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...a)=>o.scroll_to_top&&o.scroll_to_top(...a))},[l("span",Nk,[v(i,{name:"chevron-down",size:"16"})])]))])])):B("",!0),l("div",{class:Te({"fd-content-with-option":e.$slots.options})},[l("nav",Bk,[l("div",Hk,[l("div",Uk,[l("div",null,[ut(e.$slots,"heading-left")])])]),l("div",jk,[ut(e.$slots,"heading-right")])]),ut(e.$slots,"content"),l("div",qk,[ut(e.$slots,"footer")])],2)])])])])}var st=re(Ok,[["render",Wk]]);function Hg(e,t){return function(){return e.apply(t,arguments)}}const{toString:Gk}=Object.prototype,{getPrototypeOf:Nd}=Object,Vl=(e=>t=>{const n=Gk.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rs=e=>(e=e.toLowerCase(),t=>Vl(t)===e),Bl=e=>t=>typeof t===e,{isArray:io}=Array,mi=Bl("undefined");function Kk(e){return e!==null&&!mi(e)&&e.constructor!==null&&!mi(e.constructor)&&An(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ug=rs("ArrayBuffer");function Zk(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ug(e.buffer),t}const Yk=Bl("string"),An=Bl("function"),jg=Bl("number"),Hl=e=>e!==null&&typeof e=="object",Jk=e=>e===!0||e===!1,Fa=e=>{if(Vl(e)!=="object")return!1;const t=Nd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Xk=rs("Date"),Qk=rs("File"),ex=rs("Blob"),tx=rs("FileList"),nx=e=>Hl(e)&&An(e.pipe),sx=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||An(e.append)&&((t=Vl(e))==="formdata"||t==="object"&&An(e.toString)&&e.toString()==="[object FormData]"))},rx=rs("URLSearchParams"),ox=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e=="undefined")return;let s,r;if(typeof e!="object"&&(e=[e]),io(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(s=0;s<i;s++)a=o[s],t.call(null,e[a],a,e)}}function qg(e,t){t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Wg=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global)(),Gg=e=>!mi(e)&&e!==Wg;function wc(){const{caseless:e}=Gg(this)&&this||{},t={},n=(s,r)=>{const o=e&&qg(t,r)||r;Fa(t[o])&&Fa(s)?t[o]=wc(t[o],s):Fa(s)?t[o]=wc({},s):io(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&zi(arguments[s],n);return t}const ix=(e,t,n,{allOwnKeys:s}={})=>(zi(t,(r,o)=>{n&&An(r)?e[o]=Hg(r,n):e[o]=r},{allOwnKeys:s}),e),ax=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lx=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ux=(e,t,n,s)=>{let r,o,i;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Nd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},cx=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},dx=e=>{if(!e)return null;if(io(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},mx=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Nd(Uint8Array)),fx=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},px=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},hx=rs("HTMLFormElement"),_x=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Wf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gx=rs("RegExp"),Kg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};zi(n,(r,o)=>{t(r,o,e)!==!1&&(s[o]=r)}),Object.defineProperties(e,s)},yx=e=>{Kg(e,(t,n)=>{if(An(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(!!An(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},vx=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return io(e)?s(e):s(String(e).split(t)),n},bx=()=>{},Cx=(e,t)=>(e=+e,Number.isFinite(e)?e:t),hu="abcdefghijklmnopqrstuvwxyz",Gf="0123456789",Zg={DIGIT:Gf,ALPHA:hu,ALPHA_DIGIT:hu+hu.toUpperCase()+Gf},wx=(e=16,t=Zg.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function zx(e){return!!(e&&An(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kx=e=>{const t=new Array(10),n=(s,r)=>{if(Hl(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=io(s)?[]:{};return zi(s,(i,a)=>{const u=n(i,r+1);!mi(u)&&(o[a]=u)}),t[r]=void 0,o}}return s};return n(e,0)},xx=rs("AsyncFunction"),Ex=e=>e&&(Hl(e)||An(e))&&An(e.then)&&An(e.catch);var Q={isArray:io,isArrayBuffer:Ug,isBuffer:Kk,isFormData:sx,isArrayBufferView:Zk,isString:Yk,isNumber:jg,isBoolean:Jk,isObject:Hl,isPlainObject:Fa,isUndefined:mi,isDate:Xk,isFile:Qk,isBlob:ex,isRegExp:gx,isFunction:An,isStream:nx,isURLSearchParams:rx,isTypedArray:mx,isFileList:tx,forEach:zi,merge:wc,extend:ix,trim:ox,stripBOM:ax,inherits:lx,toFlatObject:ux,kindOf:Vl,kindOfTest:rs,endsWith:cx,toArray:dx,forEachEntry:fx,matchAll:px,isHTMLForm:hx,hasOwnProperty:Wf,hasOwnProp:Wf,reduceDescriptors:Kg,freezeMethods:yx,toObjectSet:vx,toCamelCase:_x,noop:bx,toFiniteNumber:Cx,findKey:qg,global:Wg,isContextDefined:Gg,ALPHABET:Zg,generateString:wx,isSpecCompliantForm:zx,toJSONObject:kx,isAsyncFn:xx,isThenable:Ex};function ot(e,t,n,s,r){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),s&&(this.request=s),r&&(this.response=r)}Q.inherits(ot,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Yg=ot.prototype,Jg={};["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=>{Jg[e]={value:e}});Object.defineProperties(ot,Jg);Object.defineProperty(Yg,"isAxiosError",{value:!0});ot.from=(e,t,n,s,r,o)=>{const i=Object.create(Yg);return Q.toFlatObject(e,i,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),ot.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};var $x=null;function zc(e){return Q.isPlainObject(e)||Q.isArray(e)}function Xg(e){return Q.endsWith(e,"[]")?e.slice(0,-2):e}function Kf(e,t,n){return e?e.concat(t).map(function(r,o){return r=Xg(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Sx(e){return Q.isArray(e)&&!e.some(zc)}const Ax=Q.toFlatObject(Q,{},null,function(t){return/^is[A-Z]/.test(t)});function Ul(e,t,n){if(!Q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,w){return!Q.isUndefined(w[_])});const s=n.metaTokens,r=n.visitor||d,o=n.dots,i=n.indexes,u=(n.Blob||typeof Blob!="undefined"&&Blob)&&Q.isSpecCompliantForm(t);if(!Q.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Q.isDate(h))return h.toISOString();if(!u&&Q.isBlob(h))throw new ot("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(h)||Q.isTypedArray(h)?u&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,w){let b=h;if(h&&!w&&typeof h=="object"){if(Q.endsWith(_,"{}"))_=s?_:_.slice(0,-2),h=JSON.stringify(h);else if(Q.isArray(h)&&Sx(h)||(Q.isFileList(h)||Q.endsWith(_,"[]"))&&(b=Q.toArray(h)))return _=Xg(_),b.forEach(function(x,C){!(Q.isUndefined(x)||x===null)&&t.append(i===!0?Kf([_],C,o):i===null?_:_+"[]",c(x))}),!1}return zc(h)?!0:(t.append(Kf(w,_,o),c(h)),!1)}const f=[],m=Object.assign(Ax,{defaultVisitor:d,convertValue:c,isVisitable:zc});function p(h,_){if(!Q.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));f.push(h),Q.forEach(h,function(b,y){(!(Q.isUndefined(b)||b===null)&&r.call(t,b,Q.isString(y)?y.trim():y,_,m))===!0&&p(b,_?_.concat(y):[y])}),f.pop()}}if(!Q.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Zf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Vd(e,t){this._pairs=[],e&&Ul(e,this,t)}const Qg=Vd.prototype;Qg.append=function(t,n){this._pairs.push([t,n])};Qg.toString=function(t){const n=t?function(s){return t.call(this,s,Zf)}:Zf;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Tx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ey(e,t,n){if(!t)return e;const s=n&&n.encode||Tx,r=n&&n.serialize;let o;if(r?o=r(t,n):o=Q.isURLSearchParams(t)?t.toString():new Vd(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ox{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Q.forEach(this.handlers,function(s){s!==null&&t(s)})}}var Yf=Ox,ty={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dx=typeof URLSearchParams!="undefined"?URLSearchParams:Vd,Px=typeof FormData!="undefined"?FormData:null,Ix=typeof Blob!="undefined"?Blob:null;const Fx=(()=>{let e;return typeof navigator!="undefined"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"})(),Rx=(()=>typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")();var es={isBrowser:!0,classes:{URLSearchParams:Dx,FormData:Px,Blob:Ix},isStandardBrowserEnv:Fx,isStandardBrowserWebWorkerEnv:Rx,protocols:["http","https","file","blob","url","data"]};function Lx(e,t){return Ul(e,new es.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return es.isNode&&Q.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Mx(e){return Q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Nx(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function ny(e){function t(n,s,r,o){let i=n[o++];const a=Number.isFinite(+i),u=o>=n.length;return i=!i&&Q.isArray(r)?r.length:i,u?(Q.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!a):((!r[i]||!Q.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&Q.isArray(r[i])&&(r[i]=Nx(r[i])),!a)}if(Q.isFormData(e)&&Q.isFunction(e.entries)){const n={};return Q.forEachEntry(e,(s,r)=>{t(Mx(s),r,n,0)}),n}return null}const Vx={"Content-Type":void 0};function Bx(e,t,n){if(Q.isString(e))try{return(t||JSON.parse)(e),Q.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const jl={transitional:ty,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=Q.isObject(t);if(o&&Q.isHTMLForm(t)&&(t=new FormData(t)),Q.isFormData(t))return r&&r?JSON.stringify(ny(t)):t;if(Q.isArrayBuffer(t)||Q.isBuffer(t)||Q.isStream(t)||Q.isFile(t)||Q.isBlob(t))return t;if(Q.isArrayBufferView(t))return t.buffer;if(Q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Lx(t,this.formSerializer).toString();if((a=Q.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Ul(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Bx(t)):t}],transformResponse:[function(t){const n=this.transitional||jl.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&Q.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?ot.from(a,ot.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:es.classes.FormData,Blob:es.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Q.forEach(["delete","get","head"],function(t){jl.headers[t]={}});Q.forEach(["post","put","patch"],function(t){jl.headers[t]=Q.merge(Vx)});var Bd=jl;const Hx=Q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Ux=e=>{const t={};let n,s,r;return e&&e.split(`
`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Hx[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};const Jf=Symbol("internals");function go(e){return e&&String(e).trim().toLowerCase()}function Ra(e){return e===!1||e==null?e:Q.isArray(e)?e.map(Ra):String(e)}function jx(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const qx=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _u(e,t,n,s,r){if(Q.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!Q.isString(t)){if(Q.isString(s))return t.indexOf(s)!==-1;if(Q.isRegExp(s))return s.test(t)}}function Wx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Gx(e,t){const n=Q.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class ql{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(a,u,c){const d=go(u);if(!d)throw new Error("header name must be a non-empty string");const f=Q.findKey(r,d);(!f||r[f]===void 0||c===!0||c===void 0&&r[f]!==!1)&&(r[f||u]=Ra(a))}const i=(a,u)=>Q.forEach(a,(c,d)=>o(c,d,u));return Q.isPlainObject(t)||t instanceof this.constructor?i(t,n):Q.isString(t)&&(t=t.trim())&&!qx(t)?i(Ux(t),n):t!=null&&o(n,t,s),this}get(t,n){if(t=go(t),t){const s=Q.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return jx(r);if(Q.isFunction(n))return n.call(this,r,s);if(Q.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=go(t),t){const s=Q.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||_u(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=go(i),i){const a=Q.findKey(s,i);a&&(!n||_u(s,s[a],a,n))&&(delete s[a],r=!0)}}return Q.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||_u(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return Q.forEach(this,(r,o)=>{const i=Q.findKey(s,o);if(i){n[i]=Ra(r),delete n[o];return}const a=t?Wx(o):String(o).trim();a!==o&&delete n[o],n[a]=Ra(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Q.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&Q.isArray(s)?s.join(", "):s)}),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 s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Jf]=this[Jf]={accessors:{}}).accessors,r=this.prototype;function o(i){const a=go(i);s[a]||(Gx(r,i),s[a]=!0)}return Q.isArray(t)?t.forEach(o):o(t),this}}ql.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Q.freezeMethods(ql.prototype);Q.freezeMethods(ql);var ps=ql;function gu(e,t){const n=this||Bd,s=t||n,r=ps.from(s.headers);let o=s.data;return Q.forEach(e,function(a){o=a.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function sy(e){return!!(e&&e.__CANCEL__)}function ki(e,t,n){ot.call(this,e==null?"canceled":e,ot.ERR_CANCELED,t,n),this.name="CanceledError"}Q.inherits(ki,ot,{__CANCEL__:!0});function Kx(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ot("Request failed with status code "+n.status,[ot.ERR_BAD_REQUEST,ot.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var Zx=es.isStandardBrowserEnv?function(){return{write:function(n,s,r,o,i,a){const u=[];u.push(n+"="+encodeURIComponent(s)),Q.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),Q.isString(o)&&u.push("path="+o),Q.isString(i)&&u.push("domain="+i),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Yx(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Jx(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ry(e,t){return e&&!Yx(t)?Jx(e,t):t}var Xx=es.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(i){const a=Q.isString(i)?r(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Qx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function e2(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=s[o];i||(i=c),n[r]=u,s[r]=c;let f=o,m=0;for(;f!==r;)m+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-i<t)return;const p=d&&c-d;return p?Math.round(m*1e3/p):void 0}}function Xf(e,t){let n=0;const s=e2(50,250);return r=>{const o=r.loaded,i=r.lengthComputable?r.total:void 0,a=o-n,u=s(a),c=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:u||void 0,estimated:u&&i&&c?(i-o)/u:void 0,event:r};d[t?"download":"upload"]=!0,e(d)}}const t2=typeof XMLHttpRequest!="undefined";var n2=t2&&function(e){return new Promise(function(n,s){let r=e.data;const o=ps.from(e.headers).normalize(),i=e.responseType;let a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}Q.isFormData(r)&&(es.isStandardBrowserEnv||es.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(p+":"+h))}const d=ry(e.baseURL,e.url);c.open(e.method.toUpperCase(),ey(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function f(){if(!c)return;const p=ps.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),_={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Kx(function(b){n(b),u()},function(b){s(b),u()},_),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){!c||(s(new ot("Request aborted",ot.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new ot("Network Error",ot.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const _=e.transitional||ty;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),s(new ot(h,_.clarifyTimeoutError?ot.ETIMEDOUT:ot.ECONNABORTED,e,c)),c=null},es.isStandardBrowserEnv){const p=(e.withCredentials||Xx(d))&&e.xsrfCookieName&&Zx.read(e.xsrfCookieName);p&&o.set(e.xsrfHeaderName,p)}r===void 0&&o.setContentType(null),"setRequestHeader"in c&&Q.forEach(o.toJSON(),function(h,_){c.setRequestHeader(_,h)}),Q.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Xf(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Xf(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=p=>{!c||(s(!p||p.type?new ki(null,e,c):p),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const m=Qx(d);if(m&&es.protocols.indexOf(m)===-1){s(new ot("Unsupported protocol "+m+":",ot.ERR_BAD_REQUEST,e));return}c.send(r||null)})};const La={http:$x,xhr:n2};Q.forEach(La,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});var s2={getAdapter:e=>{e=Q.isArray(e)?e:[e];const{length:t}=e;let n,s;for(let r=0;r<t&&(n=e[r],!(s=Q.isString(n)?La[n.toLowerCase()]:n));r++);if(!s)throw s===!1?new ot(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(Q.hasOwnProp(La,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!Q.isFunction(s))throw new TypeError("adapter is not a function");return s},adapters:La};function yu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ki(null,e)}function Qf(e){return yu(e),e.headers=ps.from(e.headers),e.data=gu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),s2.getAdapter(e.adapter||Bd.adapter)(e).then(function(s){return yu(e),s.data=gu.call(e,e.transformResponse,s),s.headers=ps.from(s.headers),s},function(s){return sy(s)||(yu(e),s&&s.response&&(s.response.data=gu.call(e,e.transformResponse,s.response),s.response.headers=ps.from(s.response.headers))),Promise.reject(s)})}const ep=e=>e instanceof ps?e.toJSON():e;function Jr(e,t){t=t||{};const n={};function s(c,d,f){return Q.isPlainObject(c)&&Q.isPlainObject(d)?Q.merge.call({caseless:f},c,d):Q.isPlainObject(d)?Q.merge({},d):Q.isArray(d)?d.slice():d}function r(c,d,f){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return s(void 0,c,f)}else return s(c,d,f)}function o(c,d){if(!Q.isUndefined(d))return s(void 0,d)}function i(c,d){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return s(void 0,c)}else return s(void 0,d)}function a(c,d,f){if(f in t)return s(c,d);if(f in e)return s(void 0,c)}const u={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials: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:(c,d)=>r(ep(c),ep(d),!0)};return Q.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||r,m=f(e[d],t[d],d);Q.isUndefined(m)&&f!==a||(n[d]=m)}),n}const oy="1.4.0",Hd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hd[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const tp={};Hd.transitional=function(t,n,s){function r(o,i){return"[Axios v"+oy+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,a)=>{if(t===!1)throw new ot(r(i," has been removed"+(n?" in "+n:"")),ot.ERR_DEPRECATED);return n&&!tp[i]&&(tp[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function r2(e,t,n){if(typeof e!="object")throw new ot("options must be an object",ot.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const a=e[o],u=a===void 0||i(a,o,e);if(u!==!0)throw new ot("option "+o+" must be "+u,ot.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ot("Unknown option "+o,ot.ERR_BAD_OPTION)}}var kc={assertOptions:r2,validators:Hd};const xs=kc.validators;class sl{constructor(t){this.defaults=t,this.interceptors={request:new Yf,response:new Yf}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Jr(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&kc.assertOptions(s,{silentJSONParsing:xs.transitional(xs.boolean),forcedJSONParsing:xs.transitional(xs.boolean),clarifyTimeoutError:xs.transitional(xs.boolean)},!1),r!=null&&(Q.isFunction(r)?n.paramsSerializer={serialize:r}:kc.assertOptions(r,{encode:xs.function,serialize:xs.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&Q.merge(o.common,o[n.method]),i&&Q.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=ps.concat(i,o);const a=[];let u=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(u=u&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,f=0,m;if(!u){const h=[Qf.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),m=h.length,d=Promise.resolve(n);f<m;)d=d.then(h[f++],h[f++]);return d}m=a.length;let p=n;for(f=0;f<m;){const h=a[f++],_=a[f++];try{p=h(p)}catch(w){_.call(this,w);break}}try{d=Qf.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,m=c.length;f<m;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Jr(this.defaults,t);const n=ry(t.baseURL,t.url);return ey(n,t.params,t.paramsSerializer)}}Q.forEach(["delete","get","head","options"],function(t){sl.prototype[t]=function(n,s){return this.request(Jr(s||{},{method:t,url:n,data:(s||{}).data}))}});Q.forEach(["post","put","patch"],function(t){function n(s){return function(o,i,a){return this.request(Jr(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}sl.prototype[t]=n(),sl.prototype[t+"Form"]=n(!0)});var Ma=sl;class Ud{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(a=>{s.subscribe(a),o=a}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,a){s.reason||(s.reason=new ki(o,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ud(function(r){t=r}),cancel:t}}}var o2=Ud;function i2(e){return function(n){return e.apply(null,n)}}function a2(e){return Q.isObject(e)&&e.isAxiosError===!0}const xc={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(xc).forEach(([e,t])=>{xc[t]=e});var l2=xc;function iy(e){const t=new Ma(e),n=Hg(Ma.prototype.request,t);return Q.extend(n,Ma.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return iy(Jr(e,r))},n}const Mt=iy(Bd);Mt.Axios=Ma;Mt.CanceledError=ki;Mt.CancelToken=o2;Mt.isCancel=sy;Mt.VERSION=oy;Mt.toFormData=Ul;Mt.AxiosError=ot;Mt.Cancel=Mt.CanceledError;Mt.all=function(t){return Promise.all(t)};Mt.spread=i2;Mt.isAxiosError=a2;Mt.mergeConfig=Jr;Mt.AxiosHeaders=ps;Mt.formToJSON=e=>ny(Q.isHTMLForm(e)?new FormData(e):e);Mt.HttpStatusCode=l2;Mt.default=Mt;var he=Mt;const{t:Tr}=Fl.global;he.interceptors.response.use(function(e){return e},function(e){return e.request.status&&e.request.responseURL&&Ke.dispatch("add_notification",{text:Tr("server.request-failed",{status:e.request.status,cause:e.request.statusText,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)});var N={config(){return he.get("./api/config")},settings(){return he.get("./api/settings")},settings_update(e,t){return he.put("./api/settings/"+e+"/"+t.name,t)},library_stats(){return he.get("./api/library")},library_update(e){const t={};return e&&(t.scan_kind=e),he.put("./api/update",void 0,{params:t})},library_rescan(e){const t={};return e&&(t.scan_kind=e),he.put("./api/rescan",void 0,{params:t})},library_count(e){return he.get("./api/library/count?expression="+e)},queue(){return he.get("./api/queue")},queue_clear(){return he.put("./api/queue/clear")},queue_remove(e){return he.delete("./api/queue/items/"+e)},queue_move(e,t){return he.put("./api/queue/items/"+e+"?new_position="+t)},queue_add(e){return he.post("./api/queue/items/add?uris="+e).then(t=>(Ke.dispatch("add_notification",{text:Tr("server.appended-tracks",{count:t.data.count}),type:"info",timeout:2e3}),Promise.resolve(t)))},queue_add_next(e){let t=0;return Ke.getters.now_playing&&Ke.getters.now_playing.id&&(t=Ke.getters.now_playing.position+1),he.post("./api/queue/items/add?uris="+e+"&position="+t).then(n=>(Ke.dispatch("add_notification",{text:Tr("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,he.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ke.dispatch("add_notification",{text:Tr("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,Ke.getters.now_playing&&Ke.getters.now_playing.id&&(t.position=Ke.getters.now_playing.position+1),he.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ke.dispatch("add_notification",{text:Tr("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return he.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(Ke.dispatch("add_notification",{text:Tr("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return he.get("./api/player")},player_play_uri(e,t,n=void 0){const s={};return s.uris=e,s.shuffle=t?"true":"false",s.clear="true",s.playback="start",s.playback_from_position=n,he.post("./api/queue/items/add",void 0,{params:s})},player_play_expression(e,t,n=void 0){const s={};return s.expression=e,s.shuffle=t?"true":"false",s.clear="true",s.playback="start",s.playback_from_position=n,he.post("./api/queue/items/add",void 0,{params:s})},player_play(e={}){return he.put("./api/player/play",void 0,{params:e})},player_playpos(e){return he.put("./api/player/play?position="+e)},player_playid(e){return he.put("./api/player/play?item_id="+e)},player_pause(){return he.put("./api/player/pause")},player_stop(){return he.put("./api/player/stop")},player_next(){return he.put("./api/player/next")},player_previous(){return he.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return he.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return he.put("./api/player/consume?state="+t)},player_repeat(e){return he.put("./api/player/repeat?state="+e)},player_volume(e){return he.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return he.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return he.put("./api/player/seek?position_ms="+e)},player_seek(e){return he.put("./api/player/seek?seek_ms="+e)},outputs(){return he.get("./api/outputs")},output_update(e,t){return he.put("./api/outputs/"+e,t)},output_toggle(e){return he.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return he.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return he.get("./api/library/artists/"+e)},library_artist_albums(e){return he.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return he.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return he.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return he.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return he.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return he.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return he.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_radio_streams(){const e={type:"tracks",media_kind:"music",expression:"data_kind is url and song_length = 0"};return he.get("./api/search",{params:e})},library_composers(e=void 0){return he.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return he.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return he.get("./api/search",{params:t})}},library_podcasts_new_episodes(){const e={type:"tracks",expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC"};return he.get("./api/search",{params:e})},library_podcast_episodes(e){const t={type:"tracks",expression:'media_kind is podcast and songalbumid is "'+e+'" ORDER BY date_released DESC'};return he.get("./api/search",{params:t})},library_add(e){return he.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return he.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return he.get("./api/library/playlists")},library_playlist_folder(e=0){return he.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return he.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return he.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return he.get("./api/library/tracks/"+e)},library_track_playlists(e){return he.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return he.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return he.get("./api/library/files",{params:t})},search(e){return he.get("./api/search",{params:e})},spotify(){return he.get("./api/spotify")},spotify_login(e){return he.post("./api/spotify-login",e)},spotify_logout(){return he.get("./api/spotify-logout")},lastfm(){return he.get("./api/lastfm")},lastfm_login(e){return he.post("./api/lastfm-login",e)},lastfm_logout(e){return he.get("./api/lastfm-logout")},pairing(){return he.get("./api/pairing")},pairing_kickoff(e){return he.post("./api/pairing",e)},artwork_url_append_size_params(e,t=600,n=600){return e&&e.startsWith("/")?e.includes("?")?e+"&maxwidth="+t+"&maxheight="+n:e+"?maxwidth="+t+"&maxheight="+n:e}};const u2={name:"ListItemQueueItem",props:["item","position","current_position","show_only_next_items","edit_mode"],computed:{state(){return this.$store.state.player},is_next(){return this.current_position<0||this.position>=this.current_position}},methods:{play(){N.player_play({item_id:this.item.id})}}},c2={key:0,class:"media"},d2={key:0,class:"media-left"},m2={class:"icon has-text-grey fd-is-movable handle"},f2=["textContent"],p2=["textContent"],h2=["textContent"],_2={class:"media-right"};function g2(e,t,n,s,r,o){const i=$("mdicon");return o.is_next||!n.show_only_next_items?(z(),S("div",c2,[n.edit_mode?(z(),S("div",d2,[l("span",m2,[v(i,{name:"drag-horizontal",size:"16"})])])):B("",!0),l("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[l("h1",{class:Te(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}]),textContent:g(n.item.title)},null,10,f2),l("h2",{class:Te(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}])},[l("b",{textContent:g(n.item.artist)},null,8,p2)],2),l("h2",{class:Te(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:g(n.item.album)},null,10,h2)]),l("div",_2,[ut(e.$slots,"actions")])])):B("",!0)}var y2=re(u2,[["render",g2]]),Qt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ay(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ly(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:function(){return e[n]}})}),t}var uy={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",s=null,r=null,o=function(m,p){return m.abort=p,m},i=function(m,p){var h;if(r!==null){var _=r.defer();m(function(w){_.resolve(w)},function(w){_.reject(w)}),h=_.promise}else window.Promise&&(h=new window.Promise(m));return h?new o(h,p):null},a=function(){var m=Array.prototype.slice.call(arguments),p=m[0],h=m.slice(1);return p=p||{},h.forEach(function(_){for(var w in _)_.hasOwnProperty(w)&&(p[w]=_[w])}),p},u=function(m,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var w=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(w)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),m=m+"?"+h),m},c=function(m,p){var h=new XMLHttpRequest,_=function(w,b){function y(T){w&&w(T),p&&p(null,T)}function x(){b&&b(h),p&&p(h,null)}var C=m.type||"GET";if(h.open(C,u(m.url,m.params)),s&&h.setRequestHeader("Authorization","Bearer "+s),h.onreadystatechange=function(){if(h.readyState===4){var T=null;try{T=h.responseText?JSON.parse(h.responseText):""}catch(L){console.error(L)}h.status>=200&&h.status<300?y(T):x()}},C==="GET")h.send(null);else{var k=null;m.postData&&(m.contentType==="image/jpeg"?(k=m.postData,h.setRequestHeader("Content-Type",m.contentType)):(k=JSON.stringify(m.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(k)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(m,p,h,_){var w={},b=null;typeof p=="object"?(w=p,b=h):typeof p=="function"&&(b=p);var y=m.type||"GET";return y!=="GET"&&m.postData&&!_?m.postData=a(m.postData,w):m.params=a(m.params,w),c(m,b)},f=function(){};return f.prototype={constructor:t},f.prototype.getGeneric=function(m,p){var h={url:m};return d(h,p)},f.prototype.getMe=function(m,p){var h={url:n+"/me"};return d(h,m,p)},f.prototype.getMySavedTracks=function(m,p){var h={url:n+"/me/tracks"};return d(h,m,p)},f.prototype.addToMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedAlbums=function(m,p){var h={url:n+"/me/albums"};return d(h,m,p)},f.prototype.addToMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMyTopArtists=function(m,p){var h={url:n+"/me/top/artists"};return d(h,m,p)},f.prototype.getMyTopTracks=function(m,p){var h={url:n+"/me/top/tracks"};return d(h,m,p)},f.prototype.getMyRecentlyPlayedTracks=function(m,p){var h={url:n+"/me/player/recently-played"};return d(h,m,p)},f.prototype.followUsers=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.followArtists=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.followPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers",type:"PUT",postData:{}};return d(_,p,h)},f.prototype.unfollowUsers=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.unfollowArtists=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.unfollowPlaylist=function(m,p){var h={url:n+"/playlists/"+m+"/followers",type:"DELETE"};return d(h,p)},f.prototype.isFollowingUsers=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.isFollowingArtists=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.areFollowingPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},f.prototype.getFollowedArtists=function(m,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,m,p)},f.prototype.getUser=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)};return d(_,p,h)},f.prototype.getUserPlaylists=function(m,p,h){var _;return typeof m=="string"?_={url:n+"/users/"+encodeURIComponent(m)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=m),d(_,p,h)},f.prototype.getPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m};return d(_,p,h)},f.prototype.getPlaylistTracks=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks"};return d(_,p,h)},f.prototype.getPlaylistCoverImage=function(m,p){var h={url:n+"/playlists/"+m+"/images"};return d(h,p)},f.prototype.createPlaylist=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)+"/playlists",type:"POST",postData:p};return d(_,p,h)},f.prototype.changePlaylistDetails=function(m,p,h){var _={url:n+"/playlists/"+m,type:"PUT",postData:p};return d(_,p,h)},f.prototype.addTracksToPlaylist=function(m,p,h,_){var w={url:n+"/playlists/"+m+"/tracks",type:"POST",postData:{uris:p}};return d(w,h,_,!0)},f.prototype.replaceTracksInPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},f.prototype.reorderTracksInPlaylist=function(m,p,h,_,w){var b={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(b,_,w)},f.prototype.removeTracksFromPlaylist=function(m,p,h){var _=p.map(function(b){return typeof b=="string"?{uri:b}:b}),w={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:_}};return d(w,{},h)},f.prototype.removeTracksFromPlaylistWithSnapshotId=function(m,p,h,_){var w=p.map(function(y){return typeof y=="string"?{uri:y}:y}),b={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:w,snapshot_id:h}};return d(b,{},_)},f.prototype.removeTracksFromPlaylistInPositions=function(m,p,h,_){var w={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(w,{},_)},f.prototype.uploadCustomPlaylistCoverImage=function(m,p,h){var _={url:n+"/playlists/"+m+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},f.prototype.getAlbum=function(m,p,h){var _={url:n+"/albums/"+m};return d(_,p,h)},f.prototype.getAlbumTracks=function(m,p,h){var _={url:n+"/albums/"+m+"/tracks"};return d(_,p,h)},f.prototype.getAlbums=function(m,p,h){var _={url:n+"/albums/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getTrack=function(m,p,h){var _={};return _.url=n+"/tracks/"+m,d(_,p,h)},f.prototype.getTracks=function(m,p,h){var _={url:n+"/tracks/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtist=function(m,p,h){var _={url:n+"/artists/"+m};return d(_,p,h)},f.prototype.getArtists=function(m,p,h){var _={url:n+"/artists/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtistAlbums=function(m,p,h){var _={url:n+"/artists/"+m+"/albums"};return d(_,p,h)},f.prototype.getArtistTopTracks=function(m,p,h,_){var w={url:n+"/artists/"+m+"/top-tracks",params:{country:p}};return d(w,h,_)},f.prototype.getArtistRelatedArtists=function(m,p,h){var _={url:n+"/artists/"+m+"/related-artists"};return d(_,p,h)},f.prototype.getFeaturedPlaylists=function(m,p){var h={url:n+"/browse/featured-playlists"};return d(h,m,p)},f.prototype.getNewReleases=function(m,p){var h={url:n+"/browse/new-releases"};return d(h,m,p)},f.prototype.getCategories=function(m,p){var h={url:n+"/browse/categories"};return d(h,m,p)},f.prototype.getCategory=function(m,p,h){var _={url:n+"/browse/categories/"+m};return d(_,p,h)},f.prototype.getCategoryPlaylists=function(m,p,h){var _={url:n+"/browse/categories/"+m+"/playlists"};return d(_,p,h)},f.prototype.search=function(m,p,h,_){var w={url:n+"/search/",params:{q:m,type:p.join(",")}};return d(w,h,_)},f.prototype.searchAlbums=function(m,p,h){return this.search(m,["album"],p,h)},f.prototype.searchArtists=function(m,p,h){return this.search(m,["artist"],p,h)},f.prototype.searchTracks=function(m,p,h){return this.search(m,["track"],p,h)},f.prototype.searchPlaylists=function(m,p,h){return this.search(m,["playlist"],p,h)},f.prototype.searchShows=function(m,p,h){return this.search(m,["show"],p,h)},f.prototype.searchEpisodes=function(m,p,h){return this.search(m,["episode"],p,h)},f.prototype.getAudioFeaturesForTrack=function(m,p){var h={};return h.url=n+"/audio-features/"+m,d(h,{},p)},f.prototype.getAudioFeaturesForTracks=function(m,p){var h={url:n+"/audio-features",params:{ids:m}};return d(h,{},p)},f.prototype.getAudioAnalysisForTrack=function(m,p){var h={};return h.url=n+"/audio-analysis/"+m,d(h,{},p)},f.prototype.getRecommendations=function(m,p){var h={url:n+"/recommendations"};return d(h,m,p)},f.prototype.getAvailableGenreSeeds=function(m){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},m)},f.prototype.getMyDevices=function(m){var p={url:n+"/me/player/devices"};return d(p,{},m)},f.prototype.getMyCurrentPlaybackState=function(m,p){var h={url:n+"/me/player"};return d(h,m,p)},f.prototype.getMyCurrentPlayingTrack=function(m,p){var h={url:n+"/me/player/currently-playing"};return d(h,m,p)},f.prototype.transferMyPlayback=function(m,p,h){var _=p||{};_.device_ids=m;var w={type:"PUT",url:n+"/me/player",postData:_};return d(w,p,h)},f.prototype.play=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(y){y in m&&(_[y]=m[y])});var w={type:"PUT",url:n+"/me/player/play",params:h,postData:_},b=typeof m=="function"?m:{};return d(w,b,p)},f.prototype.queue=function(m,p,h){p=p||{};var _="device_id"in p?{uri:m,device_id:p.device_id}:{uri:m},w={type:"POST",url:n+"/me/player/queue",params:_};return d(w,p,h)},f.prototype.pause=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,m,p)},f.prototype.skipToNext=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,m,p)},f.prototype.skipToPrevious=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,m,p)},f.prototype.seek=function(m,p,h){p=p||{};var _={position_ms:m};"device_id"in p&&(_.device_id=p.device_id);var w={type:"PUT",url:n+"/me/player/seek",params:_};return d(w,p,h)},f.prototype.setRepeat=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var w={type:"PUT",url:n+"/me/player/repeat",params:_};return d(w,p,h)},f.prototype.setVolume=function(m,p,h){p=p||{};var _={volume_percent:m};"device_id"in p&&(_.device_id=p.device_id);var w={type:"PUT",url:n+"/me/player/volume",params:_};return d(w,p,h)},f.prototype.setShuffle=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var w={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(w,p,h)},f.prototype.getShow=function(m,p,h){var _={};return _.url=n+"/shows/"+m,d(_,p,h)},f.prototype.getShows=function(m,p,h){var _={url:n+"/shows/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedShows=function(m,p){var h={url:n+"/me/shows"};return d(h,m,p)},f.prototype.addToMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedShows=function(m,p,h){var _={url:n+"/me/shows/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getShowEpisodes=function(m,p,h){var _={url:n+"/shows/"+m+"/episodes"};return d(_,p,h)},f.prototype.getEpisode=function(m,p,h){var _={};return _.url=n+"/episodes/"+m,d(_,p,h)},f.prototype.getEpisodes=function(m,p,h){var _={url:n+"/episodes/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getAccessToken=function(){return s},f.prototype.setAccessToken=function(m){s=m},f.prototype.setPromiseImplementation=function(m){var p=!1;try{var h=new m(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)r=m;else throw new Error("Unsupported implementation of Promises/A+")},f}();e.exports=t})(uy);var Wn=uy.exports;const v2={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Wn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{remove(){this.$emit("close"),N.queue_remove(this.item.id)},play(){this.$emit("close"),N.player_play({item_id:this.item.id})},open_album(){this.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.item.album_id}):this.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.item.album_id}):this.$router.push({path:"/music/albums/"+this.item.album_id})},open_album_artist(){this.$router.push({path:"/music/artists/"+this.item.album_artist_id})},open_genre(){this.$router.push({name:"Genre",params:{genre:this.item.genre}})},open_spotify_artist(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})}}},b2={key:0,class:"modal is-active"},C2={class:"modal-content fd-modal-card"},w2={class:"card"},z2={class:"card-content"},k2=["textContent"],x2=["textContent"],E2={class:"content is-small"},$2=["textContent"],S2=["textContent"],A2=["textContent"],T2={key:0},O2=["textContent"],D2=["textContent"],P2=["textContent"],I2={key:1},F2=["textContent"],R2=["textContent"],L2={key:2},M2=["textContent"],N2=["textContent"],V2={key:3},B2=["textContent"],H2=["textContent"],U2=["textContent"],j2=["textContent"],q2=["textContent"],W2=["textContent"],G2=["textContent"],K2=["textContent"],Z2=["textContent"],Y2={class:"title is-6"},J2=["textContent"],X2={key:0,class:"has-text-weight-normal"},Q2=["textContent"],eE=["textContent"],tE=["textContent"],nE={class:"title is-6"},sE=["textContent"],rE=["textContent"],oE=["textContent"],iE=["textContent"],aE={class:"card-footer"},lE={class:"icon"},uE=["textContent"],cE={class:"icon"},dE=["textContent"];function mE(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",b2,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",C2,[l("div",w2,[l("div",z2,[l("p",{class:"title is-4",textContent:g(n.item.title)},null,8,k2),l("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,x2),l("div",E2,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,$2),n.item.album_id?(z(),S("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:g(n.item.album)},null,8,S2)):(z(),S("span",{key:1,class:"title is-6",textContent:g(n.item.album)},null,8,A2))]),n.item.album_artist?(z(),S("p",T2,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,O2),n.item.album_artist_id?(z(),S("a",{key:0,class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:g(n.item.album_artist)},null,8,D2)):(z(),S("span",{key:1,class:"title is-6",textContent:g(n.item.album_artist)},null,8,P2))])):B("",!0),n.item.composer?(z(),S("p",I2,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,F2),l("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,R2)])):B("",!0),n.item.year>0?(z(),S("p",L2,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,M2),l("span",{class:"title is-6",textContent:g(n.item.year)},null,8,N2)])):B("",!0),n.item.genre?(z(),S("p",V2,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,B2),l("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:g(n.item.genre)},null,8,H2)])):B("",!0),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,U2),l("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,j2)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,q2),l("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,W2)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,G2),l("span",{class:"title is-6",textContent:g(n.item.path)},null,8,K2)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,Z2),l("span",Y2,[l("span",{textContent:g([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,J2),n.item.data_kind==="spotify"?(z(),S("span",X2,[mt(" ("),l("a",{onClick:t[4]||(t[4]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:g(e.$t("dialog.queue-item.spotify-artist"))},null,8,Q2),mt(", "),l("a",{onClick:t[5]||(t[5]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:g(e.$t("dialog.queue-item.spotify-album"))},null,8,eE),mt(") ")])):B("",!0)])]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,tE),l("span",nE,[l("span",{textContent:g(n.item.type)},null,8,sE),n.item.samplerate?(z(),S("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,rE)):B("",!0),n.item.channels?(z(),S("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,oE)):B("",!0),n.item.bitrate?(z(),S("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,iE)):B("",!0)])])])]),l("footer",aE,[l("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.remove&&o.remove(...a))},[l("span",lE,[v(i,{name:"delete",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,uE)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[l("span",cE,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,dE)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var cy=re(v2,[["render",mE]]);const fE={name:"ModalDialogAddUrlStream",props:["show"],emits:["close"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,N.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play(){this.loading=!0,N.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},pE={key:0,class:"modal is-active"},hE={class:"modal-content fd-modal-card"},_E={class:"card"},gE={class:"card-content"},yE=["textContent"],vE={class:"field"},bE={class:"control is-expanded has-icons-left"},CE=["placeholder","disabled"],wE={class:"icon is-left"},zE={key:0,class:"card-footer"},kE={class:"card-footer-item has-text-dark"},xE={class:"icon"},EE=["textContent"],$E={key:1,class:"card-footer"},SE={class:"icon"},AE=["textContent"],TE={class:"icon"},OE=["textContent"],DE={class:"icon"},PE=["textContent"];function IE(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",pE,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",hE,[l("div",_E,[l("div",gE,[l("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,yE),l("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=it((...a)=>o.play&&o.play(...a),["prevent"]))},[l("div",vE,[l("p",bE,[dt(l("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>r.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:r.loading},null,8,CE),[[It,r.url]]),l("span",wE,[v(i,{name:"web",size:"16"})])])])],32)]),r.loading?(z(),S("footer",zE,[l("a",kE,[l("span",xE,[v(i,{name:"web",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,EE)])])):(z(),S("footer",$E,[l("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[l("span",SE,[v(i,{name:"cancel",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.cancel"))},null,8,AE)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[l("span",TE,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.add"))},null,8,OE)]),l("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[l("span",DE,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,PE)])]))])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var FE=re(fE,[["render",IE]]);const RE={name:"ModalDialogPlaylistSave",props:["show"],emits:["close"],data(){return{playlist_name:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{save(){this.playlist_name.length<1||(this.loading=!0,N.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},LE={key:0,class:"modal is-active"},ME={class:"modal-content fd-modal-card"},NE={class:"card"},VE={class:"card-content"},BE=["textContent"],HE={class:"field"},UE={class:"control is-expanded has-icons-left"},jE=["disabled"],qE={class:"icon is-left"},WE={key:0,class:"card-footer"},GE={class:"card-footer-item has-text-dark"},KE={class:"icon"},ZE=["textContent"],YE={key:1,class:"card-footer"},JE={class:"icon"},XE=["textContent"],QE={class:"icon"},e$=["textContent"];function t$(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",LE,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",ME,[l("div",NE,[l("div",VE,[l("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,BE),l("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=it((...a)=>o.save&&o.save(...a),["prevent"]))},[l("div",HE,[l("p",UE,[dt(l("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>r.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:"Playlist name",disabled:r.loading},null,8,jE),[[It,r.playlist_name]]),l("span",qE,[v(i,{name:"file-music",size:"16"})])])])],32)]),r.loading?(z(),S("footer",WE,[l("a",GE,[l("span",KE,[v(i,{name:"web",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,ZE)])])):(z(),S("footer",YE,[l("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[l("span",JE,[v(i,{name:"cancel",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.cancel"))},null,8,XE)]),l("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.save&&o.save(...a))},[l("span",QE,[v(i,{name:"content-save",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,e$)])]))])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var n$=re(RE,[["render",t$]]),dy={exports:{}},my=ly(UC);/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function np(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,s)}return n}function ss(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?np(Object(n),!0).forEach(function(s){s$(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):np(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function Na(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Na=function(t){return typeof t}:Na=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Na(e)}function s$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function On(){return On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},On.apply(this,arguments)}function r$(e,t){if(e==null)return{};var n={},s=Object.keys(e),r,o;for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function o$(e,t){if(e==null)return{};var n=r$(e,t),s,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)s=o[r],!(t.indexOf(s)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,s)||(n[s]=e[s]))}return n}function i$(e){return a$(e)||l$(e)||u$(e)||c$()}function a$(e){if(Array.isArray(e))return Ec(e)}function l$(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function u$(e,t){if(!!e){if(typeof e=="string")return Ec(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 Ec(e,t)}}function Ec(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}function c$(){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 d$="1.14.0";function hs(e){if(typeof window!="undefined"&&window.navigator)return!!navigator.userAgent.match(e)}var bs=hs(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),xi=hs(/Edge/i),sp=hs(/firefox/i),Wo=hs(/safari/i)&&!hs(/chrome/i)&&!hs(/android/i),fy=hs(/iP(ad|od|hone)/i),m$=hs(/chrome/i)&&hs(/android/i),py={capture:!1,passive:!1};function Xe(e,t,n){e.addEventListener(t,n,!bs&&py)}function Ye(e,t,n){e.removeEventListener(t,n,!bs&&py)}function rl(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 f$(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ln(e,t,n,s){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&rl(e,t):rl(e,t))||s&&e===n)return e;if(e===n)break}while(e=f$(e))}return null}var rp=/\s+/g;function zt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var s=(" "+e.className+" ").replace(rp," ").replace(" "+t+" "," ");e.className=(s+(n?" "+t:"")).replace(rp," ")}}function $e(e,t,n){var s=e&&e.style;if(s){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 s)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),s[t]=n+(typeof n=="string"?"":"px")}}function ar(e,t){var n="";if(typeof e=="string")n=e;else do{var s=$e(e,"transform");s&&s!=="none"&&(n=s+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function hy(e,t,n){if(e){var s=e.getElementsByTagName(t),r=0,o=s.length;if(n)for(;r<o;r++)n(s[r],r);return s}return[]}function ts(){var e=document.scrollingElement;return e||document.documentElement}function Ct(e,t,n,s,r){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,u,c,d,f;if(e!==window&&e.parentNode&&e!==ts()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,u=o.bottom,c=o.right,d=o.height,f=o.width):(i=0,a=0,u=window.innerHeight,c=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(r=r||e.parentNode,!bs))do if(r&&r.getBoundingClientRect&&($e(r,"transform")!=="none"||n&&$e(r,"position")!=="static")){var m=r.getBoundingClientRect();i-=m.top+parseInt($e(r,"border-top-width")),a-=m.left+parseInt($e(r,"border-left-width")),u=i+o.height,c=a+o.width;break}while(r=r.parentNode);if(s&&e!==window){var p=ar(r||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,f/=h,d/=_,u=i+d,c=a+f)}return{top:i,left:a,bottom:u,right:c,width:f,height:d}}}function op(e,t,n){for(var s=Fs(e,!0),r=Ct(e)[t];s;){var o=Ct(s)[n],i=void 0;if(n==="top"||n==="left"?i=r>=o:i=r<=o,!i)return s;if(s===ts())break;s=Fs(s,!1)}return!1}function Xr(e,t,n,s){for(var r=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Le.ghost&&(s||i[o]!==Le.dragged)&&Ln(i[o],n.draggable,e,!1)){if(r===t)return i[o];r++}o++}return null}function jd(e,t){for(var n=e.lastElementChild;n&&(n===Le.ghost||$e(n,"display")==="none"||t&&!rl(n,t));)n=n.previousElementSibling;return n||null}function $t(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Le.clone&&(!t||rl(e,t))&&n++;return n}function ip(e){var t=0,n=0,s=ts();if(e)do{var r=ar(e),o=r.a,i=r.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==s&&(e=e.parentNode));return[t,n]}function p$(e,t){for(var n in e)if(!!e.hasOwnProperty(n)){for(var s in t)if(t.hasOwnProperty(s)&&t[s]===e[n][s])return Number(n)}return-1}function Fs(e,t){if(!e||!e.getBoundingClientRect)return ts();var n=e,s=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=$e(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return ts();if(s||t)return n;s=!0}}while(n=n.parentNode);return ts()}function h$(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function vu(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 Go;function _y(e,t){return function(){if(!Go){var n=arguments,s=this;n.length===1?e.call(s,n[0]):e.apply(s,n),Go=setTimeout(function(){Go=void 0},t)}}}function _$(){clearTimeout(Go),Go=void 0}function gy(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function qd(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 ap(e,t){$e(e,"position","absolute"),$e(e,"top",t.top),$e(e,"left",t.left),$e(e,"width",t.width),$e(e,"height",t.height)}function bu(e){$e(e,"position",""),$e(e,"top",""),$e(e,"left",""),$e(e,"width",""),$e(e,"height","")}var Gt="Sortable"+new Date().getTime();function g$(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var s=[].slice.call(this.el.children);s.forEach(function(r){if(!($e(r,"display")==="none"||r===Le.ghost)){e.push({target:r,rect:Ct(r)});var o=ss({},e[e.length-1].rect);if(r.thisAnimationDuration){var i=ar(r,!0);i&&(o.top-=i.f,o.left-=i.e)}r.fromRect=o}})}},addAnimationState:function(s){e.push(s)},removeAnimationState:function(s){e.splice(p$(e,{target:s}),1)},animateAll:function(s){var r=this;if(!this.options.animation){clearTimeout(t),typeof s=="function"&&s();return}var o=!1,i=0;e.forEach(function(a){var u=0,c=a.target,d=c.fromRect,f=Ct(c),m=c.prevFromRect,p=c.prevToRect,h=a.rect,_=ar(c,!0);_&&(f.top-=_.f,f.left-=_.e),c.toRect=f,c.thisAnimationDuration&&vu(m,f)&&!vu(d,f)&&(h.top-f.top)/(h.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(u=v$(h,m,p,r.options)),vu(f,d)||(c.prevFromRect=d,c.prevToRect=f,u||(u=r.options.animation),r.animate(c,h,f,u)),u&&(o=!0,i=Math.max(i,u),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},u),c.thisAnimationDuration=u)}),clearTimeout(t),o?t=setTimeout(function(){typeof s=="function"&&s()},i):typeof s=="function"&&s(),e=[]},animate:function(s,r,o,i){if(i){$e(s,"transition",""),$e(s,"transform","");var a=ar(this.el),u=a&&a.a,c=a&&a.d,d=(r.left-o.left)/(u||1),f=(r.top-o.top)/(c||1);s.animatingX=!!d,s.animatingY=!!f,$e(s,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=y$(s),$e(s,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),$e(s,"transform","translate3d(0,0,0)"),typeof s.animated=="number"&&clearTimeout(s.animated),s.animated=setTimeout(function(){$e(s,"transition",""),$e(s,"transform",""),s.animated=!1,s.animatingX=!1,s.animatingY=!1},i)}}}}function y$(e){return e.offsetWidth}function v$(e,t,n,s){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))*s.animation}var Cr=[],Cu={initializeByDefault:!0},Ei={mount:function(t){for(var n in Cu)Cu.hasOwnProperty(n)&&!(n in t)&&(t[n]=Cu[n]);Cr.forEach(function(s){if(s.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Cr.push(t)},pluginEvent:function(t,n,s){var r=this;this.eventCanceled=!1,s.cancel=function(){r.eventCanceled=!0};var o=t+"Global";Cr.forEach(function(i){!n[i.pluginName]||(n[i.pluginName][o]&&n[i.pluginName][o](ss({sortable:n},s)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](ss({sortable:n},s)))})},initializePlugins:function(t,n,s,r){Cr.forEach(function(a){var u=a.pluginName;if(!(!t.options[u]&&!a.initializeByDefault)){var c=new a(t,n,t.options);c.sortable=t,c.options=t.options,t[u]=c,On(s,c.defaults)}});for(var o in t.options)if(!!t.options.hasOwnProperty(o)){var i=this.modifyOption(t,o,t.options[o]);typeof i!="undefined"&&(t.options[o]=i)}},getEventProperties:function(t,n){var s={};return Cr.forEach(function(r){typeof r.eventProperties=="function"&&On(s,r.eventProperties.call(n[r.pluginName],t))}),s},modifyOption:function(t,n,s){var r;return Cr.forEach(function(o){!t[o.pluginName]||o.optionListeners&&typeof o.optionListeners[n]=="function"&&(r=o.optionListeners[n].call(t[o.pluginName],s))}),r}};function To(e){var t=e.sortable,n=e.rootEl,s=e.name,r=e.targetEl,o=e.cloneEl,i=e.toEl,a=e.fromEl,u=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Gt],!!t){var _,w=t.options,b="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!bs&&!xi?_=new CustomEvent(s,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(s,!0,!0)),_.to=i||n,_.from=a||n,_.item=r||n,_.clone=o,_.oldIndex=u,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=f,_.originalEvent=m,_.pullMode=p?p.lastPutMode:void 0;var y=ss(ss({},h),Ei.getEventProperties(s,t));for(var x in y)_[x]=y[x];n&&n.dispatchEvent(_),w[b]&&w[b].call(t,_)}}var b$=["evt"],rn=function(t,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=s.evt,o=o$(s,b$);Ei.pluginEvent.bind(Le)(t,n,ss({dragEl:me,parentEl:kt,ghostEl:We,rootEl:bt,nextEl:Xs,lastDownEl:Va,cloneEl:xt,cloneHidden:Ps,dragStarted:Oo,putSortable:Ht,activeSortable:Le.active,originalEvent:r,oldIndex:Rr,oldDraggableIndex:Ko,newIndex:hn,newDraggableIndex:Os,hideGhostForTarget:Cy,unhideGhostForTarget:wy,cloneNowHidden:function(){Ps=!0},cloneNowShown:function(){Ps=!1},dispatchSortableEvent:function(a){Jt({sortable:n,name:a,originalEvent:r})}},o))};function Jt(e){To(ss({putSortable:Ht,cloneEl:xt,targetEl:me,rootEl:bt,oldIndex:Rr,oldDraggableIndex:Ko,newIndex:hn,newDraggableIndex:Os},e))}var me,kt,We,bt,Xs,Va,xt,Ps,Rr,hn,Ko,Os,qi,Ht,Or=!1,ol=!1,il=[],Zs,Pn,wu,zu,lp,up,Oo,wr,Zo,Yo=!1,Wi=!1,Ba,qt,ku=[],$c=!1,al=[],Wl=typeof document!="undefined",Gi=fy,cp=xi||bs?"cssFloat":"float",C$=Wl&&!m$&&!fy&&"draggable"in document.createElement("div"),yy=function(){if(!!Wl){if(bs)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),vy=function(t,n){var s=$e(t),r=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),o=Xr(t,0,n),i=Xr(t,1,n),a=o&&$e(o),u=i&&$e(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Ct(o).width,d=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+Ct(i).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var f=a.float==="left"?"left":"right";return i&&(u.clear==="both"||u.clear===f)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=r&&s[cp]==="none"||i&&s[cp]==="none"&&c+d>r)?"vertical":"horizontal"},w$=function(t,n,s){var r=s?t.left:t.top,o=s?t.right:t.bottom,i=s?t.width:t.height,a=s?n.left:n.top,u=s?n.right:n.bottom,c=s?n.width:n.height;return r===a||o===u||r+i/2===a+c/2},z$=function(t,n){var s;return il.some(function(r){var o=r[Gt].options.emptyInsertThreshold;if(!(!o||jd(r))){var i=Ct(r),a=t>=i.left-o&&t<=i.right+o,u=n>=i.top-o&&n<=i.bottom+o;if(a&&u)return s=r}}),s},by=function(t){function n(o,i){return function(a,u,c,d){var f=a.options.group.name&&u.options.group.name&&a.options.group.name===u.options.group.name;if(o==null&&(i||f))return!0;if(o==null||o===!1)return!1;if(i&&o==="clone")return o;if(typeof o=="function")return n(o(a,u,c,d),i)(a,u,c,d);var m=(i?a:u).options.group.name;return o===!0||typeof o=="string"&&o===m||o.join&&o.indexOf(m)>-1}}var s={},r=t.group;(!r||Na(r)!="object")&&(r={name:r}),s.name=r.name,s.checkPull=n(r.pull,!0),s.checkPut=n(r.put),s.revertClone=r.revertClone,t.group=s},Cy=function(){!yy&&We&&$e(We,"display","none")},wy=function(){!yy&&We&&$e(We,"display","")};Wl&&document.addEventListener("click",function(e){if(ol)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ol=!1,!1},!0);var Ys=function(t){if(me){t=t.touches?t.touches[0]:t;var n=z$(t.clientX,t.clientY);if(n){var s={};for(var r in t)t.hasOwnProperty(r)&&(s[r]=t[r]);s.target=s.rootEl=n,s.preventDefault=void 0,s.stopPropagation=void 0,n[Gt]._onDragOver(s)}}},k$=function(t){me&&me.parentNode[Gt]._isOutsideThisEl(t.target)};function Le(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=On({},t),e[Gt]=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 vy(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:Le.supportPointer!==!1&&"PointerEvent"in window&&!Wo,emptyInsertThreshold:5};Ei.initializePlugins(this,e,n);for(var s in n)!(s in t)&&(t[s]=n[s]);by(t);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=t.forceFallback?!1:C$,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Xe(e,"pointerdown",this._onTapStart):(Xe(e,"mousedown",this._onTapStart),Xe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Xe(e,"dragover",this),Xe(e,"dragenter",this)),il.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),On(this,g$())}Le.prototype={constructor:Le,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(wr=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,me):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var n=this,s=this.el,r=this.options,o=r.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,d=r.filter;if(D$(s),!me&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||r.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Wo&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=Ln(u,r.draggable,s,!1),!(u&&u.animated)&&Va!==u)){if(Rr=$t(u),Ko=$t(u,r.draggable),typeof d=="function"){if(d.call(this,t,u,this)){Jt({sortable:n,rootEl:c,name:"filter",targetEl:u,toEl:s,fromEl:s}),rn("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=Ln(c,f.trim(),s,!1),f)return Jt({sortable:n,rootEl:f,name:"filter",targetEl:u,fromEl:s,toEl:s}),rn("filter",n,{evt:t}),!0}),d)){o&&t.cancelable&&t.preventDefault();return}r.handle&&!Ln(c,r.handle,s,!1)||this._prepareDragStart(t,a,u)}}},_prepareDragStart:function(t,n,s){var r=this,o=r.el,i=r.options,a=o.ownerDocument,u;if(s&&!me&&s.parentNode===o){var c=Ct(s);if(bt=o,me=s,kt=me.parentNode,Xs=me.nextSibling,Va=s,qi=i.group,Le.dragged=me,Zs={target:me,clientX:(n||t).clientX,clientY:(n||t).clientY},lp=Zs.clientX-c.left,up=Zs.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,me.style["will-change"]="all",u=function(){if(rn("delayEnded",r,{evt:t}),Le.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!sp&&r.nativeDraggable&&(me.draggable=!0),r._triggerDragStart(t,n),Jt({sortable:r,name:"choose",originalEvent:t}),zt(me,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){hy(me,d.trim(),xu)}),Xe(a,"dragover",Ys),Xe(a,"mousemove",Ys),Xe(a,"touchmove",Ys),Xe(a,"mouseup",r._onDrop),Xe(a,"touchend",r._onDrop),Xe(a,"touchcancel",r._onDrop),sp&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),rn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(xi||bs))){if(Le.eventCanceled){this._onDrop();return}Xe(a,"mouseup",r._disableDelayedDrag),Xe(a,"touchend",r._disableDelayedDrag),Xe(a,"touchcancel",r._disableDelayedDrag),Xe(a,"mousemove",r._delayedDragTouchMoveHandler),Xe(a,"touchmove",r._delayedDragTouchMoveHandler),i.supportPointer&&Xe(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(u,i.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&xu(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Ye(t,"mouseup",this._disableDelayedDrag),Ye(t,"touchend",this._disableDelayedDrag),Ye(t,"touchcancel",this._disableDelayedDrag),Ye(t,"mousemove",this._delayedDragTouchMoveHandler),Ye(t,"touchmove",this._delayedDragTouchMoveHandler),Ye(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Xe(document,"pointermove",this._onTouchMove):n?Xe(document,"touchmove",this._onTouchMove):Xe(document,"mousemove",this._onTouchMove):(Xe(me,"dragend",this),Xe(bt,"dragstart",this._onDragStart));try{document.selection?Ha(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Or=!1,bt&&me){rn("dragStarted",this,{evt:n}),this.nativeDraggable&&Xe(document,"dragover",k$);var s=this.options;!t&&zt(me,s.dragClass,!1),zt(me,s.ghostClass,!0),Le.active=this,t&&this._appendGhost(),Jt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Pn){this._lastX=Pn.clientX,this._lastY=Pn.clientY,Cy();for(var t=document.elementFromPoint(Pn.clientX,Pn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Pn.clientX,Pn.clientY),t!==n);)n=t;if(me.parentNode[Gt]._isOutsideThisEl(t),n)do{if(n[Gt]){var s=void 0;if(s=n[Gt]._onDragOver({clientX:Pn.clientX,clientY:Pn.clientY,target:t,rootEl:n}),s&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);wy()}},_onTouchMove:function(t){if(Zs){var n=this.options,s=n.fallbackTolerance,r=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=We&&ar(We,!0),a=We&&i&&i.a,u=We&&i&&i.d,c=Gi&&qt&&ip(qt),d=(o.clientX-Zs.clientX+r.x)/(a||1)+(c?c[0]-ku[0]:0)/(a||1),f=(o.clientY-Zs.clientY+r.y)/(u||1)+(c?c[1]-ku[1]:0)/(u||1);if(!Le.active&&!Or){if(s&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<s)return;this._onDragStart(t,!0)}if(We){i?(i.e+=d-(wu||0),i.f+=f-(zu||0)):i={a:1,b:0,c:0,d:1,e:d,f};var m="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");$e(We,"webkitTransform",m),$e(We,"mozTransform",m),$e(We,"msTransform",m),$e(We,"transform",m),wu=d,zu=f,Pn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!We){var t=this.options.fallbackOnBody?document.body:bt,n=Ct(me,!0,Gi,!0,t),s=this.options;if(Gi){for(qt=t;$e(qt,"position")==="static"&&$e(qt,"transform")==="none"&&qt!==document;)qt=qt.parentNode;qt!==document.body&&qt!==document.documentElement?(qt===document&&(qt=ts()),n.top+=qt.scrollTop,n.left+=qt.scrollLeft):qt=ts(),ku=ip(qt)}We=me.cloneNode(!0),zt(We,s.ghostClass,!1),zt(We,s.fallbackClass,!0),zt(We,s.dragClass,!0),$e(We,"transition",""),$e(We,"transform",""),$e(We,"box-sizing","border-box"),$e(We,"margin",0),$e(We,"top",n.top),$e(We,"left",n.left),$e(We,"width",n.width),$e(We,"height",n.height),$e(We,"opacity","0.8"),$e(We,"position",Gi?"absolute":"fixed"),$e(We,"zIndex","100000"),$e(We,"pointerEvents","none"),Le.ghost=We,t.appendChild(We),$e(We,"transform-origin",lp/parseInt(We.style.width)*100+"% "+up/parseInt(We.style.height)*100+"%")}},_onDragStart:function(t,n){var s=this,r=t.dataTransfer,o=s.options;if(rn("dragStart",this,{evt:t}),Le.eventCanceled){this._onDrop();return}rn("setupClone",this),Le.eventCanceled||(xt=qd(me),xt.draggable=!1,xt.style["will-change"]="",this._hideClone(),zt(xt,this.options.chosenClass,!1),Le.clone=xt),s.cloneId=Ha(function(){rn("clone",s),!Le.eventCanceled&&(s.options.removeCloneOnHide||bt.insertBefore(xt,me),s._hideClone(),Jt({sortable:s,name:"clone"}))}),!n&&zt(me,o.dragClass,!0),n?(ol=!0,s._loopId=setInterval(s._emulateDragOver,50)):(Ye(document,"mouseup",s._onDrop),Ye(document,"touchend",s._onDrop),Ye(document,"touchcancel",s._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(s,r,me)),Xe(document,"drop",s),$e(me,"transform","translateZ(0)")),Or=!0,s._dragStartId=Ha(s._dragStarted.bind(s,n,t)),Xe(document,"selectstart",s),Oo=!0,Wo&&$e(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,s=t.target,r,o,i,a=this.options,u=a.group,c=Le.active,d=qi===u,f=a.sort,m=Ht||c,p,h=this,_=!1;if($c)return;function w(ye,je){rn(ye,h,ss({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:r,targetRect:o,canSort:f,fromSortable:m,target:s,completed:y,onMove:function(ce,W){return Ki(bt,n,me,r,ce,Ct(ce),t,W)},changed:x},je))}function b(){w("dragOverAnimationCapture"),h.captureAnimationState(),h!==m&&m.captureAnimationState()}function y(ye){return w("dragOverCompleted",{insertion:ye}),ye&&(d?c._hideClone():c._showClone(h),h!==m&&(zt(me,Ht?Ht.options.ghostClass:c.options.ghostClass,!1),zt(me,a.ghostClass,!0)),Ht!==h&&h!==Le.active?Ht=h:h===Le.active&&Ht&&(Ht=null),m===h&&(h._ignoreWhileAnimating=s),h.animateAll(function(){w("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(s===me&&!me.animated||s===n&&!s.animated)&&(wr=null),!a.dragoverBubble&&!t.rootEl&&s!==document&&(me.parentNode[Gt]._isOutsideThisEl(t.target),!ye&&Ys(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function x(){hn=$t(me),Os=$t(me,a.draggable),Jt({sortable:h,name:"change",toEl:n,newIndex:hn,newDraggableIndex:Os,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),s=Ln(s,a.draggable,n,!0),w("dragOver"),Le.eventCanceled)return _;if(me.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||h._ignoreWhileAnimating===s)return y(!1);if(ol=!1,c&&!a.disabled&&(d?f||(i=kt!==bt):Ht===this||(this.lastPutMode=qi.checkPull(this,c,me,t))&&u.checkPut(this,c,me,t))){if(p=this._getDirection(t,s)==="vertical",r=Ct(me),w("dragOverValid"),Le.eventCanceled)return _;if(i)return kt=bt,b(),this._hideClone(),w("revert"),Le.eventCanceled||(Xs?bt.insertBefore(me,Xs):bt.appendChild(me)),y(!0);var C=jd(n,a.draggable);if(!C||S$(t,p,this)&&!C.animated){if(C===me)return y(!1);if(C&&n===t.target&&(s=C),s&&(o=Ct(s)),Ki(bt,n,me,r,s,o,t,!!s)!==!1)return b(),n.appendChild(me),kt=n,x(),y(!0)}else if(C&&$$(t,p,this)){var k=Xr(n,0,a,!0);if(k===me)return y(!1);if(s=k,o=Ct(s),Ki(bt,n,me,r,s,o,t,!1)!==!1)return b(),n.insertBefore(me,k),kt=n,x(),y(!0)}else if(s.parentNode===n){o=Ct(s);var T=0,L,I=me.parentNode!==n,D=!w$(me.animated&&me.toRect||r,s.animated&&s.toRect||o,p),j=p?"top":"left",Z=op(s,"top","top")||op(me,"top","top"),X=Z?Z.scrollTop:void 0;wr!==s&&(L=o[j],Yo=!1,Wi=!D&&a.invertSwap||I),T=A$(t,s,o,p,D?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Wi,wr===s);var U;if(T!==0){var q=$t(me);do q-=T,U=kt.children[q];while(U&&($e(U,"display")==="none"||U===We))}if(T===0||U===s)return y(!1);wr=s,Zo=T;var Ce=s.nextElementSibling,te=!1;te=T===1;var ie=Ki(bt,n,me,r,s,o,t,te);if(ie!==!1)return(ie===1||ie===-1)&&(te=ie===1),$c=!0,setTimeout(E$,30),b(),te&&!Ce?n.appendChild(me):s.parentNode.insertBefore(me,te?Ce:s),Z&&gy(Z,0,X-Z.scrollTop),kt=me.parentNode,L!==void 0&&!Wi&&(Ba=Math.abs(L-Ct(s)[j])),x(),y(!0)}if(n.contains(me))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ye(document,"mousemove",this._onTouchMove),Ye(document,"touchmove",this._onTouchMove),Ye(document,"pointermove",this._onTouchMove),Ye(document,"dragover",Ys),Ye(document,"mousemove",Ys),Ye(document,"touchmove",Ys)},_offUpEvents:function(){var t=this.el.ownerDocument;Ye(t,"mouseup",this._onDrop),Ye(t,"touchend",this._onDrop),Ye(t,"pointerup",this._onDrop),Ye(t,"touchcancel",this._onDrop),Ye(document,"selectstart",this)},_onDrop:function(t){var n=this.el,s=this.options;if(hn=$t(me),Os=$t(me,s.draggable),rn("drop",this,{evt:t}),kt=me&&me.parentNode,hn=$t(me),Os=$t(me,s.draggable),Le.eventCanceled){this._nulling();return}Or=!1,Wi=!1,Yo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Sc(this.cloneId),Sc(this._dragStartId),this.nativeDraggable&&(Ye(document,"drop",this),Ye(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Wo&&$e(document.body,"user-select",""),$e(me,"transform",""),t&&(Oo&&(t.cancelable&&t.preventDefault(),!s.dropBubble&&t.stopPropagation()),We&&We.parentNode&&We.parentNode.removeChild(We),(bt===kt||Ht&&Ht.lastPutMode!=="clone")&&xt&&xt.parentNode&&xt.parentNode.removeChild(xt),me&&(this.nativeDraggable&&Ye(me,"dragend",this),xu(me),me.style["will-change"]="",Oo&&!Or&&zt(me,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),zt(me,this.options.chosenClass,!1),Jt({sortable:this,name:"unchoose",toEl:kt,newIndex:null,newDraggableIndex:null,originalEvent:t}),bt!==kt?(hn>=0&&(Jt({rootEl:kt,name:"add",toEl:kt,fromEl:bt,originalEvent:t}),Jt({sortable:this,name:"remove",toEl:kt,originalEvent:t}),Jt({rootEl:kt,name:"sort",toEl:kt,fromEl:bt,originalEvent:t}),Jt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Ht&&Ht.save()):hn!==Rr&&hn>=0&&(Jt({sortable:this,name:"update",toEl:kt,originalEvent:t}),Jt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Le.active&&((hn==null||hn===-1)&&(hn=Rr,Os=Ko),Jt({sortable:this,name:"end",toEl:kt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){rn("nulling",this),bt=me=kt=We=Xs=xt=Va=Ps=Zs=Pn=Oo=hn=Os=Rr=Ko=wr=Zo=Ht=qi=Le.dragged=Le.ghost=Le.clone=Le.active=null,al.forEach(function(t){t.checked=!0}),al.length=wu=zu=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":me&&(this._onDragOver(t),x$(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,s=this.el.children,r=0,o=s.length,i=this.options;r<o;r++)n=s[r],Ln(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||O$(n));return t},sort:function(t,n){var s={},r=this.el;this.toArray().forEach(function(o,i){var a=r.children[i];Ln(a,this.options.draggable,r,!1)&&(s[o]=a)},this),n&&this.captureAnimationState(),t.forEach(function(o){s[o]&&(r.removeChild(s[o]),r.appendChild(s[o]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Ln(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var s=this.options;if(n===void 0)return s[t];var r=Ei.modifyOption(this,t,n);typeof r!="undefined"?s[t]=r:s[t]=n,t==="group"&&by(s)},destroy:function(){rn("destroy",this);var t=this.el;t[Gt]=null,Ye(t,"mousedown",this._onTapStart),Ye(t,"touchstart",this._onTapStart),Ye(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ye(t,"dragover",this),Ye(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),il.splice(il.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Ps){if(rn("hideClone",this),Le.eventCanceled)return;$e(xt,"display","none"),this.options.removeCloneOnHide&&xt.parentNode&&xt.parentNode.removeChild(xt),Ps=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Ps){if(rn("showClone",this),Le.eventCanceled)return;me.parentNode==bt&&!this.options.group.revertClone?bt.insertBefore(xt,me):Xs?bt.insertBefore(xt,Xs):bt.appendChild(xt),this.options.group.revertClone&&this.animate(me,xt),$e(xt,"display",""),Ps=!1}}};function x$(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Ki(e,t,n,s,r,o,i,a){var u,c=e[Gt],d=c.options.onMove,f;return window.CustomEvent&&!bs&&!xi?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=t,u.from=e,u.dragged=n,u.draggedRect=s,u.related=r||t,u.relatedRect=o||Ct(t),u.willInsertAfter=a,u.originalEvent=i,e.dispatchEvent(u),d&&(f=d.call(c,u,i)),f}function xu(e){e.draggable=!1}function E$(){$c=!1}function $$(e,t,n){var s=Ct(Xr(n.el,0,n.options,!0)),r=10;return t?e.clientX<s.left-r||e.clientY<s.top&&e.clientX<s.right:e.clientY<s.top-r||e.clientY<s.bottom&&e.clientX<s.left}function S$(e,t,n){var s=Ct(jd(n.el,n.options.draggable)),r=10;return t?e.clientX>s.right+r||e.clientX<=s.right&&e.clientY>s.bottom&&e.clientX>=s.left:e.clientX>s.right&&e.clientY>s.top||e.clientX<=s.right&&e.clientY>s.bottom+r}function A$(e,t,n,s,r,o,i,a){var u=s?e.clientY:e.clientX,c=s?n.height:n.width,d=s?n.top:n.left,f=s?n.bottom:n.right,m=!1;if(!i){if(a&&Ba<c*r){if(!Yo&&(Zo===1?u>d+c*o/2:u<f-c*o/2)&&(Yo=!0),Yo)m=!0;else if(Zo===1?u<d+Ba:u>f-Ba)return-Zo}else if(u>d+c*(1-r)/2&&u<f-c*(1-r)/2)return T$(t)}return m=m||i,m&&(u<d+c*o/2||u>f-c*o/2)?u>d+c/2?1:-1:0}function T$(e){return $t(me)<$t(e)?1:-1}function O$(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,s=0;n--;)s+=t.charCodeAt(n);return s.toString(36)}function D$(e){al.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var s=t[n];s.checked&&al.push(s)}}function Ha(e){return setTimeout(e,0)}function Sc(e){return clearTimeout(e)}Wl&&Xe(document,"touchmove",function(e){(Le.active||Or)&&e.cancelable&&e.preventDefault()});Le.utils={on:Xe,off:Ye,css:$e,find:hy,is:function(t,n){return!!Ln(t,n,t,!1)},extend:h$,throttle:_y,closest:Ln,toggleClass:zt,clone:qd,index:$t,nextTick:Ha,cancelNextTick:Sc,detectDirection:vy,getChild:Xr};Le.get=function(e){return e[Gt]};Le.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(s){if(!s.prototype||!s.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(s));s.utils&&(Le.utils=ss(ss({},Le.utils),s.utils)),Ei.mount(s)})};Le.create=function(e,t){return new Le(e,t)};Le.version=d$;var At=[],Do,Ac,Tc=!1,Eu,$u,ll,Po;function P$(){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 s=n.originalEvent;this.sortable.nativeDraggable?Xe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Xe(document,"pointermove",this._handleFallbackAutoScroll):s.touches?Xe(document,"touchmove",this._handleFallbackAutoScroll):Xe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var s=n.originalEvent;!this.options.dragOverBubble&&!s.rootEl&&this._handleAutoScroll(s)},drop:function(){this.sortable.nativeDraggable?Ye(document,"dragover",this._handleAutoScroll):(Ye(document,"pointermove",this._handleFallbackAutoScroll),Ye(document,"touchmove",this._handleFallbackAutoScroll),Ye(document,"mousemove",this._handleFallbackAutoScroll)),dp(),Ua(),_$()},nulling:function(){ll=Ac=Do=Tc=Po=Eu=$u=null,At.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,s){var r=this,o=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(o,i);if(ll=n,s||this.options.forceAutoScrollFallback||xi||bs||Wo){Su(n,this.options,a,s);var u=Fs(a,!0);Tc&&(!Po||o!==Eu||i!==$u)&&(Po&&dp(),Po=setInterval(function(){var c=Fs(document.elementFromPoint(o,i),!0);c!==u&&(u=c,Ua()),Su(n,r.options,c,s)},10),Eu=o,$u=i)}else{if(!this.options.bubbleScroll||Fs(a,!0)===ts()){Ua();return}Su(n,this.options,Fs(a,!1),!1)}}},On(e,{pluginName:"scroll",initializeByDefault:!0})}function Ua(){At.forEach(function(e){clearInterval(e.pid)}),At=[]}function dp(){clearInterval(Po)}var Su=_y(function(e,t,n,s){if(!!t.scroll){var r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,u=ts(),c=!1,d;Ac!==n&&(Ac=n,Ua(),Do=t.scroll,d=t.scrollFn,Do===!0&&(Do=Fs(n,!0)));var f=0,m=Do;do{var p=m,h=Ct(p),_=h.top,w=h.bottom,b=h.left,y=h.right,x=h.width,C=h.height,k=void 0,T=void 0,L=p.scrollWidth,I=p.scrollHeight,D=$e(p),j=p.scrollLeft,Z=p.scrollTop;p===u?(k=x<L&&(D.overflowX==="auto"||D.overflowX==="scroll"||D.overflowX==="visible"),T=C<I&&(D.overflowY==="auto"||D.overflowY==="scroll"||D.overflowY==="visible")):(k=x<L&&(D.overflowX==="auto"||D.overflowX==="scroll"),T=C<I&&(D.overflowY==="auto"||D.overflowY==="scroll"));var X=k&&(Math.abs(y-r)<=i&&j+x<L)-(Math.abs(b-r)<=i&&!!j),U=T&&(Math.abs(w-o)<=i&&Z+C<I)-(Math.abs(_-o)<=i&&!!Z);if(!At[f])for(var q=0;q<=f;q++)At[q]||(At[q]={});(At[f].vx!=X||At[f].vy!=U||At[f].el!==p)&&(At[f].el=p,At[f].vx=X,At[f].vy=U,clearInterval(At[f].pid),(X!=0||U!=0)&&(c=!0,At[f].pid=setInterval(function(){s&&this.layer===0&&Le.active._onTouchMove(ll);var Ce=At[this.layer].vy?At[this.layer].vy*a:0,te=At[this.layer].vx?At[this.layer].vx*a:0;typeof d=="function"&&d.call(Le.dragged.parentNode[Gt],te,Ce,e,ll,At[this.layer].el)!=="continue"||gy(At[this.layer].el,te,Ce)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&m!==u&&(m=Fs(m,!1)));Tc=c}},30),zy=function(t){var n=t.originalEvent,s=t.putSortable,r=t.dragEl,o=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,u=t.unhideGhostForTarget;if(!!n){var c=s||o;a();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(d.clientX,d.clientY);u(),c&&!c.el.contains(f)&&(i("spill"),this.onSpill({dragEl:r,putSortable:s}))}};function Wd(){}Wd.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,s=t.putSortable;this.sortable.captureAnimationState(),s&&s.captureAnimationState();var r=Xr(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(n,r):this.sortable.el.appendChild(n),this.sortable.animateAll(),s&&s.animateAll()},drop:zy};On(Wd,{pluginName:"revertOnSpill"});function Gd(){}Gd.prototype={onSpill:function(t){var n=t.dragEl,s=t.putSortable,r=s||this.sortable;r.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),r.animateAll()},drop:zy};On(Gd,{pluginName:"removeOnSpill"});var kn;function I$(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var s=n.dragEl;kn=s},dragOverValid:function(n){var s=n.completed,r=n.target,o=n.onMove,i=n.activeSortable,a=n.changed,u=n.cancel;if(!!i.options.swap){var c=this.sortable.el,d=this.options;if(r&&r!==c){var f=kn;o(r)!==!1?(zt(r,d.swapClass,!0),kn=r):kn=null,f&&f!==kn&&zt(f,d.swapClass,!1)}a(),s(!0),u()}},drop:function(n){var s=n.activeSortable,r=n.putSortable,o=n.dragEl,i=r||this.sortable,a=this.options;kn&&zt(kn,a.swapClass,!1),kn&&(a.swap||r&&r.options.swap)&&o!==kn&&(i.captureAnimationState(),i!==s&&s.captureAnimationState(),F$(o,kn),i.animateAll(),i!==s&&s.animateAll())},nulling:function(){kn=null}},On(e,{pluginName:"swap",eventProperties:function(){return{swapItem:kn}}})}function F$(e,t){var n=e.parentNode,s=t.parentNode,r,o;!n||!s||n.isEqualNode(t)||s.isEqualNode(e)||(r=$t(e),o=$t(t),n.isEqualNode(s)&&r<o&&o++,n.insertBefore(t,n.children[r]),s.insertBefore(e,s.children[o]))}var Ue=[],pn=[],yo,In,vo=!1,on=!1,zr=!1,_t,bo,Zi;function R$(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Xe(document,"pointerup",this._deselectMultiDrag):(Xe(document,"mouseup",this._deselectMultiDrag),Xe(document,"touchend",this._deselectMultiDrag)),Xe(document,"keydown",this._checkKeyDown),Xe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(r,o){var i="";Ue.length&&In===t?Ue.forEach(function(a,u){i+=(u?", ":"")+a.textContent}):i=o.textContent,r.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var s=n.dragEl;_t=s},delayEnded:function(){this.isMultiDrag=~Ue.indexOf(_t)},setupClone:function(n){var s=n.sortable,r=n.cancel;if(!!this.isMultiDrag){for(var o=0;o<Ue.length;o++)pn.push(qd(Ue[o])),pn[o].sortableIndex=Ue[o].sortableIndex,pn[o].draggable=!1,pn[o].style["will-change"]="",zt(pn[o],this.options.selectedClass,!1),Ue[o]===_t&&zt(pn[o],this.options.chosenClass,!1);s._hideClone(),r()}},clone:function(n){var s=n.sortable,r=n.rootEl,o=n.dispatchSortableEvent,i=n.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||Ue.length&&In===s&&(mp(!0,r),o("clone"),i())},showClone:function(n){var s=n.cloneNowShown,r=n.rootEl,o=n.cancel;!this.isMultiDrag||(mp(!1,r),pn.forEach(function(i){$e(i,"display","")}),s(),Zi=!1,o())},hideClone:function(n){var s=this;n.sortable;var r=n.cloneNowHidden,o=n.cancel;!this.isMultiDrag||(pn.forEach(function(i){$e(i,"display","none"),s.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),r(),Zi=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&In&&In.multiDrag._deselectMultiDrag(),Ue.forEach(function(s){s.sortableIndex=$t(s)}),Ue=Ue.sort(function(s,r){return s.sortableIndex-r.sortableIndex}),zr=!0},dragStarted:function(n){var s=this,r=n.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(r.captureAnimationState(),this.options.animation)){Ue.forEach(function(i){i!==_t&&$e(i,"position","absolute")});var o=Ct(_t,!1,!0,!0);Ue.forEach(function(i){i!==_t&&ap(i,o)}),on=!0,vo=!0}r.animateAll(function(){on=!1,vo=!1,s.options.animation&&Ue.forEach(function(i){bu(i)}),s.options.sort&&Yi()})}},dragOver:function(n){var s=n.target,r=n.completed,o=n.cancel;on&&~Ue.indexOf(s)&&(r(!1),o())},revert:function(n){var s=n.fromSortable,r=n.rootEl,o=n.sortable,i=n.dragRect;Ue.length>1&&(Ue.forEach(function(a){o.addAnimationState({target:a,rect:on?Ct(a):i}),bu(a),a.fromRect=i,s.removeAnimationState(a)}),on=!1,L$(!this.options.removeCloneOnHide,r))},dragOverCompleted:function(n){var s=n.sortable,r=n.isOwner,o=n.insertion,i=n.activeSortable,a=n.parentEl,u=n.putSortable,c=this.options;if(o){if(r&&i._hideClone(),vo=!1,c.animation&&Ue.length>1&&(on||!r&&!i.options.sort&&!u)){var d=Ct(_t,!1,!0,!0);Ue.forEach(function(m){m!==_t&&(ap(m,d),a.appendChild(m))}),on=!0}if(!r)if(on||Yi(),Ue.length>1){var f=Zi;i._showClone(s),i.options.animation&&!Zi&&f&&pn.forEach(function(m){i.addAnimationState({target:m,rect:bo}),m.fromRect=bo,m.thisAnimationDuration=null})}else i._showClone(s)}},dragOverAnimationCapture:function(n){var s=n.dragRect,r=n.isOwner,o=n.activeSortable;if(Ue.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!r&&o.multiDrag.isMultiDrag){bo=On({},s);var i=ar(_t,!0);bo.top-=i.f,bo.left-=i.e}},dragOverAnimationComplete:function(){on&&(on=!1,Yi())},drop:function(n){var s=n.originalEvent,r=n.rootEl,o=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,u=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(!!s){var f=this.options,m=o.children;if(!zr)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),zt(_t,f.selectedClass,!~Ue.indexOf(_t)),~Ue.indexOf(_t))Ue.splice(Ue.indexOf(_t),1),yo=null,To({sortable:i,rootEl:r,name:"deselect",targetEl:_t,originalEvt:s});else{if(Ue.push(_t),To({sortable:i,rootEl:r,name:"select",targetEl:_t,originalEvt:s}),s.shiftKey&&yo&&i.el.contains(yo)){var p=$t(yo),h=$t(_t);if(~p&&~h&&p!==h){var _,w;for(h>p?(w=p,_=h):(w=h,_=p+1);w<_;w++)~Ue.indexOf(m[w])||(zt(m[w],f.selectedClass,!0),Ue.push(m[w]),To({sortable:i,rootEl:r,name:"select",targetEl:m[w],originalEvt:s}))}}else yo=_t;In=d}if(zr&&this.isMultiDrag){if(on=!1,(o[Gt].options.sort||o!==r)&&Ue.length>1){var b=Ct(_t),y=$t(_t,":not(."+this.options.selectedClass+")");if(!vo&&f.animation&&(_t.thisAnimationDuration=null),d.captureAnimationState(),!vo&&(f.animation&&(_t.fromRect=b,Ue.forEach(function(C){if(C.thisAnimationDuration=null,C!==_t){var k=on?Ct(C):b;C.fromRect=k,d.addAnimationState({target:C,rect:k})}})),Yi(),Ue.forEach(function(C){m[y]?o.insertBefore(C,m[y]):o.appendChild(C),y++}),u===$t(_t))){var x=!1;Ue.forEach(function(C){if(C.sortableIndex!==$t(C)){x=!0;return}}),x&&a("update")}Ue.forEach(function(C){bu(C)}),d.animateAll()}In=d}(r===o||c&&c.lastPutMode!=="clone")&&pn.forEach(function(C){C.parentNode&&C.parentNode.removeChild(C)})}},nullingGlobal:function(){this.isMultiDrag=zr=!1,pn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Ye(document,"pointerup",this._deselectMultiDrag),Ye(document,"mouseup",this._deselectMultiDrag),Ye(document,"touchend",this._deselectMultiDrag),Ye(document,"keydown",this._checkKeyDown),Ye(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof zr!="undefined"&&zr)&&In===this.sortable&&!(n&&Ln(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Ue.length;){var s=Ue[0];zt(s,this.options.selectedClass,!1),Ue.shift(),To({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:s,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},On(e,{pluginName:"multiDrag",utils:{select:function(n){var s=n.parentNode[Gt];!s||!s.options.multiDrag||~Ue.indexOf(n)||(In&&In!==s&&(In.multiDrag._deselectMultiDrag(),In=s),zt(n,s.options.selectedClass,!0),Ue.push(n))},deselect:function(n){var s=n.parentNode[Gt],r=Ue.indexOf(n);!s||!s.options.multiDrag||!~r||(zt(n,s.options.selectedClass,!1),Ue.splice(r,1))}},eventProperties:function(){var n=this,s=[],r=[];return Ue.forEach(function(o){s.push({multiDragElement:o,index:o.sortableIndex});var i;on&&o!==_t?i=-1:on?i=$t(o,":not(."+n.options.selectedClass+")"):i=$t(o),r.push({multiDragElement:o,index:i})}),{items:i$(Ue),clones:[].concat(pn),oldIndicies:s,newIndicies:r}},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 L$(e,t){Ue.forEach(function(n,s){var r=t.children[n.sortableIndex+(e?Number(s):0)];r?t.insertBefore(n,r):t.appendChild(n)})}function mp(e,t){pn.forEach(function(n,s){var r=t.children[n.sortableIndex+(e?Number(s):0)];r?t.insertBefore(n,r):t.appendChild(n)})}function Yi(){Ue.forEach(function(e){e!==_t&&e.parentNode&&e.parentNode.removeChild(e)})}Le.mount(new P$);Le.mount(Gd,Wd);var M$=Object.freeze(Object.defineProperty({__proto__:null,default:Le,MultiDrag:R$,Sortable:Le,Swap:I$},Symbol.toStringTag,{value:"Module"})),N$=ly(M$);(function(e,t){(function(s,r){e.exports=r(my,N$)})(typeof self!="undefined"?self:Qt,function(n,s){return function(r){var o={};function i(a){if(o[a])return o[a].exports;var u=o[a]={i:a,l:!1,exports:{}};return r[a].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=r,i.c=o,i.d=function(a,u,c){i.o(a,u)||Object.defineProperty(a,u,{enumerable:!0,get:c})},i.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,u){if(u&1&&(a=i(a)),u&8||u&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),u&2&&typeof a!="string")for(var d in a)i.d(c,d,function(f){return a[f]}.bind(null,d));return c},i.n=function(a){var u=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(u,"a",u),u},i.o=function(a,u){return Object.prototype.hasOwnProperty.call(a,u)},i.p="",i(i.s="fb15")}({"00ee":function(r,o,i){var a=i("b622"),u=a("toStringTag"),c={};c[u]="z",r.exports=String(c)==="[object z]"},"0366":function(r,o,i){var a=i("1c0b");r.exports=function(u,c,d){if(a(u),c===void 0)return u;switch(d){case 0:return function(){return u.call(c)};case 1:return function(f){return u.call(c,f)};case 2:return function(f,m){return u.call(c,f,m)};case 3:return function(f,m,p){return u.call(c,f,m,p)}}return function(){return u.apply(c,arguments)}}},"057f":function(r,o,i){var a=i("fc6a"),u=i("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(m){try{return u(m)}catch{return d.slice()}};r.exports.f=function(p){return d&&c.call(p)=="[object Window]"?f(p):u(a(p))}},"06cf":function(r,o,i){var a=i("83ab"),u=i("d1e7"),c=i("5c6c"),d=i("fc6a"),f=i("c04e"),m=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;o.f=a?h:function(w,b){if(w=d(w),b=f(b,!0),p)try{return h(w,b)}catch{}if(m(w,b))return c(!u.f.call(w,b),w[b])}},"0cfb":function(r,o,i){var a=i("83ab"),u=i("d039"),c=i("cc12");r.exports=!a&&!u(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(r,o,i){var a=i("23e7"),u=i("d58f").left,c=i("a640"),d=i("ae40"),f=c("reduce"),m=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!f||!m},{reduce:function(h){return u(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(r,o,i){var a=i("c6b6"),u=i("9263");r.exports=function(c,d){var f=c.exec;if(typeof f=="function"){var m=f.call(c,d);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return u.call(c,d)}},"159b":function(r,o,i){var a=i("da84"),u=i("fdbc"),c=i("17c2"),d=i("9112");for(var f in u){var m=a[f],p=m&&m.prototype;if(p&&p.forEach!==c)try{d(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(r,o,i){var a=i("b727").forEach,u=i("a640"),c=i("ae40"),d=u("forEach"),f=c("forEach");r.exports=!d||!f?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(r,o,i){var a=i("d066");r.exports=a("document","documentElement")},"1c0b":function(r,o){r.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(r,o,i){var a=i("b622"),u=a("iterator"),c=!1;try{var d=0,f={next:function(){return{done:!!d++}},return:function(){c=!0}};f[u]=function(){return this},Array.from(f,function(){throw 2})}catch{}r.exports=function(m,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[u]=function(){return{next:function(){return{done:h=!0}}}},m(_)}catch{}return h}},"1d80":function(r,o){r.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(r,o,i){var a=i("d039"),u=i("b622"),c=i("2d00"),d=u("species");r.exports=function(f){return c>=51||!a(function(){var m=[],p=m.constructor={};return p[d]=function(){return{foo:1}},m[f](Boolean).foo!==1})}},"23cb":function(r,o,i){var a=i("a691"),u=Math.max,c=Math.min;r.exports=function(d,f){var m=a(d);return m<0?u(m+f,0):c(m,f)}},"23e7":function(r,o,i){var a=i("da84"),u=i("06cf").f,c=i("9112"),d=i("6eeb"),f=i("ce4e"),m=i("e893"),p=i("94ca");r.exports=function(h,_){var w=h.target,b=h.global,y=h.stat,x,C,k,T,L,I;if(b?C=a:y?C=a[w]||f(w,{}):C=(a[w]||{}).prototype,C)for(k in _){if(L=_[k],h.noTargetGet?(I=u(C,k),T=I&&I.value):T=C[k],x=p(b?k:w+(y?".":"#")+k,h.forced),!x&&T!==void 0){if(typeof L==typeof T)continue;m(L,T)}(h.sham||T&&T.sham)&&c(L,"sham",!0),d(C,k,L,h)}}},"241c":function(r,o,i){var a=i("ca84"),u=i("7839"),c=u.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return a(f,c)}},"25f0":function(r,o,i){var a=i("6eeb"),u=i("825a"),c=i("d039"),d=i("ad6d"),f="toString",m=RegExp.prototype,p=m[f],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=f;(h||_)&&a(RegExp.prototype,f,function(){var b=u(this),y=String(b.source),x=b.flags,C=String(x===void 0&&b instanceof RegExp&&!("flags"in m)?d.call(b):x);return"/"+y+"/"+C},{unsafe:!0})},"2ca0":function(r,o,i){var a=i("23e7"),u=i("06cf").f,c=i("50c4"),d=i("5a34"),f=i("1d80"),m=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,w=m("startsWith"),b=!p&&!w&&!!function(){var y=u(String.prototype,"startsWith");return y&&!y.writable}();a({target:"String",proto:!0,forced:!b&&!w},{startsWith:function(x){var C=String(f(this));d(x);var k=c(_(arguments.length>1?arguments[1]:void 0,C.length)),T=String(x);return h?h.call(C,T,k):C.slice(k,k+T.length)===T}})},"2d00":function(r,o,i){var a=i("da84"),u=i("342f"),c=a.process,d=c&&c.versions,f=d&&d.v8,m,p;f?(m=f.split("."),p=m[0]+m[1]):u&&(m=u.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=u.match(/Chrome\/(\d+)/),m&&(p=m[1]))),r.exports=p&&+p},"342f":function(r,o,i){var a=i("d066");r.exports=a("navigator","userAgent")||""},"35a1":function(r,o,i){var a=i("f5df"),u=i("3f8c"),c=i("b622"),d=c("iterator");r.exports=function(f){if(f!=null)return f[d]||f["@@iterator"]||u[a(f)]}},"37e8":function(r,o,i){var a=i("83ab"),u=i("9bf2"),c=i("825a"),d=i("df75");r.exports=a?Object.defineProperties:function(m,p){c(m);for(var h=d(p),_=h.length,w=0,b;_>w;)u.f(m,b=h[w++],p[b]);return m}},"3bbe":function(r,o,i){var a=i("861d");r.exports=function(u){if(!a(u)&&u!==null)throw TypeError("Can't set "+String(u)+" as a prototype");return u}},"3ca3":function(r,o,i){var a=i("6547").charAt,u=i("69f3"),c=i("7dd0"),d="String Iterator",f=u.set,m=u.getterFor(d);c(String,"String",function(p){f(this,{type:d,string:String(p),index:0})},function(){var h=m(this),_=h.string,w=h.index,b;return w>=_.length?{value:void 0,done:!0}:(b=a(_,w),h.index+=b.length,{value:b,done:!1})})},"3f8c":function(r,o){r.exports={}},4160:function(r,o,i){var a=i("23e7"),u=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=u},{forEach:u})},"428f":function(r,o,i){var a=i("da84");r.exports=a},"44ad":function(r,o,i){var a=i("d039"),u=i("c6b6"),c="".split;r.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return u(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(r,o,i){var a=i("b622"),u=i("7c73"),c=i("9bf2"),d=a("unscopables"),f=Array.prototype;f[d]==null&&c.f(f,d,{configurable:!0,value:u(null)}),r.exports=function(m){f[d][m]=!0}},"44e7":function(r,o,i){var a=i("861d"),u=i("c6b6"),c=i("b622"),d=c("match");r.exports=function(f){var m;return a(f)&&((m=f[d])!==void 0?!!m:u(f)=="RegExp")}},4930:function(r,o,i){var a=i("d039");r.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(r,o,i){var a=i("fc6a"),u=i("50c4"),c=i("23cb"),d=function(f){return function(m,p,h){var _=a(m),w=u(_.length),b=c(h,w),y;if(f&&p!=p){for(;w>b;)if(y=_[b++],y!=y)return!0}else for(;w>b;b++)if((f||b in _)&&_[b]===p)return f||b||0;return!f&&-1}};r.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(r,o,i){var a=i("23e7"),u=i("b727").filter,c=i("1dde"),d=i("ae40"),f=c("filter"),m=d("filter");a({target:"Array",proto:!0,forced:!f||!m},{filter:function(h){return u(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(r,o,i){var a=i("0366"),u=i("7b0b"),c=i("9bdd"),d=i("e95a"),f=i("50c4"),m=i("8418"),p=i("35a1");r.exports=function(_){var w=u(_),b=typeof this=="function"?this:Array,y=arguments.length,x=y>1?arguments[1]:void 0,C=x!==void 0,k=p(w),T=0,L,I,D,j,Z,X;if(C&&(x=a(x,y>2?arguments[2]:void 0,2)),k!=null&&!(b==Array&&d(k)))for(j=k.call(w),Z=j.next,I=new b;!(D=Z.call(j)).done;T++)X=C?c(j,x,[D.value,T],!0):D.value,m(I,T,X);else for(L=f(w.length),I=new b(L);L>T;T++)X=C?x(w[T],T):w[T],m(I,T,X);return I.length=T,I}},"4fad":function(r,o,i){var a=i("23e7"),u=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return u(d)}})},"50c4":function(r,o,i){var a=i("a691"),u=Math.min;r.exports=function(c){return c>0?u(a(c),9007199254740991):0}},5135:function(r,o){var i={}.hasOwnProperty;r.exports=function(a,u){return i.call(a,u)}},5319:function(r,o,i){var a=i("d784"),u=i("825a"),c=i("7b0b"),d=i("50c4"),f=i("a691"),m=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,w=Math.min,b=Math.floor,y=/\$([$&'`]|\d\d?|<[^>]*>)/g,x=/\$([$&'`]|\d\d?)/g,C=function(k){return k===void 0?k:String(k)};a("replace",2,function(k,T,L,I){var D=I.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,j=I.REPLACE_KEEPS_$0,Z=D?"$":"$0";return[function(q,Ce){var te=m(this),ie=q==null?void 0:q[k];return ie!==void 0?ie.call(q,te,Ce):T.call(String(te),q,Ce)},function(U,q){if(!D&&j||typeof q=="string"&&q.indexOf(Z)===-1){var Ce=L(T,U,this,q);if(Ce.done)return Ce.value}var te=u(U),ie=String(this),ye=typeof q=="function";ye||(q=String(q));var je=te.global;if(je){var at=te.unicode;te.lastIndex=0}for(var ce=[];;){var W=h(te,ie);if(W===null||(ce.push(W),!je))break;var fe=String(W[0]);fe===""&&(te.lastIndex=p(ie,d(te.lastIndex),at))}for(var Oe="",Me=0,Ee=0;Ee<ce.length;Ee++){W=ce[Ee];for(var V=String(W[0]),le=_(w(f(W.index),ie.length),0),ne=[],pe=1;pe<W.length;pe++)ne.push(C(W[pe]));var Pe=W.groups;if(ye){var A=[V].concat(ne,le,ie);Pe!==void 0&&A.push(Pe);var O=String(q.apply(void 0,A))}else O=X(V,ie,le,ne,Pe,q);le>=Me&&(Oe+=ie.slice(Me,le)+O,Me=le+V.length)}return Oe+ie.slice(Me)}];function X(U,q,Ce,te,ie,ye){var je=Ce+U.length,at=te.length,ce=x;return ie!==void 0&&(ie=c(ie),ce=y),T.call(ye,ce,function(W,fe){var Oe;switch(fe.charAt(0)){case"$":return"$";case"&":return U;case"`":return q.slice(0,Ce);case"'":return q.slice(je);case"<":Oe=ie[fe.slice(1,-1)];break;default:var Me=+fe;if(Me===0)return W;if(Me>at){var Ee=b(Me/10);return Ee===0?W:Ee<=at?te[Ee-1]===void 0?fe.charAt(1):te[Ee-1]+fe.charAt(1):W}Oe=te[Me-1]}return Oe===void 0?"":Oe})}})},5692:function(r,o,i){var a=i("c430"),u=i("c6cd");(r.exports=function(c,d){return u[c]||(u[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,o,i){var a=i("d066"),u=i("241c"),c=i("7418"),d=i("825a");r.exports=a("Reflect","ownKeys")||function(m){var p=u.f(d(m)),h=c.f;return h?p.concat(h(m)):p}},"5a34":function(r,o,i){var a=i("44e7");r.exports=function(u){if(a(u))throw TypeError("The method doesn't accept regular expressions");return u}},"5c6c":function(r,o){r.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(r,o,i){var a=i("23e7"),u=i("a2bf"),c=i("7b0b"),d=i("50c4"),f=i("1c0b"),m=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),w=d(_.length),b;return f(h),b=m(_,0),b.length=u(b,_,_,w,0,1,h,arguments.length>1?arguments[1]:void 0),b}})},6547:function(r,o,i){var a=i("a691"),u=i("1d80"),c=function(d){return function(f,m){var p=String(u(f)),h=a(m),_=p.length,w,b;return h<0||h>=_?d?"":void 0:(w=p.charCodeAt(h),w<55296||w>56319||h+1===_||(b=p.charCodeAt(h+1))<56320||b>57343?d?p.charAt(h):w:d?p.slice(h,h+2):(w-55296<<10)+(b-56320)+65536)}};r.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(r,o,i){var a=i("861d"),u=i("e8b5"),c=i("b622"),d=c("species");r.exports=function(f,m){var p;return u(f)&&(p=f.constructor,typeof p=="function"&&(p===Array||u(p.prototype))?p=void 0:a(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(m===0?0:m)}},"69f3":function(r,o,i){var a=i("7f9a"),u=i("da84"),c=i("861d"),d=i("9112"),f=i("5135"),m=i("f772"),p=i("d012"),h=u.WeakMap,_,w,b,y=function(D){return b(D)?w(D):_(D,{})},x=function(D){return function(j){var Z;if(!c(j)||(Z=w(j)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return Z}};if(a){var C=new h,k=C.get,T=C.has,L=C.set;_=function(D,j){return L.call(C,D,j),j},w=function(D){return k.call(C,D)||{}},b=function(D){return T.call(C,D)}}else{var I=m("state");p[I]=!0,_=function(D,j){return d(D,I,j),j},w=function(D){return f(D,I)?D[I]:{}},b=function(D){return f(D,I)}}r.exports={set:_,get:w,has:b,enforce:y,getterFor:x}},"6eeb":function(r,o,i){var a=i("da84"),u=i("9112"),c=i("5135"),d=i("ce4e"),f=i("8925"),m=i("69f3"),p=m.get,h=m.enforce,_=String(String).split("String");(r.exports=function(w,b,y,x){var C=x?!!x.unsafe:!1,k=x?!!x.enumerable:!1,T=x?!!x.noTargetGet:!1;if(typeof y=="function"&&(typeof b=="string"&&!c(y,"name")&&u(y,"name",b),h(y).source=_.join(typeof b=="string"?b:"")),w===a){k?w[b]=y:d(b,y);return}else C?!T&&w[b]&&(k=!0):delete w[b];k?w[b]=y:u(w,b,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||f(this)})},"6f53":function(r,o,i){var a=i("83ab"),u=i("df75"),c=i("fc6a"),d=i("d1e7").f,f=function(m){return function(p){for(var h=c(p),_=u(h),w=_.length,b=0,y=[],x;w>b;)x=_[b++],(!a||d.call(h,x))&&y.push(m?[x,h[x]]:h[x]);return y}};r.exports={entries:f(!0),values:f(!1)}},"73d9":function(r,o,i){var a=i("44d2");a("flatMap")},7418:function(r,o){o.f=Object.getOwnPropertySymbols},"746f":function(r,o,i){var a=i("428f"),u=i("5135"),c=i("e538"),d=i("9bf2").f;r.exports=function(f){var m=a.Symbol||(a.Symbol={});u(m,f)||d(m,f,{value:c.f(f)})}},7839:function(r,o){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(r,o,i){var a=i("1d80");r.exports=function(u){return Object(a(u))}},"7c73":function(r,o,i){var a=i("825a"),u=i("37e8"),c=i("7839"),d=i("d012"),f=i("1be4"),m=i("cc12"),p=i("f772"),h=">",_="<",w="prototype",b="script",y=p("IE_PROTO"),x=function(){},C=function(D){return _+b+h+D+_+"/"+b+h},k=function(D){D.write(C("")),D.close();var j=D.parentWindow.Object;return D=null,j},T=function(){var D=m("iframe"),j="java"+b+":",Z;return D.style.display="none",f.appendChild(D),D.src=String(j),Z=D.contentWindow.document,Z.open(),Z.write(C("document.F=Object")),Z.close(),Z.F},L,I=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}I=L?k(L):T();for(var D=c.length;D--;)delete I[w][c[D]];return I()};d[y]=!0,r.exports=Object.create||function(j,Z){var X;return j!==null?(x[w]=a(j),X=new x,x[w]=null,X[y]=j):X=I(),Z===void 0?X:u(X,Z)}},"7dd0":function(r,o,i){var a=i("23e7"),u=i("9ed3"),c=i("e163"),d=i("d2bb"),f=i("d44e"),m=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),w=i("3f8c"),b=i("ae93"),y=b.IteratorPrototype,x=b.BUGGY_SAFARI_ITERATORS,C=h("iterator"),k="keys",T="values",L="entries",I=function(){return this};r.exports=function(D,j,Z,X,U,q,Ce){u(Z,j,X);var te=function(Ee){if(Ee===U&&ce)return ce;if(!x&&Ee in je)return je[Ee];switch(Ee){case k:return function(){return new Z(this,Ee)};case T:return function(){return new Z(this,Ee)};case L:return function(){return new Z(this,Ee)}}return function(){return new Z(this)}},ie=j+" Iterator",ye=!1,je=D.prototype,at=je[C]||je["@@iterator"]||U&&je[U],ce=!x&&at||te(U),W=j=="Array"&&je.entries||at,fe,Oe,Me;if(W&&(fe=c(W.call(new D)),y!==Object.prototype&&fe.next&&(!_&&c(fe)!==y&&(d?d(fe,y):typeof fe[C]!="function"&&m(fe,C,I)),f(fe,ie,!0,!0),_&&(w[ie]=I))),U==T&&at&&at.name!==T&&(ye=!0,ce=function(){return at.call(this)}),(!_||Ce)&&je[C]!==ce&&m(je,C,ce),w[j]=ce,U)if(Oe={values:te(T),keys:q?ce:te(k),entries:te(L)},Ce)for(Me in Oe)(x||ye||!(Me in je))&&p(je,Me,Oe[Me]);else a({target:j,proto:!0,forced:x||ye},Oe);return Oe}},"7f9a":function(r,o,i){var a=i("da84"),u=i("8925"),c=a.WeakMap;r.exports=typeof c=="function"&&/native code/.test(u(c))},"825a":function(r,o,i){var a=i("861d");r.exports=function(u){if(!a(u))throw TypeError(String(u)+" is not an object");return u}},"83ab":function(r,o,i){var a=i("d039");r.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(r,o,i){var a=i("c04e"),u=i("9bf2"),c=i("5c6c");r.exports=function(d,f,m){var p=a(f);p in d?u.f(d,p,c(0,m)):d[p]=m}},"861d":function(r,o){r.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(r,o,i){var a,u,c;(function(d,f){u=[],a=f,c=typeof a=="function"?a.apply(o,u):a,c!==void 0&&(r.exports=c)})(typeof self!="undefined"?self:this,function(){function d(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(L){var m=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=m.exec(L.stack)||p.exec(L.stack),_=h&&h[1]||!1,w=h&&h[2]||!1,b=document.location.href.replace(document.location.hash,""),y,x,C,k=document.getElementsByTagName("script");_===b&&(y=document.documentElement.outerHTML,x=new RegExp("(?:[^\\n]+?\\n){0,"+(w-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=y.replace(x,"$1").trim());for(var T=0;T<k.length;T++)if(k[T].readyState==="interactive"||k[T].src===_||_===b&&k[T].innerHTML&&k[T].innerHTML.trim()===C)return k[T];return null}}return d})},8925:function(r,o,i){var a=i("c6cd"),u=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return u.call(c)}),r.exports=a.inspectSource},"8aa5":function(r,o,i){var a=i("6547").charAt;r.exports=function(u,c,d){return c+(d?a(u,c).length:1)}},"8bbf":function(r,o){r.exports=n},"90e3":function(r,o){var i=0,a=Math.random();r.exports=function(u){return"Symbol("+String(u===void 0?"":u)+")_"+(++i+a).toString(36)}},9112:function(r,o,i){var a=i("83ab"),u=i("9bf2"),c=i("5c6c");r.exports=a?function(d,f,m){return u.f(d,f,c(1,m))}:function(d,f,m){return d[f]=m,d}},9263:function(r,o,i){var a=i("ad6d"),u=i("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,f=c,m=function(){var w=/a/,b=/b*/g;return c.call(w,"a"),c.call(b,"a"),w.lastIndex!==0||b.lastIndex!==0}(),p=u.UNSUPPORTED_Y||u.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=m||h||p;_&&(f=function(b){var y=this,x,C,k,T,L=p&&y.sticky,I=a.call(y),D=y.source,j=0,Z=b;return L&&(I=I.replace("y",""),I.indexOf("g")===-1&&(I+="g"),Z=String(b).slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&b[y.lastIndex-1]!==`
`)&&(D="(?: "+D+")",Z=" "+Z,j++),C=new RegExp("^(?:"+D+")",I)),h&&(C=new RegExp("^"+D+"$(?!\\s)",I)),m&&(x=y.lastIndex),k=c.call(L?C:y,Z),L?k?(k.input=k.input.slice(j),k[0]=k[0].slice(j),k.index=y.lastIndex,y.lastIndex+=k[0].length):y.lastIndex=0:m&&k&&(y.lastIndex=y.global?k.index+k[0].length:x),h&&k&&k.length>1&&d.call(k[0],C,function(){for(T=1;T<arguments.length-2;T++)arguments[T]===void 0&&(k[T]=void 0)}),k}),r.exports=f},"94ca":function(r,o,i){var a=i("d039"),u=/#|\.prototype\./,c=function(h,_){var w=f[d(h)];return w==p?!0:w==m?!1:typeof _=="function"?a(_):!!_},d=c.normalize=function(h){return String(h).replace(u,".").toLowerCase()},f=c.data={},m=c.NATIVE="N",p=c.POLYFILL="P";r.exports=c},"99af":function(r,o,i){var a=i("23e7"),u=i("d039"),c=i("e8b5"),d=i("861d"),f=i("7b0b"),m=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),w=i("b622"),b=i("2d00"),y=w("isConcatSpreadable"),x=9007199254740991,C="Maximum allowed index exceeded",k=b>=51||!u(function(){var D=[];return D[y]=!1,D.concat()[0]!==D}),T=_("concat"),L=function(D){if(!d(D))return!1;var j=D[y];return j!==void 0?!!j:c(D)},I=!k||!T;a({target:"Array",proto:!0,forced:I},{concat:function(j){var Z=f(this),X=h(Z,0),U=0,q,Ce,te,ie,ye;for(q=-1,te=arguments.length;q<te;q++)if(ye=q===-1?Z:arguments[q],L(ye)){if(ie=m(ye.length),U+ie>x)throw TypeError(C);for(Ce=0;Ce<ie;Ce++,U++)Ce in ye&&p(X,U,ye[Ce])}else{if(U>=x)throw TypeError(C);p(X,U++,ye)}return X.length=U,X}})},"9bdd":function(r,o,i){var a=i("825a");r.exports=function(u,c,d,f){try{return f?c(a(d)[0],d[1]):c(d)}catch(p){var m=u.return;throw m!==void 0&&a(m.call(u)),p}}},"9bf2":function(r,o,i){var a=i("83ab"),u=i("0cfb"),c=i("825a"),d=i("c04e"),f=Object.defineProperty;o.f=a?f:function(p,h,_){if(c(p),h=d(h,!0),c(_),u)try{return f(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(r,o,i){var a=i("ae93").IteratorPrototype,u=i("7c73"),c=i("5c6c"),d=i("d44e"),f=i("3f8c"),m=function(){return this};r.exports=function(p,h,_){var w=h+" Iterator";return p.prototype=u(a,{next:c(1,_)}),d(p,w,!1,!0),f[w]=m,p}},"9f7f":function(r,o,i){var a=i("d039");function u(c,d){return RegExp(c,d)}o.UNSUPPORTED_Y=a(function(){var c=u("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var c=u("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(r,o,i){var a=i("e8b5"),u=i("50c4"),c=i("0366"),d=function(f,m,p,h,_,w,b,y){for(var x=_,C=0,k=b?c(b,y,3):!1,T;C<h;){if(C in p){if(T=k?k(p[C],C,m):p[C],w>0&&a(T))x=d(f,m,T,u(T.length),x,w-1)-1;else{if(x>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[x]=T}x++}C++}return x};r.exports=d},a352:function(r,o){r.exports=s},a434:function(r,o,i){var a=i("23e7"),u=i("23cb"),c=i("a691"),d=i("50c4"),f=i("7b0b"),m=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),w=h("splice"),b=_("splice",{ACCESSORS:!0,0:0,1:2}),y=Math.max,x=Math.min,C=9007199254740991,k="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!w||!b},{splice:function(L,I){var D=f(this),j=d(D.length),Z=u(L,j),X=arguments.length,U,q,Ce,te,ie,ye;if(X===0?U=q=0:X===1?(U=0,q=j-Z):(U=X-2,q=x(y(c(I),0),j-Z)),j+U-q>C)throw TypeError(k);for(Ce=m(D,q),te=0;te<q;te++)ie=Z+te,ie in D&&p(Ce,te,D[ie]);if(Ce.length=q,U<q){for(te=Z;te<j-q;te++)ie=te+q,ye=te+U,ie in D?D[ye]=D[ie]:delete D[ye];for(te=j;te>j-q+U;te--)delete D[te-1]}else if(U>q)for(te=j-q;te>Z;te--)ie=te+q-1,ye=te+U-1,ie in D?D[ye]=D[ie]:delete D[ye];for(te=0;te<U;te++)D[te+Z]=arguments[te+2];return D.length=j-q+U,Ce}})},a4d3:function(r,o,i){var a=i("23e7"),u=i("da84"),c=i("d066"),d=i("c430"),f=i("83ab"),m=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),w=i("e8b5"),b=i("861d"),y=i("825a"),x=i("7b0b"),C=i("fc6a"),k=i("c04e"),T=i("5c6c"),L=i("7c73"),I=i("df75"),D=i("241c"),j=i("057f"),Z=i("7418"),X=i("06cf"),U=i("9bf2"),q=i("d1e7"),Ce=i("9112"),te=i("6eeb"),ie=i("5692"),ye=i("f772"),je=i("d012"),at=i("90e3"),ce=i("b622"),W=i("e538"),fe=i("746f"),Oe=i("d44e"),Me=i("69f3"),Ee=i("b727").forEach,V=ye("hidden"),le="Symbol",ne="prototype",pe=ce("toPrimitive"),Pe=Me.set,A=Me.getterFor(le),O=Object[ne],P=u.Symbol,K=c("JSON","stringify"),J=X.f,ee=U.f,de=j.f,ae=q.f,oe=ie("symbols"),Y=ie("op-symbols"),R=ie("string-to-symbol-registry"),H=ie("symbol-to-string-registry"),ge=ie("wks"),we=u.QObject,Re=!we||!we[ne]||!we[ne].findChild,qe=f&&h(function(){return L(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a!=7})?function(xe,ue,Fe){var Ze=J(O,ue);Ze&&delete O[ue],ee(xe,ue,Fe),Ze&&xe!==O&&ee(O,ue,Ze)}:ee,Be=function(xe,ue){var Fe=oe[xe]=L(P[ne]);return Pe(Fe,{type:le,tag:xe,description:ue}),f||(Fe.description=ue),Fe},F=p?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},M=function(ue,Fe,Ze){ue===O&&M(Y,Fe,Ze),y(ue);var Qe=k(Fe,!0);return y(Ze),_(oe,Qe)?(Ze.enumerable?(_(ue,V)&&ue[V][Qe]&&(ue[V][Qe]=!1),Ze=L(Ze,{enumerable:T(0,!1)})):(_(ue,V)||ee(ue,V,T(1,{})),ue[V][Qe]=!0),qe(ue,Qe,Ze)):ee(ue,Qe,Ze)},G=function(ue,Fe){y(ue);var Ze=C(Fe),Qe=I(Ze).concat(He(Ze));return Ee(Qe,function(Bt){(!f||be.call(Ze,Bt))&&M(ue,Bt,Ze[Bt])}),ue},se=function(ue,Fe){return Fe===void 0?L(ue):G(L(ue),Fe)},be=function(ue){var Fe=k(ue,!0),Ze=ae.call(this,Fe);return this===O&&_(oe,Fe)&&!_(Y,Fe)?!1:Ze||!_(this,Fe)||!_(oe,Fe)||_(this,V)&&this[V][Fe]?Ze:!0},Ie=function(ue,Fe){var Ze=C(ue),Qe=k(Fe,!0);if(!(Ze===O&&_(oe,Qe)&&!_(Y,Qe))){var Bt=J(Ze,Qe);return Bt&&_(oe,Qe)&&!(_(Ze,V)&&Ze[V][Qe])&&(Bt.enumerable=!0),Bt}},Ae=function(ue){var Fe=de(C(ue)),Ze=[];return Ee(Fe,function(Qe){!_(oe,Qe)&&!_(je,Qe)&&Ze.push(Qe)}),Ze},He=function(ue){var Fe=ue===O,Ze=de(Fe?Y:C(ue)),Qe=[];return Ee(Ze,function(Bt){_(oe,Bt)&&(!Fe||_(O,Bt))&&Qe.push(oe[Bt])}),Qe};if(m||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var ue=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Fe=at(ue),Ze=function(Qe){this===O&&Ze.call(Y,Qe),_(this,V)&&_(this[V],Fe)&&(this[V][Fe]=!1),qe(this,Fe,T(1,Qe))};return f&&Re&&qe(O,Fe,{configurable:!0,set:Ze}),Be(Fe,ue)},te(P[ne],"toString",function(){return A(this).tag}),te(P,"withoutSetter",function(xe){return Be(at(xe),xe)}),q.f=be,U.f=M,X.f=Ie,D.f=j.f=Ae,Z.f=He,W.f=function(xe){return Be(ce(xe),xe)},f&&(ee(P[ne],"description",{configurable:!0,get:function(){return A(this).description}}),d||te(O,"propertyIsEnumerable",be,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!m,sham:!m},{Symbol:P}),Ee(I(ge),function(xe){fe(xe)}),a({target:le,stat:!0,forced:!m},{for:function(xe){var ue=String(xe);if(_(R,ue))return R[ue];var Fe=P(ue);return R[ue]=Fe,H[Fe]=ue,Fe},keyFor:function(ue){if(!F(ue))throw TypeError(ue+" is not a symbol");if(_(H,ue))return H[ue]},useSetter:function(){Re=!0},useSimple:function(){Re=!1}}),a({target:"Object",stat:!0,forced:!m,sham:!f},{create:se,defineProperty:M,defineProperties:G,getOwnPropertyDescriptor:Ie}),a({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:Ae,getOwnPropertySymbols:He}),a({target:"Object",stat:!0,forced:h(function(){Z.f(1)})},{getOwnPropertySymbols:function(ue){return Z.f(x(ue))}}),K){var Ge=!m||h(function(){var xe=P();return K([xe])!="[null]"||K({a:xe})!="{}"||K(Object(xe))!="{}"});a({target:"JSON",stat:!0,forced:Ge},{stringify:function(ue,Fe,Ze){for(var Qe=[ue],Bt=1,mo;arguments.length>Bt;)Qe.push(arguments[Bt++]);if(mo=Fe,!(!b(Fe)&&ue===void 0||F(ue)))return w(Fe)||(Fe=function(E1,Di){if(typeof mo=="function"&&(Di=mo.call(this,E1,Di)),!F(Di))return Di}),Qe[1]=Fe,K.apply(null,Qe)}})}P[ne][pe]||Ce(P[ne],pe,P[ne].valueOf),Oe(P,le),je[V]=!0},a630:function(r,o,i){var a=i("23e7"),u=i("4df4"),c=i("1c7e"),d=!c(function(f){Array.from(f)});a({target:"Array",stat:!0,forced:d},{from:u})},a640:function(r,o,i){var a=i("d039");r.exports=function(u,c){var d=[][u];return!!d&&a(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(r,o){var i=Math.ceil,a=Math.floor;r.exports=function(u){return isNaN(u=+u)?0:(u>0?a:i)(u)}},ab13:function(r,o,i){var a=i("b622"),u=a("match");r.exports=function(c){var d=/./;try{"/./"[c](d)}catch{try{return d[u]=!1,"/./"[c](d)}catch{}}return!1}},ac1f:function(r,o,i){var a=i("23e7"),u=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==u},{exec:u})},ad6d:function(r,o,i){var a=i("825a");r.exports=function(){var u=a(this),c="";return u.global&&(c+="g"),u.ignoreCase&&(c+="i"),u.multiline&&(c+="m"),u.dotAll&&(c+="s"),u.unicode&&(c+="u"),u.sticky&&(c+="y"),c}},ae40:function(r,o,i){var a=i("83ab"),u=i("d039"),c=i("5135"),d=Object.defineProperty,f={},m=function(p){throw p};r.exports=function(p,h){if(c(f,p))return f[p];h||(h={});var _=[][p],w=c(h,"ACCESSORS")?h.ACCESSORS:!1,b=c(h,0)?h[0]:m,y=c(h,1)?h[1]:void 0;return f[p]=!!_&&!u(function(){if(w&&!a)return!0;var x={length:-1};w?d(x,1,{enumerable:!0,get:m}):x[1]=1,_.call(x,b,y)})}},ae93:function(r,o,i){var a=i("e163"),u=i("9112"),c=i("5135"),d=i("b622"),f=i("c430"),m=d("iterator"),p=!1,h=function(){return this},_,w,b;[].keys&&(b=[].keys(),"next"in b?(w=a(a(b)),w!==Object.prototype&&(_=w)):p=!0),_==null&&(_={}),!f&&!c(_,m)&&u(_,m,h),r.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(r,o,i){var a=i("00ee"),u=i("f5df");r.exports=a?{}.toString:function(){return"[object "+u(this)+"]"}},b0c0:function(r,o,i){var a=i("83ab"),u=i("9bf2").f,c=Function.prototype,d=c.toString,f=/^\s*function ([^ (]*)/,m="name";a&&!(m in c)&&u(c,m,{configurable:!0,get:function(){try{return d.call(this).match(f)[1]}catch{return""}}})},b622:function(r,o,i){var a=i("da84"),u=i("5692"),c=i("5135"),d=i("90e3"),f=i("4930"),m=i("fdbf"),p=u("wks"),h=a.Symbol,_=m?h:h&&h.withoutSetter||d;r.exports=function(w){return c(p,w)||(f&&c(h,w)?p[w]=h[w]:p[w]=_("Symbol."+w)),p[w]}},b64b:function(r,o,i){var a=i("23e7"),u=i("7b0b"),c=i("df75"),d=i("d039"),f=d(function(){c(1)});a({target:"Object",stat:!0,forced:f},{keys:function(p){return c(u(p))}})},b727:function(r,o,i){var a=i("0366"),u=i("44ad"),c=i("7b0b"),d=i("50c4"),f=i("65f0"),m=[].push,p=function(h){var _=h==1,w=h==2,b=h==3,y=h==4,x=h==6,C=h==5||x;return function(k,T,L,I){for(var D=c(k),j=u(D),Z=a(T,L,3),X=d(j.length),U=0,q=I||f,Ce=_?q(k,X):w?q(k,0):void 0,te,ie;X>U;U++)if((C||U in j)&&(te=j[U],ie=Z(te,U,D),h)){if(_)Ce[U]=ie;else if(ie)switch(h){case 3:return!0;case 5:return te;case 6:return U;case 2:m.call(Ce,te)}else if(y)return!1}return x?-1:b||y?y:Ce}};r.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(r,o,i){var a=i("861d");r.exports=function(u,c){if(!a(u))return u;var d,f;if(c&&typeof(d=u.toString)=="function"&&!a(f=d.call(u))||typeof(d=u.valueOf)=="function"&&!a(f=d.call(u))||!c&&typeof(d=u.toString)=="function"&&!a(f=d.call(u)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(r,o){r.exports=!1},c6b6:function(r,o){var i={}.toString;r.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(r,o,i){var a=i("da84"),u=i("ce4e"),c="__core-js_shared__",d=a[c]||u(c,{});r.exports=d},c740:function(r,o,i){var a=i("23e7"),u=i("b727").findIndex,c=i("44d2"),d=i("ae40"),f="findIndex",m=!0,p=d(f);f in[]&&Array(1)[f](function(){m=!1}),a({target:"Array",proto:!0,forced:m||!p},{findIndex:function(_){return u(this,_,arguments.length>1?arguments[1]:void 0)}}),c(f)},c8ba:function(r,o){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}r.exports=i},c975:function(r,o,i){var a=i("23e7"),u=i("4d64").indexOf,c=i("a640"),d=i("ae40"),f=[].indexOf,m=!!f&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:m||!p||!h},{indexOf:function(w){return m?f.apply(this,arguments)||0:u(this,w,arguments.length>1?arguments[1]:void 0)}})},ca84:function(r,o,i){var a=i("5135"),u=i("fc6a"),c=i("4d64").indexOf,d=i("d012");r.exports=function(f,m){var p=u(f),h=0,_=[],w;for(w in p)!a(d,w)&&a(p,w)&&_.push(w);for(;m.length>h;)a(p,w=m[h++])&&(~c(_,w)||_.push(w));return _}},caad:function(r,o,i){var a=i("23e7"),u=i("4d64").includes,c=i("44d2"),d=i("ae40"),f=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!f},{includes:function(p){return u(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(r,o,i){var a=i("da84"),u=i("861d"),c=a.document,d=u(c)&&u(c.createElement);r.exports=function(f){return d?c.createElement(f):{}}},ce4e:function(r,o,i){var a=i("da84"),u=i("9112");r.exports=function(c,d){try{u(a,c,d)}catch{a[c]=d}return d}},d012:function(r,o){r.exports={}},d039:function(r,o){r.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(r,o,i){var a=i("428f"),u=i("da84"),c=function(d){return typeof d=="function"?d:void 0};r.exports=function(d,f){return arguments.length<2?c(a[d])||c(u[d]):a[d]&&a[d][f]||u[d]&&u[d][f]}},d1e7:function(r,o,i){var a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,c=u&&!a.call({1:2},1);o.f=c?function(f){var m=u(this,f);return!!m&&m.enumerable}:a},d28b:function(r,o,i){var a=i("746f");a("iterator")},d2bb:function(r,o,i){var a=i("825a"),u=i("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,d={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return a(p),u(h),c?f.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(r,o,i){var a=i("00ee"),u=i("6eeb"),c=i("b041");a||u(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(r,o,i){var a=i("9bf2").f,u=i("5135"),c=i("b622"),d=c("toStringTag");r.exports=function(f,m,p){f&&!u(f=p?f:f.prototype,d)&&a(f,d,{configurable:!0,value:m})}},d58f:function(r,o,i){var a=i("1c0b"),u=i("7b0b"),c=i("44ad"),d=i("50c4"),f=function(m){return function(p,h,_,w){a(h);var b=u(p),y=c(b),x=d(b.length),C=m?x-1:0,k=m?-1:1;if(_<2)for(;;){if(C in y){w=y[C],C+=k;break}if(C+=k,m?C<0:x<=C)throw TypeError("Reduce of empty array with no initial value")}for(;m?C>=0:x>C;C+=k)C in y&&(w=h(w,y[C],C,b));return w}};r.exports={left:f(!1),right:f(!0)}},d784:function(r,o,i){i("ac1f");var a=i("6eeb"),u=i("d039"),c=i("b622"),d=i("9263"),f=i("9112"),m=c("species"),p=!u(function(){var y=/./;return y.exec=function(){var x=[];return x.groups={a:"7"},x},"".replace(y,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),w=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),b=!u(function(){var y=/(?:)/,x=y.exec;y.exec=function(){return x.apply(this,arguments)};var C="ab".split(y);return C.length!==2||C[0]!=="a"||C[1]!=="b"});r.exports=function(y,x,C,k){var T=c(y),L=!u(function(){var U={};return U[T]=function(){return 7},""[y](U)!=7}),I=L&&!u(function(){var U=!1,q=/a/;return y==="split"&&(q={},q.constructor={},q.constructor[m]=function(){return q},q.flags="",q[T]=/./[T]),q.exec=function(){return U=!0,null},q[T](""),!U});if(!L||!I||y==="replace"&&!(p&&h&&!w)||y==="split"&&!b){var D=/./[T],j=C(T,""[y],function(U,q,Ce,te,ie){return q.exec===d?L&&!ie?{done:!0,value:D.call(q,Ce,te)}:{done:!0,value:U.call(Ce,q,te)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:w}),Z=j[0],X=j[1];a(String.prototype,y,Z),a(RegExp.prototype,T,x==2?function(U,q){return X.call(U,this,q)}:function(U){return X.call(U,this)})}k&&f(RegExp.prototype[T],"sham",!0)}},d81d:function(r,o,i){var a=i("23e7"),u=i("b727").map,c=i("1dde"),d=i("ae40"),f=c("map"),m=d("map");a({target:"Array",proto:!0,forced:!f||!m},{map:function(h){return u(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(r,o,i){(function(a){var u=function(c){return c&&c.Math==Math&&c};r.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof a=="object"&&a)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(r,o,i){var a=i("23e7"),u=i("83ab"),c=i("56ef"),d=i("fc6a"),f=i("06cf"),m=i("8418");a({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(h){for(var _=d(h),w=f.f,b=c(_),y={},x=0,C,k;b.length>x;)k=w(_,C=b[x++]),k!==void 0&&m(y,C,k);return y}})},dbf1:function(r,o,i){(function(a){i.d(o,"a",function(){return c});function u(){return typeof window!="undefined"?window.console:a.console}var c=u()}).call(this,i("c8ba"))},ddb0:function(r,o,i){var a=i("da84"),u=i("fdbc"),c=i("e260"),d=i("9112"),f=i("b622"),m=f("iterator"),p=f("toStringTag"),h=c.values;for(var _ in u){var w=a[_],b=w&&w.prototype;if(b){if(b[m]!==h)try{d(b,m,h)}catch{b[m]=h}if(b[p]||d(b,p,_),u[_]){for(var y in c)if(b[y]!==c[y])try{d(b,y,c[y])}catch{b[y]=c[y]}}}}},df75:function(r,o,i){var a=i("ca84"),u=i("7839");r.exports=Object.keys||function(d){return a(d,u)}},e01a:function(r,o,i){var a=i("23e7"),u=i("83ab"),c=i("da84"),d=i("5135"),f=i("861d"),m=i("9bf2").f,p=i("e893"),h=c.Symbol;if(u&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},w=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof w?new h(T):T===void 0?h():h(T);return T===""&&(_[L]=!0),L};p(w,h);var b=w.prototype=h.prototype;b.constructor=w;var y=b.toString,x=String(h("test"))=="Symbol(test)",C=/^Symbol\((.*)\)[^)]+$/;m(b,"description",{configurable:!0,get:function(){var T=f(this)?this.valueOf():this,L=y.call(T);if(d(_,T))return"";var I=x?L.slice(7,-1):L.replace(C,"$1");return I===""?void 0:I}}),a({global:!0,forced:!0},{Symbol:w})}},e163:function(r,o,i){var a=i("5135"),u=i("7b0b"),c=i("f772"),d=i("e177"),f=c("IE_PROTO"),m=Object.prototype;r.exports=d?Object.getPrototypeOf:function(p){return p=u(p),a(p,f)?p[f]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?m:null}},e177:function(r,o,i){var a=i("d039");r.exports=!a(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})},e260:function(r,o,i){var a=i("fc6a"),u=i("44d2"),c=i("3f8c"),d=i("69f3"),f=i("7dd0"),m="Array Iterator",p=d.set,h=d.getterFor(m);r.exports=f(Array,"Array",function(_,w){p(this,{type:m,target:a(_),index:0,kind:w})},function(){var _=h(this),w=_.target,b=_.kind,y=_.index++;return!w||y>=w.length?(_.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:y,done:!1}:b=="values"?{value:w[y],done:!1}:{value:[y,w[y]],done:!1}},"values"),c.Arguments=c.Array,u("keys"),u("values"),u("entries")},e439:function(r,o,i){var a=i("23e7"),u=i("d039"),c=i("fc6a"),d=i("06cf").f,f=i("83ab"),m=u(function(){d(1)}),p=!f||m;a({target:"Object",stat:!0,forced:p,sham:!f},{getOwnPropertyDescriptor:function(_,w){return d(c(_),w)}})},e538:function(r,o,i){var a=i("b622");o.f=a},e893:function(r,o,i){var a=i("5135"),u=i("56ef"),c=i("06cf"),d=i("9bf2");r.exports=function(f,m){for(var p=u(m),h=d.f,_=c.f,w=0;w<p.length;w++){var b=p[w];a(f,b)||h(f,b,_(m,b))}}},e8b5:function(r,o,i){var a=i("c6b6");r.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(r,o,i){var a=i("b622"),u=i("3f8c"),c=a("iterator"),d=Array.prototype;r.exports=function(f){return f!==void 0&&(u.Array===f||d[c]===f)}},f5df:function(r,o,i){var a=i("00ee"),u=i("c6b6"),c=i("b622"),d=c("toStringTag"),f=u(function(){return arguments}())=="Arguments",m=function(p,h){try{return p[h]}catch{}};r.exports=a?u:function(p){var h,_,w;return p===void 0?"Undefined":p===null?"Null":typeof(_=m(h=Object(p),d))=="string"?_:f?u(h):(w=u(h))=="Object"&&typeof h.callee=="function"?"Arguments":w}},f772:function(r,o,i){var a=i("5692"),u=i("90e3"),c=a("keys");r.exports=function(d){return c[d]||(c[d]=u(d))}},fb15:function(r,o,i){if(i.r(o),typeof window!="undefined"){var a=window.document.currentScript;{var u=i("8875");a=u(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:u})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(i.p=c[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function d(F,M,G){return M in F?Object.defineProperty(F,M,{value:G,enumerable:!0,configurable:!0,writable:!0}):F[M]=G,F}function f(F,M){var G=Object.keys(F);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(F);M&&(se=se.filter(function(be){return Object.getOwnPropertyDescriptor(F,be).enumerable})),G.push.apply(G,se)}return G}function m(F){for(var M=1;M<arguments.length;M++){var G=arguments[M]!=null?arguments[M]:{};M%2?f(Object(G),!0).forEach(function(se){d(F,se,G[se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(G)):f(Object(G)).forEach(function(se){Object.defineProperty(F,se,Object.getOwnPropertyDescriptor(G,se))})}return F}function p(F){if(Array.isArray(F))return F}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(F,M){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(F)))){var G=[],se=!0,be=!1,Ie=void 0;try{for(var Ae=F[Symbol.iterator](),He;!(se=(He=Ae.next()).done)&&(G.push(He.value),!(M&&G.length===M));se=!0);}catch(Ge){be=!0,Ie=Ge}finally{try{!se&&Ae.return!=null&&Ae.return()}finally{if(be)throw Ie}}return G}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(F,M){(M==null||M>F.length)&&(M=F.length);for(var G=0,se=new Array(M);G<M;G++)se[G]=F[G];return se}function w(F,M){if(!!F){if(typeof F=="string")return _(F,M);var G=Object.prototype.toString.call(F).slice(8,-1);if(G==="Object"&&F.constructor&&(G=F.constructor.name),G==="Map"||G==="Set")return Array.from(F);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return _(F,M)}}function b(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y(F,M){return p(F)||h(F,M)||w(F,M)||b()}function x(F){if(Array.isArray(F))return _(F)}function C(F){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(F))return Array.from(F)}function k(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T(F){return x(F)||C(F)||w(F)||k()}var L=i("a352"),I=i.n(L);function D(F){F.parentElement!==null&&F.parentElement.removeChild(F)}function j(F,M,G){var se=G===0?F.children[0]:F.children[G-1].nextSibling;F.insertBefore(M,se)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function X(F){var M=Object.create(null);return function(se){var be=M[se];return be||(M[se]=F(se))}}var U=/-(\w)/g,q=X(function(F){return F.replace(U,function(M,G){return G.toUpperCase()})});i("5db7"),i("73d9");var Ce=["Start","Add","Remove","Update","End"],te=["Choose","Unchoose","Sort","Filter","Clone"],ie=["Move"],ye=[ie,Ce,te].flatMap(function(F){return F}).map(function(F){return"on".concat(F)}),je={manage:ie,manageAndEmit:Ce,emit:te};function at(F){return ye.indexOf(F)!==-1}i("caad"),i("2ca0");var ce=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function W(F){return ce.includes(F)}function fe(F){return["transition-group","TransitionGroup"].includes(F)}function Oe(F){return["id","class","role","style"].includes(F)||F.startsWith("data-")||F.startsWith("aria-")||F.startsWith("on")}function Me(F){return F.reduce(function(M,G){var se=y(G,2),be=se[0],Ie=se[1];return M[be]=Ie,M},{})}function Ee(F){var M=F.$attrs,G=F.componentData,se=G===void 0?{}:G,be=Me(Object.entries(M).filter(function(Ie){var Ae=y(Ie,2),He=Ae[0];return Ae[1],Oe(He)}));return m(m({},be),se)}function V(F){var M=F.$attrs,G=F.callBackBuilder,se=Me(le(M));Object.entries(G).forEach(function(Ie){var Ae=y(Ie,2),He=Ae[0],Ge=Ae[1];je[He].forEach(function(xe){se["on".concat(xe)]=Ge(xe)})});var be="[data-draggable]".concat(se.draggable||"");return m(m({},se),{},{draggable:be})}function le(F){return Object.entries(F).filter(function(M){var G=y(M,2),se=G[0];return G[1],!Oe(se)}).map(function(M){var G=y(M,2),se=G[0],be=G[1];return[q(se),be]}).filter(function(M){var G=y(M,2),se=G[0];return G[1],!at(se)})}i("c740");function ne(F,M){if(!(F instanceof M))throw new TypeError("Cannot call a class as a function")}function pe(F,M){for(var G=0;G<M.length;G++){var se=M[G];se.enumerable=se.enumerable||!1,se.configurable=!0,"value"in se&&(se.writable=!0),Object.defineProperty(F,se.key,se)}}function Pe(F,M,G){return M&&pe(F.prototype,M),G&&pe(F,G),F}var A=function(M){var G=M.el;return G},O=function(M,G){return M.__draggable_context=G},P=function(M){return M.__draggable_context},K=function(){function F(M){var G=M.nodes,se=G.header,be=G.default,Ie=G.footer,Ae=M.root,He=M.realList;ne(this,F),this.defaultNodes=be,this.children=[].concat(T(se),T(be),T(Ie)),this.externalComponent=Ae.externalComponent,this.rootTransition=Ae.transition,this.tag=Ae.tag,this.realList=He}return Pe(F,[{key:"render",value:function(G,se){var be=this.tag,Ie=this.children,Ae=this._isRootComponent,He=Ae?{default:function(){return Ie}}:Ie;return G(be,se,He)}},{key:"updated",value:function(){var G=this.defaultNodes,se=this.realList;G.forEach(function(be,Ie){O(A(be),{element:se[Ie],index:Ie})})}},{key:"getUnderlyingVm",value:function(G){return P(G)}},{key:"getVmIndexFromDomIndex",value:function(G,se){var be=this.defaultNodes,Ie=be.length,Ae=se.children,He=Ae.item(G);if(He===null)return Ie;var Ge=P(He);if(Ge)return Ge.index;if(Ie===0)return 0;var xe=A(be[0]),ue=T(Ae).findIndex(function(Fe){return Fe===xe});return G<ue?0:Ie}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),F}(),J=i("8bbf");function ee(F,M){var G=F[M];return G?G():[]}function de(F){var M=F.$slots,G=F.realList,se=F.getKey,be=G||[],Ie=["header","footer"].map(function(Fe){return ee(M,Fe)}),Ae=y(Ie,2),He=Ae[0],Ge=Ae[1],xe=M.item;if(!xe)throw new Error("draggable element must have an item slot");var ue=be.flatMap(function(Fe,Ze){return xe({element:Fe,index:Ze}).map(function(Qe){return Qe.key=se(Fe),Qe.props=m(m({},Qe.props||{}),{},{"data-draggable":!0}),Qe})});if(ue.length!==be.length)throw new Error("Item slot must have only one child");return{header:He,footer:Ge,default:ue}}function ae(F){var M=fe(F),G=!W(F)&&!M;return{transition:M,externalComponent:G,tag:G?Object(J.resolveComponent)(F):M?J.TransitionGroup:F}}function oe(F){var M=F.$slots,G=F.tag,se=F.realList,be=F.getKey,Ie=de({$slots:M,realList:se,getKey:be}),Ae=ae(G);return new K({nodes:Ie,root:Ae,realList:se})}function Y(F,M){var G=this;Object(J.nextTick)(function(){return G.$emit(F.toLowerCase(),M)})}function R(F){var M=this;return function(G,se){if(M.realList!==null)return M["onDrag".concat(F)](G,se)}}function H(F){var M=this,G=R.call(this,F);return function(se,be){G.call(M,se,be),Y.call(M,F,se)}}var ge=null,we={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(M){return M}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Re=["update:modelValue","change"].concat(T([].concat(T(je.manageAndEmit),T(je.emit)).map(function(F){return F.toLowerCase()}))),qe=Object(J.defineComponent)({name:"draggable",inheritAttrs:!1,props:we,emits:Re,data:function(){return{error:!1}},render:function(){try{this.error=!1;var M=this.$slots,G=this.$attrs,se=this.tag,be=this.componentData,Ie=this.realList,Ae=this.getKey,He=oe({$slots:M,tag:se,realList:Ie,getKey:Ae});this.componentStructure=He;var Ge=Ee({$attrs:G,componentData:be});return He.render(J.h,Ge)}catch(xe){return this.error=!0,Object(J.h)("pre",{style:{color:"red"}},xe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&Z.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var M=this;if(!this.error){var G=this.$attrs,se=this.$el,be=this.componentStructure;be.updated();var Ie=V({$attrs:G,callBackBuilder:{manageAndEmit:function(Ge){return H.call(M,Ge)},emit:function(Ge){return Y.bind(M,Ge)},manage:function(Ge){return R.call(M,Ge)}}}),Ae=se.nodeType===1?se:se.parentElement;this._sortable=new I.a(Ae,Ie),this.targetDomElement=Ae,Ae.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var M=this.list;return M||this.modelValue},getKey:function(){var M=this.itemKey;return typeof M=="function"?M:function(G){return G[M]}}},watch:{$attrs:{handler:function(M){var G=this._sortable;!G||le(M).forEach(function(se){var be=y(se,2),Ie=be[0],Ae=be[1];G.option(Ie,Ae)})},deep:!0}},methods:{getUnderlyingVm:function(M){return this.componentStructure.getUnderlyingVm(M)||null},getUnderlyingPotencialDraggableComponent:function(M){return M.__draggable_component__},emitChanges:function(M){var G=this;Object(J.nextTick)(function(){return G.$emit("change",M)})},alterList:function(M){if(this.list){M(this.list);return}var G=T(this.modelValue);M(G),this.$emit("update:modelValue",G)},spliceList:function(){var M=arguments,G=function(be){return be.splice.apply(be,T(M))};this.alterList(G)},updatePosition:function(M,G){var se=function(Ie){return Ie.splice(G,0,Ie.splice(M,1)[0])};this.alterList(se)},getRelatedContextFromMoveEvent:function(M){var G=M.to,se=M.related,be=this.getUnderlyingPotencialDraggableComponent(G);if(!be)return{component:be};var Ie=be.realList,Ae={list:Ie,component:be};if(G!==se&&Ie){var He=be.getUnderlyingVm(se)||{};return m(m({},He),Ae)}return Ae},getVmIndexFromDomIndex:function(M){return this.componentStructure.getVmIndexFromDomIndex(M,this.targetDomElement)},onDragStart:function(M){this.context=this.getUnderlyingVm(M.item),M.item._underlying_vm_=this.clone(this.context.element),ge=M.item},onDragAdd:function(M){var G=M.item._underlying_vm_;if(G!==void 0){D(M.item);var se=this.getVmIndexFromDomIndex(M.newIndex);this.spliceList(se,0,G);var be={element:G,newIndex:se};this.emitChanges({added:be})}},onDragRemove:function(M){if(j(this.$el,M.item,M.oldIndex),M.pullMode==="clone"){D(M.clone);return}var G=this.context,se=G.index,be=G.element;this.spliceList(se,1);var Ie={element:be,oldIndex:se};this.emitChanges({removed:Ie})},onDragUpdate:function(M){D(M.item),j(M.from,M.item,M.oldIndex);var G=this.context.index,se=this.getVmIndexFromDomIndex(M.newIndex);this.updatePosition(G,se);var be={element:this.context.element,oldIndex:G,newIndex:se};this.emitChanges({moved:be})},computeFutureIndex:function(M,G){if(!M.element)return 0;var se=T(G.to.children).filter(function(He){return He.style.display!=="none"}),be=se.indexOf(G.related),Ie=M.component.getVmIndexFromDomIndex(be),Ae=se.indexOf(ge)!==-1;return Ae||!G.willInsertAfter?Ie:Ie+1},onDragMove:function(M,G){var se=this.move,be=this.realList;if(!se||!be)return!0;var Ie=this.getRelatedContextFromMoveEvent(M),Ae=this.computeFutureIndex(Ie,M),He=m(m({},this.context),{},{futureIndex:Ae}),Ge=m(m({},M),{},{relatedContext:Ie,draggedContext:He});return se(Ge,G)},onDragEnd:function(){ge=null}}}),Be=qe;o.default=Be},fb6a:function(r,o,i){var a=i("23e7"),u=i("861d"),c=i("e8b5"),d=i("23cb"),f=i("50c4"),m=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),w=i("ae40"),b=_("slice"),y=w("slice",{ACCESSORS:!0,0:0,1:2}),x=h("species"),C=[].slice,k=Math.max;a({target:"Array",proto:!0,forced:!b||!y},{slice:function(L,I){var D=m(this),j=f(D.length),Z=d(L,j),X=d(I===void 0?j:I,j),U,q,Ce;if(c(D)&&(U=D.constructor,typeof U=="function"&&(U===Array||c(U.prototype))?U=void 0:u(U)&&(U=U[x],U===null&&(U=void 0)),U===Array||U===void 0))return C.call(D,Z,X);for(q=new(U===void 0?Array:U)(k(X-Z,0)),Ce=0;Z<X;Z++,Ce++)Z in D&&p(q,Ce,D[Z]);return q.length=Ce,q}})},fc6a:function(r,o,i){var a=i("44ad"),u=i("1d80");r.exports=function(c){return a(u(c))}},fdbc:function(r,o){r.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(r,o,i){var a=i("4930");r.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(dy);var V$=ay(dy.exports);const B$={name:"PageQueue",components:{ContentWithHeading:st,ListItemQueueItem:y2,draggable:V$,ModalDialogQueueItem:cy,ModalDialogAddUrlStream:FE,ModalDialogPlaylistSave:n$},data(){return{edit_mode:!1,show_details_modal:!1,show_url_modal:!1,show_pls_save_modal:!1,selected_item:{}}},computed:{state(){return this.$store.state.player},is_queue_save_allowed(){return this.$store.state.config.allow_modifying_stored_playlists&&this.$store.state.config.default_playlist_directory},queue(){return this.$store.state.queue},queue_items:{get(){return this.$store.state.queue.items},set(e){}},current_position(){const e=this.$store.getters.now_playing;return e===void 0||e.position===void 0?-1:this.$store.getters.now_playing.position},show_only_next_items(){return this.$store.state.show_only_next_items}},methods:{queue_clear(){N.queue_clear()},update_show_next_items(e){this.$store.commit(Tg,!this.show_only_next_items)},remove(e){N.queue_remove(e.id)},move_item(e){const t=this.show_only_next_items?e.oldIndex+this.current_position:e.oldIndex,n=this.queue_items[t],s=n.position+(e.newIndex-e.oldIndex);s!==t&&N.queue_move(n.id,s)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog(e){this.show_url_modal=!0},save_dialog(e){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},H$={class:"fd-page"},U$=["textContent"],j$=["textContent"],q$={class:"buttons is-centered"},W$={class:"icon"},G$=["textContent"],K$={class:"icon"},Z$=["textContent"],Y$={class:"icon"},J$=["textContent"],X$={class:"icon"},Q$=["textContent"],eS=["disabled"],tS={class:"icon"},nS=["textContent"],sS=["onClick"],rS={class:"icon has-text-dark"},oS=["onClick"],iS={class:"icon has-text-grey"};function aS(e,t,n,s,r,o){const i=$("mdicon"),a=$("list-item-queue-item"),u=$("draggable"),c=$("modal-dialog-queue-item"),d=$("modal-dialog-add-url-stream"),f=$("modal-dialog-playlist-save"),m=$("content-with-heading");return z(),S("div",H$,[v(m,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,U$),l("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:o.queue.count}))},null,8,j$)]),"heading-right":E(()=>[l("div",q$,[l("a",{class:Te(["button is-small",{"is-info":o.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>o.update_show_next_items&&o.update_show_next_items(...p))},[l("span",W$,[v(i,{name:"arrow-collapse-down",size:"16"})]),l("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,G$)],2),l("a",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.open_add_stream_dialog(...p))},[l("span",K$,[v(i,{name:"web",size:"16"})]),l("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,Z$)]),l("a",{class:Te(["button is-small",{"is-info":r.edit_mode}]),onClick:t[2]||(t[2]=p=>r.edit_mode=!r.edit_mode)},[l("span",Y$,[v(i,{name:"pencil",size:"16"})]),l("span",{textContent:g(e.$t("page.queue.edit"))},null,8,J$)],2),l("a",{class:"button is-small",onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[l("span",X$,[v(i,{name:"delete-empty",size:"16"})]),l("span",{textContent:g(e.$t("page.queue.clear"))},null,8,Q$)]),o.is_queue_save_allowed?(z(),S("a",{key:0,class:"button is-small",disabled:o.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>o.save_dialog&&o.save_dialog(...p))},[l("span",tS,[v(i,{name:"content-save",size:"16"})]),l("span",{textContent:g(e.$t("page.queue.save"))},null,8,nS)],8,eS)):B("",!0)])]),content:E(()=>[v(u,{modelValue:o.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>o.queue_items=p),handle:".handle","item-key":"id",onEnd:o.move_item},{item:E(({element:p,index:h})=>[v(a,{item:p,position:h,current_position:o.current_position,show_only_next_items:o.show_only_next_items,edit_mode:r.edit_mode},{actions:E(()=>[r.edit_mode?B("",!0):(z(),S("a",{key:0,onClick:it(_=>o.open_dialog(p),["prevent","stop"])},[l("span",rS,[v(i,{name:"dots-vertical",size:"16"})])],8,sS)),p.id!==o.state.item_id&&r.edit_mode?(z(),S("a",{key:1,onClick:it(_=>o.remove(p),["prevent","stop"])},[l("span",iS,[v(i,{name:"delete",size:"18"})])],8,oS)):B("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),v(c,{show:r.show_details_modal,item:r.selected_item,onClose:t[6]||(t[6]=p=>r.show_details_modal=!1)},null,8,["show","item"]),v(d,{show:r.show_url_modal,onClose:t[7]||(t[7]=p=>r.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(z(),ve(f,{key:0,show:r.show_pls_save_modal,onClose:t[8]||(t[8]=p=>r.show_pls_save_modal=!1)},null,8,["show"])):B("",!0)]),_:1})])}var lS=re(B$,[["render",aS]]),ky={exports:{}},uS=[{value:"#B0171F",name:"indian red"},{value:"#DC143C",css:!0,name:"crimson"},{value:"#FFB6C1",css:!0,name:"lightpink"},{value:"#FFAEB9",name:"lightpink 1"},{value:"#EEA2AD",name:"lightpink 2"},{value:"#CD8C95",name:"lightpink 3"},{value:"#8B5F65",name:"lightpink 4"},{value:"#FFC0CB",css:!0,name:"pink"},{value:"#FFB5C5",name:"pink 1"},{value:"#EEA9B8",name:"pink 2"},{value:"#CD919E",name:"pink 3"},{value:"#8B636C",name:"pink 4"},{value:"#DB7093",css:!0,name:"palevioletred"},{value:"#FF82AB",name:"palevioletred 1"},{value:"#EE799F",name:"palevioletred 2"},{value:"#CD6889",name:"palevioletred 3"},{value:"#8B475D",name:"palevioletred 4"},{value:"#FFF0F5",name:"lavenderblush 1"},{value:"#FFF0F5",css:!0,name:"lavenderblush"},{value:"#EEE0E5",name:"lavenderblush 2"},{value:"#CDC1C5",name:"lavenderblush 3"},{value:"#8B8386",name:"lavenderblush 4"},{value:"#FF3E96",name:"violetred 1"},{value:"#EE3A8C",name:"violetred 2"},{value:"#CD3278",name:"violetred 3"},{value:"#8B2252",name:"violetred 4"},{value:"#FF69B4",css:!0,name:"hotpink"},{value:"#FF6EB4",name:"hotpink 1"},{value:"#EE6AA7",name:"hotpink 2"},{value:"#CD6090",name:"hotpink 3"},{value:"#8B3A62",name:"hotpink 4"},{value:"#872657",name:"raspberry"},{value:"#FF1493",name:"deeppink 1"},{value:"#FF1493",css:!0,name:"deeppink"},{value:"#EE1289",name:"deeppink 2"},{value:"#CD1076",name:"deeppink 3"},{value:"#8B0A50",name:"deeppink 4"},{value:"#FF34B3",name:"maroon 1"},{value:"#EE30A7",name:"maroon 2"},{value:"#CD2990",name:"maroon 3"},{value:"#8B1C62",name:"maroon 4"},{value:"#C71585",css:!0,name:"mediumvioletred"},{value:"#D02090",name:"violetred"},{value:"#DA70D6",css:!0,name:"orchid"},{value:"#FF83FA",name:"orchid 1"},{value:"#EE7AE9",name:"orchid 2"},{value:"#CD69C9",name:"orchid 3"},{value:"#8B4789",name:"orchid 4"},{value:"#D8BFD8",css:!0,name:"thistle"},{value:"#FFE1FF",name:"thistle 1"},{value:"#EED2EE",name:"thistle 2"},{value:"#CDB5CD",name:"thistle 3"},{value:"#8B7B8B",name:"thistle 4"},{value:"#FFBBFF",name:"plum 1"},{value:"#EEAEEE",name:"plum 2"},{value:"#CD96CD",name:"plum 3"},{value:"#8B668B",name:"plum 4"},{value:"#DDA0DD",css:!0,name:"plum"},{value:"#EE82EE",css:!0,name:"violet"},{value:"#FF00FF",vga:!0,name:"magenta"},{value:"#FF00FF",vga:!0,css:!0,name:"fuchsia"},{value:"#EE00EE",name:"magenta 2"},{value:"#CD00CD",name:"magenta 3"},{value:"#8B008B",name:"magenta 4"},{value:"#8B008B",css:!0,name:"darkmagenta"},{value:"#800080",vga:!0,css:!0,name:"purple"},{value:"#BA55D3",css:!0,name:"mediumorchid"},{value:"#E066FF",name:"mediumorchid 1"},{value:"#D15FEE",name:"mediumorchid 2"},{value:"#B452CD",name:"mediumorchid 3"},{value:"#7A378B",name:"mediumorchid 4"},{value:"#9400D3",css:!0,name:"darkviolet"},{value:"#9932CC",css:!0,name:"darkorchid"},{value:"#BF3EFF",name:"darkorchid 1"},{value:"#B23AEE",name:"darkorchid 2"},{value:"#9A32CD",name:"darkorchid 3"},{value:"#68228B",name:"darkorchid 4"},{value:"#4B0082",css:!0,name:"indigo"},{value:"#8A2BE2",css:!0,name:"blueviolet"},{value:"#9B30FF",name:"purple 1"},{value:"#912CEE",name:"purple 2"},{value:"#7D26CD",name:"purple 3"},{value:"#551A8B",name:"purple 4"},{value:"#9370DB",css:!0,name:"mediumpurple"},{value:"#AB82FF",name:"mediumpurple 1"},{value:"#9F79EE",name:"mediumpurple 2"},{value:"#8968CD",name:"mediumpurple 3"},{value:"#5D478B",name:"mediumpurple 4"},{value:"#483D8B",css:!0,name:"darkslateblue"},{value:"#8470FF",name:"lightslateblue"},{value:"#7B68EE",css:!0,name:"mediumslateblue"},{value:"#6A5ACD",css:!0,name:"slateblue"},{value:"#836FFF",name:"slateblue 1"},{value:"#7A67EE",name:"slateblue 2"},{value:"#6959CD",name:"slateblue 3"},{value:"#473C8B",name:"slateblue 4"},{value:"#F8F8FF",css:!0,name:"ghostwhite"},{value:"#E6E6FA",css:!0,name:"lavender"},{value:"#0000FF",vga:!0,css:!0,name:"blue"},{value:"#0000EE",name:"blue 2"},{value:"#0000CD",name:"blue 3"},{value:"#0000CD",css:!0,name:"mediumblue"},{value:"#00008B",name:"blue 4"},{value:"#00008B",css:!0,name:"darkblue"},{value:"#000080",vga:!0,css:!0,name:"navy"},{value:"#191970",css:!0,name:"midnightblue"},{value:"#3D59AB",name:"cobalt"},{value:"#4169E1",css:!0,name:"royalblue"},{value:"#4876FF",name:"royalblue 1"},{value:"#436EEE",name:"royalblue 2"},{value:"#3A5FCD",name:"royalblue 3"},{value:"#27408B",name:"royalblue 4"},{value:"#6495ED",css:!0,name:"cornflowerblue"},{value:"#B0C4DE",css:!0,name:"lightsteelblue"},{value:"#CAE1FF",name:"lightsteelblue 1"},{value:"#BCD2EE",name:"lightsteelblue 2"},{value:"#A2B5CD",name:"lightsteelblue 3"},{value:"#6E7B8B",name:"lightsteelblue 4"},{value:"#778899",css:!0,name:"lightslategray"},{value:"#708090",css:!0,name:"slategray"},{value:"#C6E2FF",name:"slategray 1"},{value:"#B9D3EE",name:"slategray 2"},{value:"#9FB6CD",name:"slategray 3"},{value:"#6C7B8B",name:"slategray 4"},{value:"#1E90FF",name:"dodgerblue 1"},{value:"#1E90FF",css:!0,name:"dodgerblue"},{value:"#1C86EE",name:"dodgerblue 2"},{value:"#1874CD",name:"dodgerblue 3"},{value:"#104E8B",name:"dodgerblue 4"},{value:"#F0F8FF",css:!0,name:"aliceblue"},{value:"#4682B4",css:!0,name:"steelblue"},{value:"#63B8FF",name:"steelblue 1"},{value:"#5CACEE",name:"steelblue 2"},{value:"#4F94CD",name:"steelblue 3"},{value:"#36648B",name:"steelblue 4"},{value:"#87CEFA",css:!0,name:"lightskyblue"},{value:"#B0E2FF",name:"lightskyblue 1"},{value:"#A4D3EE",name:"lightskyblue 2"},{value:"#8DB6CD",name:"lightskyblue 3"},{value:"#607B8B",name:"lightskyblue 4"},{value:"#87CEFF",name:"skyblue 1"},{value:"#7EC0EE",name:"skyblue 2"},{value:"#6CA6CD",name:"skyblue 3"},{value:"#4A708B",name:"skyblue 4"},{value:"#87CEEB",css:!0,name:"skyblue"},{value:"#00BFFF",name:"deepskyblue 1"},{value:"#00BFFF",css:!0,name:"deepskyblue"},{value:"#00B2EE",name:"deepskyblue 2"},{value:"#009ACD",name:"deepskyblue 3"},{value:"#00688B",name:"deepskyblue 4"},{value:"#33A1C9",name:"peacock"},{value:"#ADD8E6",css:!0,name:"lightblue"},{value:"#BFEFFF",name:"lightblue 1"},{value:"#B2DFEE",name:"lightblue 2"},{value:"#9AC0CD",name:"lightblue 3"},{value:"#68838B",name:"lightblue 4"},{value:"#B0E0E6",css:!0,name:"powderblue"},{value:"#98F5FF",name:"cadetblue 1"},{value:"#8EE5EE",name:"cadetblue 2"},{value:"#7AC5CD",name:"cadetblue 3"},{value:"#53868B",name:"cadetblue 4"},{value:"#00F5FF",name:"turquoise 1"},{value:"#00E5EE",name:"turquoise 2"},{value:"#00C5CD",name:"turquoise 3"},{value:"#00868B",name:"turquoise 4"},{value:"#5F9EA0",css:!0,name:"cadetblue"},{value:"#00CED1",css:!0,name:"darkturquoise"},{value:"#F0FFFF",name:"azure 1"},{value:"#F0FFFF",css:!0,name:"azure"},{value:"#E0EEEE",name:"azure 2"},{value:"#C1CDCD",name:"azure 3"},{value:"#838B8B",name:"azure 4"},{value:"#E0FFFF",name:"lightcyan 1"},{value:"#E0FFFF",css:!0,name:"lightcyan"},{value:"#D1EEEE",name:"lightcyan 2"},{value:"#B4CDCD",name:"lightcyan 3"},{value:"#7A8B8B",name:"lightcyan 4"},{value:"#BBFFFF",name:"paleturquoise 1"},{value:"#AEEEEE",name:"paleturquoise 2"},{value:"#AEEEEE",css:!0,name:"paleturquoise"},{value:"#96CDCD",name:"paleturquoise 3"},{value:"#668B8B",name:"paleturquoise 4"},{value:"#2F4F4F",css:!0,name:"darkslategray"},{value:"#97FFFF",name:"darkslategray 1"},{value:"#8DEEEE",name:"darkslategray 2"},{value:"#79CDCD",name:"darkslategray 3"},{value:"#528B8B",name:"darkslategray 4"},{value:"#00FFFF",name:"cyan"},{value:"#00FFFF",css:!0,name:"aqua"},{value:"#00EEEE",name:"cyan 2"},{value:"#00CDCD",name:"cyan 3"},{value:"#008B8B",name:"cyan 4"},{value:"#008B8B",css:!0,name:"darkcyan"},{value:"#008080",vga:!0,css:!0,name:"teal"},{value:"#48D1CC",css:!0,name:"mediumturquoise"},{value:"#20B2AA",css:!0,name:"lightseagreen"},{value:"#03A89E",name:"manganeseblue"},{value:"#40E0D0",css:!0,name:"turquoise"},{value:"#808A87",name:"coldgrey"},{value:"#00C78C",name:"turquoiseblue"},{value:"#7FFFD4",name:"aquamarine 1"},{value:"#7FFFD4",css:!0,name:"aquamarine"},{value:"#76EEC6",name:"aquamarine 2"},{value:"#66CDAA",name:"aquamarine 3"},{value:"#66CDAA",css:!0,name:"mediumaquamarine"},{value:"#458B74",name:"aquamarine 4"},{value:"#00FA9A",css:!0,name:"mediumspringgreen"},{value:"#F5FFFA",css:!0,name:"mintcream"},{value:"#00FF7F",css:!0,name:"springgreen"},{value:"#00EE76",name:"springgreen 1"},{value:"#00CD66",name:"springgreen 2"},{value:"#008B45",name:"springgreen 3"},{value:"#3CB371",css:!0,name:"mediumseagreen"},{value:"#54FF9F",name:"seagreen 1"},{value:"#4EEE94",name:"seagreen 2"},{value:"#43CD80",name:"seagreen 3"},{value:"#2E8B57",name:"seagreen 4"},{value:"#2E8B57",css:!0,name:"seagreen"},{value:"#00C957",name:"emeraldgreen"},{value:"#BDFCC9",name:"mint"},{value:"#3D9140",name:"cobaltgreen"},{value:"#F0FFF0",name:"honeydew 1"},{value:"#F0FFF0",css:!0,name:"honeydew"},{value:"#E0EEE0",name:"honeydew 2"},{value:"#C1CDC1",name:"honeydew 3"},{value:"#838B83",name:"honeydew 4"},{value:"#8FBC8F",css:!0,name:"darkseagreen"},{value:"#C1FFC1",name:"darkseagreen 1"},{value:"#B4EEB4",name:"darkseagreen 2"},{value:"#9BCD9B",name:"darkseagreen 3"},{value:"#698B69",name:"darkseagreen 4"},{value:"#98FB98",css:!0,name:"palegreen"},{value:"#9AFF9A",name:"palegreen 1"},{value:"#90EE90",name:"palegreen 2"},{value:"#90EE90",css:!0,name:"lightgreen"},{value:"#7CCD7C",name:"palegreen 3"},{value:"#548B54",name:"palegreen 4"},{value:"#32CD32",css:!0,name:"limegreen"},{value:"#228B22",css:!0,name:"forestgreen"},{value:"#00FF00",vga:!0,name:"green 1"},{value:"#00FF00",vga:!0,css:!0,name:"lime"},{value:"#00EE00",name:"green 2"},{value:"#00CD00",name:"green 3"},{value:"#008B00",name:"green 4"},{value:"#008000",vga:!0,css:!0,name:"green"},{value:"#006400",css:!0,name:"darkgreen"},{value:"#308014",name:"sapgreen"},{value:"#7CFC00",css:!0,name:"lawngreen"},{value:"#7FFF00",name:"chartreuse 1"},{value:"#7FFF00",css:!0,name:"chartreuse"},{value:"#76EE00",name:"chartreuse 2"},{value:"#66CD00",name:"chartreuse 3"},{value:"#458B00",name:"chartreuse 4"},{value:"#ADFF2F",css:!0,name:"greenyellow"},{value:"#CAFF70",name:"darkolivegreen 1"},{value:"#BCEE68",name:"darkolivegreen 2"},{value:"#A2CD5A",name:"darkolivegreen 3"},{value:"#6E8B3D",name:"darkolivegreen 4"},{value:"#556B2F",css:!0,name:"darkolivegreen"},{value:"#6B8E23",css:!0,name:"olivedrab"},{value:"#C0FF3E",name:"olivedrab 1"},{value:"#B3EE3A",name:"olivedrab 2"},{value:"#9ACD32",name:"olivedrab 3"},{value:"#9ACD32",css:!0,name:"yellowgreen"},{value:"#698B22",name:"olivedrab 4"},{value:"#FFFFF0",name:"ivory 1"},{value:"#FFFFF0",css:!0,name:"ivory"},{value:"#EEEEE0",name:"ivory 2"},{value:"#CDCDC1",name:"ivory 3"},{value:"#8B8B83",name:"ivory 4"},{value:"#F5F5DC",css:!0,name:"beige"},{value:"#FFFFE0",name:"lightyellow 1"},{value:"#FFFFE0",css:!0,name:"lightyellow"},{value:"#EEEED1",name:"lightyellow 2"},{value:"#CDCDB4",name:"lightyellow 3"},{value:"#8B8B7A",name:"lightyellow 4"},{value:"#FAFAD2",css:!0,name:"lightgoldenrodyellow"},{value:"#FFFF00",vga:!0,name:"yellow 1"},{value:"#FFFF00",vga:!0,css:!0,name:"yellow"},{value:"#EEEE00",name:"yellow 2"},{value:"#CDCD00",name:"yellow 3"},{value:"#8B8B00",name:"yellow 4"},{value:"#808069",name:"warmgrey"},{value:"#808000",vga:!0,css:!0,name:"olive"},{value:"#BDB76B",css:!0,name:"darkkhaki"},{value:"#FFF68F",name:"khaki 1"},{value:"#EEE685",name:"khaki 2"},{value:"#CDC673",name:"khaki 3"},{value:"#8B864E",name:"khaki 4"},{value:"#F0E68C",css:!0,name:"khaki"},{value:"#EEE8AA",css:!0,name:"palegoldenrod"},{value:"#FFFACD",name:"lemonchiffon 1"},{value:"#FFFACD",css:!0,name:"lemonchiffon"},{value:"#EEE9BF",name:"lemonchiffon 2"},{value:"#CDC9A5",name:"lemonchiffon 3"},{value:"#8B8970",name:"lemonchiffon 4"},{value:"#FFEC8B",name:"lightgoldenrod 1"},{value:"#EEDC82",name:"lightgoldenrod 2"},{value:"#CDBE70",name:"lightgoldenrod 3"},{value:"#8B814C",name:"lightgoldenrod 4"},{value:"#E3CF57",name:"banana"},{value:"#FFD700",name:"gold 1"},{value:"#FFD700",css:!0,name:"gold"},{value:"#EEC900",name:"gold 2"},{value:"#CDAD00",name:"gold 3"},{value:"#8B7500",name:"gold 4"},{value:"#FFF8DC",name:"cornsilk 1"},{value:"#FFF8DC",css:!0,name:"cornsilk"},{value:"#EEE8CD",name:"cornsilk 2"},{value:"#CDC8B1",name:"cornsilk 3"},{value:"#8B8878",name:"cornsilk 4"},{value:"#DAA520",css:!0,name:"goldenrod"},{value:"#FFC125",name:"goldenrod 1"},{value:"#EEB422",name:"goldenrod 2"},{value:"#CD9B1D",name:"goldenrod 3"},{value:"#8B6914",name:"goldenrod 4"},{value:"#B8860B",css:!0,name:"darkgoldenrod"},{value:"#FFB90F",name:"darkgoldenrod 1"},{value:"#EEAD0E",name:"darkgoldenrod 2"},{value:"#CD950C",name:"darkgoldenrod 3"},{value:"#8B6508",name:"darkgoldenrod 4"},{value:"#FFA500",name:"orange 1"},{value:"#FF8000",css:!0,name:"orange"},{value:"#EE9A00",name:"orange 2"},{value:"#CD8500",name:"orange 3"},{value:"#8B5A00",name:"orange 4"},{value:"#FFFAF0",css:!0,name:"floralwhite"},{value:"#FDF5E6",css:!0,name:"oldlace"},{value:"#F5DEB3",css:!0,name:"wheat"},{value:"#FFE7BA",name:"wheat 1"},{value:"#EED8AE",name:"wheat 2"},{value:"#CDBA96",name:"wheat 3"},{value:"#8B7E66",name:"wheat 4"},{value:"#FFE4B5",css:!0,name:"moccasin"},{value:"#FFEFD5",css:!0,name:"papayawhip"},{value:"#FFEBCD",css:!0,name:"blanchedalmond"},{value:"#FFDEAD",name:"navajowhite 1"},{value:"#FFDEAD",css:!0,name:"navajowhite"},{value:"#EECFA1",name:"navajowhite 2"},{value:"#CDB38B",name:"navajowhite 3"},{value:"#8B795E",name:"navajowhite 4"},{value:"#FCE6C9",name:"eggshell"},{value:"#D2B48C",css:!0,name:"tan"},{value:"#9C661F",name:"brick"},{value:"#FF9912",name:"cadmiumyellow"},{value:"#FAEBD7",css:!0,name:"antiquewhite"},{value:"#FFEFDB",name:"antiquewhite 1"},{value:"#EEDFCC",name:"antiquewhite 2"},{value:"#CDC0B0",name:"antiquewhite 3"},{value:"#8B8378",name:"antiquewhite 4"},{value:"#DEB887",css:!0,name:"burlywood"},{value:"#FFD39B",name:"burlywood 1"},{value:"#EEC591",name:"burlywood 2"},{value:"#CDAA7D",name:"burlywood 3"},{value:"#8B7355",name:"burlywood 4"},{value:"#FFE4C4",name:"bisque 1"},{value:"#FFE4C4",css:!0,name:"bisque"},{value:"#EED5B7",name:"bisque 2"},{value:"#CDB79E",name:"bisque 3"},{value:"#8B7D6B",name:"bisque 4"},{value:"#E3A869",name:"melon"},{value:"#ED9121",name:"carrot"},{value:"#FF8C00",css:!0,name:"darkorange"},{value:"#FF7F00",name:"darkorange 1"},{value:"#EE7600",name:"darkorange 2"},{value:"#CD6600",name:"darkorange 3"},{value:"#8B4500",name:"darkorange 4"},{value:"#FFA54F",name:"tan 1"},{value:"#EE9A49",name:"tan 2"},{value:"#CD853F",name:"tan 3"},{value:"#CD853F",css:!0,name:"peru"},{value:"#8B5A2B",name:"tan 4"},{value:"#FAF0E6",css:!0,name:"linen"},{value:"#FFDAB9",name:"peachpuff 1"},{value:"#FFDAB9",css:!0,name:"peachpuff"},{value:"#EECBAD",name:"peachpuff 2"},{value:"#CDAF95",name:"peachpuff 3"},{value:"#8B7765",name:"peachpuff 4"},{value:"#FFF5EE",name:"seashell 1"},{value:"#FFF5EE",css:!0,name:"seashell"},{value:"#EEE5DE",name:"seashell 2"},{value:"#CDC5BF",name:"seashell 3"},{value:"#8B8682",name:"seashell 4"},{value:"#F4A460",css:!0,name:"sandybrown"},{value:"#C76114",name:"rawsienna"},{value:"#D2691E",css:!0,name:"chocolate"},{value:"#FF7F24",name:"chocolate 1"},{value:"#EE7621",name:"chocolate 2"},{value:"#CD661D",name:"chocolate 3"},{value:"#8B4513",name:"chocolate 4"},{value:"#8B4513",css:!0,name:"saddlebrown"},{value:"#292421",name:"ivoryblack"},{value:"#FF7D40",name:"flesh"},{value:"#FF6103",name:"cadmiumorange"},{value:"#8A360F",name:"burntsienna"},{value:"#A0522D",css:!0,name:"sienna"},{value:"#FF8247",name:"sienna 1"},{value:"#EE7942",name:"sienna 2"},{value:"#CD6839",name:"sienna 3"},{value:"#8B4726",name:"sienna 4"},{value:"#FFA07A",name:"lightsalmon 1"},{value:"#FFA07A",css:!0,name:"lightsalmon"},{value:"#EE9572",name:"lightsalmon 2"},{value:"#CD8162",name:"lightsalmon 3"},{value:"#8B5742",name:"lightsalmon 4"},{value:"#FF7F50",css:!0,name:"coral"},{value:"#FF4500",name:"orangered 1"},{value:"#FF4500",css:!0,name:"orangered"},{value:"#EE4000",name:"orangered 2"},{value:"#CD3700",name:"orangered 3"},{value:"#8B2500",name:"orangered 4"},{value:"#5E2612",name:"sepia"},{value:"#E9967A",css:!0,name:"darksalmon"},{value:"#FF8C69",name:"salmon 1"},{value:"#EE8262",name:"salmon 2"},{value:"#CD7054",name:"salmon 3"},{value:"#8B4C39",name:"salmon 4"},{value:"#FF7256",name:"coral 1"},{value:"#EE6A50",name:"coral 2"},{value:"#CD5B45",name:"coral 3"},{value:"#8B3E2F",name:"coral 4"},{value:"#8A3324",name:"burntumber"},{value:"#FF6347",name:"tomato 1"},{value:"#FF6347",css:!0,name:"tomato"},{value:"#EE5C42",name:"tomato 2"},{value:"#CD4F39",name:"tomato 3"},{value:"#8B3626",name:"tomato 4"},{value:"#FA8072",css:!0,name:"salmon"},{value:"#FFE4E1",name:"mistyrose 1"},{value:"#FFE4E1",css:!0,name:"mistyrose"},{value:"#EED5D2",name:"mistyrose 2"},{value:"#CDB7B5",name:"mistyrose 3"},{value:"#8B7D7B",name:"mistyrose 4"},{value:"#FFFAFA",name:"snow 1"},{value:"#FFFAFA",css:!0,name:"snow"},{value:"#EEE9E9",name:"snow 2"},{value:"#CDC9C9",name:"snow 3"},{value:"#8B8989",name:"snow 4"},{value:"#BC8F8F",css:!0,name:"rosybrown"},{value:"#FFC1C1",name:"rosybrown 1"},{value:"#EEB4B4",name:"rosybrown 2"},{value:"#CD9B9B",name:"rosybrown 3"},{value:"#8B6969",name:"rosybrown 4"},{value:"#F08080",css:!0,name:"lightcoral"},{value:"#CD5C5C",css:!0,name:"indianred"},{value:"#FF6A6A",name:"indianred 1"},{value:"#EE6363",name:"indianred 2"},{value:"#8B3A3A",name:"indianred 4"},{value:"#CD5555",name:"indianred 3"},{value:"#A52A2A",css:!0,name:"brown"},{value:"#FF4040",name:"brown 1"},{value:"#EE3B3B",name:"brown 2"},{value:"#CD3333",name:"brown 3"},{value:"#8B2323",name:"brown 4"},{value:"#B22222",css:!0,name:"firebrick"},{value:"#FF3030",name:"firebrick 1"},{value:"#EE2C2C",name:"firebrick 2"},{value:"#CD2626",name:"firebrick 3"},{value:"#8B1A1A",name:"firebrick 4"},{value:"#FF0000",vga:!0,name:"red 1"},{value:"#FF0000",vga:!0,css:!0,name:"red"},{value:"#EE0000",name:"red 2"},{value:"#CD0000",name:"red 3"},{value:"#8B0000",name:"red 4"},{value:"#8B0000",css:!0,name:"darkred"},{value:"#800000",vga:!0,css:!0,name:"maroon"},{value:"#8E388E",name:"sgi beet"},{value:"#7171C6",name:"sgi slateblue"},{value:"#7D9EC0",name:"sgi lightblue"},{value:"#388E8E",name:"sgi teal"},{value:"#71C671",name:"sgi chartreuse"},{value:"#8E8E38",name:"sgi olivedrab"},{value:"#C5C1AA",name:"sgi brightgray"},{value:"#C67171",name:"sgi salmon"},{value:"#555555",name:"sgi darkgray"},{value:"#1E1E1E",name:"sgi gray 12"},{value:"#282828",name:"sgi gray 16"},{value:"#515151",name:"sgi gray 32"},{value:"#5B5B5B",name:"sgi gray 36"},{value:"#848484",name:"sgi gray 52"},{value:"#8E8E8E",name:"sgi gray 56"},{value:"#AAAAAA",name:"sgi lightgray"},{value:"#B7B7B7",name:"sgi gray 72"},{value:"#C1C1C1",name:"sgi gray 76"},{value:"#EAEAEA",name:"sgi gray 92"},{value:"#F4F4F4",name:"sgi gray 96"},{value:"#FFFFFF",vga:!0,css:!0,name:"white"},{value:"#F5F5F5",name:"white smoke"},{value:"#F5F5F5",name:"gray 96"},{value:"#DCDCDC",css:!0,name:"gainsboro"},{value:"#D3D3D3",css:!0,name:"lightgrey"},{value:"#C0C0C0",vga:!0,css:!0,name:"silver"},{value:"#A9A9A9",css:!0,name:"darkgray"},{value:"#808080",vga:!0,css:!0,name:"gray"},{value:"#696969",css:!0,name:"dimgray"},{value:"#696969",name:"gray 42"},{value:"#000000",vga:!0,css:!0,name:"black"},{value:"#FCFCFC",name:"gray 99"},{value:"#FAFAFA",name:"gray 98"},{value:"#F7F7F7",name:"gray 97"},{value:"#F2F2F2",name:"gray 95"},{value:"#F0F0F0",name:"gray 94"},{value:"#EDEDED",name:"gray 93"},{value:"#EBEBEB",name:"gray 92"},{value:"#E8E8E8",name:"gray 91"},{value:"#E5E5E5",name:"gray 90"},{value:"#E3E3E3",name:"gray 89"},{value:"#E0E0E0",name:"gray 88"},{value:"#DEDEDE",name:"gray 87"},{value:"#DBDBDB",name:"gray 86"},{value:"#D9D9D9",name:"gray 85"},{value:"#D6D6D6",name:"gray 84"},{value:"#D4D4D4",name:"gray 83"},{value:"#D1D1D1",name:"gray 82"},{value:"#CFCFCF",name:"gray 81"},{value:"#CCCCCC",name:"gray 80"},{value:"#C9C9C9",name:"gray 79"},{value:"#C7C7C7",name:"gray 78"},{value:"#C4C4C4",name:"gray 77"},{value:"#C2C2C2",name:"gray 76"},{value:"#BFBFBF",name:"gray 75"},{value:"#BDBDBD",name:"gray 74"},{value:"#BABABA",name:"gray 73"},{value:"#B8B8B8",name:"gray 72"},{value:"#B5B5B5",name:"gray 71"},{value:"#B3B3B3",name:"gray 70"},{value:"#B0B0B0",name:"gray 69"},{value:"#ADADAD",name:"gray 68"},{value:"#ABABAB",name:"gray 67"},{value:"#A8A8A8",name:"gray 66"},{value:"#A6A6A6",name:"gray 65"},{value:"#A3A3A3",name:"gray 64"},{value:"#A1A1A1",name:"gray 63"},{value:"#9E9E9E",name:"gray 62"},{value:"#9C9C9C",name:"gray 61"},{value:"#999999",name:"gray 60"},{value:"#969696",name:"gray 59"},{value:"#949494",name:"gray 58"},{value:"#919191",name:"gray 57"},{value:"#8F8F8F",name:"gray 56"},{value:"#8C8C8C",name:"gray 55"},{value:"#8A8A8A",name:"gray 54"},{value:"#878787",name:"gray 53"},{value:"#858585",name:"gray 52"},{value:"#828282",name:"gray 51"},{value:"#7F7F7F",name:"gray 50"},{value:"#7D7D7D",name:"gray 49"},{value:"#7A7A7A",name:"gray 48"},{value:"#787878",name:"gray 47"},{value:"#757575",name:"gray 46"},{value:"#737373",name:"gray 45"},{value:"#707070",name:"gray 44"},{value:"#6E6E6E",name:"gray 43"},{value:"#666666",name:"gray 40"},{value:"#636363",name:"gray 39"},{value:"#616161",name:"gray 38"},{value:"#5E5E5E",name:"gray 37"},{value:"#5C5C5C",name:"gray 36"},{value:"#595959",name:"gray 35"},{value:"#575757",name:"gray 34"},{value:"#545454",name:"gray 33"},{value:"#525252",name:"gray 32"},{value:"#4F4F4F",name:"gray 31"},{value:"#4D4D4D",name:"gray 30"},{value:"#4A4A4A",name:"gray 29"},{value:"#474747",name:"gray 28"},{value:"#454545",name:"gray 27"},{value:"#424242",name:"gray 26"},{value:"#404040",name:"gray 25"},{value:"#3D3D3D",name:"gray 24"},{value:"#3B3B3B",name:"gray 23"},{value:"#383838",name:"gray 22"},{value:"#363636",name:"gray 21"},{value:"#333333",name:"gray 20"},{value:"#303030",name:"gray 19"},{value:"#2E2E2E",name:"gray 18"},{value:"#2B2B2B",name:"gray 17"},{value:"#292929",name:"gray 16"},{value:"#262626",name:"gray 15"},{value:"#242424",name:"gray 14"},{value:"#212121",name:"gray 13"},{value:"#1F1F1F",name:"gray 12"},{value:"#1C1C1C",name:"gray 11"},{value:"#1A1A1A",name:"gray 10"},{value:"#171717",name:"gray 9"},{value:"#141414",name:"gray 8"},{value:"#121212",name:"gray 7"},{value:"#0F0F0F",name:"gray 6"},{value:"#0D0D0D",name:"gray 5"},{value:"#0A0A0A",name:"gray 4"},{value:"#080808",name:"gray 3"},{value:"#050505",name:"gray 2"},{value:"#030303",name:"gray 1"},{value:"#F5F5F5",css:!0,name:"whitesmoke"}];(function(e){var t=uS,n=t.filter(function(r){return!!r.css}),s=t.filter(function(r){return!!r.vga});e.exports=function(r){var o=e.exports.get(r);return o&&o.value},e.exports.get=function(r){return r=r||"",r=r.trim().toLowerCase(),t.filter(function(o){return o.name.toLowerCase()===r}).pop()},e.exports.all=e.exports.get.all=function(){return t},e.exports.get.css=function(r){return r?(r=r||"",r=r.trim().toLowerCase(),n.filter(function(o){return o.name.toLowerCase()===r}).pop()):n},e.exports.get.vga=function(r){return r?(r=r||"",r=r.trim().toLowerCase(),s.filter(function(o){return o.name.toLowerCase()===r}).pop()):s}})(ky);var cS=1/0,dS="[object Symbol]",mS=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,xy="\\ud800-\\udfff",fS="\\u0300-\\u036f\\ufe20-\\ufe23",pS="\\u20d0-\\u20f0",Ey="\\u2700-\\u27bf",$y="a-z\\xdf-\\xf6\\xf8-\\xff",hS="\\xac\\xb1\\xd7\\xf7",_S="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",gS="\\u2000-\\u206f",yS=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sy="A-Z\\xc0-\\xd6\\xd8-\\xde",vS="\\ufe0e\\ufe0f",Ay=hS+_S+gS+yS,Ty="['\u2019]",fp="["+Ay+"]",bS="["+fS+pS+"]",Oy="\\d+",CS="["+Ey+"]",Dy="["+$y+"]",Py="[^"+xy+Ay+Oy+Ey+$y+Sy+"]",wS="\\ud83c[\\udffb-\\udfff]",zS="(?:"+bS+"|"+wS+")",kS="[^"+xy+"]",Iy="(?:\\ud83c[\\udde6-\\uddff]){2}",Fy="[\\ud800-\\udbff][\\udc00-\\udfff]",Dr="["+Sy+"]",xS="\\u200d",pp="(?:"+Dy+"|"+Py+")",ES="(?:"+Dr+"|"+Py+")",hp="(?:"+Ty+"(?:d|ll|m|re|s|t|ve))?",_p="(?:"+Ty+"(?:D|LL|M|RE|S|T|VE))?",Ry=zS+"?",Ly="["+vS+"]?",$S="(?:"+xS+"(?:"+[kS,Iy,Fy].join("|")+")"+Ly+Ry+")*",SS=Ly+Ry+$S,AS="(?:"+[CS,Iy,Fy].join("|")+")"+SS,TS=RegExp([Dr+"?"+Dy+"+"+hp+"(?="+[fp,Dr,"$"].join("|")+")",ES+"+"+_p+"(?="+[fp,Dr+pp,"$"].join("|")+")",Dr+"?"+pp+"+"+hp,Dr+"+"+_p,Oy,AS].join("|"),"g"),OS=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,DS=typeof Qt=="object"&&Qt&&Qt.Object===Object&&Qt,PS=typeof self=="object"&&self&&self.Object===Object&&self,IS=DS||PS||Function("return this")();function FS(e){return e.match(mS)||[]}function RS(e){return OS.test(e)}function LS(e){return e.match(TS)||[]}var MS=Object.prototype,NS=MS.toString,gp=IS.Symbol,yp=gp?gp.prototype:void 0,vp=yp?yp.toString:void 0;function VS(e){if(typeof e=="string")return e;if(HS(e))return vp?vp.call(e):"";var t=e+"";return t=="0"&&1/e==-cS?"-0":t}function BS(e){return!!e&&typeof e=="object"}function HS(e){return typeof e=="symbol"||BS(e)&&NS.call(e)==dS}function US(e){return e==null?"":VS(e)}function jS(e,t,n){return e=US(e),t=n?void 0:t,t===void 0?RS(e)?LS(e):FS(e):e.match(t)||[]}var qS=jS,WS=1/0,GS="[object Symbol]",KS=/^\s+/,Kd="\\ud800-\\udfff",My="\\u0300-\\u036f\\ufe20-\\ufe23",Ny="\\u20d0-\\u20f0",Vy="\\ufe0e\\ufe0f",ZS="["+Kd+"]",Oc="["+My+Ny+"]",Dc="\\ud83c[\\udffb-\\udfff]",YS="(?:"+Oc+"|"+Dc+")",By="[^"+Kd+"]",Hy="(?:\\ud83c[\\udde6-\\uddff]){2}",Uy="[\\ud800-\\udbff][\\udc00-\\udfff]",jy="\\u200d",qy=YS+"?",Wy="["+Vy+"]?",JS="(?:"+jy+"(?:"+[By,Hy,Uy].join("|")+")"+Wy+qy+")*",XS=Wy+qy+JS,QS="(?:"+[By+Oc+"?",Oc,Hy,Uy,ZS].join("|")+")",eA=RegExp(Dc+"(?="+Dc+")|"+QS+XS,"g"),tA=RegExp("["+jy+Kd+My+Ny+Vy+"]"),nA=typeof Qt=="object"&&Qt&&Qt.Object===Object&&Qt,sA=typeof self=="object"&&self&&self.Object===Object&&self,rA=nA||sA||Function("return this")();function oA(e){return e.split("")}function iA(e,t,n,s){for(var r=e.length,o=n+(s?1:-1);s?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function aA(e,t,n){if(t!==t)return iA(e,lA,n);for(var s=n-1,r=e.length;++s<r;)if(e[s]===t)return s;return-1}function lA(e){return e!==e}function uA(e,t){for(var n=-1,s=e.length;++n<s&&aA(t,e[n],0)>-1;);return n}function cA(e){return tA.test(e)}function bp(e){return cA(e)?dA(e):oA(e)}function dA(e){return e.match(eA)||[]}var mA=Object.prototype,fA=mA.toString,Cp=rA.Symbol,wp=Cp?Cp.prototype:void 0,zp=wp?wp.toString:void 0;function pA(e,t,n){var s=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(r);++s<r;)o[s]=e[s+t];return o}function Gy(e){if(typeof e=="string")return e;if(gA(e))return zp?zp.call(e):"";var t=e+"";return t=="0"&&1/e==-WS?"-0":t}function hA(e,t,n){var s=e.length;return n=n===void 0?s:n,!t&&n>=s?e:pA(e,t,n)}function _A(e){return!!e&&typeof e=="object"}function gA(e){return typeof e=="symbol"||_A(e)&&fA.call(e)==GS}function yA(e){return e==null?"":Gy(e)}function vA(e,t,n){if(e=yA(e),e&&(n||t===void 0))return e.replace(KS,"");if(!e||!(t=Gy(t)))return e;var s=bp(e),r=uA(s,bp(t));return hA(s,r).join("")}var bA=vA,Pc=1/0,CA=9007199254740991,wA=17976931348623157e292,kp=0/0,zA="[object Symbol]",kA=/^\s+|\s+$/g,xA=/^[-+]0x[0-9a-f]+$/i,EA=/^0b[01]+$/i,$A=/^0o[0-7]+$/i,Zd="\\ud800-\\udfff",Ky="\\u0300-\\u036f\\ufe20-\\ufe23",Zy="\\u20d0-\\u20f0",Yy="\\ufe0e\\ufe0f",SA="["+Zd+"]",Ic="["+Ky+Zy+"]",Fc="\\ud83c[\\udffb-\\udfff]",AA="(?:"+Ic+"|"+Fc+")",Jy="[^"+Zd+"]",Xy="(?:\\ud83c[\\udde6-\\uddff]){2}",Qy="[\\ud800-\\udbff][\\udc00-\\udfff]",ev="\\u200d",tv=AA+"?",nv="["+Yy+"]?",TA="(?:"+ev+"(?:"+[Jy,Xy,Qy].join("|")+")"+nv+tv+")*",OA=nv+tv+TA,DA="(?:"+[Jy+Ic+"?",Ic,Xy,Qy,SA].join("|")+")",Rc=RegExp(Fc+"(?="+Fc+")|"+DA+OA,"g"),PA=RegExp("["+ev+Zd+Ky+Zy+Yy+"]"),IA=parseInt,FA=typeof Qt=="object"&&Qt&&Qt.Object===Object&&Qt,RA=typeof self=="object"&&self&&self.Object===Object&&self,LA=FA||RA||Function("return this")(),MA=VA("length");function NA(e){return e.split("")}function VA(e){return function(t){return t==null?void 0:t[e]}}function Yd(e){return PA.test(e)}function sv(e){return Yd(e)?HA(e):MA(e)}function BA(e){return Yd(e)?UA(e):NA(e)}function HA(e){for(var t=Rc.lastIndex=0;Rc.test(e);)t++;return t}function UA(e){return e.match(Rc)||[]}var jA=Object.prototype,qA=jA.toString,xp=LA.Symbol,WA=Math.ceil,GA=Math.floor,Ep=xp?xp.prototype:void 0,$p=Ep?Ep.toString:void 0;function Sp(e,t){var n="";if(!e||t<1||t>CA)return n;do t%2&&(n+=e),t=GA(t/2),t&&(e+=e);while(t);return n}function KA(e,t,n){var s=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(r);++s<r;)o[s]=e[s+t];return o}function rv(e){if(typeof e=="string")return e;if(ov(e))return $p?$p.call(e):"";var t=e+"";return t=="0"&&1/e==-Pc?"-0":t}function ZA(e,t,n){var s=e.length;return n=n===void 0?s:n,!t&&n>=s?e:KA(e,t,n)}function YA(e,t){t=t===void 0?" ":rv(t);var n=t.length;if(n<2)return n?Sp(t,e):t;var s=Sp(t,WA(e/sv(t)));return Yd(t)?ZA(BA(s),0,e).join(""):s.slice(0,e)}function Ap(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function JA(e){return!!e&&typeof e=="object"}function ov(e){return typeof e=="symbol"||JA(e)&&qA.call(e)==zA}function XA(e){if(!e)return e===0?e:0;if(e=e8(e),e===Pc||e===-Pc){var t=e<0?-1:1;return t*wA}return e===e?e:0}function QA(e){var t=XA(e),n=t%1;return t===t?n?t-n:t:0}function e8(e){if(typeof e=="number")return e;if(ov(e))return kp;if(Ap(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ap(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(kA,"");var n=EA.test(e);return n||$A.test(e)?IA(e.slice(2),n?2:8):xA.test(e)?kp:+e}function t8(e){return e==null?"":rv(e)}function n8(e,t,n){e=t8(e),t=QA(t);var s=t?sv(e):0;return t&&s<t?e+YA(t-s,n):e}var s8=n8,r8=(e,t,n,s)=>{const r=(e+(s||"")).toString().includes("%");if(typeof e=="string"?[e,t,n,s]=e.match(/(0?\.?\d{1,3})%?\b/g).map(Number):s!==void 0&&(s=parseFloat(s)),typeof e!="number"||typeof t!="number"||typeof n!="number"||e>255||t>255||n>255)throw new TypeError("Expected three numbers below 256");if(typeof s=="number"){if(!r&&s>=0&&s<=1)s=Math.round(255*s);else if(r&&s>=0&&s<=100)s=Math.round(255*s/100);else throw new TypeError(`Expected alpha value (${s}) as a fraction or percentage`);s=(s|1<<8).toString(16).slice(1)}else s="";return(n|t<<8|e<<16|1<<24).toString(16).slice(1)+s};const fi="a-f\\d",o8=`#?[${fi}]{3}[${fi}]?`,i8=`#?[${fi}]{6}([${fi}]{2})?`,a8=new RegExp(`[^#${fi}]`,"gi"),l8=new RegExp(`^${o8}$|^${i8}$`,"i");var u8=(e,t={})=>{if(typeof e!="string"||a8.test(e)||!l8.test(e))throw new TypeError("Expected a valid hex string");e=e.replace(/^#/,"");let n=1;e.length===8&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),e.length===4&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const s=Number.parseInt(e,16),r=s>>16,o=s>>8&255,i=s&255,a=typeof t.alpha=="number"?t.alpha:n;if(t.format==="array")return[r,o,i,a];if(t.format==="css"){const u=a===1?"":` / ${Number((a*100).toFixed(2))}%`;return`rgb(${r} ${o} ${i}${u})`}return{red:r,green:o,blue:i,alpha:a}},c8=ky.exports,d8=qS,m8=bA,f8=s8,p8=r8,iv=u8;const Au=.75,Tu=.25,Ou=16777215,h8=49979693;var _8=function(e){return"#"+v8(String(JSON.stringify(e)))};function g8(e){var t=d8(e),n=[];return t.forEach(function(s){var r=c8(s);r&&n.push(iv(m8(r,"#"),{format:"array"}))}),n}function y8(e){var t=[0,0,0];return e.forEach(function(n){for(var s=0;s<3;s++)t[s]+=n[s]}),[t[0]/e.length,t[1]/e.length,t[2]/e.length]}function v8(e){var t,n=g8(e);n.length>0&&(t=y8(n));var s=1,r=0,o=1;if(e.length>0)for(var i=0;i<e.length;i++)e[i].charCodeAt(0)>r&&(r=e[i].charCodeAt(0)),o=parseInt(Ou/r),s=(s+e[i].charCodeAt(0)*o*h8)%Ou;var a=(s*e.length%Ou).toString(16);a=f8(a,6,a);var u=iv(a,{format:"array"});return t?p8(Tu*u[0]+Au*t[0],Tu*u[1]+Au*t[1],Tu*u[2]+Au*t[2]):a}function b8(e){const t=e.replace(/#/,""),n=parseInt(t.substr(0,2),16),s=parseInt(t.substr(2,2),16),r=parseInt(t.substr(4,2),16);return[.299*n,.587*s,.114*r].reduce((i,a)=>i+a)/255>.5}function C8(e){return b8(e)?"#000000":"#ffffff"}function w8(e){const t='<svg width="'+e.width+'" height="'+e.height+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '+e.width+" "+e.height+'" preserveAspectRatio="none"><defs><style type="text/css"> #holder text { fill: '+e.textColor+"; font-family: "+e.fontFamily+"; font-size: "+e.fontSize+"px; font-weight: "+e.fontWeight+'; } </style></defs><g id="holder"> <rect width="100%" height="100%" fill="'+e.backgroundColor+'"></rect> <g> <text text-anchor="middle" x="50%" y="50%" dy=".3em">'+e.caption+"</text> </g></g></svg>";return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(t)}function z8(e,t,n){const s=_8(t),r=C8(s),o={width:n.width,height:n.height,textColor:r,backgroundColor:s,caption:e,fontFamily:n.font_family,fontSize:n.font_size,fontWeight:n.font_weight};return w8(o)}const k8={name:"CoverArtwork",props:["artist","album","artwork_url","maxwidth","maxheight"],emits:["click"],data(){return{width:600,height:600,font_family:"sans-serif",font_size:200,font_weight:600,lazy_lifecycle:{error:e=>{e.src=this.dataURI()}}}},computed:{artwork_url_with_size(){return this.maxwidth>0&&this.maxheight>0?N.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):N.artwork_url_append_size_params(this.artwork_url)},alt_text(){return this.artist+" - "+this.album},caption(){return this.album?this.album.substring(0,2):this.artist?this.artist.substring(0,2):""}},methods:{dataURI(){return z8(this.caption,this.alt_text,{width:this.width,height:this.height,font_family:this.font_family,font_size:this.font_size,font_weight:this.font_weight})}}};function x8(e,t,n,s,r,o){const i=md("lazy");return z(),S("figure",null,[dt(l("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:o.artwork_url_with_size,lifecycle:r.lazy_lifecycle}]])])}var Gn=re(k8,[["render",x8]]);const kr=1e3,E8={name:"PageNowPlaying",components:{ModalDialogQueueItem:cy,CoverArtwork:Gn},data(){return{INTERVAL:kr,item_progress_ms:0,interval_id:0,is_dragged:!1,show_details_modal:!1,selected_item:{}}},computed:{progress(){return this.is_live?2:this.item_progress_ms/this.track.length_ms},is_live(){return this.track.length_ms==0},player(){return this.$store.state.player},track(){return this.$store.getters.now_playing},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_composer_for_genre(){return this.$store.getters.settings_option_show_composer_for_genre},composer(){return this.settings_option_show_composer_now_playing&&(!this.settings_option_show_composer_for_genre||this.track.genre&&this.settings_option_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.track.composer:null},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing},filepath(){return this.settings_option_show_filepath_now_playing?this.track.path:null}},watch:{player(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.item_progress_ms=this.player.item_progress_ms,this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,kr))}},created(){this.item_progress_ms=this.player.item_progress_ms,N.player_status().then(({data:e})=>{this.$store.commit(Od,e),this.player.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:{tick(){this.is_dragged||(this.is_live?this.item_progress_ms+=kr:this.item_progress_ms+kr>this.track.length_ms?this.item_progress_ms=this.track.length_ms:this.item_progress_ms+=kr)},start_dragging(){this.is_dragged=!0},end_dragging(){this.is_dragged=!1},seek(){this.is_live||N.player_seek_to_pos(this.item_progress_ms).catch(()=>{this.item_progress_ms=this.player.item_progress_ms})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},$8={class:"hero is-fullheight"},S8={key:0,class:"hero-body"},A8={class:"container has-text-centered",style:{"max-width":"500px"}},T8=["step","max"],O8={class:"is-flex is-justify-content-space-between"},D8=["textContent"],P8=["textContent"],I8=["textContent"],F8=["textContent"],R8=["textContent"],L8=["textContent"],M8=["textContent"],N8={key:1,class:"hero-body"},V8={class:"container has-text-centered"},B8=["textContent"],H8=["textContent"];function U8(e,t,n,s,r,o){const i=$("cover-artwork"),a=$("modal-dialog-queue-item");return z(),S("div",$8,[o.track.id>0?(z(),S("div",S8,[l("div",A8,[v(i,{artwork_url:o.track.artwork_url,artist:o.track.artist,album:o.track.album,class:"is-clickable fd-has-shadow fd-cover-big-image",onClick:t[0]||(t[0]=u=>o.open_dialog(o.track))},null,8,["artwork_url","artist","album"]),dt(l("input",{"onUpdate:modelValue":t[1]||(t[1]=u=>r.item_progress_ms=u),step:r.INTERVAL,max:o.is_live?r.INTERVAL:o.track.length_ms,type:"range",class:"slider mt-5",style:un({"--ratio":o.progress}),onChange:t[2]||(t[2]=(...u)=>o.seek&&o.seek(...u)),onTouchstart:t[3]||(t[3]=(...u)=>o.start_dragging&&o.start_dragging(...u)),onTouchend:t[4]||(t[4]=(...u)=>o.end_dragging&&o.end_dragging(...u))},null,44,T8),[[It,r.item_progress_ms,void 0,{number:!0}]]),l("div",O8,[l("p",{class:"subtitle is-7",textContent:g(e.$filters.durationInHours(r.item_progress_ms))},null,8,D8),l("p",{class:"subtitle is-7",textContent:g(e.$filters.durationInHours(o.track.length_ms))},null,8,P8)]),l("p",{class:"title is-5",textContent:g(o.track.title)},null,8,I8),l("p",{class:"title is-6",textContent:g(o.track.artist)},null,8,F8),o.composer?(z(),S("p",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(o.composer)},null,8,R8)):B("",!0),o.track.album?(z(),S("p",{key:1,class:"subtitle is-6",textContent:g(o.track.album)},null,8,L8)):B("",!0),o.filepath?(z(),S("p",{key:2,class:"subtitle is-6 has-text-grey",textContent:g(o.filepath)},null,8,M8)):B("",!0)])])):(z(),S("div",N8,[l("div",V8,[l("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,B8),l("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,H8)])])),v(a,{show:r.show_details_modal,item:r.selected_item,onClose:t[5]||(t[5]=u=>r.show_details_modal=!1)},null,8,["show","item"])])}var j8=re(E8,[["render",U8]]);const q8={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},W8={class:"section fd-tabs-section"},G8={class:"container"},K8={class:"columns is-centered"},Z8={class:"column is-four-fifths"},Y8={class:"tabs is-centered is-small"},J8=["onClick","onKeypress"],X8={class:"icon is-small"},Q8=["textContent"],eT=["onClick","onKeypress"],tT={class:"icon is-small"},nT=["textContent"],sT=["onClick","onKeypress"],rT={class:"icon is-small"},oT=["textContent"],iT=["onClick","onKeypress"],aT={class:"icon is-small"},lT=["textContent"],uT=["onClick","onKeypress"],cT={class:"icon is-small"},dT=["textContent"],mT=["onClick","onKeypress"],fT={class:"icon is-small"},pT=["textContent"];function hT(e,t,n,s,r,o){const i=$("mdicon"),a=$("router-link");return z(),S("section",W8,[l("div",G8,[l("div",K8,[l("div",Z8,[l("div",Y8,[l("ul",null,[v(a,{to:"/music/browse",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",X8,[v(i,{name:"web",size:"16"})]),l("span",{textContent:g(e.$t("page.browse.tabs.browse"))},null,8,Q8)],40,J8)],2)]),_:1}),v(a,{to:"/music/artists",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",tT,[v(i,{name:"account-music",size:"16"})]),l("span",{textContent:g(e.$t("page.browse.tabs.artists"))},null,8,nT)],40,eT)],2)]),_:1}),v(a,{to:"/music/albums",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",rT,[v(i,{name:"album",size:"16"})]),l("span",{textContent:g(e.$t("page.browse.tabs.albums"))},null,8,oT)],40,sT)],2)]),_:1}),v(a,{to:"/music/genres",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",aT,[v(i,{name:"speaker",size:"16"})]),l("span",{textContent:g(e.$t("page.browse.tabs.genres"))},null,8,lT)],40,iT)],2)]),_:1}),v(a,{to:"/music/composers",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",cT,[v(i,{name:"book-open-page-variant",size:"16"})]),l("span",{textContent:g(e.$t("page.browse.tabs.composers"))},null,8,dT)],40,uT)],2)]),_:1}),o.spotify_enabled?(z(),ve(a,{key:0,to:"/music/spotify",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",fT,[v(i,{name:"spotify",size:"16"})]),l("span",{textContent:g(e.$t("page.browse.tabs.spotify"))},null,8,pT)],40,mT)],2)]),_:1})):B("",!0)])])])])])])}var os=re(q8,[["render",hT]]);const _T={name:"ModalDialogAlbum",components:{CoverArtwork:Gn},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return N.artwork_url_append_size_params(this.album.artwork_url)},media_kind_resolved(){return this.media_kind?this.media_kind:this.album.media_kind}},methods:{play(){this.$emit("close"),N.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.album.uri)},open_album(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({path:"/podcasts/"+this.album.id}):this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/"+this.album.id}):this.$router.push({path:"/music/albums/"+this.album.id})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id}):this.$router.push({path:"/music/artists/"+this.album.artist_id})},mark_played(){N.library_album_track_update(this.album.id,{play_count:"played"}).then(({data:e})=>{this.$emit("play-count-changed"),this.$emit("close")})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},gT={key:0,class:"modal is-active"},yT={class:"modal-content fd-modal-card"},vT={class:"card"},bT={class:"card-content"},CT={class:"title is-4"},wT=["textContent"],zT={key:0,class:"buttons"},kT=["textContent"],xT=["textContent"],ET={class:"content is-small"},$T={key:0},ST=["textContent"],AT=["textContent"],TT={key:1},OT=["textContent"],DT=["textContent"],PT={key:2},IT=["textContent"],FT=["textContent"],RT=["textContent"],LT=["textContent"],MT=["textContent"],NT=["textContent"],VT=["textContent"],BT=["textContent"],HT=["textContent"],UT=["textContent"],jT={class:"card-footer"},qT={class:"icon"},WT=["textContent"],GT={class:"icon"},KT=["textContent"],ZT={class:"icon"},YT=["textContent"];function JT(e,t,n,s,r,o){const i=$("cover-artwork"),a=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",gT,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=u=>e.$emit("close"))}),l("div",yT,[l("div",vT,[l("div",bT,[v(i,{artwork_url:n.album.artwork_url,artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-has-margin-bottom fd-cover fd-cover-normal-image"},null,8,["artwork_url","artist","album"]),l("p",CT,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...u)=>o.open_album&&o.open_album(...u)),textContent:g(n.album.name)},null,8,wT)]),o.media_kind_resolved==="podcast"?(z(),S("div",zT,[l("a",{class:"button is-small",onClick:t[2]||(t[2]=(...u)=>o.mark_played&&o.mark_played(...u)),textContent:g(e.$t("dialog.album.mark-as-played"))},null,8,kT),n.album.data_kind==="url"?(z(),S("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=u=>e.$emit("remove-podcast")),textContent:g(e.$t("dialog.album.remove-podcast"))},null,8,xT)):B("",!0)])):B("",!0),l("div",ET,[n.album.artist?(z(),S("p",$T,[l("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,ST),l("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...u)=>o.open_artist&&o.open_artist(...u)),textContent:g(n.album.artist)},null,8,AT)])):B("",!0),n.album.date_released?(z(),S("p",TT,[l("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,OT),l("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.date_released))},null,8,DT)])):n.album.year>0?(z(),S("p",PT,[l("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,IT),l("span",{class:"title is-6",textContent:g(n.album.year)},null,8,FT)])):B("",!0),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,RT),l("span",{class:"title is-6",textContent:g(n.album.track_count)},null,8,LT)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,MT),l("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.album.length_ms))},null,8,NT)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,VT),l("span",{class:"title is-6",textContent:g([e.$t("media.kind."+n.album.media_kind),e.$t("data.kind."+n.album.data_kind)].join(" - "))},null,8,BT)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,HT),l("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.album.time_added))},null,8,UT)])])]),l("footer",jT,[l("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...u)=>o.queue_add&&o.queue_add(...u))},[l("span",qT,[v(a,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,WT)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...u)=>o.queue_add_next&&o.queue_add_next(...u))},[l("span",GT,[v(a,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,KT)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...u)=>o.play&&o.play(...u))},[l("span",ZT,[v(a,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,YT)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=u=>e.$emit("close"))})])):B("",!0)]),_:1})])}var Gl=re(_T,[["render",JT]]);const XT={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},QT={key:0,class:"modal is-active"},eO={class:"modal-content fd-modal-card"},tO={class:"card"},nO={class:"card-content"},sO=["textContent"],rO={class:"card-footer"},oO={class:"icon"},iO=["textContent"],aO={class:"icon"},lO=["textContent"],uO={class:"icon"},cO=["textContent"];function dO(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",QT,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",eO,[l("div",tO,[l("div",nO,[n.title?(z(),S("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,sO)):B("",!0),ut(e.$slots,"modal-content")]),l("footer",rO,[l("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[l("span",oO,[v(i,{name:"cancel",size:"16"})]),l("span",{class:"is-size-7",textContent:g(n.close_action?n.close_action:e.$t("dialog.cancel"))},null,8,iO)]),n.delete_action?(z(),S("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[l("span",aO,[v(i,{name:"delete",size:"16"})]),l("span",{class:"is-size-7",textContent:g(n.delete_action)},null,8,lO)])):B("",!0),n.ok_action?(z(),S("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[l("span",uO,[v(i,{name:"check",size:"16"})]),l("span",{class:"is-size-7",textContent:g(n.ok_action)},null,8,cO)])):B("",!0)])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):B("",!0)]),_:3})])}var Jd=re(XT,[["render",dO]]);const mO={name:"ListAlbums",components:{CoverArtwork:Gn,ModalDialogAlbum:Gl,ModalDialog:Jd},props:["albums","media_kind","hide_group_title"],emits:["play-count-changed","podcast-deleted"],data(){return{show_details_modal:!1,selected_album:{},show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value},media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_album.media_kind}},methods:{open_album(e){this.selected_album=e,this.media_kind_resolved==="podcast"?this.$router.push({path:"/podcasts/"+e.id}):this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/"+e.id}):this.$router.push({path:"/music/albums/"+e.id})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},open_remove_podcast_dialog(){N.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{N.library_track_playlists(e.items[0].id).then(({data:t})=>{this.rss_playlist_to_remove=t.items.filter(n=>n.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed(){this.$emit("play-count-changed")},remove_podcast(){this.show_remove_podcast_modal=!1,N.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},fO={key:0,class:"mt-6 mb-5 py-2"},pO=["id","textContent"],hO=["onClick"],_O={key:0,class:"media-left"},gO={class:"media-content is-clickable is-clipped"},yO={style:{"margin-top":"0.7rem"}},vO=["textContent"],bO={class:"subtitle is-7 has-text-grey"},CO=["textContent"],wO=["textContent"],zO={class:"media-right",style:{"padding-top":"0.7rem"}},kO=["onClick"],xO={class:"icon has-text-dark"},EO=["textContent"],$O={class:"is-size-7"},SO=["textContent"],AO=["textContent"];function TO(e,t,n,s,r,o){const i=$("cover-artwork"),a=$("mdicon"),u=$("modal-dialog-album"),c=$("modal-dialog");return z(),S(De,null,[(z(!0),S(De,null,ht(n.albums,d=>(z(),S(De,{key:d.itemId},[!d.isItem&&!n.hide_group_title?(z(),S("div",fO,[l("span",{id:"index_"+d.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(d.groupKey)},null,8,pO)])):d.isItem?(z(),S("div",{key:1,class:"media",onClick:f=>o.open_album(d.item)},[o.is_visible_artwork?(z(),S("div",_O,[v(i,{artwork_url:d.item.artwork_url,artist:d.item.artist,album:d.item.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",onClick:t[0]||(t[0]=f=>e.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])):B("",!0),l("div",gO,[l("div",yO,[l("h1",{class:"title is-6",textContent:g(d.item.name)},null,8,vO),l("h2",bO,[l("b",{textContent:g(d.item.artist)},null,8,CO)]),d.item.date_released&&d.item.media_kind==="music"?(z(),S("h2",{key:0,class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g(e.$filters.date(d.item.date_released))},null,8,wO)):B("",!0)])]),l("div",zO,[l("a",{onClick:it(f=>o.open_dialog(d.item),["prevent","stop"])},[l("span",xO,[v(a,{name:"dots-vertical",size:"16"})])],8,kO)])],8,hO)):B("",!0)],64))),128)),(z(),ve(js,{to:"#app"},[v(u,{show:r.show_details_modal,album:r.selected_album,media_kind:n.media_kind,onRemovePodcast:t[1]||(t[1]=d=>o.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=d=>o.play_count_changed()),onClose:t[3]||(t[3]=d=>r.show_details_modal=!1)},null,8,["show","album","media_kind"]),v(c,{show:r.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=d=>r.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":E(()=>[l("p",{textContent:g(e.$t("list.albums.info-1"))},null,8,EO),l("p",$O,[mt(" ("),l("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,SO),l("b",{textContent:g(r.rss_playlist_to_remove.name)},null,8,AO),mt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}var is=re(mO,[["render",TO]]);const OO={name:"ModalDialogTrack",props:["show","track"],emits:["close","play-count-changed"],data(){return{spotify_track:{}}},watch:{track(){if(this.track&&this.track.data_kind==="spotify"){const e=new Wn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.track.path.slice(this.track.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{play_track(){this.$emit("close"),N.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.track.uri)},open_album(){this.$emit("close"),this.track.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.track.album_id}):this.track.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.track.album_id}):this.$router.push({path:"/music/albums/"+this.track.album_id})},open_artist(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.track.album_artist_id})},open_genre(){this.$router.push({name:"Genre",params:{genre:this.track.genre}})},open_spotify_artist(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})},mark_new(){N.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){N.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})}}},DO={key:0,class:"modal is-active"},PO={class:"modal-content fd-modal-card"},IO={class:"card"},FO={class:"card-content"},RO=["textContent"],LO=["textContent"],MO={key:0,class:"buttons"},NO=["textContent"],VO=["textContent"],BO={class:"content is-small"},HO=["textContent"],UO=["textContent"],jO={key:0},qO=["textContent"],WO=["textContent"],GO={key:1},KO=["textContent"],ZO=["textContent"],YO={key:2},JO=["textContent"],XO=["textContent"],QO={key:3},e6=["textContent"],t6=["textContent"],n6={key:4},s6=["textContent"],r6=["textContent"],o6=["textContent"],i6=["textContent"],a6=["textContent"],l6=["textContent"],u6=["textContent"],c6=["textContent"],d6=["textContent"],m6={class:"title is-6"},f6=["textContent"],p6={key:0,class:"has-text-weight-normal"},h6=["textContent"],_6=["textContent"],g6=["textContent"],y6={class:"title is-6"},v6=["textContent"],b6=["textContent"],C6=["textContent"],w6=["textContent"],z6=["textContent"],k6=["textContent"],x6=["textContent"],E6=["textContent"],$6={key:5},S6=["textContent"],A6=["textContent"],T6={class:"card-footer"},O6={class:"icon"},D6=["textContent"],P6={class:"icon"},I6=["textContent"],F6={class:"icon"},R6=["textContent"];function L6(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",DO,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",PO,[l("div",IO,[l("div",FO,[l("p",{class:"title is-4",textContent:g(n.track.title)},null,8,RO),l("p",{class:"subtitle",textContent:g(n.track.artist)},null,8,LO),n.track.media_kind==="podcast"?(z(),S("div",MO,[n.track.play_count>0?(z(),S("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>o.mark_new&&o.mark_new(...a)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,NO)):B("",!0),n.track.play_count===0?(z(),S("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>o.mark_played&&o.mark_played(...a)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,VO)):B("",!0)])):B("",!0),l("div",BO,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,HO),l("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:g(n.track.album)},null,8,UO)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(z(),S("p",jO,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,qO),l("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.track.album_artist)},null,8,WO)])):B("",!0),n.track.composer?(z(),S("p",GO,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,KO),l("span",{class:"title is-6",textContent:g(n.track.composer)},null,8,ZO)])):B("",!0),n.track.date_released?(z(),S("p",YO,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,JO),l("span",{class:"title is-6",textContent:g(e.$filters.date(n.track.date_released))},null,8,XO)])):n.track.year>0?(z(),S("p",QO,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,e6),l("span",{class:"title is-6",textContent:g(n.track.year)},null,8,t6)])):B("",!0),n.track.genre?(z(),S("p",n6,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,s6),l("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:g(n.track.genre)},null,8,r6)])):B("",!0),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,o6),l("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,i6)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,a6),l("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.length_ms))},null,8,l6)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,u6),l("span",{class:"title is-6",textContent:g(n.track.path)},null,8,c6)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,d6),l("span",m6,[l("span",{textContent:g([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,f6),n.track.data_kind==="spotify"?(z(),S("span",p6,[mt(" ("),l("a",{onClick:t[6]||(t[6]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:g(e.$t("dialog.track.spotify-artist"))},null,8,h6),mt(", "),l("a",{onClick:t[7]||(t[7]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:g(e.$t("dialog.track.spotify-album"))},null,8,_6),mt(") ")])):B("",!0)])]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,g6),l("span",y6,[l("span",{textContent:g(n.track.type)},null,8,v6),n.track.samplerate?(z(),S("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,b6)):B("",!0),n.track.channels?(z(),S("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,C6)):B("",!0),n.track.bitrate?(z(),S("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,w6)):B("",!0)])]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,z6),l("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.track.time_added))},null,8,k6)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,x6),l("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,E6)]),n.track.comment?(z(),S("p",$6,[l("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,S6),l("span",{class:"title is-6",textContent:g(n.track.comment)},null,8,A6)])):B("",!0)])]),l("footer",T6,[l("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",O6,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,D6)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[9]||(t[9]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",P6,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,I6)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...a)=>o.play_track&&o.play_track(...a))},[l("span",F6,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,R6)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var M6=re(OO,[["render",L6]]);const N6={name:"ProgressBar",props:["max","value"],computed:{width(){return this.value>0&&this.max>0?parseInt(this.value*100/this.max):0},width_percent(){return this.width+"%"}}};function V6(e,t,n,s,r,o){return o.width>0?(z(),S("div",{key:0,class:"progress-bar mt-2",style:un({width:o.width_percent})},null,4)):B("",!0)}var B6=re(N6,[["render",V6]]);const H6={name:"ListTracks",components:{ModalDialogTrack:M6,ProgressBar:B6},props:["tracks","uris","expression","show_progress","show_icon"],emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track(e,t){this.uris?N.player_play_uri(this.uris,!1,e):this.expression?N.player_play_expression(this.expression,!1,e):N.player_play_uri(t.uri,!1)},open_dialog(e){this.selected_track=e,this.show_details_modal=!0}}},U6={key:0,class:"mt-6 mb-5 py-2"},j6=["id","textContent"],q6=["onClick"],W6={key:0,class:"media-left is-clickable"},G6={class:"icon"},K6={class:"media-content is-clickable is-clipped"},Z6=["textContent"],Y6=["textContent"],J6=["textContent"],X6={class:"media-right"},Q6=["onClick"],e3={class:"icon has-text-dark"};function t3(e,t,n,s,r,o){const i=$("mdicon"),a=$("progress-bar"),u=$("modal-dialog-track");return z(),S(De,null,[(z(!0),S(De,null,ht(n.tracks,(c,d)=>(z(),S(De,{key:c.itemId},[c.isItem?c.isItem?(z(),S("div",{key:1,class:Te(["media",{"with-progress":n.show_progress}]),onClick:f=>o.play_track(d,c.item)},[n.show_icon?(z(),S("figure",W6,[l("span",G6,[v(i,{name:"file-outline",size:"16"})])])):B("",!0),l("div",K6,[l("h1",{class:Te(["title is-6",{"has-text-grey":c.item.media_kind==="podcast"&&c.item.play_count>0}]),textContent:g(c.item.title)},null,10,Z6),l("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.artist)},null,8,Y6),l("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.album)},null,8,J6),n.show_progress?(z(),ve(a,{key:0,max:c.item.length_ms,value:c.item.seek_ms},null,8,["max","value"])):B("",!0)]),l("div",X6,[l("a",{onClick:it(f=>o.open_dialog(c.item),["prevent","stop"])},[l("span",e3,[v(i,{name:"dots-vertical",size:"16"})])],8,Q6)])],10,q6)):B("",!0):(z(),S("div",U6,[l("span",{id:"index_"+c.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(c.groupKey)},null,8,j6)]))],64))),128)),(z(),ve(js,{to:"#app"},[v(u,{show:r.show_details_modal,track:r.selected_track,onClose:t[0]||(t[0]=c=>r.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=c=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}var wn=re(H6,[["render",t3]]);const{t:Du,locale:Xd}=Fl.global,av="GROUP_KEY_NONE";function lv(){return{compareFn:null,groupKeyFn:e=>av}}function Kn(e,t=!1,n="_"){return{compareFn:t?null:(s,r)=>{const o=s[e]||n,i=r[e]||n;return o.localeCompare(i,Xd.value)},groupKeyFn:s=>{const r=(s[e]||n).charAt(0);return r.match(/\p{Letter}/gu)?r.toUpperCase():r.match(/\p{Number}/gu)?"#":"\u2318"}}}function Qd(e,{direction:t="asc",defaultValue:n=0}){return{compareFn:(s,r)=>{const o=s[e]||n,i=r[e]||n,a=o-i;return t==="asc"?a:a*-1},groupKeyFn:s=>{const r=s[e]||n;return Math.floor(r/10)}}}function ul(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(s,r)=>{const o=s[e]||n,i=r[e]||n,a=o.localeCompare(i,Xd.value);return t==="asc"?a:a*-1},groupKeyFn:s=>(s[e]||n).substring(0,4)}}function n3(e,t="0000"){return{compareFn:(n,s)=>{const r=n[e]||t;return(s[e]||t).localeCompare(r,Xd.value)},groupKeyFn:n=>{const s=n[e];if(!s)return t;const r=new Date().getTime()-new Date(s).getTime();return r<864e5?Du("group-by-list.today"):r<6048e5?Du("group-by-list.last-week"):r<2592e6?Du("group-by-list.last-month"):s.substring(0,4)}}}class ze{constructor({items:t=[],total:n=0,offset:s=0,limit:r=-1}={}){this.items=t,this.total=n,this.offset=s,this.limit=r,this.count=t.length,this.indexList=[],this.group(lv())}get(){return this.itemsByGroup}isEmpty(){return!this.items||this.items.length<=0}group(t,n=[]){const s=n?this.items.filter(o=>n.every(i=>i(o))):this.items;this.count=s.length;let r=t.compareFn?[...s].sort(t.compareFn):s;this.indexList=[...new Set(r.map(t.groupKeyFn))],this.itemsByGroup=r.reduce((o,i)=>{const a=t.groupKeyFn(i);return o[a]=[...o[a]||[],i],o},{})}[Symbol.iterator](){let t=-1,n=-1;return{next:()=>{if(this.isEmpty())return{done:!0};if(t>=this.indexList.length)return{done:!0};if(t<0&&(++t,n=0,this.indexList[t]!==av))return{value:{groupKey:this.indexList[t],itemId:this.indexList[t],isItem:!1,item:{}},done:!1};let s=this.indexList[t],r=this.itemsByGroup[s];if(n<r.length){const o=this.itemsByGroup[s][n++];return{value:{groupKey:s,itemId:o.id,isItem:!0,item:o},done:!1}}else return++t,n=0,t<this.indexList.length?(s=this.indexList[t],{value:{groupKey:s,itemId:s,isItem:!1,item:{}},done:!1}):{done:!0}}}}}const Ji={load(e){return Promise.all([N.search({type:"album",expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3}),N.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3})])},set(e,t){e.recently_added=new ze(t[0].data.albums),e.recently_played=new ze(t[1].data.tracks)}},s3={name:"PageBrowse",components:{ContentWithHeading:st,TabsMusic:os,ListAlbums:is,ListTracks:wn},beforeRouteEnter(e,t,n){Ji.load(e).then(s=>{n(r=>Ji.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;Ji.load(e).then(r=>{Ji.set(s,r),n()})},data(){return{recently_added:[],recently_played:{items:[]},show_track_details_modal:!1,selected_track:{}}},methods:{open_browse(e){this.$router.push({path:"/music/browse/"+e})}}},r3={class:"fd-page-with-tabs"},o3=["textContent"],i3=["textContent"],a3={class:"level"},l3={class:"level-item"},u3=["textContent"],c3=["textContent"],d3=["textContent"],m3={class:"level"},f3={class:"level-item"},p3=["textContent"];function h3(e,t,n,s,r,o){const i=$("tabs-music"),a=$("list-albums"),u=$("content-with-heading"),c=$("list-tracks");return z(),S("div",r3,[v(i),v(u,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-added.title"))},null,8,o3),l("p",{class:"heading",textContent:g(e.$t("page.browse.albums"))},null,8,i3)]),content:E(()=>[v(a,{albums:r.recently_added},null,8,["albums"])]),footer:E(()=>[l("nav",a3,[l("p",l3,[l("a",{class:"button is-light is-small is-rounded",onClick:t[0]||(t[0]=d=>o.open_browse("recently_added")),textContent:g(e.$t("page.browse.show-more"))},null,8,u3)])])]),_:1}),v(u,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-played.title"))},null,8,c3),l("p",{class:"heading",textContent:g(e.$t("page.browse.tracks"))},null,8,d3)]),content:E(()=>[v(c,{tracks:r.recently_played},null,8,["tracks"])]),footer:E(()=>[l("nav",m3,[l("p",f3,[l("a",{class:"button is-light is-small is-rounded",onClick:t[1]||(t[1]=d=>o.open_browse("recently_played")),textContent:g(e.$t("page.browse.show-more"))},null,8,p3)])])]),_:1})])}var _3=re(s3,[["render",h3]]);const Xi={load(e){const t=Ke.getters.settings_option_recently_added_limit;return N.search({type:"album",expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t})},set(e,t){e.recently_added=new ze(t.data.albums),e.recently_added.group(n3("time_added",{direction:"desc"}))}},g3={name:"PageBrowseType",components:{ContentWithHeading:st,TabsMusic:os,ListAlbums:is},beforeRouteEnter(e,t,n){Xi.load(e).then(s=>{n(r=>Xi.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const s=this;Xi.load(e).then(r=>{Xi.set(s,r),n()})},data(){return{recently_added:new ze}}},y3={class:"fd-page-with-tabs"},v3=["textContent"],b3=["textContent"];function C3(e,t,n,s,r,o){const i=$("tabs-music"),a=$("list-albums"),u=$("content-with-heading");return z(),S("div",y3,[v(i),v(u,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-added.title"))},null,8,v3),l("p",{class:"heading",textContent:g(e.$t("page.browse.recently-added.albums"))},null,8,b3)]),content:E(()=>[v(a,{albums:r.recently_added},null,8,["albums"])]),_:1})])}var w3=re(g3,[["render",C3]]);const Qi={load(e){return N.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50})},set(e,t){e.recently_played=new ze(t.data.tracks)}},z3={name:"PageBrowseType",components:{ContentWithHeading:st,TabsMusic:os,ListTracks:wn},beforeRouteEnter(e,t,n){Qi.load(e).then(s=>{n(r=>Qi.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;Qi.load(e).then(r=>{Qi.set(s,r),n()})},data(){return{recently_played:{}}}},k3={class:"fd-page-with-tabs"},x3=["textContent"],E3=["textContent"];function $3(e,t,n,s,r,o){const i=$("tabs-music"),a=$("list-tracks"),u=$("content-with-heading");return z(),S("div",k3,[v(i),v(u,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-played.title"))},null,8,x3),l("p",{class:"heading",textContent:g(e.$t("page.browse.recently-played.tracks"))},null,8,E3)]),content:E(()=>[v(a,{tracks:r.recently_played},null,8,["tracks"])]),_:1})])}var S3=re(z3,[["render",$3]]);const A3={name:"IndexButtonList",props:["index"],methods:{nav(e){this.$router.push({hash:"#index_"+e})}}},T3={class:"buttons is-centered fd-is-square",style:{"margin-bottom":"16px"}},O3=["onClick","textContent"];function D3(e,t,n,s,r,o){return z(),S("section",null,[l("nav",T3,[(z(!0),S(De,null,ht(n.index,i=>(z(),S("a",{key:i,class:"button is-small",onClick:a=>o.nav(i),textContent:g(i)},null,8,O3))),128))])])}var as=re(A3,[["render",D3]]);const P3={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.artist.id})}}},I3={key:0,class:"modal is-active"},F3={class:"modal-content fd-modal-card"},R3={class:"card"},L3={class:"card-content"},M3={class:"title is-4"},N3=["textContent"],V3={class:"content is-small"},B3=["textContent"],H3=["textContent"],U3=["textContent"],j3=["textContent"],q3=["textContent"],W3=["textContent"],G3=["textContent"],K3=["textContent"],Z3={class:"card-footer"},Y3={class:"icon"},J3=["textContent"],X3={class:"icon"},Q3=["textContent"],e4={class:"icon"},t4=["textContent"];function n4(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",I3,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",F3,[l("div",R3,[l("div",L3,[l("p",M3,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.artist.name)},null,8,N3)]),l("div",V3,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,B3),l("span",{class:"title is-6",textContent:g(n.artist.album_count)},null,8,H3)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,U3),l("span",{class:"title is-6",textContent:g(n.artist.track_count)},null,8,j3)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,q3),l("span",{class:"title is-6",textContent:g(e.$t("data.kind."+n.artist.data_kind))},null,8,W3)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,G3),l("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.artist.time_added))},null,8,K3)])])]),l("footer",Z3,[l("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",Y3,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,J3)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",X3,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,Q3)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[l("span",e4,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,t4)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var Kl=re(P3,[["render",n4]]);const s4={name:"ListArtists",components:{ModalDialogArtist:Kl},props:["artists","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_artist:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_artist.media_kind}},methods:{open_artist(e){this.selected_artist=e,this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+e.id}):this.$router.push({path:"/music/artists/"+e.id})},open_dialog(e){this.selected_artist=e,this.show_details_modal=!0}}},r4={key:0,class:"mt-6 mb-5 py-2"},o4={class:"media-content is-clipped"},i4=["id","textContent"],a4=["onClick"],l4={class:"media-content is-clickable is-clipped"},u4=["textContent"],c4={class:"media-right"},d4=["onClick"],m4={class:"icon has-text-dark"};function f4(e,t,n,s,r,o){const i=$("mdicon"),a=$("modal-dialog-artist");return z(),S(De,null,[(z(!0),S(De,null,ht(n.artists,u=>(z(),S(De,{key:u.itemId},[!u.isItem&&!n.hide_group_title?(z(),S("div",r4,[l("div",o4,[l("span",{id:"index_"+u.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(u.groupKey)},null,8,i4)])])):u.isItem?(z(),S("div",{key:1,class:"media",onClick:c=>o.open_artist(u.item)},[l("div",l4,[l("h1",{class:"title is-6",textContent:g(u.item.name)},null,8,u4)]),l("div",c4,[l("a",{onClick:it(c=>o.open_dialog(u.item),["prevent","stop"])},[l("span",m4,[v(i,{name:"dots-vertical",size:"16"})])],8,d4)])],8,a4)):B("",!0)],64))),128)),(z(),ve(js,{to:"#app"},[v(a,{show:r.show_details_modal,artist:r.selected_artist,media_kind:n.media_kind,onClose:t[0]||(t[0]=u=>r.show_details_modal=!1)},null,8,["show","artist","media_kind"])]))],64)}var em=re(s4,[["render",f4]]);const p4={name:"DropdownMenu",props:["modelValue","options"],emits:["update:modelValue"],data(){return{is_active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.modelValue)}}},methods:{onClickOutside(e){this.is_active=!1},select(e){this.is_active=!1,this.$emit("update:modelValue",e.id)}}},h4={class:"dropdown-trigger"},_4=["textContent"],g4={class:"icon"},y4={id:"dropdown-menu",class:"dropdown-menu",role:"menu"},v4={class:"dropdown-content"},b4=["onClick","textContent"];function C4(e,t,n,s,r,o){const i=$("mdicon"),a=md("click-away");return dt((z(),S("div",{class:Te(["dropdown",{"is-active":r.is_active}])},[l("div",h4,[l("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",onClick:t[0]||(t[0]=u=>r.is_active=!r.is_active)},[l("span",{textContent:g(o.option.name)},null,8,_4),l("span",g4,[v(i,{name:"chevron-down",size:"16"})])])]),l("div",y4,[l("div",v4,[(z(!0),S(De,null,ht(n.options,u=>(z(),S("a",{key:u.id,class:Te(["dropdown-item",{"is-active":n.modelValue===u.id}]),onClick:c=>o.select(u),textContent:g(u.name)},null,10,b4))),128))])])],2)),[[a,o.onClickOutside]])}var _r=re(p4,[["render",C4]]);const ea={load(e){return N.library_artists("music")},set(e,t){e.artists_list=new ze(t.data)}},w4={name:"PageArtists",components:{ContentWithHeading:st,TabsMusic:os,IndexButtonList:as,ListArtists:em,DropdownMenu:_r},beforeRouteEnter(e,t,n){ea.load(e).then(s=>{n(r=>ea.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const s=this;ea.load(e).then(r=>{ea.set(s,r),n()})},data(){return{artists_list:new ze,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:Kn("name_sort",!0)},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:ul("time_added",{direction:"desc"})}]}},computed:{artists(){if(!this.artists_list)return[];const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.artists_list.group(e.options,[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.artists_list},selected_groupby_option_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(Eg,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(Ml,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Fd,e)}}},methods:{}},z4={class:"fd-page-with-tabs"},k4={class:"columns"},x4={class:"column"},E4=["textContent"],$4={class:"field"},S4={class:"control"},A4=["textContent"],T4=["textContent"],O4={key:0,class:"field"},D4={class:"control"},P4=["textContent"],I4=["textContent"],F4={class:"column"},R4=["textContent"],L4=["textContent"],M4=["textContent"];function N4(e,t,n,s,r,o){const i=$("tabs-music"),a=$("index-button-list"),u=$("dropdown-menu"),c=$("list-artists"),d=$("content-with-heading");return z(),S("div",z4,[v(i),v(d,null,{options:E(()=>[v(a,{index:o.artists.indexList},null,8,["index"]),l("div",k4,[l("div",x4,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.artists.filter"))},null,8,E4),l("div",$4,[l("div",S4,[dt(l("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[gs,o.hide_singles]]),l("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,A4)]),l("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,T4)]),o.spotify_enabled?(z(),S("div",O4,[l("div",D4,[dt(l("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[gs,o.hide_spotify]]),l("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,P4)]),l("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,I4)])):B("",!0)]),l("div",F4,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.artists.sort-by.title"))},null,8,R4),v(u,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:r.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,L4),l("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:o.artists.count}))},null,8,M4)]),"heading-right":E(()=>[]),content:E(()=>[v(c,{artists:o.artists},null,8,["artists"])]),_:1})])}var V4=re(w4,[["render",N4]]);const ta={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_albums(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.albums_list=new ze(t[1].data)}},B4={name:"PageArtist",components:{ContentWithHeading:st,ListAlbums:is,ModalDialogArtist:Kl,DropdownMenu:_r},beforeRouteEnter(e,t,n){ta.load(e).then(s=>{n(r=>ta.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ta.load(e).then(r=>{ta.set(s,r),n()})},data(){return{artist:{},albums_list:new ze,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Kn("name_sort",!0)},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:ul("date_released",{direction:"asc"})}],show_artist_details_modal:!1}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit($g,e)}}},methods:{open_tracks(){this.$router.push({path:"/music/artists/"+this.artist.id+"/tracks"})},play(){N.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},H4={class:"fd-page"},U4={class:"columns"},j4={class:"column"},q4=["textContent"],W4=["textContent"],G4={class:"buttons is-centered"},K4={class:"icon"},Z4={class:"icon"},Y4=["textContent"],J4={class:"heading has-text-centered-mobile"},X4=["textContent"],Q4=l("span",null,"\xA0|\xA0",-1),e5=["textContent"];function t5(e,t,n,s,r,o){const i=$("dropdown-menu"),a=$("mdicon"),u=$("list-albums"),c=$("modal-dialog-artist"),d=$("content-with-heading");return z(),S("div",H4,[v(d,null,{options:E(()=>[l("div",U4,[l("div",j4,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.artist.sort-by.title"))},null,8,q4),v(i,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=f=>o.selected_groupby_option_id=f),options:r.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.artist.name)},null,8,W4)]),"heading-right":E(()=>[l("div",G4,[l("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>r.show_artist_details_modal=!0)},[l("span",K4,[v(a,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>o.play&&o.play(...f))},[l("span",Z4,[v(a,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,Y4)])])]),content:E(()=>[l("p",J4,[l("span",{textContent:g(e.$t("page.artist.album-count",{count:r.artist.album_count}))},null,8,X4),Q4,l("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:g(e.$t("page.artist.track-count",{count:r.artist.track_count}))},null,8,e5)]),v(u,{albums:o.albums,hide_group_title:!0},null,8,["albums"]),v(c,{show:r.show_artist_details_modal,artist:r.artist,onClose:t[4]||(t[4]=f=>r.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}var n5=re(B4,[["render",t5]]);const na={load(e){return N.library_albums("music")},set(e,t){e.albums_list=new ze(t.data)}},s5={name:"PageAlbums",components:{ContentWithHeading:st,TabsMusic:os,IndexButtonList:as,ListAlbums:is,DropdownMenu:_r},beforeRouteEnter(e,t,n){na.load(e).then(s=>{n(r=>na.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const s=this;na.load(e).then(r=>{na.set(s,r),n()})},data(){return{albums_list:new ze,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:Kn("name_sort",!0)},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:ul("time_added",{direction:"desc"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:ul("date_released",{direction:"desc"})}]}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options,[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit(Ag,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(Ml,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Fd,e)}}}},r5={class:"fd-page-with-tabs"},o5={class:"columns"},i5={class:"column"},a5=["textContent"],l5={class:"field"},u5={class:"control"},c5=["textContent"],d5=["textContent"],m5={key:0,class:"field"},f5={class:"control"},p5=["textContent"],h5=["textContent"],_5={class:"column"},g5=["textContent"],y5=["textContent"],v5=["textContent"];function b5(e,t,n,s,r,o){const i=$("tabs-music"),a=$("index-button-list"),u=$("dropdown-menu"),c=$("list-albums"),d=$("content-with-heading");return z(),S("div",r5,[v(i),v(d,null,{options:E(()=>[v(a,{index:o.albums.indexList},null,8,["index"]),l("div",o5,[l("div",i5,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.albums.filter"))},null,8,a5),l("div",l5,[l("div",u5,[dt(l("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[gs,o.hide_singles]]),l("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,c5)]),l("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,d5)]),o.spotify_enabled?(z(),S("div",m5,[l("div",f5,[dt(l("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[gs,o.hide_spotify]]),l("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,p5)]),l("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,h5)])):B("",!0)]),l("div",_5,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.albums.sort-by.title"))},null,8,g5),v(u,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:r.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,y5),l("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:o.albums.count}))},null,8,v5)]),"heading-right":E(()=>[]),content:E(()=>[v(c,{albums:o.albums},null,8,["albums"])]),_:1})])}var C5=re(s5,[["render",b5]]);const w5={},z5={class:"fd-page"},k5={class:"hero is-light is-bold"},x5={class:"hero-body"},E5={class:"container"},$5={class:"columns is-centered"},S5={class:"column is-four-fifths"},A5={class:"columns",style:{"flex-direction":"row-reverse"}},T5={class:"column fd-has-cover"},O5={class:"column m-auto is-three-fifths has-text-centered-mobile"},D5={class:"section"},P5={class:"container"},I5={class:"columns is-centered"},F5={class:"column is-four-fifths"},R5={style:{"margin-top":"16px"}};function L5(e,t){return z(),S("div",z5,[l("section",k5,[l("div",x5,[l("div",E5,[l("div",$5,[l("div",S5,[l("div",A5,[l("div",T5,[ut(e.$slots,"heading-right")]),l("div",O5,[ut(e.$slots,"heading-left")])])])])])])]),l("section",D5,[l("div",P5,[l("div",I5,[l("div",F5,[ut(e.$slots,"content"),l("div",R5,[ut(e.$slots,"footer")])])])])])])}var tm=re(w5,[["render",L5]]);const sa={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_album_tracks(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new ze(t[1].data)}},M5={name:"PageAlbum",components:{ContentWithHero:tm,ListTracks:wn,ModalDialogAlbum:Gl,CoverArtwork:Gn},beforeRouteEnter(e,t,n){sa.load(e).then(s=>{n(r=>sa.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;sa.load(e).then(r=>{sa.set(s,r),n()})},data(){return{album:{},tracks:new ze,show_album_details_modal:!1}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.album.artist_id})},play(){N.player_play_uri(this.album.uri,!0)}}},N5=["textContent"],V5={class:"subtitle is-6 has-text-link has-text-weight-normal"},B5=["textContent"],H5={class:"buttons fd-is-centered-mobile fd-has-margin-top"},U5={class:"icon"},j5=["textContent"],q5={class:"icon"},W5=["textContent"];function G5(e,t,n,s,r,o){const i=$("mdicon"),a=$("cover-artwork"),u=$("list-tracks"),c=$("modal-dialog-album"),d=$("content-with-hero");return z(),ve(d,null,{"heading-left":E(()=>[l("h1",{class:"title is-5",textContent:g(r.album.name)},null,8,N5),l("h2",V5,[l("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(r.album.artist)},null,8,B5)]),l("div",H5,[l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[l("span",U5,[v(i,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,j5)]),l("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>r.show_album_details_modal=!0)},[l("span",q5,[v(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":E(()=>[v(a,{artwork_url:r.album.artwork_url,artist:r.album.artist,album:r.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>r.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[l("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:g(e.$t("page.album.track-count",{count:r.album.track_count}))},null,8,W5),v(u,{tracks:r.tracks,uris:r.album.uri},null,8,["tracks","uris"]),v(c,{show:r.show_album_details_modal,album:r.album,onClose:t[4]||(t[4]=f=>r.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var K5=re(M5,[["render",G5]]);const Z5={name:"ModalDialogGenre",props:["show","genre"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('genre is "'+this.genre.name+'" and media_kind is music')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('genre is "'+this.genre.name+'" and media_kind is music')},open_genre(){this.$emit("close"),this.$router.push({name:"Genre",params:{genre:this.genre.name}})}}},Y5={key:0,class:"modal is-active"},J5={class:"modal-content fd-modal-card"},X5={class:"card"},Q5={class:"card-content"},eD={class:"title is-4"},tD=["textContent"],nD={class:"content is-small"},sD=["textContent"],rD=["textContent"],oD=["textContent"],iD=["textContent"],aD=["textContent"],lD=["textContent"],uD={class:"card-footer"},cD={class:"icon"},dD=["textContent"],mD={class:"icon"},fD=["textContent"],pD={class:"icon"},hD=["textContent"];function _D(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",Y5,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",J5,[l("div",X5,[l("div",Q5,[l("p",eD,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:g(n.genre.name)},null,8,tD)]),l("div",nD,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,sD),l("span",{class:"title is-6",textContent:g(n.genre.album_count)},null,8,rD)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,oD),l("span",{class:"title is-6",textContent:g(n.genre.track_count)},null,8,iD)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,aD),l("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.genre.length_ms))},null,8,lD)])])]),l("footer",uD,[l("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",cD,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,dD)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",mD,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,fD)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[l("span",pD,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,hD)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var nm=re(Z5,[["render",_D]]);const gD={name:"ListGenres",components:{ModalDialogGenre:nm},props:["genres","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_genre:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_genre.media_kind}},methods:{open_genre(e){this.$router.push({name:"Genre",params:{genre:e.name}})},open_dialog(e){this.selected_genre=e,this.show_details_modal=!0}}},yD={key:0,class:"mt-6 mb-5 py-2"},vD={class:"media-content is-clipped"},bD=["id","textContent"],CD=["onClick"],wD={class:"media-content is-clickable is-clipped"},zD=["textContent"],kD={class:"media-right"},xD=["onClick"],ED={class:"icon has-text-dark"};function $D(e,t,n,s,r,o){const i=$("mdicon"),a=$("modal-dialog-genre");return z(),S(De,null,[(z(!0),S(De,null,ht(n.genres,u=>(z(),S(De,{key:u.itemId},[!u.isItem&&!n.hide_group_title?(z(),S("div",yD,[l("div",vD,[l("span",{id:"index_"+u.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(u.groupKey)},null,8,bD)])])):u.isItem?(z(),S("div",{key:1,class:"media",onClick:c=>o.open_genre(u.item)},[l("div",wD,[l("h1",{class:"title is-6",textContent:g(u.item.name)},null,8,zD)]),l("div",kD,[l("a",{onClick:it(c=>o.open_dialog(u.item),["prevent","stop"])},[l("span",ED,[v(i,{name:"dots-vertical",size:"16"})])],8,xD)])],8,CD)):B("",!0)],64))),128)),(z(),ve(js,{to:"#app"},[v(a,{show:r.show_details_modal,genre:r.selected_genre,onClose:t[0]||(t[0]=u=>r.show_details_modal=!1)},null,8,["show","genre"])]))],64)}var SD=re(gD,[["render",$D]]);const ra={load(e){return N.library_genres("music")},set(e,t){e.genres=t.data,e.genres=new ze(t.data),e.genres.group(Kn("name_sort"))}},AD={name:"PageGenres",components:{ContentWithHeading:st,TabsMusic:os,IndexButtonList:as,ListGenres:SD},beforeRouteEnter(e,t,n){ra.load(e).then(s=>{n(r=>ra.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ra.load(e).then(r=>{ra.set(s,r),n()})},data(){return{genres:new ze}},computed:{},methods:{}},TD={class:"fd-page-with-tabs"},OD=["textContent"],DD=["textContent"];function PD(e,t,n,s,r,o){const i=$("tabs-music"),a=$("index-button-list"),u=$("list-genres"),c=$("content-with-heading");return z(),S("div",TD,[v(i),v(c,null,{options:E(()=>[v(a,{index:r.genres.indexList},null,8,["index"])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,OD),l("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:r.genres.total}))},null,8,DD)]),content:E(()=>[v(u,{genres:r.genres},null,8,["genres"])]),_:1})])}var ID=re(AD,[["render",PD]]);const oa={load(e){return Promise.all([N.library_genre(e.params.genre),N.library_genre_albums(e.params.genre)])},set(e,t){e.genre=t[0].data,e.albums_list=new ze(t[1].data.albums),e.albums_list.group(Kn("name_sort",!0))}},FD={name:"PageGenre",components:{ContentWithHeading:st,IndexButtonList:as,ListAlbums:is,ModalDialogGenre:nm},beforeRouteEnter(e,t,n){oa.load(e).then(s=>{n(r=>oa.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const s=this;oa.load(e).then(r=>{oa.set(s,r),n()})},data(){return{genre:{},albums_list:new ze,show_genre_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"GenreTracks",params:{genre:this.genre.name}})},play(){N.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!0)}}},RD={class:"fd-page"},LD=["textContent"],MD={class:"buttons is-centered"},ND={class:"icon"},VD={class:"icon"},BD=["textContent"],HD={class:"heading has-text-centered-mobile"},UD=["textContent"],jD=l("span",null,"\xA0|\xA0",-1),qD=["textContent"];function WD(e,t,n,s,r,o){const i=$("index-button-list"),a=$("mdicon"),u=$("list-albums"),c=$("modal-dialog-genre"),d=$("content-with-heading");return z(),S("div",RD,[v(d,null,{options:E(()=>[v(i,{index:r.albums_list.indexList},null,8,["index"])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.genre.name)},null,8,LD)]),"heading-right":E(()=>[l("div",MD,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>r.show_genre_details_modal=!0)},[l("span",ND,[v(a,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[l("span",VD,[v(a,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,BD)])])]),content:E(()=>[l("p",HD,[l("span",{textContent:g(e.$t("page.genre.album-count",{count:r.genre.album_count}))},null,8,UD),jD,l("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:g(e.$t("page.genre.track-count",{count:r.genre.track_count}))},null,8,qD)]),v(u,{albums:r.albums_list},null,8,["albums"]),v(c,{show:r.show_genre_details_modal,genre:r.genre,onClose:t[3]||(t[3]=f=>r.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}var GD=re(FD,[["render",WD]]);const ia={load(e){return Promise.all([N.library_genre(e.params.genre),N.library_genre_tracks(e.params.genre)])},set(e,t){e.genre=t[0].data,e.tracks_list=new ze(t[1].data.tracks)}},KD={name:"PageGenreTracks",components:{ContentWithHeading:st,DropdownMenu:_r,IndexButtonList:as,ListTracks:wn,ModalDialogGenre:nm},beforeRouteEnter(e,t,n){ia.load(e).then(s=>{n(r=>ia.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ia.load(e).then(r=>{ia.set(s,r),n()})},data(){return{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort-by.name"),options:Kn("title_sort")},{id:2,name:this.$t("page.genre.sort-by.rating"),options:Qd("rating",{direction:"desc"})}],show_genre_details_modal:!1,tracks_list:new ze}},computed:{expression(){return'genre is "'+this.genre.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(xg,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"Genre",params:{genre:this.genre.name}})},play(){N.player_play_expression(this.expression,!0)}}},ZD={class:"fd-page"},YD={class:"columns"},JD={class:"column"},XD=["textContent"],QD=["textContent"],eP={class:"buttons is-centered"},tP={class:"icon"},nP={class:"icon"},sP=["textContent"],rP={class:"heading has-text-centered-mobile"},oP=["textContent"],iP=l("span",null,"\xA0|\xA0",-1),aP=["textContent"];function lP(e,t,n,s,r,o){const i=$("index-button-list"),a=$("dropdown-menu"),u=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-genre"),f=$("content-with-heading");return z(),S("div",ZD,[v(f,null,{options:E(()=>[v(i,{index:o.tracks.indexList},null,8,["index"]),l("div",YD,[l("div",JD,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.genre.sort-by.title"))},null,8,XD),v(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:r.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.genre.name)},null,8,QD)]),"heading-right":E(()=>[l("div",eP,[l("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>r.show_genre_details_modal=!0)},[l("span",tP,[v(u,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[l("span",nP,[v(u,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,sP)])])]),content:E(()=>[l("p",rP,[l("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_genre&&o.open_genre(...m)),textContent:g(e.$t("page.genre.album-count",{count:r.genre.album_count}))},null,8,oP),iP,l("span",{textContent:g(e.$t("page.genre.track-count",{count:r.genre.track_count}))},null,8,aP)]),v(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),v(d,{show:r.show_genre_details_modal,genre:r.genre,onClose:t[4]||(t[4]=m=>r.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}var uP=re(KD,[["render",lP]]);const aa={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_tracks(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new ze(t[1].data.tracks)}},cP={name:"PageArtistTracks",components:{ContentWithHeading:st,DropdownMenu:_r,IndexButtonList:as,ListTracks:wn,ModalDialogArtist:Kl},beforeRouteEnter(e,t,n){aa.load(e).then(s=>{n(r=>aa.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;aa.load(e).then(r=>{aa.set(s,r),n()})},data(){return{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Kn("title_sort")},{id:2,name:this.$t("page.artist.sort-by.rating"),options:Qd("rating",{direction:"desc"})}],show_artist_details_modal:!1,tracks_list:new ze}},computed:{selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(Sg,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list},track_uris(){return this.tracks_list.items.map(e=>e.uri).join(",")}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.artist.id})},play(){N.player_play_uri(this.tracks_list.map(e=>e.uri).join(","),!0)}}},dP={class:"fd-page"},mP={class:"columns"},fP={class:"column"},pP=["textContent"],hP=["textContent"],_P={class:"buttons is-centered"},gP={class:"icon"},yP={class:"icon"},vP=["textContent"],bP={class:"heading has-text-centered-mobile"},CP=["textContent"],wP=l("span",null,"\xA0|\xA0",-1),zP=["textContent"];function kP(e,t,n,s,r,o){const i=$("index-button-list"),a=$("dropdown-menu"),u=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-artist"),f=$("content-with-heading");return z(),S("div",dP,[v(f,null,{options:E(()=>[v(i,{index:o.tracks.indexList},null,8,["index"]),l("div",mP,[l("div",fP,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.artist.sort-by.title"))},null,8,pP),v(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:r.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.artist.name)},null,8,hP)]),"heading-right":E(()=>[l("div",_P,[l("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>r.show_artist_details_modal=!0)},[l("span",gP,[v(u,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[l("span",yP,[v(u,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,vP)])])]),content:E(()=>[l("p",bP,[l("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(e.$t("page.artist.album-count",{count:r.artist.album_count}))},null,8,CP),wP,l("span",{textContent:g(e.$t("page.artist.track-count",{count:r.artist.track_count}))},null,8,zP)]),v(c,{tracks:o.tracks,uris:o.track_uris},null,8,["tracks","uris"]),v(d,{show:r.show_artist_details_modal,artist:r.artist,onClose:t[4]||(t[4]=m=>r.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}var xP=re(cP,[["render",kP]]);const EP={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('composer is "'+this.composer.name+'" and media_kind is music')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('composer is "'+this.composer.name+'" and media_kind is music')},open_albums(){this.$emit("close"),this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},open_tracks(){this.show_details_modal=!1,this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})}}},$P={key:0,class:"modal is-active"},SP={class:"modal-content fd-modal-card"},AP={class:"card"},TP={class:"card-content"},OP={class:"title is-4"},DP=["textContent"],PP=["textContent"],IP=["textContent"],FP=["textContent"],RP=["textContent"],LP=["textContent"],MP=["textContent"],NP={class:"card-footer"},VP={class:"icon"},BP=["textContent"],HP={class:"icon"},UP=["textContent"],jP={class:"icon"},qP=["textContent"];function WP(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",$P,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",SP,[l("div",AP,[l("div",TP,[l("p",OP,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:g(n.composer.name)},null,8,DP)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,PP),l("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:g(n.composer.album_count)},null,8,IP)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,FP),l("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>o.open_tracks&&o.open_tracks(...a)),textContent:g(n.composer.track_count)},null,8,RP)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,LP),l("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.composer.length_ms))},null,8,MP)])]),l("footer",NP,[l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",VP,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,BP)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",HP,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,UP)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[l("span",jP,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,qP)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var sm=re(EP,[["render",WP]]);const GP={name:"ListComposers",components:{ModalDialogComposer:sm},props:["composers","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_composer:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_composer.media_kind}},methods:{open_composer(e){this.selected_composer=e,this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_dialog(e){this.selected_composer=e,this.show_details_modal=!0}}},KP={key:0,class:"mt-6 mb-5 py-2"},ZP={class:"media-content is-clipped"},YP=["id","textContent"],JP=["onClick"],XP={class:"media-content is-clickable is-clipped"},QP=["textContent"],eI={class:"media-right"},tI=["onClick"],nI={class:"icon has-text-dark"};function sI(e,t,n,s,r,o){const i=$("mdicon"),a=$("modal-dialog-composer");return z(),S(De,null,[(z(!0),S(De,null,ht(n.composers,u=>(z(),S(De,{key:u.itemId},[!u.isItem&&!n.hide_group_title?(z(),S("div",KP,[l("div",ZP,[l("span",{id:"index_"+u.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(u.groupKey)},null,8,YP)])])):u.isItem?(z(),S("div",{key:1,class:"media",onClick:c=>o.open_composer(u.item)},[l("div",XP,[l("h1",{class:"title is-6",textContent:g(u.item.name)},null,8,QP)]),l("div",eI,[l("a",{onClick:it(c=>o.open_dialog(u.item),["prevent","stop"])},[l("span",nI,[v(i,{name:"dots-vertical",size:"16"})])],8,tI)])],8,JP)):B("",!0)],64))),128)),(z(),ve(js,{to:"#app"},[v(a,{show:r.show_details_modal,composer:r.selected_composer,media_kind:n.media_kind,onClose:t[0]||(t[0]=u=>r.show_details_modal=!1)},null,8,["show","composer","media_kind"])]))],64)}var uv=re(GP,[["render",sI]]);const la={load(e){return N.library_composers("music")},set(e,t){e.composers=new ze(t.data),e.composers.group(Kn("name_sort"))}},rI={name:"PageComposers",components:{ContentWithHeading:st,TabsMusic:os,IndexButtonList:as,ListComposers:uv},beforeRouteEnter(e,t,n){la.load(e).then(s=>{n(r=>la.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const s=this;la.load(e).then(r=>{la.set(s,r),n()})},data(){return{composers:new ze}},methods:{}},oI={class:"fd-page-with-tabs"},iI=["textContent"],aI=["textContent"];function lI(e,t,n,s,r,o){const i=$("tabs-music"),a=$("index-button-list"),u=$("list-composers"),c=$("content-with-heading");return z(),S("div",oI,[v(i),v(c,null,{options:E(()=>[v(a,{index:r.composers.indexList},null,8,["index"])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.composers.title"))},null,8,iI),l("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:r.composers.total}))},null,8,aI)]),content:E(()=>[v(u,{composers:r.composers},null,8,["composers"])]),_:1})])}var uI=re(rI,[["render",lI]]);const ua={load(e){return Promise.all([N.library_composer(e.params.composer),N.library_composer_albums(e.params.composer)])},set(e,t){e.composer=t[0].data,e.albums_list=new ze(t[1].data.albums)}},cI={name:"PageComposer",components:{ContentWithHeading:st,ListAlbums:is,ModalDialogComposer:sm},beforeRouteEnter(e,t,n){ua.load(e).then(s=>{n(r=>ua.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ua.load(e).then(r=>{ua.set(s,r),n()})},data(){return{composer:{},albums_list:new ze,show_composer_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})},play(){N.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!0)}}},dI={class:"fd-page"},mI=["textContent"],fI={class:"buttons is-centered"},pI={class:"icon"},hI={class:"icon"},_I=["textContent"],gI={class:"heading has-text-centered-mobile"},yI=["textContent"],vI=l("span",null,"\xA0|\xA0",-1),bI=["textContent"];function CI(e,t,n,s,r,o){const i=$("mdicon"),a=$("list-albums"),u=$("modal-dialog-composer"),c=$("content-with-heading");return z(),S("div",dI,[v(c,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.composer.name)},null,8,mI)]),"heading-right":E(()=>[l("div",fI,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>r.show_composer_details_modal=!0)},[l("span",pI,[v(i,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[l("span",hI,[v(i,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,_I)])])]),content:E(()=>[l("p",gI,[l("span",{textContent:g(e.$t("page.composer.album-count",{count:r.composer.album_count}))},null,8,yI),vI,l("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>o.open_tracks&&o.open_tracks(...d)),textContent:g(e.$t("page.composer.track-count",{count:r.composer.track_count}))},null,8,bI)]),v(a,{albums:r.albums_list,hide_group_title:!0},null,8,["albums"]),v(u,{show:r.show_composer_details_modal,composer:r.composer,onClose:t[3]||(t[3]=d=>r.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}var wI=re(cI,[["render",CI]]);const ca={load(e){return Promise.all([N.library_composer(e.params.composer),N.library_composer_tracks(e.params.composer)])},set(e,t){e.composer=t[0].data,e.tracks_list=new ze(t[1].data.tracks)}},zI={name:"PageComposerTracks",components:{ContentWithHeading:st,DropdownMenu:_r,IndexButtonList:as,ListTracks:wn,ModalDialogComposer:sm},beforeRouteEnter(e,t,n){ca.load(e).then(s=>{n(r=>ca.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ca.load(e).then(r=>{ca.set(s,r),n()})},data(){return{groupby_options:[{id:1,name:this.$t("page.composer.sort-by.name"),options:Kn("title_sort")},{id:2,name:this.$t("page.composer.sort-by.rating"),options:Qd("rating",{direction:"desc"})}],composer:{},show_composer_details_modal:!1,tracks_list:new ze}},computed:{expression(){return'composer is "'+this.composer.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(kg,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},play(){N.player_play_expression(this.expression,!0)}}},kI={class:"fd-page"},xI={class:"columns"},EI={class:"column"},$I=["textContent"],SI=["textContent"],AI={class:"buttons is-centered"},TI={class:"icon"},OI={class:"icon"},DI=["textContent"],PI={class:"heading has-text-centered-mobile"},II=["textContent"],FI=l("span",null,"\xA0|\xA0",-1),RI=["textContent"];function LI(e,t,n,s,r,o){const i=$("index-button-list"),a=$("dropdown-menu"),u=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-composer"),f=$("content-with-heading");return z(),S("div",kI,[v(f,null,{options:E(()=>[v(i,{index:o.tracks.indexList},null,8,["index"]),l("div",xI,[l("div",EI,[l("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:g(e.$t("page.artist.sort-by.title"))},null,8,$I),v(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:r.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.composer.name)},null,8,SI)]),"heading-right":E(()=>[l("div",AI,[l("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>r.show_composer_details_modal=!0)},[l("span",TI,[v(u,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[l("span",OI,[v(u,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,DI)])])]),content:E(()=>[l("p",PI,[l("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_albums&&o.open_albums(...m)),textContent:g(e.$t("page.composer.album-count",{count:r.composer.album_count}))},null,8,II),FI,l("span",{textContent:g(e.$t("page.composer.track-count",{count:r.composer.track_count}))},null,8,RI)]),v(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),v(d,{show:r.show_composer_details_modal,composer:r.composer,onClose:t[4]||(t[4]=m=>r.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}var MI=re(zI,[["render",LI]]);const NI={name:"ModalDialogAddRss",props:["show"],emits:["close","podcast-added"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,N.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},VI={key:0,class:"modal is-active"},BI={class:"modal-content fd-modal-card"},HI={class:"card"},UI={class:"card-content"},jI=["textContent"],qI={class:"field"},WI={class:"control is-expanded has-icons-left"},GI=["placeholder","disabled"],KI={class:"icon is-left"},ZI=["textContent"],YI={key:0,class:"card-footer"},JI={class:"card-footer-item button is-loading"},XI={class:"icon"},QI=["textContent"],eF={key:1,class:"card-footer"},tF={class:"icon"},nF=["textContent"],sF={class:"icon"},rF=["textContent"];function oF(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",VI,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",BI,[l("div",HI,[l("div",UI,[l("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,jI),l("form",{onSubmit:t[2]||(t[2]=it((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[l("div",qI,[l("p",WI,[dt(l("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>r.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:r.loading},null,8,GI),[[It,r.url]]),l("span",KI,[v(i,{name:"rss",size:"16"})])]),l("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,ZI)])],32)]),r.loading?(z(),S("footer",YI,[l("a",JI,[l("span",XI,[v(i,{name:"web",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,QI)])])):(z(),S("footer",eF,[l("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[l("span",tF,[v(i,{name:"cancel",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.cancel"))},null,8,nF)]),l("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[l("span",sF,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,rF)])]))])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var iF=re(NI,[["render",oF]]);const da={load(e){return Promise.all([N.library_albums("podcast"),N.library_podcasts_new_episodes()])},set(e,t){e.albums=new ze(t[0].data),e.new_episodes=new ze(t[1].data.tracks)}},aF={name:"PagePodcasts",components:{ContentWithHeading:st,ListTracks:wn,ListAlbums:is,ModalDialogAddRss:iF},beforeRouteEnter(e,t,n){da.load(e).then(s=>{n(r=>da.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;da.load(e).then(r=>{da.set(s,r),n()})},data(){return{albums:[],new_episodes:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played(){this.new_episodes.items.forEach(e=>{N.library_track_update(e.id,{play_count:"increment"})}),this.new_episodes.items={}},open_add_podcast_dialog(e){this.show_url_modal=!0},reload_new_episodes(){N.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new ze(e.tracks)})},reload_podcasts(){N.library_albums("podcast").then(({data:e})=>{this.albums=new ze(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(Rd,"rss"),this.$store.commit(wi,!0)}}},lF={class:"fd-page"},uF=["textContent"],cF={class:"buttons is-centered"},dF={class:"icon"},mF=["textContent"],fF=["textContent"],pF=["textContent"],hF={class:"buttons is-centered"},_F={class:"icon"},gF=["textContent"],yF={class:"icon"},vF=["textContent"];function bF(e,t,n,s,r,o){const i=$("mdicon"),a=$("list-tracks"),u=$("content-with-heading"),c=$("list-albums"),d=$("modal-dialog-add-rss");return z(),S("div",lF,[r.new_episodes.items.length>0?(z(),ve(u,{key:0},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,uF)]),"heading-right":E(()=>[l("div",cF,[l("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>o.mark_all_played&&o.mark_all_played(...f))},[l("span",dF,[v(i,{name:"pencil",size:"16"})]),l("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,mF)])])]),content:E(()=>[v(a,{tracks:r.new_episodes,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):B("",!0),v(u,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,fF),l("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:r.albums.total}))},null,8,pF)]),"heading-right":E(()=>[l("div",hF,[o.rss.tracks>0?(z(),S("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...f)=>o.update_rss&&o.update_rss(...f))},[l("span",_F,[v(i,{name:"refresh",size:"16"})]),l("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,gF)])):B("",!0),l("a",{class:"button is-small",onClick:t[2]||(t[2]=(...f)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...f))},[l("span",yF,[v(i,{name:"rss",size:"16"})]),l("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,vF)])])]),content:E(()=>[v(c,{albums:r.albums,onPlayCountChanged:t[3]||(t[3]=f=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=f=>o.reload_podcasts())},null,8,["albums"]),v(d,{show:r.show_url_modal,onClose:t[5]||(t[5]=f=>r.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=f=>o.reload_podcasts())},null,8,["show"])]),_:1})])}var CF=re(aF,[["render",bF]]);const ma={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_podcast_episodes(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new ze(t[1].data.tracks)}},wF={name:"PagePodcast",components:{ContentWithHeading:st,ListTracks:wn,ModalDialogAlbum:Gl,ModalDialog:Jd},beforeRouteEnter(e,t,n){ma.load(e).then(s=>{n(r=>ma.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ma.load(e).then(r=>{ma.set(s,r),n()})},data(){return{album:{},tracks:new ze,show_details_modal:!1,show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{new_tracks(){return this.tracks.items.filter(e=>e.play_count===0).length}},methods:{play(){N.player_play_uri(this.album.uri,!1)},open_remove_podcast_dialog(){N.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{this.rss_playlist_to_remove=e.items.filter(t=>t.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},remove_podcast(){this.show_remove_podcast_modal=!1,N.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({path:"/podcasts"})})},reload_tracks(){N.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new ze(e.tracks)})}}},zF={class:"fd-page"},kF=["textContent"],xF={class:"buttons is-centered"},EF={class:"icon"},$F={class:"icon"},SF=["textContent"],AF=["textContent"],TF=["textContent"],OF={class:"is-size-7"},DF=["textContent"],PF=["textContent"];function IF(e,t,n,s,r,o){const i=$("mdicon"),a=$("list-tracks"),u=$("modal-dialog-album"),c=$("modal-dialog"),d=$("content-with-heading");return z(),S("div",zF,[v(d,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(r.album.name)},null,8,kF)]),"heading-right":E(()=>[l("div",xF,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>r.show_details_modal=!0)},[l("span",EF,[v(i,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[l("span",$F,[v(i,{name:"play",size:"16"})]),l("span",{textContent:g(e.$t("page.podcast.play"))},null,8,SF)])])]),content:E(()=>[l("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.podcast.track-count",{count:r.album.track_count}))},null,8,AF),v(a,{tracks:r.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["tracks","onPlayCountChanged"]),v(u,{show:r.show_details_modal,album:r.album,media_kind:"podcast",new_tracks:o.new_tracks,onClose:t[2]||(t[2]=f=>r.show_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),v(c,{show:r.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=f=>r.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":E(()=>[l("p",{textContent:g(e.$t("page.podcast.remove-info-1"))},null,8,TF),l("p",OF,[mt(" ("),l("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,DF),l("b",{textContent:g(r.rss_playlist_to_remove.name)},null,8,PF),mt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}var FF=re(wF,[["render",IF]]);const RF={name:"TabsAudiobooks"},LF={class:"section fd-tabs-section"},MF={class:"container"},NF={class:"columns is-centered"},VF={class:"column is-four-fifths"},BF={class:"tabs is-centered is-small"},HF=["onClick","onKeypress"],UF={class:"icon is-small"},jF=["textContent"],qF=["onClick","onKeypress"],WF={class:"icon is-small"},GF=["textContent"];function KF(e,t,n,s,r,o){const i=$("mdicon"),a=$("router-link");return z(),S("section",LF,[l("div",MF,[l("div",NF,[l("div",VF,[l("div",BF,[l("ul",null,[v(a,{to:"/audiobooks/artists",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",UF,[v(i,{name:"account-music",size:"16"})]),l("span",{textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,jF)],40,HF)],2)]),_:1}),v(a,{to:"/audiobooks/albums",custom:""},{default:E(({navigate:u,isActive:c})=>[l("li",{class:Te({"is-active":c})},[l("a",{onClick:u,onKeypress:yn(u,["enter"])},[l("span",WF,[v(i,{name:"album",size:"16"})]),l("span",{textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,GF)],40,qF)],2)]),_:1})])])])])])])}var cv=re(RF,[["render",KF]]);const fa={load(e){return N.library_albums("audiobook")},set(e,t){e.albums=new ze(t.data),e.albums.group(Kn("name_sort",!0))}},ZF={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:cv,ContentWithHeading:st,IndexButtonList:as,ListAlbums:is},beforeRouteEnter(e,t,n){fa.load(e).then(s=>{n(r=>fa.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const s=this;fa.load(e).then(r=>{fa.set(s,r),n()})},data(){return{albums:new ze}},methods:{}},YF={class:"fd-page-with-tabs"},JF=["textContent"],XF=["textContent"];function QF(e,t,n,s,r,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),u=$("list-albums"),c=$("content-with-heading");return z(),S("div",YF,[v(i),v(c,null,{options:E(()=>[v(a,{index:r.albums.indexList},null,8,["index"])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.albums.title"))},null,8,JF),l("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:r.albums.count}))},null,8,XF)]),content:E(()=>[v(u,{albums:r.albums},null,8,["albums"])]),_:1})])}var eR=re(ZF,[["render",QF]]);const pa={load(e){return N.library_artists("audiobook")},set(e,t){e.artists_list=new ze(t.data)}},tR={name:"PageAudiobooksArtists",components:{ContentWithHeading:st,TabsAudiobooks:cv,IndexButtonList:as,ListArtists:em},beforeRouteEnter(e,t,n){pa.load(e).then(s=>{n(r=>pa.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const s=this;pa.load(e).then(r=>{pa.set(s,r),n()})},data(){return{artists_list:new ze}},computed:{artists(){return this.artists_list?(this.artists_list.group(Kn("name_sort",!0)),this.artists_list):[]}},methods:{}},nR={class:"fd-page-with-tabs"},sR=["textContent"],rR=["textContent"];function oR(e,t,n,s,r,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),u=$("list-artists"),c=$("content-with-heading");return z(),S("div",nR,[v(i),v(c,null,{options:E(()=>[v(a,{index:o.artists.indexList},null,8,["index"])]),"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.artists.title"))},null,8,sR),l("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,rR)]),"heading-right":E(()=>[]),content:E(()=>[v(u,{artists:o.artists},null,8,["artists"])]),_:1})])}var iR=re(tR,[["render",oR]]);const ha={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_albums(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.albums=new ze(t[1].data)}},aR={name:"PageAudiobooksArtist",components:{ContentWithHeading:st,ListAlbums:is,ModalDialogArtist:Kl},beforeRouteEnter(e,t,n){ha.load(e).then(s=>{n(r=>ha.set(r,s))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const s=this;ha.load(e).then(r=>{ha.set(s,r),n()})},data(){return{artist:{},albums:new ze,show_artist_details_modal:!1}},methods:{play(){N.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},lR={class:"fd-page"},uR=["textContent"],cR={class:"buttons is-centered"},dR={class:"icon"},mR={class:"icon"},fR=["textContent"],pR=["textContent"];function hR(e,t,n,s,r,o){const i=$("mdicon"),a=$("list-albums"),u=$("modal-dialog-artist"),c=$("content-with-heading");return z(),S("div",lR,[v(c,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.artist.name)},null,8,uR)]),"heading-right":E(()=>[l("div",cR,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>r.show_artist_details_modal=!0)},[l("span",dR,[v(i,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[l("span",mR,[v(i,{name:"play",size:"16"})]),l("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,fR)])])]),content:E(()=>[l("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.audiobooks.artist.album-count",{count:r.artist.album_count}))},null,8,pR),v(a,{albums:r.albums},null,8,["albums"]),v(u,{show:r.show_artist_details_modal,artist:r.artist,onClose:t[2]||(t[2]=d=>r.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}var _R=re(aR,[["render",hR]]);const _a={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_album_tracks(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new ze(t[1].data)}},gR={name:"PageAudiobooksAlbum",components:{ContentWithHero:tm,ListTracks:wn,ModalDialogAlbum:Gl,CoverArtwork:Gn},beforeRouteEnter(e,t,n){_a.load(e).then(s=>{n(r=>_a.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;_a.load(e).then(r=>{_a.set(s,r),n()})},data(){return{album:{},tracks:new ze,show_album_details_modal:!1}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id})},play(){N.player_play_uri(this.album.uri,!1)}}},yR=["textContent"],vR={class:"subtitle is-6 has-text-link has-text-weight-normal"},bR=["textContent"],CR={class:"buttons fd-is-centered-mobile fd-has-margin-top"},wR={class:"icon"},zR=["textContent"],kR={class:"icon"},xR=["textContent"];function ER(e,t,n,s,r,o){const i=$("mdicon"),a=$("cover-artwork"),u=$("list-tracks"),c=$("modal-dialog-album"),d=$("content-with-hero");return z(),ve(d,null,{"heading-left":E(()=>[l("h1",{class:"title is-5",textContent:g(r.album.name)},null,8,yR),l("h2",vR,[l("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(r.album.artist)},null,8,bR)]),l("div",CR,[l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[l("span",wR,[v(i,{name:"play",size:"16"})]),l("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,zR)]),l("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>r.show_album_details_modal=!0)},[l("span",kR,[v(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":E(()=>[v(a,{artwork_url:r.album.artwork_url,artist:r.album.artist,album:r.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>r.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[l("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:g(e.$t("page.audiobooks.album.track-count",{count:r.album.track_count}))},null,8,xR),v(u,{tracks:r.tracks,uris:r.album.uri},null,8,["tracks","uris"]),v(c,{show:r.show_album_details_modal,album:r.album,media_kind:"audiobook",onClose:t[4]||(t[4]=f=>r.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var $R=re(gR,[["render",ER]]);const SR={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.uris?this.uris:this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({path:"/playlists/"+this.playlist.id+"/tracks"})}}},AR={key:0,class:"modal is-active"},TR={class:"modal-content fd-modal-card"},OR={class:"card"},DR={class:"card-content"},PR={class:"title is-4"},IR=["textContent"],FR={class:"content is-small"},RR=["textContent"],LR=["textContent"],MR=["textContent"],NR=["textContent"],VR={key:0},BR=["textContent"],HR=["textContent"],UR={key:0,class:"card-footer"},jR={class:"icon"},qR=["textContent"],WR={class:"icon"},GR=["textContent"],KR={class:"icon"},ZR=["textContent"];function YR(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",AR,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",TR,[l("div",OR,[l("div",DR,[l("p",PR,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:g(n.playlist.name)},null,8,IR)]),l("div",FR,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,RR),l("span",{class:"title is-6",textContent:g(n.playlist.path)},null,8,LR)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,MR),l("span",{class:"title is-6",textContent:g(e.$t("playlist.type."+n.playlist.type))},null,8,NR)]),n.playlist.folder?B("",!0):(z(),S("p",VR,[l("span",{class:"heading",textContent:g(e.$t("dialog.playlist.track-count"))},null,8,BR),l("span",{class:"title is-6",textContent:g(n.playlist.item_count)},null,8,HR)]))])]),n.playlist.folder?B("",!0):(z(),S("footer",UR,[l("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",jR,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,qR)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",WR,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,GR)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[l("span",KR,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,ZR)])]))])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var dv=re(SR,[["render",YR]]);const JR={name:"ListPlaylists",components:{ModalDialogPlaylist:dv},props:["playlists"],data(){return{show_details_modal:!1,selected_playlist:{}}},methods:{open_playlist(e){e.type!=="folder"?this.$router.push({path:"/playlists/"+e.id+"/tracks"}):this.$router.push({path:"/playlists/"+e.id})},open_dialog(e){this.selected_playlist=e,this.show_details_modal=!0},icon_name(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"}}},XR=["playlist","onClick"],QR={class:"media-left is-clickable"},eL={class:"icon"},tL={class:"media-content is-clickable is-clipped"},nL=["textContent"],sL={class:"media-right"},rL=["onClick"],oL={class:"icon has-text-dark"};function iL(e,t,n,s,r,o){const i=$("mdicon"),a=$("modal-dialog-playlist");return z(),S(De,null,[(z(!0),S(De,null,ht(n.playlists,u=>(z(),S("div",{key:u.itemId,class:"media",playlist:u,onClick:c=>o.open_playlist(u.item)},[l("figure",QR,[l("span",eL,[v(i,{name:o.icon_name(u.item),size:"16"},null,8,["name"])])]),l("div",tL,[l("h1",{class:"title is-6",textContent:g(u.item.name)},null,8,nL)]),l("div",sL,[l("a",{onClick:it(c=>o.open_dialog(u.item),["prevent","stop"])},[l("span",oL,[v(i,{name:"dots-vertical",size:"16"})])],8,rL)])],8,XR))),128)),(z(),ve(js,{to:"#app"},[v(a,{show:r.show_details_modal,playlist:r.selected_playlist,onClose:t[0]||(t[0]=u=>r.show_details_modal=!1)},null,8,["show","playlist"])]))],64)}var rm=re(JR,[["render",iL]]);const ga={load(e){return Promise.all([N.library_playlist(e.params.playlist_id),N.library_playlist_folder(e.params.playlist_id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new ze(t[1].data)}},aL={name:"PagePlaylists",components:{ContentWithHeading:st,ListPlaylists:rm},beforeRouteEnter(e,t,n){ga.load(e).then(s=>{n(r=>ga.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ga.load(e).then(r=>{ga.set(s,r),n()})},data(){return{playlist:{},playlists_list:new ze}},computed:{radio_playlists(){return this.$store.state.config.radio_playlists},playlists(){return this.playlists_list.group(lv(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list}}},lL={class:"fd-page"},uL=["textContent"],cL=["textContent"];function dL(e,t,n,s,r,o){const i=$("list-playlists"),a=$("content-with-heading");return z(),S("div",lL,[v(a,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.playlist.name)},null,8,uL),l("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,cL)]),content:E(()=>[v(i,{playlists:o.playlists},null,8,["playlists"])]),_:1})])}var mL=re(aL,[["render",dL]]);const ya={load(e){return Promise.all([N.library_playlist(e.params.playlist_id),N.library_playlist_tracks(e.params.playlist_id)])},set(e,t){e.playlist=t[0].data,e.tracks=new ze(t[1].data)}},fL={name:"PagePlaylist",components:{ContentWithHeading:st,ListTracks:wn,ModalDialogPlaylist:dv},beforeRouteEnter(e,t,n){ya.load(e).then(s=>{n(r=>ya.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ya.load(e).then(r=>{ya.set(s,r),n()})},data(){return{playlist:{},tracks:new ze,show_playlist_details_modal:!1}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play(){N.player_play_uri(this.uris,!0)}}},pL={class:"fd-page"},hL=["textContent"],_L={class:"buttons is-centered"},gL={class:"icon"},yL={class:"icon"},vL=["textContent"],bL=["textContent"];function CL(e,t,n,s,r,o){const i=$("mdicon"),a=$("list-tracks"),u=$("modal-dialog-playlist"),c=$("content-with-heading");return z(),S("div",pL,[v(c,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(r.playlist.name)},null,8,hL)]),"heading-right":E(()=>[l("div",_L,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>r.show_playlist_details_modal=!0)},[l("span",gL,[v(i,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[l("span",yL,[v(i,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,vL)])])]),content:E(()=>[l("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:r.tracks.count}))},null,8,bL),v(a,{tracks:r.tracks,uris:o.uris},null,8,["tracks","uris"]),v(u,{show:r.show_playlist_details_modal,playlist:r.playlist,uris:o.uris,onClose:t[2]||(t[2]=d=>r.show_playlist_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})])}var wL=re(fL,[["render",CL]]);const zL={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('path starts with "'+this.directory.path+'" order by path asc',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('path starts with "'+this.directory.path+'" order by path asc')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('path starts with "'+this.directory.path+'" order by path asc')}}},kL={key:0,class:"modal is-active"},xL={class:"modal-content fd-modal-card"},EL={class:"card"},$L={class:"card-content"},SL=["textContent"],AL={class:"card-footer"},TL={class:"icon"},OL=["textContent"],DL={class:"icon"},PL=["textContent"],IL={class:"icon"},FL=["textContent"];function RL(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",kL,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",xL,[l("div",EL,[l("div",$L,[l("p",{class:"title is-4",textContent:g(n.directory.path)},null,8,SL)]),l("footer",AL,[l("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",TL,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,OL)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",DL,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,PL)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[l("span",IL,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,FL)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var mv=re(zL,[["render",RL]]);const LL={name:"ListDirectories",components:{ModalDialogDirectory:mv},props:["directories"],data(){return{show_details_modal:!1,selected_directory:{}}},computed:{current_directory(){return this.$route.query&&this.$route.query.directory?this.$route.query.directory:"/"}},methods:{open_parent_directory(){this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))===""||this.$store.state.config.directories.includes(this.current_directory)?this.$router.push({path:"/files"}):this.$router.push({path:"/files",query:{directory:this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))}})},open_directory(e){this.$router.push({path:"/files",query:{directory:e.path}})},open_dialog(e){this.selected_directory=e,this.show_details_modal=!0}}},ML={class:"media-left is-clickable"},NL={class:"icon"},VL=l("div",{class:"media-content is-clickable is-clipped"},[l("h1",{class:"title is-6"},"..")],-1),BL={class:"media-right"},HL=["onClick"],UL={class:"media-left is-clickable"},jL={class:"icon"},qL={class:"media-content is-clickable is-clipped"},WL=["textContent"],GL=["textContent"],KL={class:"media-right"},ZL=["onClick"],YL={class:"icon has-text-dark"};function JL(e,t,n,s,r,o){const i=$("mdicon"),a=$("modal-dialog-directory");return z(),S(De,null,[e.$route.query.directory?(z(),S("div",{key:0,class:"media",onClick:t[0]||(t[0]=u=>o.open_parent_directory())},[l("figure",ML,[l("span",NL,[v(i,{name:"subdirectory-arrow-left",size:"16"})])]),VL,l("div",BL,[ut(e.$slots,"actions")])])):B("",!0),(z(!0),S(De,null,ht(n.directories,u=>(z(),S("div",{key:u.path,class:"media",onClick:c=>o.open_directory(u)},[l("figure",UL,[l("span",jL,[v(i,{name:"folder",size:"16"})])]),l("div",qL,[l("h1",{class:"title is-6",textContent:g(u.path.substring(u.path.lastIndexOf("/")+1))},null,8,WL),l("h2",{class:"subtitle is-7 has-text-grey-light",textContent:g(u.path)},null,8,GL)]),l("div",KL,[l("a",{onClick:it(c=>o.open_dialog(u),["prevent","stop"])},[l("span",YL,[v(i,{name:"dots-vertical",size:"16"})])],8,ZL)])],8,HL))),128)),(z(),ve(js,{to:"#app"},[v(a,{show:r.show_details_modal,directory:r.selected_directory,onClose:t[1]||(t[1]=u=>r.show_details_modal=!1)},null,8,["show","directory"])]))],64)}var XL=re(LL,[["render",JL]]);const va={load(e){return e.query.directory?N.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new ze(t.data.playlists),e.tracks=new ze(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new ze,e.tracks=new ze)}},QL={name:"PageFiles",components:{ContentWithHeading:st,ListDirectories:XL,ListPlaylists:rm,ListTracks:wn,ModalDialogDirectory:mv},beforeRouteEnter(e,t,n){va.load(e).then(s=>{n(r=>va.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;va.load(e).then(r=>{va.set(s,r),n()})},data(){return{dirs:[],playlists:new ze,tracks:new ze,show_details_modal:!1}},computed:{current_directory(){return this.$route.query&&this.$route.query.directory?this.$route.query.directory:"/"},play_expression(){return'path starts with "'+this.current_directory+'" order by path asc'}},methods:{play(){N.player_play_expression(this.play_expression,!1)}}},eM={class:"fd-page"},tM=["textContent"],nM=["textContent"],sM={class:"buttons is-centered"},rM={class:"icon"},oM={class:"icon"},iM=["textContent"];function aM(e,t,n,s,r,o){const i=$("mdicon"),a=$("list-directories"),u=$("list-playlists"),c=$("list-tracks"),d=$("modal-dialog-directory"),f=$("content-with-heading");return z(),S("div",eM,[v(f,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,tM),l("p",{class:"title is-7 has-text-grey",textContent:g(o.current_directory)},null,8,nM)]),"heading-right":E(()=>[l("div",sM,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>r.show_details_modal=!0)},[l("span",rM,[v(i,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[l("span",oM,[v(i,{name:"play",size:"16"})]),l("span",{textContent:g(e.$t("page.files.play"))},null,8,iM)])])]),content:E(()=>[v(a,{directories:r.dirs},null,8,["directories"]),v(u,{playlists:r.playlists},null,8,["playlists"]),v(c,{tracks:r.tracks,expression:o.play_expression,show_icon:!0},null,8,["tracks","expression"]),v(d,{show:r.show_details_modal,directory:o.current_directory,onClose:t[2]||(t[2]=m=>r.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}var lM=re(QL,[["render",aM]]);const ba={load(e){return N.library_radio_streams()},set(e,t){e.tracks=new ze(t.data.tracks)}},uM={name:"PageRadioStreams",components:{ContentWithHeading:st,ListTracks:wn},beforeRouteEnter(e,t,n){ba.load(e).then(s=>{n(r=>ba.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ba.load(e).then(r=>{ba.set(s,r),n()})},data(){return{tracks:new ze}}},cM={class:"fd-page"},dM=["textContent"],mM=["textContent"];function fM(e,t,n,s,r,o){const i=$("list-tracks"),a=$("content-with-heading");return z(),S("div",cM,[v(a,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,dM)]),content:E(()=>[l("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.radio.count",{count:r.tracks.total}))},null,8,mM),v(i,{tracks:r.tracks},null,8,["tracks"])]),_:1})])}var pM=re(uM,[["render",fM]]);const hM={name:"ContentText"},_M={class:"section py-3"},gM={class:"container"},yM={class:"columns is-centered"},vM={class:"column is-four-fifths"};function bM(e,t,n,s,r,o){return z(),S("section",_M,[l("div",gM,[l("div",yM,[l("div",vM,[ut(e.$slots,"content")])])])])}var fv=re(hM,[["render",bM]]);const CM={name:"TabsSearch",props:["query"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},route_query(){return this.query?{type:"track,artist,album,playlist,audiobook,podcast",query:this.query,limit:3,offset:0}:null}},methods:{search_library(){this.$store.commit(yc,"/search/library"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})},search_spotify(){this.$store.commit(yc,"/search/spotify"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})}}},wM={key:0,class:"section"},zM={class:"container"},kM={class:"columns is-centered"},xM={class:"column is-four-fifths"},EM={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},$M={class:"icon is-small"},SM=["textContent"],AM={class:"icon is-small"},TM=["textContent"];function OM(e,t,n,s,r,o){const i=$("mdicon");return o.spotify_enabled?(z(),S("section",wM,[l("div",zM,[l("div",kM,[l("div",xM,[l("div",EM,[l("ul",null,[l("li",{class:Te({"is-active":e.$store.state.search_path==="/search/library"})},[l("a",{onClick:t[0]||(t[0]=(...a)=>o.search_library&&o.search_library(...a))},[l("span",$M,[v(i,{name:"bookshelf",size:"16"})]),l("span",{textContent:g(e.$t("page.search.tabs.library"))},null,8,SM)])],2),l("li",{class:Te({"is-active":e.$store.state.search_path==="/search/spotify"})},[l("a",{onClick:t[1]||(t[1]=(...a)=>o.search_spotify&&o.search_spotify(...a))},[l("span",AM,[v(i,{name:"spotify",size:"16"})]),l("span",{textContent:g(e.$t("page.search.tabs.spotify"))},null,8,TM)])],2)])])])])])])):B("",!0)}var pv=re(CM,[["render",OM]]);const DM={name:"PageSearch",components:{ContentWithHeading:st,ContentText:fv,TabsSearch:pv,ListTracks:wn,ListArtists:em,ListAlbums:is,ListPlaylists:rm,ListComposers:uv},data(){return{search_query:"",tracks:new ze,artists:new ze,albums:new ze,composers:new ze,playlists:new ze,audiobooks:new ze,podcasts:new ze}},computed:{recent_searches(){return this.$store.state.recent_searches},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_composers(){return this.$route.query.type&&this.$route.query.type.includes("composer")},show_all_composers_button(){return this.composers.total>this.composers.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},show_audiobooks(){return this.$route.query.type&&this.$route.query.type.includes("audiobook")},show_all_audiobooks_button(){return this.audiobooks.total>this.audiobooks.items.length},show_podcasts(){return this.$route.query.type&&this.$route.query.type.includes("podcast")},show_all_podcasts_button(){return this.podcasts.total>this.podcasts.items.length}},watch:{$route(e,t){this.search(e)}},mounted(){this.search(this.$route)},methods:{search(e){if(!e.query.query||e.query.query===""){this.search_query="",this.$refs.search_field.focus();return}this.search_query=e.query.query,this.searchMusic(e.query),this.searchAudiobooks(e.query),this.searchPodcasts(e.query),this.$store.commit(Id,e.query.query)},searchMusic(e){if(e.type.indexOf("track")<0&&e.type.indexOf("artist")<0&&e.type.indexOf("album")<0&&e.type.indexOf("playlist")<0)return;const t={type:e.type,media_kind:"music"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.query=e.query,e.limit&&(t.limit=e.limit,t.offset=e.offset),N.search(t).then(({data:n})=>{this.tracks=new ze(n.tracks),this.artists=new ze(n.artists),this.albums=new ze(n.albums),this.composers=new ze(n.composers),this.playlists=new ze(n.playlists)})},searchAudiobooks(e){if(e.type.indexOf("audiobook")<0)return;const t={type:"album",media_kind:"audiobook"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is audiobook)',e.limit&&(t.limit=e.limit,t.offset=e.offset),N.search(t).then(({data:n})=>{this.audiobooks=new ze(n.albums)})},searchPodcasts(e){if(e.type.indexOf("podcast")<0)return;const t={type:"album",media_kind:"podcast"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is podcast)',e.limit&&(t.limit=e.limit,t.offset=e.offset),N.search(t).then(({data:n})=>{this.podcasts=new ze(n.albums)})},new_search(){!this.search_query||(this.$router.push({path:this.$store.state.search_path,query:{type:"track,artist,album,playlist,audiobook,podcast,composer",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({path:"/search/library",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({path:"/search/library",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({path:"/search/library",query:{type:"album",query:this.$route.query.query}})},open_search_composers(){this.$router.push({path:"/search/library",query:{type:"tracks",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({path:"/search/library",query:{type:"playlist",query:this.$route.query.query}})},open_search_audiobooks(){this.$router.push({path:"/search/library",query:{type:"audiobook",query:this.$route.query.query}})},open_search_podcasts(){this.$router.push({path:"/search/library",query:{type:"podcast",query:this.$route.query.query}})},open_composer(e){this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_playlist(e){this.$router.push({path:"/playlists/"+e.id+"/tracks"})},open_recent_search(e){this.search_query=e,this.new_search()},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_composer_dialog(e){this.selected_composer=e,this.show_composer_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},PM={class:"fd-page"},IM={class:"section pb-0"},FM={class:"container"},RM={class:"columns is-centered"},LM={class:"column is-four-fifths"},MM={class:"field"},NM={class:"control is-expanded has-icons-left"},VM=["placeholder"],BM={class:"icon is-left"},HM={class:"help has-text-centered"},UM=["innerHTML"],jM={class:"tags",style:{"margin-top":"16px"}},qM=["onClick","textContent"],WM=["textContent"],GM={key:0,class:"level"},KM={class:"level-item"},ZM=["textContent"],YM=["textContent"],JM=["textContent"],XM={key:0,class:"level"},QM={class:"level-item"},eN=["textContent"],tN=["textContent"],nN=["textContent"],sN={key:0,class:"level"},rN={class:"level-item"},oN=["textContent"],iN=["textContent"],aN=["textContent"],lN={key:0,class:"level"},uN={class:"level-item"},cN=["textContent"],dN=["textContent"],mN=["textContent"],fN={key:0,class:"level"},pN={class:"level-item"},hN=["textContent"],_N=["textContent"],gN=["textContent"],yN={key:0,class:"level"},vN={class:"level-item"},bN=["textContent"],CN=["textContent"],wN=["textContent"],zN={key:0,class:"level"},kN={class:"level-item"},xN=["textContent"],EN=["textContent"];function $N(e,t,n,s,r,o){const i=$("mdicon"),a=$("tabs-search"),u=$("list-tracks"),c=$("content-with-heading"),d=$("content-text"),f=$("list-artists"),m=$("list-albums"),p=$("list-composers"),h=$("list-playlists");return z(),S("div",PM,[l("section",IM,[l("div",FM,[l("div",RM,[l("div",LM,[l("form",{onSubmit:t[1]||(t[1]=it((..._)=>o.new_search&&o.new_search(..._),["prevent"]))},[l("div",MM,[l("p",NM,[dt(l("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=_=>r.search_query=_),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,VM),[[It,r.search_query]]),l("span",BM,[v(i,{name:"magnify",size:"16"})])]),l("p",HM,[l("span",{innerHTML:e.$t("page.search.help")},null,8,UM)])])],32),l("div",jM,[(z(!0),S(De,null,ht(o.recent_searches,_=>(z(),S("a",{key:_,class:"tag",onClick:w=>o.open_recent_search(_),textContent:g(_)},null,8,qM))),128))])])])])]),v(a,{query:r.search_query},null,8,["query"]),o.show_tracks&&r.tracks.total?(z(),ve(c,{key:0,class:"pt-0"},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.search.tracks"))},null,8,WM)]),content:E(()=>[v(u,{tracks:r.tracks},null,8,["tracks"])]),footer:E(()=>[o.show_all_tracks_button?(z(),S("nav",GM,[l("p",KM,[l("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(..._)=>o.open_search_tracks&&o.open_search_tracks(..._)),textContent:g(e.$t("page.search.show-tracks",{count:r.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,ZM)])])):B("",!0)]),_:1})):B("",!0),o.show_tracks&&!r.tracks.total?(z(),ve(d,{key:1,class:"pt-0"},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.search.no-tracks"))},null,8,YM)])]),_:1})):B("",!0),o.show_artists&&r.artists.total?(z(),ve(c,{key:2},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.search.artists"))},null,8,JM)]),content:E(()=>[v(f,{artists:r.artists,hide_group_title:!0},null,8,["artists"])]),footer:E(()=>[o.show_all_artists_button?(z(),S("nav",XM,[l("p",QM,[l("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(..._)=>o.open_search_artists&&o.open_search_artists(..._)),textContent:g(e.$t("page.search.show-artists",{count:r.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,eN)])])):B("",!0)]),_:1})):B("",!0),o.show_artists&&!r.artists.total?(z(),ve(d,{key:3},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.search.no-artists"))},null,8,tN)])]),_:1})):B("",!0),o.show_albums&&r.albums.total?(z(),ve(c,{key:4},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.search.albums"))},null,8,nN)]),content:E(()=>[v(m,{albums:r.albums,hide_group_title:!0},null,8,["albums"])]),footer:E(()=>[o.show_all_albums_button?(z(),S("nav",sN,[l("p",rN,[l("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(..._)=>o.open_search_albums&&o.open_search_albums(..._)),textContent:g(e.$t("page.search.show-albums",{count:r.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,oN)])])):B("",!0)]),_:1})):B("",!0),o.show_albums&&!r.albums.total?(z(),ve(d,{key:5},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.search.no-albums"))},null,8,iN)])]),_:1})):B("",!0),o.show_composers&&r.composers.total?(z(),ve(c,{key:6},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.search.composers"))},null,8,aN)]),content:E(()=>[v(p,{composers:r.composers},null,8,["composers"])]),footer:E(()=>[o.show_all_composers_button?(z(),S("nav",lN,[l("p",uN,[l("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(..._)=>o.open_search_composers&&o.open_search_composers(..._)),textContent:g(e.$t("page.search.show-composers",{count:r.composers.total.toLocaleString(e.$i18n.locale)}))},null,8,cN)])])):B("",!0)]),_:1})):B("",!0),o.show_composers&&!r.composers.total?(z(),ve(d,{key:7},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.search.no-composers"))},null,8,dN)])]),_:1})):B("",!0),o.show_playlists&&r.playlists.total?(z(),ve(c,{key:8},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.search.playlists"))},null,8,mN)]),content:E(()=>[v(h,{playlists:r.playlists},null,8,["playlists"])]),footer:E(()=>[o.show_all_playlists_button?(z(),S("nav",fN,[l("p",pN,[l("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(..._)=>o.open_search_playlists&&o.open_search_playlists(..._)),textContent:g(e.$t("page.search.show-playlists",{count:r.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,hN)])])):B("",!0)]),_:1})):B("",!0),o.show_playlists&&!r.playlists.total?(z(),ve(d,{key:9},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.search.no-playlists"))},null,8,_N)])]),_:1})):B("",!0),o.show_podcasts&&r.podcasts.total?(z(),ve(c,{key:10},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.search.podcasts"))},null,8,gN)]),content:E(()=>[v(m,{albums:r.podcasts},null,8,["albums"])]),footer:E(()=>[o.show_all_podcasts_button?(z(),S("nav",yN,[l("p",vN,[l("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(..._)=>o.open_search_podcasts&&o.open_search_podcasts(..._)),textContent:g(e.$t("page.search.show-podcasts",{count:r.podcasts.total.toLocaleString(e.$i18n.locale)}))},null,8,bN)])])):B("",!0)]),_:1})):B("",!0),o.show_podcasts&&!r.podcasts.total?(z(),ve(d,{key:11},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.search.no-podcasts"))},null,8,CN)])]),_:1})):B("",!0),o.show_audiobooks&&r.audiobooks.total?(z(),ve(c,{key:12},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.search.audiobooks"))},null,8,wN)]),content:E(()=>[v(m,{albums:r.audiobooks},null,8,["albums"])]),footer:E(()=>[o.show_all_audiobooks_button?(z(),S("nav",zN,[l("p",kN,[l("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(..._)=>o.open_search_audiobooks&&o.open_search_audiobooks(..._)),textContent:g(e.$t("page.search.show-audiobooks",{count:r.audiobooks.total.toLocaleString(e.$i18n.locale)}))},null,8,xN)])])):B("",!0)]),_:1})):B("",!0),o.show_audiobooks&&!r.audiobooks.total?(z(),ve(d,{key:13},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.search.no-audiobooks"))},null,8,EN)])]),_:1})):B("",!0)])}var SN=re(DM,[["render",$N]]);const AN={name:"PageAbout",data(){return{show_update_dropdown:!1,show_update_library:!1}},computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{onClickOutside(e){this.show_update_dropdown=!1},showUpdateDialog(){this.$store.commit(wi,!0)}}},TN={class:"fd-page"},ON={class:"section"},DN={class:"container"},PN={class:"columns is-centered"},IN={class:"column is-four-fifths has-text-centered-mobile"},FN=["textContent"],RN={class:"section"},LN={class:"container"},MN={class:"columns is-centered"},NN={class:"column is-four-fifths"},VN={class:"content"},BN={class:"level is-mobile"},HN={class:"level-left"},UN={class:"level-item"},jN=["textContent"],qN={class:"level-right"},WN={key:0},GN=["textContent"],KN={key:1},ZN=["textContent"],YN={class:"table"},JN=["textContent"],XN=["textContent"],QN=["textContent"],e7=["textContent"],t7=["textContent"],n7=["textContent"],s7=["textContent"],r7=["textContent"],o7=["textContent"],i7={class:"has-text-right"},a7=["textContent"],l7=["textContent"],u7=["textContent"],c7={class:"has-text-right"},d7=["textContent"],m7=["textContent"],f7={class:"section"},p7={class:"container"},h7={class:"columns is-centered"},_7={class:"column is-four-fifths"},g7={class:"content has-text-centered-mobile"},y7=["textContent"],v7=["textContent"],b7=["innerHTML"];function C7(e,t,n,s,r,o){return z(),S("div",TN,[l("section",ON,[l("div",DN,[l("div",PN,[l("div",IN,[l("h1",{class:"title is-4",textContent:g(o.config.library_name)},null,8,FN)])])])]),l("section",RN,[l("div",LN,[l("div",MN,[l("div",NN,[l("div",VN,[l("nav",BN,[l("div",HN,[l("div",UN,[l("h2",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,jN)])]),l("div",qN,[o.library.updating?(z(),S("div",WN,[l("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,GN)])):(z(),S("div",KN,[l("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>o.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,ZN)]))])]),l("table",YN,[l("tbody",null,[l("tr",null,[l("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,JN),l("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.artists))},null,8,XN)]),l("tr",null,[l("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,QN),l("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.albums))},null,8,e7)]),l("tr",null,[l("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,t7),l("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.songs))},null,8,n7)]),l("tr",null,[l("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,s7),l("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,r7)]),l("tr",null,[l("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,o7),l("td",i7,[l("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,a7),mt(" ("),l("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.updated_at))},null,8,l7),mt(") ")])]),l("tr",null,[l("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,u7),l("td",c7,[l("span",{textContent:g(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,d7),mt(" ("),l("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.started_at))},null,8,m7),mt(") ")])])])])])])])])]),l("section",f7,[l("div",p7,[l("div",h7,[l("div",_7,[l("div",g7,[l("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:o.config.version}))},null,8,y7),l("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,v7),l("p",{class:"is-size-7",innerHTML:e.$t("page.about.built-with")},null,8,b7)])])])])])])}var w7=re(AN,[["render",C7]]);const z7={name:"SpotifyListItemAlbum",props:["album"]},k7={class:"media"},x7={key:0,class:"media-left is-clickable"},E7={class:"media-content is-clickable is-clipped"},$7=["textContent"],S7={class:"subtitle is-7 has-text-grey"},A7=["textContent"],T7=["textContent"],O7={class:"media-right"};function D7(e,t,n,s,r,o){return z(),S("div",k7,[e.$slots.artwork?(z(),S("div",x7,[ut(e.$slots,"artwork")])):B("",!0),l("div",E7,[l("h1",{class:"title is-6",textContent:g(n.album.name)},null,8,$7),l("h2",S7,[l("b",{textContent:g(n.album.artists[0].name)},null,8,A7)]),l("h2",{class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,T7)]),l("div",O7,[ut(e.$slots,"actions")])])}var Zl=re(z7,[["render",D7]]);const P7={name:"SpotifyListItemPlaylist",props:["playlist"],methods:{open_playlist(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},I7={class:"media"},F7=["textContent"],R7=["textContent"],L7={class:"media-right"};function M7(e,t,n,s,r,o){return z(),S("div",I7,[l("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_playlist&&o.open_playlist(...i))},[l("h1",{class:"title is-6",textContent:g(n.playlist.name)},null,8,F7),l("h2",{class:"subtitle is-7",textContent:g(n.playlist.owner.display_name)},null,8,R7)]),l("div",L7,[ut(e.$slots,"actions")])])}var om=re(P7,[["render",M7]]);const N7={name:"SpotifyModalDialogAlbum",components:{CoverArtwork:Gn},props:["show","album"],emits:["close"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{play(){this.$emit("close"),N.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.album.uri)},open_album(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},V7={key:0,class:"modal is-active"},B7={class:"modal-content fd-modal-card"},H7={class:"card"},U7={class:"card-content"},j7={class:"title is-4"},q7=["textContent"],W7={class:"content is-small"},G7=["textContent"],K7=["textContent"],Z7=["textContent"],Y7=["textContent"],J7=["textContent"],X7=["textContent"],Q7={class:"card-footer"},e9={class:"icon"},t9=["textContent"],n9={class:"icon"},s9=["textContent"],r9={class:"icon"},o9=["textContent"];function i9(e,t,n,s,r,o){const i=$("cover-artwork"),a=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",V7,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=u=>e.$emit("close"))}),l("div",B7,[l("div",H7,[l("div",U7,[v(i,{artwork_url:o.artwork_url,artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-has-margin-bottom fd-cover fd-cover-normal-image",onLoad:o.artwork_loaded,onError:o.artwork_error},null,8,["artwork_url","artist","album","onLoad","onError"]),l("p",j7,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...u)=>o.open_album&&o.open_album(...u)),textContent:g(n.album.name)},null,8,q7)]),l("div",W7,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,G7),l("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...u)=>o.open_artist&&o.open_artist(...u)),textContent:g(n.album.artists[0].name)},null,8,K7)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,Z7),l("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,Y7)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,J7),l("span",{class:"title is-6",textContent:g(n.album.album_type)},null,8,X7)])])]),l("footer",Q7,[l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...u)=>o.queue_add&&o.queue_add(...u))},[l("span",e9,[v(a,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,t9)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...u)=>o.queue_add_next&&o.queue_add_next(...u))},[l("span",n9,[v(a,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add-next"))},null,8,s9)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...u)=>o.play&&o.play(...u))},[l("span",r9,[v(a,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,o9)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=u=>e.$emit("close"))})])):B("",!0)]),_:1})])}var $i=re(N7,[["render",i9]]);const a9={name:"SpotifyModalDialogPlaylist",props:["show","playlist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.playlist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.playlist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.playlist.uri)},open_playlist(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},l9={key:0,class:"modal is-active"},u9={class:"modal-content fd-modal-card"},c9={class:"card"},d9={class:"card-content"},m9={class:"title is-4"},f9=["textContent"],p9={class:"content is-small"},h9=["textContent"],_9=["textContent"],g9=["textContent"],y9=["textContent"],v9=["textContent"],b9=["textContent"],C9={class:"card-footer"},w9={class:"icon"},z9=["textContent"],k9={class:"icon"},x9=["textContent"],E9={class:"icon"},$9=["textContent"];function S9(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",l9,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",u9,[l("div",c9,[l("div",d9,[l("p",m9,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:g(n.playlist.name)},null,8,f9)]),l("div",p9,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,h9),l("span",{class:"title is-6",textContent:g(n.playlist.owner.display_name)},null,8,_9)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,g9),l("span",{class:"title is-6",textContent:g(n.playlist.tracks.total)},null,8,y9)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,v9),l("span",{class:"title is-6",textContent:g(n.playlist.uri)},null,8,b9)])])]),l("footer",C9,[l("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",w9,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,z9)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",k9,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add-next"))},null,8,x9)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[l("span",E9,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,$9)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var Yl=re(a9,[["render",S9]]);const Ca={load(e){if(Ke.state.spotify_new_releases.length>0&&Ke.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:Ke.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:Ke.state.spotify.webapi_country,limit:50})])},set(e,t){t&&(Ke.commit(Dd,t[0].albums.items),Ke.commit(Pd,t[1].playlists.items))}},A9={name:"SpotifyPageBrowse",components:{ContentWithHeading:st,TabsMusic:os,SpotifyListItemAlbum:Zl,SpotifyListItemPlaylist:om,SpotifyModalDialogAlbum:$i,SpotifyModalDialogPlaylist:Yl,CoverArtwork:Gn},beforeRouteEnter(e,t,n){Ca.load(e).then(s=>{n(r=>Ca.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;Ca.load(e).then(r=>{Ca.set(s,r),n()})},data(){return{show_album_details_modal:!1,selected_album:{},show_playlist_details_modal:!1,selected_playlist:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases.slice(0,3)},featured_playlists(){return this.$store.state.spotify_featured_playlists.slice(0,3)},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},T9={class:"fd-page-with-tabs"},O9=["textContent"],D9=["onClick"],P9={class:"icon has-text-dark"},I9={class:"level"},F9={class:"level-item"},R9=["textContent"],L9=["onClick"],M9={class:"icon has-text-dark"},N9={class:"level"},V9={class:"level-item"};function B9(e,t,n,s,r,o){const i=$("tabs-music"),a=$("cover-artwork"),u=$("mdicon"),c=$("spotify-list-item-album"),d=$("spotify-modal-dialog-album"),f=$("router-link"),m=$("content-with-heading"),p=$("spotify-list-item-playlist"),h=$("spotify-modal-dialog-playlist");return z(),S("div",T9,[v(i),v(m,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.new-releases"))},null,8,O9)]),content:E(()=>[(z(!0),S(De,null,ht(o.new_releases,_=>(z(),ve(c,{key:_.id,album:_,onClick:w=>o.open_album(_)},Ci({actions:E(()=>[l("a",{onClick:it(w=>o.open_album_dialog(_),["prevent","stop"])},[l("span",P9,[v(u,{name:"dots-vertical",size:"16"})])],8,D9)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(a,{artwork_url:o.artwork_url(_),artist:_.artist,album:_.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),v(d,{show:r.show_album_details_modal,album:r.selected_album,onClose:t[0]||(t[0]=_=>r.show_album_details_modal=!1)},null,8,["show","album"])]),footer:E(()=>[l("nav",I9,[l("p",F9,[v(f,{to:"/music/spotify/new-releases",class:"button is-light is-small is-rounded"},{default:E(()=>[mt(g(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1}),v(m,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.featured-playlists"))},null,8,R9)]),content:E(()=>[(z(!0),S(De,null,ht(o.featured_playlists,_=>(z(),ve(p,{key:_.id,playlist:_},{actions:E(()=>[l("a",{onClick:it(w=>o.open_playlist_dialog(_),["prevent","stop"])},[l("span",M9,[v(u,{name:"dots-vertical",size:"16"})])],8,L9)]),_:2},1032,["playlist"]))),128)),v(h,{show:r.show_playlist_details_modal,playlist:r.selected_playlist,onClose:t[1]||(t[1]=_=>r.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:E(()=>[l("nav",N9,[l("p",V9,[v(f,{to:"/music/spotify/featured-playlists",class:"button is-light is-small is-rounded"},{default:E(()=>[mt(g(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1})])}var H9=re(A9,[["render",B9]]);const wa={load(e){if(Ke.state.spotify_new_releases.length>0)return Promise.resolve();const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),t.getNewReleases({country:Ke.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ke.commit(Dd,t.albums.items)}},U9={name:"SpotifyPageBrowseNewReleases",components:{ContentWithHeading:st,TabsMusic:os,SpotifyListItemAlbum:Zl,SpotifyModalDialogAlbum:$i,CoverArtwork:Gn},beforeRouteEnter(e,t,n){wa.load(e).then(s=>{n(r=>wa.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;wa.load(e).then(r=>{wa.set(s,r),n()})},data(){return{show_album_details_modal:!1,selected_album:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},j9={class:"fd-page-with-tabs"},q9=["textContent"],W9=["onClick"],G9={class:"icon has-text-dark"};function K9(e,t,n,s,r,o){const i=$("tabs-music"),a=$("cover-artwork"),u=$("mdicon"),c=$("spotify-list-item-album"),d=$("spotify-modal-dialog-album"),f=$("content-with-heading");return z(),S("div",j9,[v(i),v(f,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.new-releases"))},null,8,q9)]),content:E(()=>[(z(!0),S(De,null,ht(o.new_releases,m=>(z(),ve(c,{key:m.id,album:m,onClick:p=>o.open_album(m)},Ci({actions:E(()=>[l("a",{onClick:it(p=>o.open_album_dialog(m),["prevent","stop"])},[l("span",G9,[v(u,{name:"dots-vertical",size:"16"})])],8,W9)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(a,{artwork_url:o.artwork_url(m),artist:m.artist,album:m.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),v(d,{show:r.show_album_details_modal,album:r.selected_album,onClose:t[0]||(t[0]=m=>r.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}var Z9=re(U9,[["render",K9]]);const za={load(e){if(Ke.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Wn;t.setAccessToken(Ke.state.spotify.webapi_token),t.getFeaturedPlaylists({country:Ke.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ke.commit(Pd,t.playlists.items)}},Y9={name:"SpotifyPageBrowseFeaturedPlaylists",components:{ContentWithHeading:st,TabsMusic:os,SpotifyListItemPlaylist:om,SpotifyModalDialogPlaylist:Yl},beforeRouteEnter(e,t,n){za.load(e).then(s=>{n(r=>za.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;za.load(e).then(r=>{za.set(s,r),n()})},data(){return{show_playlist_details_modal:!1,selected_playlist:{}}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},J9={class:"fd-page-with-tabs"},X9=["textContent"],Q9=["onClick"],eV={class:"icon has-text-dark"};function tV(e,t,n,s,r,o){const i=$("tabs-music"),a=$("mdicon"),u=$("spotify-list-item-playlist"),c=$("spotify-modal-dialog-playlist"),d=$("content-with-heading");return z(),S("div",J9,[v(i),v(d,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.featured-playlists"))},null,8,X9)]),content:E(()=>[(z(!0),S(De,null,ht(o.featured_playlists,f=>(z(),ve(u,{key:f.id,playlist:f},{actions:E(()=>[l("a",{onClick:it(m=>o.open_playlist_dialog(f),["prevent","stop"])},[l("span",eV,[v(a,{name:"dots-vertical",size:"16"})])],8,Q9)]),_:2},1032,["playlist"]))),128)),v(c,{show:r.show_playlist_details_modal,playlist:r.selected_playlist,onClose:t[0]||(t[0]=f=>r.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}var nV=re(Y9,[["render",tV]]);const sV={name:"SpotifyModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.artist.uri)},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},rV={key:0,class:"modal is-active"},oV={class:"modal-content fd-modal-card"},iV={class:"card"},aV={class:"card-content"},lV={class:"title is-4"},uV=["textContent"],cV={class:"content is-small"},dV=["textContent"],mV=["textContent"],fV=["textContent"],pV=["textContent"],hV={class:"card-footer"},_V={class:"icon"},gV=["textContent"],yV={class:"icon"},vV=["textContent"],bV={class:"icon"},CV=["textContent"];function wV(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",rV,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",oV,[l("div",iV,[l("div",aV,[l("p",lV,[l("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.artist.name)},null,8,uV)]),l("div",cV,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,dV),l("span",{class:"title is-6",textContent:g([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,mV)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,fV),l("span",{class:"title is-6",textContent:g(n.artist.genres.join(", "))},null,8,pV)])])]),l("footer",hV,[l("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",_V,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,gV)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",yV,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add-next"))},null,8,vV)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[l("span",bV,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,CV)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var hv=re(sV,[["render",wV]]);function zV(e){return e.scrollHeight}function kV(e){return e.scrollWidth}function xV(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function EV(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const $V=l("div",{class:"loading"},"Loading...",-1),SV=l("div",{class:"no-more"},"No more.",-1),AV=l("div",{class:"no-results"},"No results.",-1),TV=l("div",{class:"error"},"Error.",-1),im=so({__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,s=Xt();let r=Xt("loading"),o=Xt(n.isInitial);const i=typeof process<"u"&&process.env!==void 0&&!0;let a=0;function u(){gi(()=>{var C,k;n.position==="top"?xV((C=n.container)!=null?C:document.documentElement,a):n.position==="left"&&EV((k=n.container)!=null?k:document.documentElement,a)})}function c(C,k){return C===0?o.value?(f(),"no-results"):(d(),"no-more"):C!==void 0&&k!==void 0&&C<k?(d(),"no-more"):(o.value=!1,u(),b(),"loading")}function d(){o.value=!1,_("no-more"),u()}function f(){o.value=!1,_("no-results"),u()}function m(){o.value=!1,_("error"),u()}function p(){o.value=!0,_("loading"),b()}function h(){_("loading"),b()}function _(C){r.value=C}function w(){s.value&&x.unobserve(s.value)}function b(){s.value&&x.observe(s.value)}function y(){return new IntersectionObserver(([C])=>{var k,T;C.isIntersecting&&(n.position==="top"?a=zV((k=n.container)!=null?k:document.documentElement):n.position==="left"&&(a=kV((T=n.container)!=null?T:document.documentElement)),w(),n.load({loaded:c,noMore:d,noResults:f,error:m},{isFirstLoad:o.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let x;return typeof IntersectionObserver<"u"&&Dh(()=>{x&&w(),x=y(),b()},{flush:"post"}),tn(()=>n.isInitial,C=>{C&&p()}),tn(o,C=>{C||t("update:isInitial",!1)}),(C,k)=>ln(i)?B("",!0):(z(),S("div",{key:0,class:"vue-eternal-loading",ref_key:"rootRef",ref:s},[ln(r)==="loading"?ut(C.$slots,"loading",Eo(Pr({key:0},{isFirstLoad:ln(o)})),()=>[$V]):ln(r)==="no-more"?ut(C.$slots,"no-more",Eo(Pr({key:1},{retry:h})),()=>[SV]):ln(r)==="no-results"?ut(C.$slots,"no-results",Eo(Pr({key:2},{retry:h})),()=>[AV]):ln(r)==="error"?ut(C.$slots,"error",Eo(Pr({key:3},{retry:h})),()=>[TV]):B("",!0)],512))}}),Lc=50,ka={load:function(e){const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.artist_id),t.getArtistAlbums(e.params.artist_id,{limit:Lc,offset:0,include_groups:"album,single",market:Ke.state.spotify.webapi_country})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},OV={name:"SpotifyPageArtist",components:{ContentWithHeading:st,SpotifyListItemAlbum:Zl,SpotifyModalDialogAlbum:$i,SpotifyModalDialogArtist:hv,VueEternalLoading:im,CoverArtwork:Gn},beforeRouteEnter(e,t,n){ka.load(e).then(s=>{n(r=>ka.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;ka.load(e).then(r=>{ka.set(s,r),n()})},data(){return{artist:{},albums:[],total:0,offset:0,show_details_modal:!1,selected_album:{},show_artist_details_modal:!1}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{load_next({loaded:e}){const t=new Wn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:Lc,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,Lc)})},append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,N.player_play_uri(this.artist.uri,!0)},open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},DV={class:"fd-page"},PV=["textContent"],IV={class:"buttons is-centered"},FV={class:"icon"},RV={class:"icon"},LV=["textContent"],MV=["textContent"],NV=["onClick"],VV={class:"icon has-text-dark"};function BV(e,t,n,s,r,o){const i=$("mdicon"),a=$("cover-artwork"),u=$("spotify-list-item-album"),c=$("VueEternalLoading"),d=$("spotify-modal-dialog-album"),f=$("spotify-modal-dialog-artist"),m=$("content-with-heading");return z(),S("div",DV,[v(m,null,{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(r.artist.name)},null,8,PV)]),"heading-right":E(()=>[l("div",IV,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>r.show_artist_details_modal=!0)},[l("span",FV,[v(i,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...p)=>o.play&&o.play(...p))},[l("span",RV,[v(i,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,LV)])])]),content:E(()=>[l("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:r.total}))},null,8,MV),(z(!0),S(De,null,ht(r.albums,p=>(z(),ve(u,{key:p.id,album:p,onClick:h=>o.open_album(p)},Ci({actions:E(()=>[l("a",{onClick:it(h=>o.open_dialog(p),["prevent","stop"])},[l("span",VV,[v(i,{name:"dots-vertical",size:"16"})])],8,NV)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(a,{artwork_url:o.artwork_url(p),artist:p.artist,album:p.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),r.offset<r.total?(z(),ve(c,{key:0,load:o.load_next},{"no-more":E(()=>[mt(" . ")]),_:1},8,["load"])):B("",!0),v(d,{show:r.show_details_modal,album:r.selected_album,onClose:t[2]||(t[2]=p=>r.show_details_modal=!1)},null,8,["show","album"]),v(f,{show:r.show_artist_details_modal,artist:r.artist,onClose:t[3]||(t[3]=p=>r.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}var HV=re(OV,[["render",BV]]);const UV={name:"SpotifyListItemTrack",props:["track","position","context_uri"],methods:{play(){this.track.is_playable&&N.player_play_uri(this.context_uri,!1,this.position)}}},jV={class:"media"},qV=["textContent"],WV=["textContent"],GV={key:0,class:"subtitle is-7"},KV=["textContent"],ZV=["textContent"],YV={class:"media-right"};function JV(e,t,n,s,r,o){return z(),S("div",jV,[l("div",{class:Te(["media-content is-clipped",{"is-clickable":n.track.is_playable,"fd-is-not-allowed":!n.track.is_playable}]),onClick:t[0]||(t[0]=(...i)=>o.play&&o.play(...i))},[l("h1",{class:Te(["title is-6",{"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.name)},null,10,qV),l("h2",{class:Te(["subtitle is-7",{"has-text-grey":n.track.is_playable,"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.artists[0].name)},null,10,WV),n.track.is_playable?B("",!0):(z(),S("h2",GV,[mt(" ("),l("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,KV),n.track.restrictions&&n.track.restrictions.reason?(z(),S("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,ZV)):B("",!0),mt(") ")]))],2),l("div",YV,[ut(e.$slots,"actions")])])}var am=re(UV,[["render",JV]]);const XV={name:"SpotifyModalDialogTrack",props:["show","track","album"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.track.uri)},open_album(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})}}},QV={key:0,class:"modal is-active"},eB={class:"modal-content fd-modal-card"},tB={class:"card"},nB={class:"card-content"},sB=["textContent"],rB=["textContent"],oB={class:"content is-small"},iB=["textContent"],aB=["textContent"],lB=["textContent"],uB=["textContent"],cB=["textContent"],dB=["textContent"],mB=["textContent"],fB=["textContent"],pB=["textContent"],hB=["textContent"],_B=["textContent"],gB=["textContent"],yB={class:"card-footer"},vB={class:"icon"},bB=["textContent"],CB={class:"icon"},wB=["textContent"],zB={class:"icon"},kB=["textContent"];function xB(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",QV,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",eB,[l("div",tB,[l("div",nB,[l("p",{class:"title is-4",textContent:g(n.track.name)},null,8,sB),l("p",{class:"subtitle",textContent:g(n.track.artists[0].name)},null,8,rB),l("div",oB,[l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,iB),l("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:g(n.album.name)},null,8,aB)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,lB),l("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.album.artists[0].name)},null,8,uB)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,cB),l("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,dB)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,mB),l("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,fB)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,pB),l("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.duration_ms))},null,8,hB)]),l("p",null,[l("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,_B),l("span",{class:"title is-6",textContent:g(n.track.uri)},null,8,gB)])])]),l("footer",yB,[l("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[l("span",vB,[v(i,{name:"playlist-plus",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,bB)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[l("span",CB,[v(i,{name:"playlist-play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add-next"))},null,8,wB)]),l("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[l("span",zB,[v(i,{name:"play",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,kB)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var lm=re(XV,[["render",xB]]);const xa={load(e){const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),t.getAlbum(e.params.album_id,{market:Ke.state.spotify.webapi_country})},set(e,t){e.album=t}},EB={name:"PageAlbum",components:{ContentWithHero:tm,SpotifyListItemTrack:am,SpotifyModalDialogTrack:lm,SpotifyModalDialogAlbum:$i,CoverArtwork:Gn},beforeRouteEnter(e,t,n){xa.load(e).then(s=>{n(r=>xa.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;xa.load(e).then(r=>{xa.set(s,r),n()})},data(){return{album:{artists:[{}],tracks:{}},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1}},computed:{artwork_url(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},play(){this.show_details_modal=!1,N.player_play_uri(this.album.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},$B={class:"fd-page"},SB=["textContent"],AB={class:"subtitle is-6 has-text-link has-text-weight-normal"},TB=["textContent"],OB={class:"buttons fd-is-centered-mobile fd-has-margin-top"},DB={class:"icon"},PB=["textContent"],IB={class:"icon"},FB=["textContent"],RB=["onClick"],LB={class:"icon has-text-dark"};function MB(e,t,n,s,r,o){const i=$("mdicon"),a=$("cover-artwork"),u=$("spotify-list-item-track"),c=$("spotify-modal-dialog-track"),d=$("spotify-modal-dialog-album"),f=$("content-with-hero");return z(),S("div",$B,[v(f,null,{"heading-left":E(()=>[l("h1",{class:"title is-5",textContent:g(r.album.name)},null,8,SB),l("h2",AB,[l("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(r.album.artists[0].name)},null,8,TB)]),l("div",OB,[l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[l("span",DB,[v(i,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,PB)]),l("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>r.show_album_details_modal=!0)},[l("span",IB,[v(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":E(()=>[v(a,{artwork_url:o.artwork_url,artist:r.album.artist,album:r.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>r.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[l("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:g(e.$t("page.spotify.album.track-count",{count:r.album.tracks.total}))},null,8,FB),(z(!0),S(De,null,ht(r.album.tracks.items,(m,p)=>(z(),ve(u,{key:m.id,track:m,position:p,context_uri:r.album.uri},{actions:E(()=>[l("a",{onClick:it(h=>o.open_track_dialog(m),["prevent","stop"])},[l("span",LB,[v(i,{name:"dots-vertical",size:"16"})])],8,RB)]),_:2},1032,["track","position","context_uri"]))),128)),v(c,{show:r.show_track_details_modal,track:r.selected_track,album:r.album,onClose:t[4]||(t[4]=m=>r.show_track_details_modal=!1)},null,8,["show","track","album"]),v(d,{show:r.show_album_details_modal,album:r.album,onClose:t[5]||(t[5]=m=>r.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}var NB=re(EB,[["render",MB]]);const Mc=50,Ea={load:function(e){const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.playlist_id),t.getPlaylistTracks(e.params.playlist_id,{limit:Mc,offset:0,market:Ke.state.spotify.webapi_country})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},VB={name:"SpotifyPagePlaylist",components:{ContentWithHeading:st,SpotifyListItemTrack:am,SpotifyModalDialogTrack:lm,SpotifyModalDialogPlaylist:Yl,VueEternalLoading:im},beforeRouteEnter(e,t,n){Ea.load(e).then(s=>{n(r=>Ea.set(r,s))})},beforeRouteUpdate(e,t,n){const s=this;Ea.load(e).then(r=>{Ea.set(s,r),n()})},data(){return{playlist:{tracks:{}},tracks:[],total:0,offset:0,show_track_details_modal:!1,selected_track:{},show_playlist_details_modal:!1}},methods:{load_next({loaded:e}){const t=new Wn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Mc,offset:this.offset,market:Ke.state.spotify.webapi_country}).then(n=>{this.append_tracks(n),e(n.items.length,Mc)})},append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const s=n.track;s&&(s.is_playable&&(s.position=++t),this.tracks.push(s))}),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,N.player_play_uri(this.playlist.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},BB={class:"fd-page"},HB=["textContent"],UB={class:"buttons is-centered"},jB={class:"icon"},qB={class:"icon"},WB=["textContent"],GB=["textContent"],KB=["onClick"],ZB={class:"icon has-text-dark"};function YB(e,t,n,s,r,o){const i=$("mdicon"),a=$("spotify-list-item-track"),u=$("VueEternalLoading"),c=$("spotify-modal-dialog-track"),d=$("spotify-modal-dialog-playlist"),f=$("content-with-heading");return z(),S("div",BB,[v(f,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(r.playlist.name)},null,8,HB)]),"heading-right":E(()=>[l("div",UB,[l("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>r.show_playlist_details_modal=!0)},[l("span",jB,[v(i,{name:"dots-horizontal",size:"16"})])]),l("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[l("span",qB,[v(i,{name:"shuffle",size:"16"})]),l("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,WB)])])]),content:E(()=>[l("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.playlist.count",{count:r.playlist.tracks.total}))},null,8,GB),(z(!0),S(De,null,ht(r.tracks,m=>(z(),ve(a,{key:m.id,track:m,position:m.position,context_uri:r.playlist.uri},{actions:E(()=>[l("a",{onClick:it(p=>o.open_track_dialog(m),["prevent","stop"])},[l("span",ZB,[v(i,{name:"dots-vertical",size:"16"})])],8,KB)]),_:2},1032,["track","position","context_uri"]))),128)),r.offset<r.total?(z(),ve(u,{key:0,load:o.load_next},{"no-more":E(()=>[mt(" . ")]),_:1},8,["load"])):B("",!0),v(c,{show:r.show_track_details_modal,track:r.selected_track,album:r.selected_track.album,onClose:t[2]||(t[2]=m=>r.show_track_details_modal=!1)},null,8,["show","track","album"]),v(d,{show:r.show_playlist_details_modal,playlist:r.playlist,onClose:t[3]||(t[3]=m=>r.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}var JB=re(VB,[["render",YB]]);const XB={name:"SpotifyListItemArtist",props:["artist"],methods:{open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},QB={class:"media"},eH=["textContent"],tH={class:"media-right"};function nH(e,t,n,s,r,o){return z(),S("div",QB,[l("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_artist&&o.open_artist(...i))},[l("h1",{class:"title is-6",textContent:g(n.artist.name)},null,8,eH)]),l("div",tH,[ut(e.$slots,"actions")])])}var sH=re(XB,[["render",nH]]);const Co=50,rH={name:"SpotifyPageSearch",components:{ContentWithHeading:st,ContentText:fv,TabsSearch:pv,SpotifyListItemTrack:am,SpotifyListItemArtist:sH,SpotifyListItemAlbum:Zl,SpotifyListItemPlaylist:om,SpotifyModalDialogTrack:lm,SpotifyModalDialogArtist:hv,SpotifyModalDialogAlbum:$i,SpotifyModalDialogPlaylist:Yl,VueEternalLoading:im,CoverArtwork:Gn},data(){return{search_query:"",tracks:{items:[],total:0},artists:{items:[],total:0},albums:{items:[],total:0},playlists:{items:[],total:0},query:{},search_param:{},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1,selected_album:{},show_artist_details_modal:!1,selected_artist:{},show_playlist_details_modal:!1,selected_playlist:{},validSearchTypes:["track","artist","album","playlist"]}},computed:{recent_searches(){return this.$store.state.recent_searches.filter(e=>!e.startsWith("query:"))},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},watch:{$route(e,t){this.query=e.query,this.search()}},mounted(){this.query=this.$route.query,this.search()},methods:{reset(){this.tracks={items:[],total:0},this.artists={items:[],total:0},this.albums={items:[],total:0},this.playlists={items:[],total:0}},search(){if(this.reset(),!this.query.query||this.query.query===""||this.query.query.startsWith("query:")){this.search_query="",this.$refs.search_field.focus();return}this.search_query=this.query.query,this.search_param.limit=this.query.limit?this.query.limit:Co,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(Id,this.query.query),this.search_all()},spotify_search(){return N.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new Wn;t.setAccessToken(e.webapi_token);const n=this.query.type.split(",").filter(s=>this.validSearchTypes.includes(s));return t.search(this.query.query,n,this.search_param)})},search_all(){this.spotify_search().then(e=>{this.tracks=e.tracks?e.tracks:{items:[],total:0},this.artists=e.artists?e.artists:{items:[],total:0},this.albums=e.albums?e.albums:{items:[],total:0},this.playlists=e.playlists?e.playlists:{items:[],total:0}})},search_tracks_next({loaded:e}){this.spotify_search().then(t=>{this.tracks.items=this.tracks.items.concat(t.tracks.items),this.tracks.total=t.tracks.total,this.search_param.offset+=t.tracks.limit,e(t.tracks.items.length,Co)})},search_artists_next({loaded:e}){this.spotify_search().then(t=>{this.artists.items=this.artists.items.concat(t.artists.items),this.artists.total=t.artists.total,this.search_param.offset+=t.artists.limit,e(t.artists.items.length,Co)})},search_albums_next({loaded:e}){this.spotify_search().then(t=>{this.albums.items=this.albums.items.concat(t.albums.items),this.albums.total=t.albums.total,this.search_param.offset+=t.albums.limit,e(t.albums.items.length,Co)})},search_playlists_next({loaded:e}){this.spotify_search().then(t=>{this.playlists.items=this.playlists.items.concat(t.playlists.items),this.playlists.total=t.playlists.total,this.search_param.offset+=t.playlists.limit,e(t.playlists.items.length,Co)})},new_search(){!this.search_query||(this.$router.push({path:"/search/spotify",query:{type:"track,artist,album,playlist,audiobook,podcast",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({path:"/search/spotify",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({path:"/search/spotify",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({path:"/search/spotify",query:{type:"album",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({path:"/search/spotify",query:{type:"playlist",query:this.$route.query.query}})},open_recent_search(e){this.search_query=e,this.new_search()},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},oH={class:"fd-page"},iH={class:"section pb-0"},aH={class:"container"},lH={class:"columns is-centered"},uH={class:"column is-four-fifths"},cH={class:"field"},dH={class:"control is-expanded has-icons-left"},mH=["placeholder"],fH={class:"icon is-left"},pH={class:"tags",style:{"margin-top":"16px"}},hH=["onClick","textContent"],_H=["textContent"],gH=["onClick"],yH={class:"icon has-text-dark"},vH={key:0,class:"level"},bH={class:"level-item"},CH=["textContent"],wH=["textContent"],zH=["textContent"],kH=["onClick"],xH={class:"icon has-text-dark"},EH={key:0,class:"level"},$H={class:"level-item"},SH=["textContent"],AH=["textContent"],TH=["textContent"],OH=["onClick"],DH={class:"icon has-text-dark"},PH={key:0,class:"level"},IH={class:"level-item"},FH=["textContent"],RH=["textContent"],LH=["textContent"],MH=["onClick"],NH={class:"icon has-text-dark"},VH={key:0,class:"level"},BH={class:"level-item"},HH=["textContent"],UH=["textContent"];function jH(e,t,n,s,r,o){const i=$("mdicon"),a=$("tabs-search"),u=$("spotify-list-item-track"),c=$("VueEternalLoading"),d=$("spotify-modal-dialog-track"),f=$("content-with-heading"),m=$("content-text"),p=$("spotify-list-item-artist"),h=$("spotify-modal-dialog-artist"),_=$("cover-artwork"),w=$("spotify-list-item-album"),b=$("spotify-modal-dialog-album"),y=$("spotify-list-item-playlist"),x=$("spotify-modal-dialog-playlist");return z(),S("div",oH,[l("section",iH,[l("div",aH,[l("div",lH,[l("div",uH,[l("form",{onSubmit:t[1]||(t[1]=it((...C)=>o.new_search&&o.new_search(...C),["prevent"]))},[l("div",cH,[l("p",dH,[dt(l("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=C=>r.search_query=C),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,mH),[[It,r.search_query]]),l("span",fH,[v(i,{name:"magnify",size:"16"})])])])],32),l("div",pH,[(z(!0),S(De,null,ht(o.recent_searches,C=>(z(),S("a",{key:C,class:"tag",onClick:k=>o.open_recent_search(C),textContent:g(C)},null,8,hH))),128))])])])])]),v(a,{query:r.search_query},null,8,["query"]),o.show_tracks&&r.tracks.total?(z(),ve(f,{key:0,class:"pt-0"},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.tracks"))},null,8,_H)]),content:E(()=>[(z(!0),S(De,null,ht(r.tracks.items,C=>(z(),ve(u,{key:C.id,track:C,position:0,context_uri:C.uri},{actions:E(()=>[l("a",{onClick:it(k=>o.open_track_dialog(C),["prevent","stop"])},[l("span",yH,[v(i,{name:"dots-vertical",size:"16"})])],8,gH)]),_:2},1032,["track","context_uri"]))),128)),r.query.type==="track"?(z(),ve(c,{key:0,load:o.search_tracks_next},{"no-more":E(()=>[mt(" . ")]),_:1},8,["load"])):B("",!0),v(d,{show:r.show_track_details_modal,track:r.selected_track,album:r.selected_track.album,onClose:t[2]||(t[2]=C=>r.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:E(()=>[o.show_all_tracks_button?(z(),S("nav",vH,[l("p",bH,[l("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...C)=>o.open_search_tracks&&o.open_search_tracks(...C)),textContent:g(e.$t("page.spotify.search.show-all-tracks",{count:r.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,CH)])])):B("",!0)]),_:1})):B("",!0),o.show_tracks&&!r.tracks.total?(z(),ve(m,{key:1,class:"pt-0"},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.spotify.search.no-tracks"))},null,8,wH)])]),_:1})):B("",!0),o.show_artists&&r.artists.total?(z(),ve(f,{key:2},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.artists"))},null,8,zH)]),content:E(()=>[(z(!0),S(De,null,ht(r.artists.items,C=>(z(),ve(p,{key:C.id,artist:C},{actions:E(()=>[l("a",{onClick:it(k=>o.open_artist_dialog(C),["prevent","stop"])},[l("span",xH,[v(i,{name:"dots-vertical",size:"16"})])],8,kH)]),_:2},1032,["artist"]))),128)),r.query.type==="artist"?(z(),ve(c,{key:0,load:o.search_artists_next},{"no-more":E(()=>[mt(" . ")]),_:1},8,["load"])):B("",!0),v(h,{show:r.show_artist_details_modal,artist:r.selected_artist,onClose:t[4]||(t[4]=C=>r.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:E(()=>[o.show_all_artists_button?(z(),S("nav",EH,[l("p",$H,[l("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...C)=>o.open_search_artists&&o.open_search_artists(...C)),textContent:g(e.$t("page.spotify.search.show-all-artists",{count:r.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,SH)])])):B("",!0)]),_:1})):B("",!0),o.show_artists&&!r.artists.total?(z(),ve(m,{key:3},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.spotify.search.no-artists"))},null,8,AH)])]),_:1})):B("",!0),o.show_albums&&r.albums.total?(z(),ve(f,{key:4},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.albums"))},null,8,TH)]),content:E(()=>[(z(!0),S(De,null,ht(r.albums.items,C=>(z(),ve(w,{key:C.id,album:C,onClick:k=>o.open_album(C)},Ci({actions:E(()=>[l("a",{onClick:it(k=>o.open_album_dialog(C),["prevent","stop"])},[l("span",DH,[v(i,{name:"dots-vertical",size:"16"})])],8,OH)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(_,{artwork_url:o.artwork_url(C),artist:C.artist,album:C.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),r.query.type==="album"?(z(),ve(c,{key:0,load:o.search_albums_next},{"no-more":E(()=>[mt(" . ")]),_:1},8,["load"])):B("",!0),v(b,{show:r.show_album_details_modal,album:r.selected_album,onClose:t[6]||(t[6]=C=>r.show_album_details_modal=!1)},null,8,["show","album"])]),footer:E(()=>[o.show_all_albums_button?(z(),S("nav",PH,[l("p",IH,[l("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...C)=>o.open_search_albums&&o.open_search_albums(...C)),textContent:g(e.$t("page.spotify.search.show-all-albums",{count:r.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,FH)])])):B("",!0)]),_:1})):B("",!0),o.show_albums&&!r.albums.total?(z(),ve(m,{key:5},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.spotify.search.no-albums"))},null,8,RH)])]),_:1})):B("",!0),o.show_playlists&&r.playlists.total?(z(),ve(f,{key:6},{"heading-left":E(()=>[l("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.playlists"))},null,8,LH)]),content:E(()=>[(z(!0),S(De,null,ht(r.playlists.items,C=>(z(),ve(y,{key:C.id,playlist:C},{actions:E(()=>[l("a",{onClick:it(k=>o.open_playlist_dialog(C),["prevent","stop"])},[l("span",NH,[v(i,{name:"dots-vertical",size:"16"})])],8,MH)]),_:2},1032,["playlist"]))),128)),r.query.type==="playlist"?(z(),ve(c,{key:0,load:o.search_playlists_next},{"no-more":E(()=>[mt(" . ")]),_:1},8,["load"])):B("",!0),v(x,{show:r.show_playlist_details_modal,playlist:r.selected_playlist,onClose:t[8]||(t[8]=C=>r.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:E(()=>[o.show_all_playlists_button?(z(),S("nav",VH,[l("p",BH,[l("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...C)=>o.open_search_playlists&&o.open_search_playlists(...C)),textContent:g(e.$t("page.spotify.search.show-all-playlists",{count:r.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,HH)])])):B("",!0)]),_:1})):B("",!0),o.show_playlists&&!r.playlists.total?(z(),ve(m,{key:7},{content:E(()=>[l("p",null,[l("i",{textContent:g(e.$t("page.spotify.search.no-playlists"))},null,8,UH)])]),_:1})):B("",!0)])}var qH=re(rH,[["render",jH]]);const WH={name:"TabsSettings"},GH={class:"section fd-tabs-section"},KH={class:"container"},ZH={class:"columns is-centered"},YH={class:"column is-four-fifths"},JH={class:"tabs is-centered is-small"},XH=["onClick","onKeypress"],QH=["textContent"],eU=["onClick","onKeypress"],tU=["textContent"],nU=["onClick","onKeypress"],sU=["textContent"],rU=["onClick","onKeypress"],oU=["textContent"];function iU(e,t,n,s,r,o){const i=$("router-link");return z(),S("section",GH,[l("div",KH,[l("div",ZH,[l("div",YH,[l("div",JH,[l("ul",null,[v(i,{to:"/settings/webinterface",custom:""},{default:E(({navigate:a,isActive:u})=>[l("li",{class:Te({"is-active":u})},[l("a",{onClick:a,onKeypress:yn(a,["enter"])},[l("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,QH)],40,XH)],2)]),_:1}),v(i,{to:"/settings/remotes-outputs",custom:""},{default:E(({navigate:a,isActive:u})=>[l("li",{class:Te({"is-active":u})},[l("a",{onClick:a,onKeypress:yn(a,["enter"])},[l("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,tU)],40,eU)],2)]),_:1}),v(i,{to:"/settings/artwork",custom:""},{default:E(({navigate:a,isActive:u})=>[l("li",{class:Te({"is-active":u})},[l("a",{onClick:a,onKeypress:yn(a,["enter"])},[l("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,sU)],40,nU)],2)]),_:1}),v(i,{to:"/settings/online-services",custom:""},{default:E(({navigate:a,isActive:u})=>[l("li",{class:Te({"is-active":u})},[l("a",{onClick:a,onKeypress:yn(a,["enter"])},[l("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,oU)],40,rU)],2)]),_:1})])])])])])])}var Jl=re(WH,[["render",iU]]);const aU={name:"SettingsCheckbox",props:["category_name","option_name"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.checked!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.checked;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};N.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ll,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.checked=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status(){this.statusUpdate=""}}},lU={class:"field"},uU={class:"switch"},cU=["checked"],dU=["textContent"],mU={key:0,class:"help"};function fU(e,t,n,s,r,o){return z(),S("div",lU,[l("label",uU,[l("input",{ref:"setting",type:"checkbox",checked:o.value,style:{"margin-right":"5px"},onChange:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,cU),ut(e.$slots,"label"),l("i",{class:Te(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,dU)]),e.$slots.info?(z(),S("p",mU,[ut(e.$slots,"info")])):B("",!0)])}var _v=re(aU,[["render",fU]]);const pU={name:"SettingsTextfield",props:["category_name","option_name","placeholder","disabled"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};N.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ll,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status(){this.statusUpdate=""}}},hU=["disabled"],_U={class:"field"},gU={class:"label has-text-weight-normal"},yU=["textContent"],vU={class:"control"},bU=["placeholder","value"],CU={key:0,class:"help"};function wU(e,t,n,s,r,o){return z(),S("fieldset",{disabled:n.disabled},[l("div",_U,[l("label",gU,[ut(e.$slots,"label"),l("i",{class:Te(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,yU)]),l("div",vU,[l("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,bU)]),e.$slots.info?(z(),S("p",CU,[ut(e.$slots,"info")])):B("",!0)])],8,hU)}var zU=re(pU,[["render",wU]]);const kU={name:"SettingsIntfield",props:["category_name","option_name","placeholder","disabled"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:parseInt(e,10)};N.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ll,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status(){this.statusUpdate=""}}},xU=["disabled"],EU={class:"field"},$U={class:"label has-text-weight-normal"},SU=["textContent"],AU={class:"control"},TU=["placeholder","value"],OU={key:0,class:"help"};function DU(e,t,n,s,r,o){return z(),S("fieldset",{disabled:n.disabled},[l("div",EU,[l("label",$U,[ut(e.$slots,"label"),l("i",{class:Te(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,SU)]),l("div",AU,[l("input",{ref:"setting",class:"input",type:"number",min:"0",style:{width:"10em"},placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,TU)]),e.$slots.info?(z(),S("p",OU,[ut(e.$slots,"info")])):B("",!0)])],8,xU)}var PU=re(kU,[["render",DU]]);const IU={name:"SettingsPageWebinterface",components:{ContentWithHeading:st,TabsSettings:Jl,SettingsCheckbox:_v,SettingsTextfield:zU,SettingsIntfield:PU,DropdownMenu:_r},computed:{settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing},locale:{get(){let e=this.$i18n.availableLocales,t=e.find(s=>s===this.$i18n.locale),n=this.$i18n.locale.split("-")[0];return t||(t=e.find(s=>s===n)),t||(t=e.forEach(s=>s.split("-")[0]===n)),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t("language."+e)}))}}}},FU={class:"fd-page-with-tabs"},RU=["textContent"],LU=["textContent"],MU=["textContent"],NU=["textContent"],VU=["textContent"],BU=["textContent"],HU=["textContent"],UU=["textContent"],jU=["textContent"],qU=["textContent"],WU=["textContent"],GU=["textContent"],KU=["textContent"],ZU=["textContent"],YU=["textContent"],JU=["textContent"],XU=["textContent"],QU=["textContent"],ej=["textContent"],tj=["textContent"],nj=["textContent"],sj=["textContent"],rj=["textContent"];function oj(e,t,n,s,r,o){const i=$("tabs-settings"),a=$("dropdown-menu"),u=$("content-with-heading"),c=$("settings-checkbox"),d=$("settings-textfield"),f=$("settings-intfield");return z(),S("div",FU,[v(i),v(u,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,RU)]),content:E(()=>[v(a,{modelValue:o.locale,"onUpdate:modelValue":t[0]||(t[0]=m=>o.locale=m),options:o.locales},null,8,["modelValue","options"])]),_:1}),v(u,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,LU)]),content:E(()=>[l("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,MU),l("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,NU),v(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,VU)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,BU)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,HU)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,UU)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,jU)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,qU)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,WU)]),_:1})]),_:1}),v(u,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,GU)]),content:E(()=>[v(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.show-coverart"))},null,8,KU)]),_:1})]),_:1}),v(u,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,ZU)]),content:E(()=>[v(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.show-composer"))},null,8,YU)]),info:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,JU)]),_:1}),v(d,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!o.settings_option_show_composer_now_playing,placeholder:"Genres"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.show-composer-genres"))},null,8,XU)]),info:E(()=>[l("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,QU),l("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,ej),l("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,tj)]),_:1},8,["disabled"]),v(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.show-path"))},null,8,nj)]),_:1})]),_:1}),v(u,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,sj)]),content:E(()=>[v(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,rj)]),_:1})]),_:1})])}var ij=re(IU,[["render",oj]]);const aj={name:"SettingsPageArtwork",components:{ContentWithHeading:st,TabsSettings:Jl,SettingsCheckbox:_v},computed:{spotify(){return this.$store.state.spotify}}},lj={class:"fd-page-with-tabs"},uj=["textContent"],cj=["textContent"],dj=["textContent"],mj=["textContent"],fj={href:"https://www.spotify.com/",target:"_blank"},pj={class:"icon"},hj=["textContent"],_j={href:"https://www.discogs.com/",target:"_blank"},gj={class:"icon"},yj=["textContent"],vj={href:"https://coverartarchive.org/",target:"_blank"},bj={class:"icon"};function Cj(e,t,n,s,r,o){const i=$("tabs-settings"),a=$("mdicon"),u=$("settings-checkbox"),c=$("content-with-heading");return z(),S("div",lj,[v(i),v(c,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,uj)]),content:E(()=>[l("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,cj),l("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,dj),o.spotify.spotify_logged_in?(z(),ve(u,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.artwork.spotify"))},null,8,mj),l("a",fj,[l("span",pj,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})):B("",!0),v(u,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,hj),l("a",_j,[l("span",gj,[v(a,{name:"open-in-new",size:"16"})])])]),_:1}),v(u,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:E(()=>[l("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,yj),l("a",vj,[l("span",bj,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}var wj=re(aj,[["render",Cj]]);const zj={name:"SettingsPageOnlineServices",components:{ContentWithHeading:st,TabsSettings:Jl},filters:{join(e){return e.join(", ")}},data(){return{lastfm_login:{user:"",password:"",errors:{user:"",password:"",error:""}}}},computed:{lastfm(){return this.$store.state.lastfm},spotify(){return this.$store.state.spotify},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]},spotify_missing_scope(){return this.spotify.webapi_token_valid&&this.spotify.webapi_granted_scope&&this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" ").filter(e=>this.spotify.webapi_granted_scope.indexOf(e)<0):[]}},methods:{logout_spotify(){N.spotify_logout()},login_lastfm(){N.lastfm_login(this.lastfm_login).then(e=>{this.lastfm_login.user="",this.lastfm_login.password="",this.lastfm_login.errors.user="",this.lastfm_login.errors.password="",this.lastfm_login.errors.error="",e.data.success||(this.lastfm_login.errors.user=e.data.errors.user,this.lastfm_login.errors.password=e.data.errors.password,this.lastfm_login.errors.error=e.data.errors.error)})},logoutLastfm(){N.lastfm_logout()}}},kj={class:"fd-page-with-tabs"},xj=["textContent"],Ej={key:0,class:"notification is-size-7"},$j=["textContent"],Sj={key:1},Aj={class:"notification is-size-7"},Tj=["textContent"],Oj={class:"fd-has-margin-top"},Dj=["innerHTML"],Pj={key:0},Ij=["textContent"],Fj=["textContent"],Rj={key:1,class:"help is-danger"},Lj=["textContent"],Mj=["textContent"],Nj={class:"field fd-has-margin-top"},Vj={class:"control"},Bj=["href","textContent"],Hj={class:"help"},Uj=["textContent"],jj=["textContent"],qj={key:2,class:"field fd-has-margin-top"},Wj={class:"control"},Gj=["textContent"],Kj=["textContent"],Zj={key:0,class:"notification is-size-7"},Yj=["textContent"],Jj={key:1},Xj=["innerHTML"],Qj={key:0},eq=["textContent"],tq={key:1},nq={class:"field is-grouped"},sq={class:"control is-expanded"},rq=["textContent"],oq={class:"control is-expanded"},iq=["textContent"],aq={class:"control"},lq=["textContent"],uq=["textContent"],cq=["textContent"];function dq(e,t,n,s,r,o){const i=$("tabs-settings"),a=$("content-with-heading");return z(),S("div",kj,[v(i),v(a,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,xj)]),content:E(()=>[o.spotify.spotify_installed?B("",!0):(z(),S("div",Ej,[l("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,$j)])),o.spotify.spotify_installed?(z(),S("div",Sj,[l("div",Aj,[l("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,Tj)]),l("div",Oj,[l("p",{class:"content",innerHTML:e.$t("page.settings.services.spotify.grant-access")},null,8,Dj),o.spotify.webapi_token_valid?(z(),S("p",Pj,[l("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,Ij),l("code",{textContent:g(o.spotify.webapi_user)},null,8,Fj)])):B("",!0),o.spotify_missing_scope.length>0?(z(),S("p",Rj,[l("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,Lj),l("code",{textContent:g(o.spotify_missing_scope.join())},null,8,Mj)])):B("",!0),l("div",Nj,[l("div",Vj,[l("a",{class:Te(["button",{"is-info":!o.spotify.webapi_token_valid||o.spotify_missing_scope.length>0}]),href:o.spotify.oauth_uri,textContent:g(e.$t("page.settings.services.spotify.authorize"))},null,10,Bj)])]),l("p",Hj,[l("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,Uj),l("code",{textContent:g(o.spotify_required_scope.join(", "))},null,8,jj)]),o.spotify.webapi_token_valid?(z(),S("div",qj,[l("div",Wj,[l("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...u)=>o.logout_spotify&&o.logout_spotify(...u)),textContent:g(e.$t("page.settings.services.logout"))},null,8,Gj)])])):B("",!0)])])):B("",!0)]),_:1}),v(a,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,Kj)]),content:E(()=>[o.lastfm.enabled?B("",!0):(z(),S("div",Zj,[l("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,Yj)])),o.lastfm.enabled?(z(),S("div",Jj,[l("p",{class:"content",innerHTML:e.$t("page.settings.services.lastfm.grant-access")},null,8,Xj),o.lastfm.scrobbling_enabled?(z(),S("div",Qj,[l("a",{class:"button",onClick:t[1]||(t[1]=(...u)=>o.logoutLastfm&&o.logoutLastfm(...u)),textContent:g(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,eq)])):B("",!0),o.lastfm.scrobbling_enabled?B("",!0):(z(),S("div",tq,[l("form",{onSubmit:t[4]||(t[4]=it((...u)=>o.login_lastfm&&o.login_lastfm(...u),["prevent"]))},[l("div",nq,[l("div",sq,[dt(l("input",{"onUpdate:modelValue":t[2]||(t[2]=u=>r.lastfm_login.user=u),class:"input",type:"text",placeholder:"Username"},null,512),[[It,r.lastfm_login.user]]),l("p",{class:"help is-danger",textContent:g(r.lastfm_login.errors.user)},null,8,rq)]),l("div",oq,[dt(l("input",{"onUpdate:modelValue":t[3]||(t[3]=u=>r.lastfm_login.password=u),class:"input",type:"password",placeholder:"Password"},null,512),[[It,r.lastfm_login.password]]),l("p",{class:"help is-danger",textContent:g(r.lastfm_login.errors.password)},null,8,iq)]),l("div",aq,[l("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,lq)])]),l("p",{class:"help is-danger",textContent:g(r.lastfm_login.errors.error)},null,8,uq),l("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,cq)],32)]))])):B("",!0)]),_:1})])}var mq=re(zj,[["render",dq]]);const fq={name:"SettingsPageRemotesOutputs",components:{ContentWithHeading:st,TabsSettings:Jl},filters:{},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{pairing(){return this.$store.state.pairing},outputs(){return this.$store.state.outputs}},methods:{kickoff_pairing(){N.pairing_kickoff(this.pairing_req)},output_toggle(e){N.output_toggle(e)},kickoff_verification(e){N.output_update(e,this.verification_req)}}},pq={class:"fd-page-with-tabs"},hq=["textContent"],_q={key:0,class:"notification"},gq={class:"label has-text-weight-normal"},yq=["textContent"],vq=["textContent"],bq={class:"field is-grouped"},Cq={class:"control"},wq={class:"control"},zq=["textContent"],kq={key:1,class:"content"},xq=["textContent"],Eq=["textContent"],$q=["textContent"],Sq={class:"field"},Aq={class:"control"},Tq={class:"checkbox"},Oq=["onUpdate:modelValue","onChange"],Dq=["textContent"],Pq=["onSubmit"],Iq={class:"field is-grouped"},Fq={class:"control"},Rq=["placeholder"],Lq={class:"control"},Mq=["textContent"];function Nq(e,t,n,s,r,o){const i=$("tabs-settings"),a=$("content-with-heading");return z(),S("div",pq,[v(i),v(a,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,hq)]),content:E(()=>[o.pairing.active?(z(),S("div",_q,[l("form",{onSubmit:t[1]||(t[1]=it((...u)=>o.kickoff_pairing&&o.kickoff_pairing(...u),["prevent"]))},[l("label",gq,[l("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,yq),l("b",{textContent:g(o.pairing.remote)},null,8,vq)]),l("div",bq,[l("div",Cq,[dt(l("input",{"onUpdate:modelValue":t[0]||(t[0]=u=>r.pairing_req.pin=u),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[It,r.pairing_req.pin]])]),l("div",wq,[l("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,zq)])])],32)])):B("",!0),o.pairing.active?B("",!0):(z(),S("div",kq,[l("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,xq)]))]),_:1}),v(a,null,{"heading-left":E(()=>[l("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,Eq)]),content:E(()=>[l("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,$q),(z(!0),S(De,null,ht(o.outputs,u=>(z(),S("div",{key:u.id},[l("div",Sq,[l("div",Aq,[l("label",Tq,[dt(l("input",{"onUpdate:modelValue":c=>u.selected=c,type:"checkbox",style:{"margin-right":"5px"},onChange:c=>o.output_toggle(u.id)},null,40,Oq),[[gs,u.selected]]),l("span",{textContent:g(u.name)},null,8,Dq)])])]),u.needs_auth_key?(z(),S("form",{key:0,class:"fd-has-margin-bottom",onSubmit:it(c=>o.kickoff_verification(u.id),["prevent"])},[l("div",Iq,[l("div",Fq,[dt(l("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>r.verification_req.pin=c),class:"input",type:"text",placeholder:e.$t("page.settings.devices.verification-code")},null,8,Rq),[[It,r.verification_req.pin]])]),l("div",Lq,[l("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,Mq)])])],40,Pq)):B("",!0)]))),128))]),_:1})])}var Vq=re(fq,[["render",Nq]]);const gv=Ak({history:qz(),routes:[{path:"/",name:"PageQueue",component:lS},{path:"/about",name:"About",component:w7},{path:"/now-playing",name:"Now playing",component:j8},{path:"/music",redirect:"/music/browse"},{path:"/music/browse",name:"Browse",component:_3,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_added",name:"Browse Recently Added",component:w3,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_played",name:"Browse Recently Played",component:S3,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/artists",name:"Artists",component:V4,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/artists/:artist_id",name:"Artist",component:n5,meta:{show_progress:!0,has_index:!0}},{path:"/music/artists/:artist_id/tracks",name:"Tracks",component:xP,meta:{show_progress:!0,has_index:!0}},{path:"/music/albums",name:"Albums",component:C5,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/albums/:album_id",name:"Album",component:K5,meta:{show_progress:!0}},{path:"/music/genres",name:"Genres",component:ID,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/genres/:genre",name:"Genre",component:GD,meta:{show_progress:!0,has_index:!0}},{path:"/music/genres/:genre/tracks",name:"GenreTracks",component:uP,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers",name:"Composers",component:uI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/albums",name:"ComposerAlbums",component:wI,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers/:composer/tracks",name:"ComposerTracks",component:MI,meta:{show_progress:!0,has_index:!0}},{path:"/podcasts",name:"Podcasts",component:CF,meta:{show_progress:!0}},{path:"/podcasts/:album_id",name:"Podcast",component:FF,meta:{show_progress:!0}},{path:"/audiobooks",redirect:"/audiobooks/artists"},{path:"/audiobooks/artists",name:"AudiobooksArtists",component:iR,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/artists/:artist_id",name:"AudiobooksArtist",component:_R,meta:{show_progress:!0}},{path:"/audiobooks/albums",name:"AudiobooksAlbums",component:eR,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/:album_id",name:"Audiobook",component:$R,meta:{show_progress:!0}},{path:"/radio",name:"Radio",component:pM,meta:{show_progress:!0}},{path:"/files",name:"Files",component:lM,meta:{show_progress:!0}},{path:"/playlists",redirect:"/playlists/0"},{path:"/playlists/:playlist_id",name:"Playlists",component:mL,meta:{show_progress:!0}},{path:"/playlists/:playlist_id/tracks",name:"Playlist",component:wL,meta:{show_progress:!0}},{path:"/search",redirect:"/search/library"},{path:"/search/library",name:"Search Library",component:SN},{path:"/music/spotify",name:"Spotify",component:H9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/new-releases",name:"Spotify Browse New Releases",component:Z9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/featured-playlists",name:"Spotify Browse Featured Playlists",component:nV,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/artists/:artist_id",name:"Spotify Artist",component:HV,meta:{show_progress:!0}},{path:"/music/spotify/albums/:album_id",name:"Spotify Album",component:NB,meta:{show_progress:!0}},{path:"/music/spotify/playlists/:playlist_id",name:"Spotify Playlist",component:JB,meta:{show_progress:!0}},{path:"/search/spotify",name:"Spotify Search",component:qH},{path:"/settings/webinterface",name:"Settings Webinterface",component:ij},{path:"/settings/artwork",name:"Settings Artwork",component:wj},{path:"/settings/online-services",name:"Settings Online Services",component:mq},{path:"/settings/remotes-outputs",name:"Settings Remotes Outputs",component:Vq}],scrollBehavior(e,t,n){return n?new Promise((r,o)=>{setTimeout(()=>{r(n)},0)}):e.path===t.path&&e.hash?{el:e.hash,top:120}:e.hash?new Promise((r,o)=>{setTimeout(()=>{r({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((r,o)=>{setTimeout(()=>{e.meta.has_tabs?r({el:"#top",top:140}):r({el:"#top",top:110})},0)}):{left:0,top:0}}});gv.beforeEach((e,t,n)=>{if(Ke.state.show_burger_menu){Ke.commit(Gr,!1),n(!1);return}if(Ke.state.show_player_menu){Ke.commit(Kr,!1),n(!1);return}n(!0)});var yv={exports:{}};(function(e){e.exports=function(t){var n={};function s(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,s),o.l=!0,o.exports}return s.m=t,s.c=n,s.d=function(r,o,i){s.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:i})},s.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},s.t=function(r,o){if(o&1&&(r=s(r)),o&8||o&4&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),o&2&&typeof r!="string")for(var a in r)s.d(i,a,function(u){return r[u]}.bind(null,a));return i},s.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return s.d(o,"a",o),o},s.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},s.p="",s(s.s="fb15")}({8875:function(t,n,s){var r,o,i;(function(a,u){o=[],r=u,i=typeof r=="function"?r.apply(n,o):r,i!==void 0&&(t.exports=i)})(typeof self!="undefined"?self:this,function(){function a(){var u=Object.getOwnPropertyDescriptor(document,"currentScript");if(!u&&"currentScript"in document&&document.currentScript||u&&u.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(C){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,f=c.exec(C.stack)||d.exec(C.stack),m=f&&f[1]||!1,p=f&&f[2]||!1,h=document.location.href.replace(document.location.hash,""),_,w,b,y=document.getElementsByTagName("script");m===h&&(_=document.documentElement.outerHTML,w=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=_.replace(w,"$1").trim());for(var x=0;x<y.length;x++)if(y[x].readyState==="interactive"||y[x].src===m||m===h&&y[x].innerHTML&&y[x].innerHTML.trim()===b)return y[x];return null}}return a})},"8bbf":function(t,n){t.exports=my},fb15:function(t,n,s){if(s.r(n),typeof window!="undefined"){var r=window.document.currentScript;{var o=s("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(s.p=i[1])}var a=s("8bbf");function u(h,_,w,b,y,x){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:b.finalStyle},null,4)}var c=typeof window!="undefined",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=c?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}},w=Object(a.computed)(function(){var b=_.options,y=!!b.show,x=b.location,C={"z-index":999999,"background-color":b.canSuccess?b.color:b.failedColor,opacity:b.show?1:0,position:b.position};return x==="top"||x==="bottom"?(x==="top"?C.top="0px":C.bottom="0px",b.inverse?C.right="0px":C.left="0px",C.width=_.percent+"%",C.height=b.thickness,C.transition=(y?"width "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity):(x==="left"||x==="right")&&(x==="left"?C.left="0px":C.right="0px",b.inverse?C.top="0px":C.bottom="0px",C.height=_.percent+"%",C.width=b.thickness,C.transition=(y?"height "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity),C});return{progress:_,finalStyle:w}}};d.render=u;var f=d;function m(h,_){for(var w=1,b,y;w<arguments.length;++w){y=arguments[w];for(b in y)Object.prototype.hasOwnProperty.call(y,b)&&(h[b]=y[b])}return h}var p={install:function(_,w){var b={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},y=m(b,w),x=Object(a.reactive)({percent:0,options:y});_.provide("RADON_LOADING_BAR",x);var C={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(T){var L=this;T||(T=3e3),x.percent=0,x.options.show=!0,x.options.canSuccess=!0,this.state.cut=1e4/Math.floor(T),clearInterval(this.state.timer),this.state.timer=setInterval(function(){L.increase(L.state.cut*Math.random()),x.percent>95&&x.options.autoFinish&&L.finish()},100)},set:function(T){x.options.show=!0,x.options.canSuccess=!0,x.percent=Math.floor(T)},get:function(){return Math.floor(x.percent)},increase:function(T){x.percent=Math.min(99,x.percent+Math.floor(T))},decrease:function(T){x.percent=x.percent-Math.floor(T)},hide:function(){var T=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){x.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){x.percent=0},100),x.options.autoRevert&&setTimeout(function(){T.revert()},300)})},x.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){x.percent=100,this.hide()},fail:function(){x.options.canSuccess=!1,x.percent=100,this.hide()},setFailColor:function(T){x.options.failedColor=T},setColor:function(T){x.options.color=T},setLocation:function(T){x.options.location=T},setTransition:function(T){x.options.transition=T},tempFailColor:function(T){this.state.tFailColor=x.options.failedColor,x.options.failedColor=T},tempColor:function(T){this.state.tColor=x.options.color,x.options.color=T},tempLocation:function(T){this.state.tLocation=x.options.location,x.options.location=T},tempTransition:function(T){this.state.tTransition=x.options.transition,x.options.transition=T},revertColor:function(){x.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){x.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){x.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){x.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){x.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(T){for(var L in T.func){var I=T.func[L];switch(I.call){case"color":switch(I.modifier){case"set":this.setColor(I.argument);break;case"temp":this.tempColor(I.argument);break}break;case"fail":switch(I.modifier){case"set":this.setFailColor(I.argument);break;case"temp":this.tempFailColor(I.argument);break}break;case"location":switch(I.modifier){case"set":this.setLocation(I.argument);break;case"temp":this.tempLocation(I.argument);break}break;case"transition":switch(I.modifier){case"set":this.setTransition(I.argument);break;case"temp":this.tempTransition(I.argument);break}break}}}};_.component("vue-progress-bar",f),_.config.globalProperties.$Progress=C}};n.default=p}})})(yv);var Bq=ay(yv.exports);const vv=function(){return document.ontouchstart!==null?"click":"touchstart"},cl="__vue_click_away__",bv=function(e,t,n){Cv(e);let s=n.context,r=t.value,o=!1;setTimeout(function(){o=!0},0),e[cl]=function(i){if((!e||!e.contains(i.target))&&r&&o&&typeof r=="function")return r.call(s,i)},document.addEventListener(vv(),e[cl],!1)},Cv=function(e){document.removeEventListener(vv(),e[cl],!1),delete e[cl]},Hq=function(e,t,n){t.value!==t.oldValue&&bv(e,t,n)},Uq={install:function(e){e.directive("click-away",jq)}},jq={mounted:bv,updated:Hq,unmounted:Cv};var Zn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Zn||{});const qq=typeof window!="undefined"&&window!==null,Wq=Yq(),Gq=Object.prototype.propertyIsEnumerable,Tp=Object.getOwnPropertySymbols;function Jo(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function Kq(e){return typeof e=="object"?e===null:typeof e!="function"}function Zq(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function Yq(){return qq&&"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 Jq(e,...t){if(!Jo(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Tp!="function")return e;for(const n of t){const s=Tp(n);for(const r of s)Gq.call(n,r)&&(e[r]=n[r])}return e}function wv(e,...t){let n=0;for(Kq(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Jo(t[n])){for(const s of Object.keys(t[n]))Zq(s)&&(Jo(e[s])&&Jo(t[n][s])?wv(e[s],t[n][s]):e[s]=t[n][s]);Jq(e,t[n])}return e}const Op="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Xq="",Qq={rootMargin:"0px",threshold:0},xr="data-lazy-timeout-id";class eW{constructor(t){this.options={loading:Op,error:Xq,observerOptions:Qq,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){wv(this.options,t)}mount(t,n){if(!t)return;const{src:s,loading:r,error:o,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Zn.LOADING,i,t),t.setAttribute("src",r||Op),Wq||(this.loadImages(t,s,o,i),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,s,o,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:s,error:r,lifecycle:o,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,s,r,o,i)}unmount(t){var n;!t||((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,s,r){this._setImageSrc(t,n,s,r)}_setImageSrc(t,n,s,r){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Zn.LOADED,r,t)},()=>{var o;t.onload=null,this._lifecycle(Zn.ERROR,r,t),(o=this._realObserver(t))==null||o.disconnect(),s&&t.getAttribute("src")!==s&&t.setAttribute("src",s),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,s,r,o){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(u=>{Array.prototype.forEach.call(u,c=>{o&&o>0?this._delayedIntersectionCallback(t,c,o,n,s,r):this._intersectionCallback(t,c,n,s,r)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,s,r,o){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,s,r,o))}_delayedIntersectionCallback(t,n,s,r,o,i){if(n.isIntersecting){if(n.target.hasAttribute(xr))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,r,o,i),n.target.removeAttribute(xr)},s);n.target.setAttribute(xr,String(a))}else n.target.hasAttribute(xr)&&(clearTimeout(Number(n.target.getAttribute(xr))),n.target.removeAttribute(xr))}_listenImageStatus(t,n,s){t.onload=n,t.onerror=s}_valueFormatter(t){let n=t,s=this.options.loading,r=this.options.error,o=this.options.lifecycle,i=this.options.delay;return Jo(t)&&(n=t.src,s=t.loading||this.options.loading,r=t.error||this.options.error,o=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:s,error:r,lifecycle:o,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,s){switch(t){case Zn.LOADING:s==null||s.setAttribute("lazy",Zn.LOADING),n!=null&&n.loading&&n.loading(s);break;case Zn.LOADED:s==null||s.setAttribute("lazy",Zn.LOADED),n!=null&&n.loaded&&n.loaded(s);break;case Zn.ERROR:s==null||s.setAttribute("lazy",Zn.ERROR),n!=null&&n.error&&n.error(s);break}}_realObserver(t){return this._images.get(t)}}const tW={install(e,t){const n=new eW(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 zv={exports:{}};/*!
* vue-scrollto v2.20.0
* (c) 2019 Randjelovic Igor
* @license MIT
*/(function(e,t){(function(n,s){e.exports=s()})(Qt,function(){function n(ce){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(W){return typeof W}:n=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},n(ce)}function s(){return s=Object.assign||function(ce){for(var W=1;W<arguments.length;W++){var fe=arguments[W];for(var Oe in fe)Object.prototype.hasOwnProperty.call(fe,Oe)&&(ce[Oe]=fe[Oe])}return ce},s.apply(this,arguments)}var r=4,o=.001,i=1e-7,a=10,u=11,c=1/(u-1),d=typeof Float32Array=="function";function f(ce,W){return 1-3*W+3*ce}function m(ce,W){return 3*W-6*ce}function p(ce){return 3*ce}function h(ce,W,fe){return((f(W,fe)*ce+m(W,fe))*ce+p(W))*ce}function _(ce,W,fe){return 3*f(W,fe)*ce*ce+2*m(W,fe)*ce+p(W)}function w(ce,W,fe,Oe,Me){var Ee,V,le=0;do V=W+(fe-W)/2,Ee=h(V,Oe,Me)-ce,Ee>0?fe=V:W=V;while(Math.abs(Ee)>i&&++le<a);return V}function b(ce,W,fe,Oe){for(var Me=0;Me<r;++Me){var Ee=_(W,fe,Oe);if(Ee===0)return W;var V=h(W,fe,Oe)-ce;W-=V/Ee}return W}function y(ce){return ce}var x=function(W,fe,Oe,Me){if(!(0<=W&&W<=1&&0<=Oe&&Oe<=1))throw new Error("bezier x values must be in [0, 1] range");if(W===fe&&Oe===Me)return y;for(var Ee=d?new Float32Array(u):new Array(u),V=0;V<u;++V)Ee[V]=h(V*c,W,Oe);function le(ne){for(var pe=0,Pe=1,A=u-1;Pe!==A&&Ee[Pe]<=ne;++Pe)pe+=c;--Pe;var O=(ne-Ee[Pe])/(Ee[Pe+1]-Ee[Pe]),P=pe+O*c,K=_(P,W,Oe);return K>=o?b(ne,P,W,Oe):K===0?P:w(ne,pe,pe+c,W,Oe)}return function(pe){return pe===0?0:pe===1?1:h(le(pe),fe,Me)}},C={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},k=!1;try{var T=Object.defineProperty({},"passive",{get:function(){k=!0}});window.addEventListener("test",null,T)}catch{}var L={$:function(W){return typeof W!="string"?W:document.querySelector(W)},on:function(W,fe,Oe){var Me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};fe instanceof Array||(fe=[fe]);for(var Ee=0;Ee<fe.length;Ee++)W.addEventListener(fe[Ee],Oe,k?Me:!1)},off:function(W,fe,Oe){fe instanceof Array||(fe=[fe]);for(var Me=0;Me<fe.length;Me++)W.removeEventListener(fe[Me],Oe)},cumulativeOffset:function(W){var fe=0,Oe=0;do fe+=W.offsetTop||0,Oe+=W.offsetLeft||0,W=W.offsetParent;while(W);return{top:fe,left:Oe}}},I=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],D={container:"body",duration:500,lazy:!0,easing:"ease",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0};function j(ce){D=s({},D,ce)}var Z=function(){var W,fe,Oe,Me,Ee,V,le,ne,pe,Pe,A,O,P,K,J,ee,de,ae,oe,Y,R,H,ge,we=function(xe){!ne||(ge=xe,Y=!0)},Re,qe,Be,F;function M(Ge){var xe=Ge.scrollTop;return Ge.tagName.toLowerCase()==="body"&&(xe=xe||document.documentElement.scrollTop),xe}function G(Ge){var xe=Ge.scrollLeft;return Ge.tagName.toLowerCase()==="body"&&(xe=xe||document.documentElement.scrollLeft),xe}function se(){R=L.cumulativeOffset(fe),H=L.cumulativeOffset(W),O&&(J=H.left-R.left+V,ae=J-K),P&&(de=H.top-R.top+V,oe=de-ee)}function be(Ge){if(Y)return Ie();qe||(qe=Ge),Ee||se(),Be=Ge-qe,F=Math.min(Be/Oe,1),F=Re(F),Ae(fe,ee+oe*F,K+ae*F),Be<Oe?window.requestAnimationFrame(be):Ie()}function Ie(){Y||Ae(fe,de,J),qe=!1,L.off(fe,I,we),Y&&A&&A(ge,W),!Y&&Pe&&Pe(W)}function Ae(Ge,xe,ue){P&&(Ge.scrollTop=xe),O&&(Ge.scrollLeft=ue),Ge.tagName.toLowerCase()==="body"&&(P&&(document.documentElement.scrollTop=xe),O&&(document.documentElement.scrollLeft=ue))}function He(Ge,xe){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n(xe)==="object"?ue=xe:typeof xe=="number"&&(ue.duration=xe),W=L.$(Ge),!W)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+Ge);if(fe=L.$(ue.container||D.container),Oe=ue.hasOwnProperty("duration")?ue.duration:D.duration,Ee=ue.hasOwnProperty("lazy")?ue.lazy:D.lazy,Me=ue.easing||D.easing,V=ue.hasOwnProperty("offset")?ue.offset:D.offset,le=ue.hasOwnProperty("force")?ue.force!==!1:D.force,ne=ue.hasOwnProperty("cancelable")?ue.cancelable!==!1:D.cancelable,pe=ue.onStart||D.onStart,Pe=ue.onDone||D.onDone,A=ue.onCancel||D.onCancel,O=ue.x===void 0?D.x:ue.x,P=ue.y===void 0?D.y:ue.y,typeof V=="function"&&(V=V(W,fe)),K=G(fe),ee=M(fe),se(),Y=!1,!le){var Fe=fe.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:fe.offsetHeight,Ze=ee,Qe=Ze+Fe,Bt=de-V,mo=Bt+W.offsetHeight;if(Bt>=Ze&&mo<=Qe){Pe&&Pe(W);return}}if(pe&&pe(W),!oe&&!ae){Pe&&Pe(W);return}return typeof Me=="string"&&(Me=C[Me]||C.ease),Re=x.apply(x,Me),L.on(fe,I,we,{passive:!0}),window.requestAnimationFrame(be),function(){ge=null,Y=!0}}return He},X=Z(),U=[];function q(ce){for(var W=0;W<U.length;++W)if(U[W].el===ce)return U.splice(W,1),!0;return!1}function Ce(ce){for(var W=0;W<U.length;++W)if(U[W].el===ce)return U[W]}function te(ce){var W=Ce(ce);return W||(U.push(W={el:ce,binding:{}}),W)}function ie(ce){var W=te(this).binding;if(!!W.value){if(ce.preventDefault(),typeof W.value=="string")return X(W.value);X(W.value.el||W.value.element,W.value)}}var ye={bind:function(W,fe){te(W).binding=fe,L.on(W,"click",ie)},unbind:function(W){q(W),L.off(W,"click",ie)},update:function(W,fe){te(W).binding=fe}},je={bind:ye.bind,unbind:ye.unbind,update:ye.update,beforeMount:ye.bind,unmounted:ye.unbind,updated:ye.update,scrollTo:X,bindings:U},at=function(W,fe){fe&&j(fe),W.directive("scroll-to",je);var Oe=W.config.globalProperties||W.prototype;Oe.$scrollTo=je.scrollTo};return typeof window!="undefined"&&window.Vue&&(window.VueScrollTo=je,window.VueScrollTo.setDefaults=j,window.VueScrollTo.scroller=Z,window.Vue.use&&window.Vue.use(at)),je.install=at,je})})(zv);var nW=zv.exports,sW="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",rW="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",oW="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",iW="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",aW="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",lW="M17.5 14.33C18.29 14.33 19.13 14.41 20 14.57V16.07C19.38 15.91 18.54 15.83 17.5 15.83C15.6 15.83 14.11 16.16 13 16.82V15.13C14.17 14.6 15.67 14.33 17.5 14.33M13 12.46C14.29 11.93 15.79 11.67 17.5 11.67C18.29 11.67 19.13 11.74 20 11.9V13.4C19.38 13.24 18.54 13.16 17.5 13.16C15.6 13.16 14.11 13.5 13 14.15M17.5 10.5C15.6 10.5 14.11 10.82 13 11.5V9.84C14.23 9.28 15.73 9 17.5 9C18.29 9 19.13 9.08 20 9.23V10.78C19.26 10.59 18.41 10.5 17.5 10.5M21 18.5V7C19.96 6.67 18.79 6.5 17.5 6.5C15.45 6.5 13.62 7 12 8V19.5C13.62 18.5 15.45 18 17.5 18C18.69 18 19.86 18.16 21 18.5M17.5 4.5C19.85 4.5 21.69 5 23 6V20.56C23 20.68 22.95 20.8 22.84 20.91C22.73 21 22.61 21.08 22.5 21.08C22.39 21.08 22.31 21.06 22.25 21.03C20.97 20.34 19.38 20 17.5 20C15.45 20 13.62 20.5 12 21.5C10.66 20.5 8.83 20 6.5 20C4.84 20 3.25 20.36 1.75 21.07C1.72 21.08 1.68 21.08 1.63 21.1C1.59 21.11 1.55 21.12 1.5 21.12C1.39 21.12 1.27 21.08 1.16 21C1.05 20.89 1 20.78 1 20.65V6C2.34 5 4.18 4.5 6.5 4.5C8.83 4.5 10.66 5 12 6C13.34 5 15.17 4.5 17.5 4.5Z",uW="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",cW="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",dW="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",mW="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",fW="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",pW="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",hW="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",_W="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",gW="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",yW="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",vW="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",bW="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",CW="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",wW="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",zW="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",kW="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",xW="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",EW="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",$W="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",SW="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",AW="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",TW="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",OW="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",DW="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",PW="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",IW="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",FW="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",RW="M14,19H18V5H14M6,19H10V5H6V19Z",LW="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",MW="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",NW="M8,5.14V19.14L19,12.14L8,5.14Z",VW="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",BW="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",HW="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",UW="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",jW="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",qW="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",WW="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",GW="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",KW="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",ZW="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",YW="M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z",JW="M14.83,13.41L13.42,14.82L16.55,17.95L14.5,20H20V14.5L17.96,16.54L14.83,13.41M14.5,4L16.54,6.04L4,18.59L5.41,20L17.96,7.46L20,9.5V4M10.59,9.17L5.41,4L4,5.41L9.17,10.58L10.59,9.17Z",XW="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",QW="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",eG="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",tG="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",nG="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",sG="M18,18H6V6H18V18Z",rG="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",oG="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",iG="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",aG="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 lG={title:[String],spin:[Boolean],width:[Number,String],height:[Number,String],ariaLabel:[String],staticClass:[String],class:[String],name:{type:String,required:!0,default:"alert"},size:{type:[Number,String],default:24},viewBox:{type:String,default:"0 0 24 24"},xmlns:{type:String,default:"http://www.w3.org/2000/svg"},role:{type:String,default:"img"},spin:{type:Boolean,default:!1}};const uG=e=>e.charAt(0).toUpperCase()+e.slice(1),cG=e=>e.split("-").map(uG).join(""),dG=(e,t,n)=>{const s=e[`mdi${cG(t.name)}`]||oW,r={role:t.role,"aria-label":t.ariaLabel,...n},o={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:r,svgAttrs:o,pathAttrs:{d:s}}},mG=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),fG=(e,t={})=>({install(n,{icons:s}){if(s===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:lG,...t,render:e(s)})}}),pG=e=>function(){const{spanAttrs:n,svgAttrs:s,pathAttrs:r}=dG(e,this,this.$attrs);return Qn("span",{...n,class:mG(this,this)},[Qn("svg",s,[this.title?Qn("title",[this.title]):void 0,Qn("path",r)])])};var hG=fG(pG);class gr extends Error{}class _G extends gr{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class gG extends gr{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class yG extends gr{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Io extends gr{}class kv extends gr{constructor(t){super(`Invalid unit ${t}`)}}class En extends gr{}class Es extends gr{constructor(){super("Zone is an abstract class")}}const _e="numeric",jn="short",bn="long",dl={year:_e,month:_e,day:_e},xv={year:_e,month:jn,day:_e},vG={year:_e,month:jn,day:_e,weekday:jn},Ev={year:_e,month:bn,day:_e},$v={year:_e,month:bn,day:_e,weekday:bn},Sv={hour:_e,minute:_e},Av={hour:_e,minute:_e,second:_e},Tv={hour:_e,minute:_e,second:_e,timeZoneName:jn},Ov={hour:_e,minute:_e,second:_e,timeZoneName:bn},Dv={hour:_e,minute:_e,hourCycle:"h23"},Pv={hour:_e,minute:_e,second:_e,hourCycle:"h23"},Iv={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:jn},Fv={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:bn},Rv={year:_e,month:_e,day:_e,hour:_e,minute:_e},Lv={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},Mv={year:_e,month:jn,day:_e,hour:_e,minute:_e},Nv={year:_e,month:jn,day:_e,hour:_e,minute:_e,second:_e},bG={year:_e,month:jn,day:_e,weekday:jn,hour:_e,minute:_e},Vv={year:_e,month:bn,day:_e,hour:_e,minute:_e,timeZoneName:jn},Bv={year:_e,month:bn,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:jn},Hv={year:_e,month:bn,day:_e,weekday:bn,hour:_e,minute:_e,timeZoneName:bn},Uv={year:_e,month:bn,day:_e,weekday:bn,hour:_e,minute:_e,second:_e,timeZoneName:bn};class Si{get type(){throw new Es}get name(){throw new Es}get ianaName(){return this.name}get isUniversal(){throw new Es}offsetName(t,n){throw new Es}formatOffset(t,n){throw new Es}offset(t){throw new Es}equals(t){throw new Es}get isValid(){throw new Es}}let Pu=null;class Xl extends Si{static get instance(){return Pu===null&&(Pu=new Xl),Pu}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:s}){return qv(t,n,s)}formatOffset(t,n){return Qo(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let ja={};function CG(e){return ja[e]||(ja[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"})),ja[e]}const wG={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function zG(e,t){const n=e.format(t).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,o,i,a,u,c,d]=s;return[i,r,o,a,u,c,d]}function kG(e,t){const n=e.formatToParts(t),s=[];for(let r=0;r<n.length;r++){const{type:o,value:i}=n[r],a=wG[o];o==="era"?s[a]=i:tt(a)||(s[a]=parseInt(i,10))}return s}let $a={};class ys extends Si{static create(t){return $a[t]||($a[t]=new ys(t)),$a[t]}static resetCache(){$a={},ja={}}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=ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:s}){return qv(t,n,s,this.name)}formatOffset(t,n){return Qo(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const s=CG(this.name);let[r,o,i,a,u,c,d]=s.formatToParts?kG(s,n):zG(s,n);a==="BC"&&(r=-Math.abs(r)+1);const m=dm({year:r,month:o,day:i,hour:u===24?0:u,minute:c,second:d,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(m-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let Dp={};function xG(e,t={}){const n=JSON.stringify([e,t]);let s=Dp[n];return s||(s=new Intl.ListFormat(e,t),Dp[n]=s),s}let Nc={};function Vc(e,t={}){const n=JSON.stringify([e,t]);let s=Nc[n];return s||(s=new Intl.DateTimeFormat(e,t),Nc[n]=s),s}let Bc={};function EG(e,t={}){const n=JSON.stringify([e,t]);let s=Bc[n];return s||(s=new Intl.NumberFormat(e,t),Bc[n]=s),s}let Hc={};function $G(e,t={}){const{base:n,...s}=t,r=JSON.stringify([e,s]);let o=Hc[r];return o||(o=new Intl.RelativeTimeFormat(e,t),Hc[r]=o),o}let Fo=null;function SG(){return Fo||(Fo=new Intl.DateTimeFormat().resolvedOptions().locale,Fo)}function AG(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let s,r;try{s=Vc(e).resolvedOptions(),r=e}catch{const u=e.substring(0,n);s=Vc(u).resolvedOptions(),r=u}const{numberingSystem:o,calendar:i}=s;return[r,o,i]}}function TG(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function OG(e){const t=[];for(let n=1;n<=12;n++){const s=Ve.utc(2016,n,1);t.push(e(s))}return t}function DG(e){const t=[];for(let n=1;n<=7;n++){const s=Ve.utc(2016,11,13+n);t.push(e(s))}return t}function Sa(e,t,n,s,r){const o=e.listingMode(n);return o==="error"?null:o==="en"?s(t):r(t)}function PG(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 IG{constructor(t,n,s){this.padTo=s.padTo||0,this.floor=s.floor||!1;const{padTo:r,floor:o,...i}=s;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...s};s.padTo>0&&(a.minimumIntegerDigits=s.padTo),this.inf=EG(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):cm(t,3);return Ot(n,this.padTo)}}}class FG{constructor(t,n,s){this.opts=s,this.originalZone=void 0;let r;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&&ys.create(a).valid?(r=a,this.dt=t):(r="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,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const o={...this.opts};o.timeZone=o.timeZone||r,this.dtf=Vc(n,o)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const s=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:s}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class RG{constructor(t,n,s){this.opts={style:"long",...s},!n&&jv()&&(this.rtf=$G(t,s))}format(t,n){return this.rtf?this.rtf.format(t,n):QG(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class vt{static fromOpts(t){return vt.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,s,r=!1){const o=t||Tt.defaultLocale,i=o||(r?"en-US":SG()),a=n||Tt.defaultNumberingSystem,u=s||Tt.defaultOutputCalendar;return new vt(i,a,u,o)}static resetCache(){Fo=null,Nc={},Bc={},Hc={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:s}={}){return vt.create(t,n,s)}constructor(t,n,s,r){const[o,i,a]=AG(t);this.locale=o,this.numberingSystem=n||i||null,this.outputCalendar=s||a||null,this.intl=TG(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=PG(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:vt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1,s=!0){return Sa(this,t,s,Kv,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=OG(i=>this.extract(i,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1,s=!0){return Sa(this,t,s,Jv,()=>{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]=DG(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(t=!0){return Sa(this,void 0,t,()=>Xv,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ve.utc(2016,11,13,9),Ve.utc(2016,11,13,19)].map(s=>this.extract(s,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return Sa(this,t,n,Qv,()=>{const s={era:t};return this.eraCache[t]||(this.eraCache[t]=[Ve.utc(-40,1,1),Ve.utc(2017,1,1)].map(r=>this.extract(r,s,"era"))),this.eraCache[t]})}extract(t,n,s){const r=this.dtFormatter(t,n),o=r.formatToParts(),i=o.find(a=>a.type.toLowerCase()===s);return i?i.value:null}numberFormatter(t={}){return new IG(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new FG(t,this.intl,n)}relFormatter(t={}){return new RG(this.intl,this.isEnglish(),t)}listFormatter(t={}){return xG(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Iu=null;class en extends Si{static get utcInstance(){return Iu===null&&(Iu=new en(0)),Iu}static instance(t){return t===0?en.utcInstance:new en(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new en(eu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Qo(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Qo(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Qo(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class LG extends Si{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 Is(e,t){if(tt(e)||e===null)return t;if(e instanceof Si)return e;if(MG(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Xl.instance:n==="utc"||n==="gmt"?en.utcInstance:en.parseSpecifier(n)||ys.create(e)}else return lr(e)?en.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new LG(e)}let Pp=()=>Date.now(),Ip="system",Fp=null,Rp=null,Lp=null,Mp=60,Np;class Tt{static get now(){return Pp}static set now(t){Pp=t}static set defaultZone(t){Ip=t}static get defaultZone(){return Is(Ip,Xl.instance)}static get defaultLocale(){return Fp}static set defaultLocale(t){Fp=t}static get defaultNumberingSystem(){return Rp}static set defaultNumberingSystem(t){Rp=t}static get defaultOutputCalendar(){return Lp}static set defaultOutputCalendar(t){Lp=t}static get twoDigitCutoffYear(){return Mp}static set twoDigitCutoffYear(t){Mp=t%100}static get throwOnInvalid(){return Np}static set throwOnInvalid(t){Np=t}static resetCaches(){vt.resetCache(),ys.resetCache()}}function tt(e){return typeof e=="undefined"}function lr(e){return typeof e=="number"}function Ql(e){return typeof e=="number"&&e%1===0}function MG(e){return typeof e=="string"}function NG(e){return Object.prototype.toString.call(e)==="[object Date]"}function jv(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch{return!1}}function VG(e){return Array.isArray(e)?e:[e]}function Vp(e,t,n){if(e.length!==0)return e.reduce((s,r)=>{const o=[t(r),r];return s&&n(s[0],o[0])===s[0]?s:o},null)[1]}function BG(e,t){return t.reduce((n,s)=>(n[s]=e[s],n),{})}function Qr(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ms(e,t,n){return Ql(e)&&e>=t&&e<=n}function HG(e,t){return e-t*Math.floor(e/t)}function Ot(e,t=2){const n=e<0;let s;return n?s="-"+(""+-e).padStart(t,"0"):s=(""+e).padStart(t,"0"),s}function Ds(e){if(!(tt(e)||e===null||e===""))return parseInt(e,10)}function Js(e){if(!(tt(e)||e===null||e===""))return parseFloat(e)}function um(e){if(!(tt(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function cm(e,t,n=!1){const s=10**t;return(n?Math.trunc:Math.round)(e*s)/s}function Ai(e){return e%4===0&&(e%100!==0||e%400===0)}function Xo(e){return Ai(e)?366:365}function ml(e,t){const n=HG(t-1,12)+1,s=e+(t-n)/12;return n===2?Ai(s)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function dm(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 fl(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,s=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||s===3?53:52}function Uc(e){return e>99?e:e>Tt.twoDigitCutoffYear?1900+e:2e3+e}function qv(e,t,n,s=null){const r=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(o.timeZone=s);const i={timeZoneName:t,...o},a=new Intl.DateTimeFormat(n,i).formatToParts(r).find(u=>u.type.toLowerCase()==="timezonename");return a?a.value:null}function eu(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const s=parseInt(t,10)||0,r=n<0||Object.is(n,-0)?-s:s;return n*60+r}function Wv(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new En(`Invalid unit value ${e}`);return t}function pl(e,t){const n={};for(const s in e)if(Qr(e,s)){const r=e[s];if(r==null)continue;n[t(s)]=Wv(r)}return n}function Qo(e,t){const n=Math.trunc(Math.abs(e/60)),s=Math.trunc(Math.abs(e%60)),r=e>=0?"+":"-";switch(t){case"short":return`${r}${Ot(n,2)}:${Ot(s,2)}`;case"narrow":return`${r}${n}${s>0?`:${s}`:""}`;case"techie":return`${r}${Ot(n,2)}${Ot(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function tu(e){return BG(e,["hour","minute","second","millisecond"])}const UG=["January","February","March","April","May","June","July","August","September","October","November","December"],Gv=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],jG=["J","F","M","A","M","J","J","A","S","O","N","D"];function Kv(e){switch(e){case"narrow":return[...jG];case"short":return[...Gv];case"long":return[...UG];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 Zv=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Yv=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],qG=["M","T","W","T","F","S","S"];function Jv(e){switch(e){case"narrow":return[...qG];case"short":return[...Yv];case"long":return[...Zv];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Xv=["AM","PM"],WG=["Before Christ","Anno Domini"],GG=["BC","AD"],KG=["B","A"];function Qv(e){switch(e){case"narrow":return[...KG];case"short":return[...GG];case"long":return[...WG];default:return null}}function ZG(e){return Xv[e.hour<12?0:1]}function YG(e,t){return Jv(t)[e.weekday-1]}function JG(e,t){return Kv(t)[e.month-1]}function XG(e,t){return Qv(t)[e.year<0?0:1]}function QG(e,t,n="always",s=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${r[e][0]}`;case-1:return f?"yesterday":`last ${r[e][0]}`;case 0:return f?"today":`this ${r[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),u=a===1,c=r[e],d=s?u?c[1]:c[2]||c[1]:u?r[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function Bp(e,t){let n="";for(const s of e)s.literal?n+=s.val:n+=t(s.val);return n}const eK={D:dl,DD:xv,DDD:Ev,DDDD:$v,t:Sv,tt:Av,ttt:Tv,tttt:Ov,T:Dv,TT:Pv,TTT:Iv,TTTT:Fv,f:Rv,ff:Mv,fff:Vv,ffff:Hv,F:Lv,FF:Nv,FFF:Bv,FFFF:Uv};class Kt{static create(t,n={}){return new Kt(t,n)}static parseFormat(t){let n=null,s="",r=!1;const o=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(s.length>0&&o.push({literal:r||/^\s+$/.test(s),val:s}),n=null,s="",r=!r):r||a===n?s+=a:(s.length>0&&o.push({literal:/^\s+$/.test(s),val:s}),s=a,n=a)}return s.length>0&&o.push({literal:r||/^\s+$/.test(s),val:s}),o}static macroTokenToFormatOpts(t){return eK[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).formatToParts()}formatInterval(t,n={}){return this.loc.dtFormatter(t.start,{...this.opts,...n}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Ot(t,n);const s={...this.opts};return n>0&&(s.padTo=n),this.loc.numberFormatter(s).format(t)}formatDateTimeFromString(t,n){const s=this.loc.listingMode()==="en",r=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>s?ZG(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(p,h)=>s?JG(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>s?YG(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=Kt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},f=p=>s?XG(t,p):o({era:p},"era"),m=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return 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 r?o({day:"numeric"},"day"):this.num(t.day);case"dd":return r?o({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return r?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?o({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?o({month:"numeric"},"month"):this.num(t.month);case"MM":return r?o({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?o({year:"numeric"},"year"):this.num(t.year);case"yy":return r?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?o({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return Bp(Kt.parseFormat(n),m)}formatDurationFromString(t,n){const s=u=>{switch(u[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}},r=u=>c=>{const d=s(c);return d?this.num(u.get(d),c.length):c},o=Kt.parseFormat(n),i=o.reduce((u,{literal:c,val:d})=>c?u:u.concat(d),[]),a=t.shiftTo(...i.map(s).filter(u=>u));return Bp(o,r(a))}}class Vn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const e1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ao(...e){const t=e.reduce((n,s)=>n+s.source,"");return RegExp(`^${t}$`)}function lo(...e){return t=>e.reduce(([n,s,r],o)=>{const[i,a,u]=o(t,r);return[{...n,...i},a||s,u]},[{},null,1]).slice(0,2)}function uo(e,...t){if(e==null)return[null,null];for(const[n,s]of t){const r=n.exec(e);if(r)return s(r)}return[null,null]}function t1(...e){return(t,n)=>{const s={};let r;for(r=0;r<e.length;r++)s[e[r]]=Ds(t[n+r]);return[s,null,n+r]}}const n1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,tK=`(?:${n1.source}?(?:\\[(${e1.source})\\])?)?`,mm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,s1=RegExp(`${mm.source}${tK}`),fm=RegExp(`(?:T${s1.source})?`),nK=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,sK=/(\d{4})-?W(\d\d)(?:-?(\d))?/,rK=/(\d{4})-?(\d{3})/,oK=t1("weekYear","weekNumber","weekDay"),iK=t1("year","ordinal"),aK=/(\d{4})-(\d\d)-(\d\d)/,r1=RegExp(`${mm.source} ?(?:${n1.source}|(${e1.source}))?`),lK=RegExp(`(?: ${r1.source})?`);function Hr(e,t,n){const s=e[t];return tt(s)?n:Ds(s)}function uK(e,t){return[{year:Hr(e,t),month:Hr(e,t+1,1),day:Hr(e,t+2,1)},null,t+3]}function co(e,t){return[{hours:Hr(e,t,0),minutes:Hr(e,t+1,0),seconds:Hr(e,t+2,0),milliseconds:um(e[t+3])},null,t+4]}function Ti(e,t){const n=!e[t]&&!e[t+1],s=eu(e[t+1],e[t+2]),r=n?null:en.instance(s);return[{},r,t+3]}function Oi(e,t){const n=e[t]?ys.create(e[t]):null;return[{},n,t+1]}const cK=RegExp(`^T?${mm.source}$`),dK=/^-?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 mK(e){const[t,n,s,r,o,i,a,u,c]=e,d=t[0]==="-",f=u&&u[0]==="-",m=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:m(Js(n)),months:m(Js(s)),weeks:m(Js(r)),days:m(Js(o)),hours:m(Js(i)),minutes:m(Js(a)),seconds:m(Js(u),u==="-0"),milliseconds:m(um(c),f)}]}const fK={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 pm(e,t,n,s,r,o,i){const a={year:t.length===2?Uc(Ds(t)):Ds(t),month:Gv.indexOf(n)+1,day:Ds(s),hour:Ds(r),minute:Ds(o)};return i&&(a.second=Ds(i)),e&&(a.weekday=e.length>3?Zv.indexOf(e)+1:Yv.indexOf(e)+1),a}const pK=/^(?:(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 hK(e){const[,t,n,s,r,o,i,a,u,c,d,f]=e,m=pm(t,r,s,n,o,i,a);let p;return u?p=fK[u]:c?p=0:p=eu(d,f),[m,new en(p)]}function _K(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const gK=/^(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$/,yK=/^(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$/,vK=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Hp(e){const[,t,n,s,r,o,i,a]=e;return[pm(t,r,s,n,o,i,a),en.utcInstance]}function bK(e){const[,t,n,s,r,o,i,a]=e;return[pm(t,a,n,s,r,o,i),en.utcInstance]}const CK=ao(nK,fm),wK=ao(sK,fm),zK=ao(rK,fm),kK=ao(s1),o1=lo(uK,co,Ti,Oi),xK=lo(oK,co,Ti,Oi),EK=lo(iK,co,Ti,Oi),$K=lo(co,Ti,Oi);function SK(e){return uo(e,[CK,o1],[wK,xK],[zK,EK],[kK,$K])}function AK(e){return uo(_K(e),[pK,hK])}function TK(e){return uo(e,[gK,Hp],[yK,Hp],[vK,bK])}function OK(e){return uo(e,[dK,mK])}const DK=lo(co);function PK(e){return uo(e,[cK,DK])}const IK=ao(aK,lK),FK=ao(r1),RK=lo(co,Ti,Oi);function LK(e){return uo(e,[IK,o1],[FK,RK])}const MK="Invalid Duration",i1={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}},NK={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},...i1},xn=146097/400,Er=146097/4800,VK={years:{quarters:4,months:12,weeks:xn/7,days:xn,hours:xn*24,minutes:xn*24*60,seconds:xn*24*60*60,milliseconds:xn*24*60*60*1e3},quarters:{months:3,weeks:xn/28,days:xn/4,hours:xn*24/4,minutes:xn*24*60/4,seconds:xn*24*60*60/4,milliseconds:xn*24*60*60*1e3/4},months:{weeks:Er/7,days:Er,hours:Er*24,minutes:Er*24*60,seconds:Er*24*60*60,milliseconds:Er*24*60*60*1e3},...i1},Qs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],BK=Qs.slice(0).reverse();function $s(e,t,n=!1){const s={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Je(s)}function HK(e){return e<0?Math.floor(e):Math.ceil(e)}function a1(e,t,n,s,r){const o=e[r][n],i=t[n]/o,a=Math.sign(i)===Math.sign(s[r]),u=!a&&s[r]!==0&&Math.abs(i)<=1?HK(i):Math.trunc(i);s[r]+=u,t[n]-=u*o}function UK(e,t){BK.reduce((n,s)=>tt(t[s])?n:(n&&a1(e,t,n,t,s),s),null)}function jK(e){const t={};for(const[n,s]of Object.entries(e))s!==0&&(t[n]=s);return t}class Je{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let s=n?VK:NK;t.matrix&&(s=t.matrix),this.values=t.values,this.loc=t.loc||vt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=s,this.isLuxonDuration=!0}static fromMillis(t,n){return Je.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new En(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Je({values:pl(t,Je.normalizeUnit),loc:vt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(lr(t))return Je.fromMillis(t);if(Je.isDuration(t))return t;if(typeof t=="object")return Je.fromObject(t);throw new En(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[s]=OK(t);return s?Je.fromObject(s,n):Je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[s]=PK(t);return s?Je.fromObject(s,n):Je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new En("need to specify a reason the Duration is invalid");const s=t instanceof Vn?t:new Vn(t,n);if(Tt.throwOnInvalid)throw new yG(s);return new Je({invalid:s})}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 kv(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 s={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Kt.create(this.loc,s).formatDurationFromString(this,t):MK}toHuman(t={}){const n=Qs.map(s=>{const r=this.values[s];return tt(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:s.slice(0,-1)}).format(r)}).filter(s=>s);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+=cm(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();if(n<0||n>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const s=this.shiftTo("hours","minutes","seconds","milliseconds");let r=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||s.seconds!==0||s.milliseconds!==0)&&(r+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||s.milliseconds!==0)&&(r+=".SSS"));let o=s.toFormat(r);return t.includePrefix&&(o="T"+o),o}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t),s={};for(const r of Qs)(Qr(n.values,r)||Qr(this.values,r))&&(s[r]=n.get(r)+this.get(r));return $s(this,{values:s},!0)}minus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const s of Object.keys(this.values))n[s]=Wv(t(this.values[s],s));return $s(this,{values:n},!0)}get(t){return this[Je.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...pl(t,Je.normalizeUnit)};return $s(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:s,matrix:r}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:r,conversionAccuracy:s};return $s(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return UK(this.matrix,t),$s(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=jK(this.normalize().shiftToAll().toObject());return $s(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Je.normalizeUnit(i));const n={},s={},r=this.toObject();let o;for(const i of Qs)if(t.indexOf(i)>=0){o=i;let a=0;for(const c in s)a+=this.matrix[c][i]*s[c],s[c]=0;lr(r[i])&&(a+=r[i]);const u=Math.trunc(a);n[i]=u,s[i]=(a*1e3-u*1e3)/1e3;for(const c in r)Qs.indexOf(c)>Qs.indexOf(i)&&a1(this.matrix,r,c,n,i)}else lr(r[i])&&(s[i]=r[i]);for(const i in s)s[i]!==0&&(n[o]+=i===o?s[i]:s[i]/this.matrix[o][i]);return $s(this,{values:n},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return $s(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(s,r){return s===void 0||s===0?r===void 0||r===0:s===r}for(const s of Qs)if(!n(this.values[s],t.values[s]))return!1;return!0}}const $r="Invalid Interval";function qK(e,t){return!e||!e.isValid?Et.invalid("missing or invalid start"):!t||!t.isValid?Et.invalid("missing or invalid end"):t<e?Et.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class Et{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new En("need to specify a reason the Interval is invalid");const s=t instanceof Vn?t:new Vn(t,n);if(Tt.throwOnInvalid)throw new gG(s);return new Et({invalid:s})}static fromDateTimes(t,n){const s=ko(t),r=ko(n),o=qK(s,r);return o==null?new Et({start:s,end:r}):o}static after(t,n){const s=Je.fromDurationLike(n),r=ko(t);return Et.fromDateTimes(r,r.plus(s))}static before(t,n){const s=Je.fromDurationLike(n),r=ko(t);return Et.fromDateTimes(r.minus(s),r)}static fromISO(t,n){const[s,r]=(t||"").split("/",2);if(s&&r){let o,i;try{o=Ve.fromISO(s,n),i=o.isValid}catch{i=!1}let a,u;try{a=Ve.fromISO(r,n),u=a.isValid}catch{u=!1}if(i&&u)return Et.fromDateTimes(o,a);if(i){const c=Je.fromISO(r,n);if(c.isValid)return Et.after(o,c)}else if(u){const c=Je.fromISO(s,n);if(c.isValid)return Et.before(a,c)}}return Et.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),s=this.end.startOf(t);return Math.floor(s.diff(n,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?Et.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(ko).filter(i=>this.contains(i)).sort(),s=[];let{s:r}=this,o=0;for(;r<this.e;){const i=n[o]||this.e,a=+i>+this.e?this.e:i;s.push(Et.fromDateTimes(r,a)),r=a,o+=1}return s}splitBy(t){const n=Je.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s}=this,r=1,o;const i=[];for(;s<this.e;){const a=this.start.plus(n.mapUnits(u=>u*r));o=+a>+this.e?this.e:a,i.push(Et.fromDateTimes(s,o)),s=o,r+=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,s=this.e<t.e?this.e:t.e;return n>=s?null:Et.fromDateTimes(n,s)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,s=this.e>t.e?this.e:t.e;return Et.fromDateTimes(n,s)}static merge(t){const[n,s]=t.sort((r,o)=>r.s-o.s).reduce(([r,o],i)=>o?o.overlaps(i)||o.abutsStart(i)?[r,o.union(i)]:[r.concat([o]),i]:[r,i],[[],null]);return s&&n.push(s),n}static xor(t){let n=null,s=0;const r=[],o=t.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),i=Array.prototype.concat(...o),a=i.sort((u,c)=>u.time-c.time);for(const u of a)s+=u.type==="s"?1:-1,s===1?n=u.time:(n&&+n!=+u.time&&r.push(Et.fromDateTimes(n,u.time)),n=null);return Et.merge(r)}difference(...t){return Et.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:$r}toLocaleString(t=dl,n={}){return this.isValid?Kt.create(this.s.loc.clone(n),t).formatInterval(this):$r}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:$r}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:$r}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:$r}toFormat(t,{separator:n=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:$r}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Je.invalid(this.invalidReason)}mapEndpoints(t){return Et.fromDateTimes(t(this.s),t(this.e))}}class Aa{static hasDST(t=Tt.defaultZone){const n=Ve.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return ys.isValidZone(t)}static normalizeZone(t){return Is(t,Tt.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:s=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||vt.create(n,s,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:s=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||vt.create(n,s,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:s=null,locObj:r=null}={}){return(r||vt.create(n,s,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:s=null,locObj:r=null}={}){return(r||vt.create(n,s,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return vt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return vt.create(n,null,"gregory").eras(t)}static features(){return{relative:jv()}}}function Up(e,t){const n=r=>r.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(t)-n(e);return Math.floor(Je.fromMillis(s).as("days"))}function WK(e,t,n){const s=[["years",(u,c)=>c.year-u.year],["quarters",(u,c)=>c.quarter-u.quarter+(c.year-u.year)*4],["months",(u,c)=>c.month-u.month+(c.year-u.year)*12],["weeks",(u,c)=>{const d=Up(u,c);return(d-d%7)/7}],["days",Up]],r={},o=e;let i,a;for(const[u,c]of s)n.indexOf(u)>=0&&(i=u,r[u]=c(e,t),a=o.plus(r),a>t?(r[u]--,e=o.plus(r)):e=a);return[e,r,a,i]}function GK(e,t,n,s){let[r,o,i,a]=WK(e,t,n);const u=t-r,c=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(i<t&&(i=r.plus({[a]:1})),i!==r&&(o[a]=(o[a]||0)+u/(i-r)));const d=Je.fromObject(o,s);return c.length>0?Je.fromMillis(u,s).shiftTo(...c).plus(d):d}const hm={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},jp={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]},KK=hm.hanidec.replace(/[\[|\]]/g,"").split("");function ZK(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const s=e.charCodeAt(n);if(e[n].search(hm.hanidec)!==-1)t+=KK.indexOf(e[n]);else for(const r in jp){const[o,i]=jp[r];s>=o&&s<=i&&(t+=s-o)}}return parseInt(t,10)}else return t}function Fn({numberingSystem:e},t=""){return new RegExp(`${hm[e||"latn"]}${t}`)}const YK="missing Intl.DateTimeFormat.formatToParts support";function lt(e,t=n=>n){return{regex:e,deser:([n])=>t(ZK(n))}}const JK=String.fromCharCode(160),l1=`[ ${JK}]`,u1=new RegExp(l1,"g");function XK(e){return e.replace(/\./g,"\\.?").replace(u1,l1)}function qp(e){return e.replace(/\./g,"").replace(u1," ").toLowerCase()}function Rn(e,t){return e===null?null:{regex:RegExp(e.map(XK).join("|")),deser:([n])=>e.findIndex(s=>qp(n)===qp(s))+t}}function Wp(e,t){return{regex:e,deser:([,n,s])=>eu(n,s),groups:t}}function Ta(e){return{regex:e,deser:([t])=>t}}function QK(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function eZ(e,t){const n=Fn(t),s=Fn(t,"{2}"),r=Fn(t,"{3}"),o=Fn(t,"{4}"),i=Fn(t,"{6}"),a=Fn(t,"{1,2}"),u=Fn(t,"{1,3}"),c=Fn(t,"{1,6}"),d=Fn(t,"{1,9}"),f=Fn(t,"{2,4}"),m=Fn(t,"{4,6}"),p=w=>({regex:RegExp(QK(w.val)),deser:([b])=>b,literal:!0}),_=(w=>{if(e.literal)return p(w);switch(w.val){case"G":return Rn(t.eras("short",!1),0);case"GG":return Rn(t.eras("long",!1),0);case"y":return lt(c);case"yy":return lt(f,Uc);case"yyyy":return lt(o);case"yyyyy":return lt(m);case"yyyyyy":return lt(i);case"M":return lt(a);case"MM":return lt(s);case"MMM":return Rn(t.months("short",!0,!1),1);case"MMMM":return Rn(t.months("long",!0,!1),1);case"L":return lt(a);case"LL":return lt(s);case"LLL":return Rn(t.months("short",!1,!1),1);case"LLLL":return Rn(t.months("long",!1,!1),1);case"d":return lt(a);case"dd":return lt(s);case"o":return lt(u);case"ooo":return lt(r);case"HH":return lt(s);case"H":return lt(a);case"hh":return lt(s);case"h":return lt(a);case"mm":return lt(s);case"m":return lt(a);case"q":return lt(a);case"qq":return lt(s);case"s":return lt(a);case"ss":return lt(s);case"S":return lt(u);case"SSS":return lt(r);case"u":return Ta(d);case"uu":return Ta(a);case"uuu":return lt(n);case"a":return Rn(t.meridiems(),0);case"kkkk":return lt(o);case"kk":return lt(f,Uc);case"W":return lt(a);case"WW":return lt(s);case"E":case"c":return lt(n);case"EEE":return Rn(t.weekdays("short",!1,!1),1);case"EEEE":return Rn(t.weekdays("long",!1,!1),1);case"ccc":return Rn(t.weekdays("short",!0,!1),1);case"cccc":return Rn(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Wp(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Wp(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ta(/[a-z_+-/]{1,256}?/i);case" ":return Ta(/[^\S\n\r]/);default:return p(w)}})(e)||{invalidReason:YK};return _.token=e,_}const tZ={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function nZ(e,t){const{type:n,value:s}=e;if(n==="literal"){const i=/^\s+$/.test(s);return{literal:!i,val:i?" ":s}}const r=t[n];let o=tZ[n];if(typeof o=="object"&&(o=o[r]),o)return{literal:!1,val:o}}function sZ(e){return[`^${e.map(n=>n.regex).reduce((n,s)=>`${n}(${s.source})`,"")}$`,e]}function rZ(e,t,n){const s=e.match(t);if(s){const r={};let o=1;for(const i in n)if(Qr(n,i)){const a=n[i],u=a.groups?a.groups+1:1;!a.literal&&a.token&&(r[a.token.val[0]]=a.deser(s.slice(o,o+u))),o+=u}return[s,r]}else return[s,{}]}function oZ(e){const t=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,s;return tt(e.z)||(n=ys.create(e.z)),tt(e.Z)||(n||(n=new en(e.Z)),s=e.Z),tt(e.q)||(e.M=(e.q-1)*3+1),tt(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),tt(e.u)||(e.S=um(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,s]}let Fu=null;function iZ(){return Fu||(Fu=Ve.fromMillis(1555555555555)),Fu}function aZ(e,t){if(e.literal)return e;const n=Kt.macroTokenToFormatOpts(e.val),s=m1(n,t);return s==null||s.includes(void 0)?e:s}function c1(e,t){return Array.prototype.concat(...e.map(n=>aZ(n,t)))}function d1(e,t,n){const s=c1(Kt.parseFormat(n),e),r=s.map(i=>eZ(i,e)),o=r.find(i=>i.invalidReason);if(o)return{input:t,tokens:s,invalidReason:o.invalidReason};{const[i,a]=sZ(r),u=RegExp(i,"i"),[c,d]=rZ(t,u,a),[f,m,p]=d?oZ(d):[null,null,void 0];if(Qr(d,"a")&&Qr(d,"H"))throw new Io("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:s,regex:u,rawMatches:c,matches:d,result:f,zone:m,specificOffset:p}}}function lZ(e,t,n){const{result:s,zone:r,specificOffset:o,invalidReason:i}=d1(e,t,n);return[s,r,o,i]}function m1(e,t){return e?Kt.create(t,e).formatDateTimeParts(iZ()).map(r=>nZ(r,e)):null}const f1=[0,31,59,90,120,151,181,212,243,273,304,334],p1=[0,31,60,91,121,152,182,213,244,274,305,335];function Sn(e,t){return new Vn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function h1(e,t,n){const s=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const r=s.getUTCDay();return r===0?7:r}function _1(e,t,n){return n+(Ai(e)?p1:f1)[t-1]}function g1(e,t){const n=Ai(e)?p1:f1,s=n.findIndex(o=>o<t),r=t-n[s];return{month:s+1,day:r}}function jc(e){const{year:t,month:n,day:s}=e,r=_1(t,n,s),o=h1(t,n,s);let i=Math.floor((r-o+10)/7),a;return i<1?(a=t-1,i=fl(a)):i>fl(t)?(a=t+1,i=1):a=t,{weekYear:a,weekNumber:i,weekday:o,...tu(e)}}function Gp(e){const{weekYear:t,weekNumber:n,weekday:s}=e,r=h1(t,1,4),o=Xo(t);let i=n*7+s-r-3,a;i<1?(a=t-1,i+=Xo(a)):i>o?(a=t+1,i-=Xo(t)):a=t;const{month:u,day:c}=g1(a,i);return{year:a,month:u,day:c,...tu(e)}}function Ru(e){const{year:t,month:n,day:s}=e,r=_1(t,n,s);return{year:t,ordinal:r,...tu(e)}}function Kp(e){const{year:t,ordinal:n}=e,{month:s,day:r}=g1(t,n);return{year:t,month:s,day:r,...tu(e)}}function uZ(e){const t=Ql(e.weekYear),n=ms(e.weekNumber,1,fl(e.weekYear)),s=ms(e.weekday,1,7);return t?n?s?!1:Sn("weekday",e.weekday):Sn("week",e.week):Sn("weekYear",e.weekYear)}function cZ(e){const t=Ql(e.year),n=ms(e.ordinal,1,Xo(e.year));return t?n?!1:Sn("ordinal",e.ordinal):Sn("year",e.year)}function y1(e){const t=Ql(e.year),n=ms(e.month,1,12),s=ms(e.day,1,ml(e.year,e.month));return t?n?s?!1:Sn("day",e.day):Sn("month",e.month):Sn("year",e.year)}function v1(e){const{hour:t,minute:n,second:s,millisecond:r}=e,o=ms(t,0,23)||t===24&&n===0&&s===0&&r===0,i=ms(n,0,59),a=ms(s,0,59),u=ms(r,0,999);return o?i?a?u?!1:Sn("millisecond",r):Sn("second",s):Sn("minute",n):Sn("hour",t)}const Lu="Invalid DateTime",Zp=864e13;function Oa(e){return new Vn("unsupported zone",`the zone "${e.name}" is not supported`)}function Mu(e){return e.weekData===null&&(e.weekData=jc(e.c)),e.weekData}function wo(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ve({...n,...t,old:n})}function b1(e,t,n){let s=e-t*60*1e3;const r=n.offset(s);if(t===r)return[s,t];s-=(r-t)*60*1e3;const o=n.offset(s);return r===o?[s,r]:[e-Math.min(r,o)*60*1e3,Math.max(r,o)]}function Yp(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 qa(e,t,n){return b1(dm(e),t,n)}function Jp(e,t){const n=e.o,s=e.c.year+Math.trunc(t.years),r=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:s,month:r,day:Math.min(e.c.day,ml(s,r))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Je.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=dm(o);let[u,c]=b1(a,n,e.zone);return i!==0&&(u+=i,c=e.zone.offset(u)),{ts:u,o:c}}function zo(e,t,n,s,r,o){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const u=t||a,c=Ve.fromObject(e,{...n,zone:u,specificOffset:o});return i?c:c.setZone(a)}else return Ve.invalid(new Vn("unparsable",`the input "${r}" can't be parsed as ${s}`))}function Da(e,t,n=!0){return e.isValid?Kt.create(vt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Nu(e,t){const n=e.c.year>9999||e.c.year<0;let s="";return n&&e.c.year>=0&&(s+="+"),s+=Ot(e.c.year,n?6:4),t?(s+="-",s+=Ot(e.c.month),s+="-",s+=Ot(e.c.day)):(s+=Ot(e.c.month),s+=Ot(e.c.day)),s}function Xp(e,t,n,s,r,o){let i=Ot(e.c.hour);return t?(i+=":",i+=Ot(e.c.minute),(e.c.second!==0||!n)&&(i+=":")):i+=Ot(e.c.minute),(e.c.second!==0||!n)&&(i+=Ot(e.c.second),(e.c.millisecond!==0||!s)&&(i+=".",i+=Ot(e.c.millisecond,3))),r&&(e.isOffsetFixed&&e.offset===0&&!o?i+="Z":e.o<0?(i+="-",i+=Ot(Math.trunc(-e.o/60)),i+=":",i+=Ot(Math.trunc(-e.o%60))):(i+="+",i+=Ot(Math.trunc(e.o/60)),i+=":",i+=Ot(Math.trunc(e.o%60)))),o&&(i+="["+e.zone.ianaName+"]"),i}const C1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},dZ={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},mZ={ordinal:1,hour:0,minute:0,second:0,millisecond:0},w1=["year","month","day","hour","minute","second","millisecond"],fZ=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],pZ=["year","ordinal","hour","minute","second","millisecond"];function Qp(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 kv(e);return t}function eh(e,t){const n=Is(t.zone,Tt.defaultZone),s=vt.fromObject(t),r=Tt.now();let o,i;if(tt(e.year))o=r;else{for(const c of w1)tt(e[c])&&(e[c]=C1[c]);const a=y1(e)||v1(e);if(a)return Ve.invalid(a);const u=n.offset(r);[o,i]=qa(e,u,n)}return new Ve({ts:o,zone:n,loc:s,o:i})}function th(e,t,n){const s=tt(n.round)?!0:n.round,r=(i,a)=>(i=cm(i,s||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),o=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 r(o(n.unit),n.unit);for(const i of n.units){const a=o(i);if(Math.abs(a)>=1)return r(a,i)}return r(e>t?-0:0,n.units[n.units.length-1])}function nh(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class Ve{constructor(t){const n=t.zone||Tt.defaultZone;let s=t.invalid||(Number.isNaN(t.ts)?new Vn("invalid input"):null)||(n.isValid?null:Oa(n));this.ts=tt(t.ts)?Tt.now():t.ts;let r=null,o=null;if(!s)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[r,o]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);r=Yp(this.ts,a),s=Number.isNaN(r.year)?new Vn("invalid input"):null,r=s?null:r,o=s?null:a}this._zone=n,this.loc=t.loc||vt.create(),this.invalid=s,this.weekData=null,this.c=r,this.o=o,this.isLuxonDateTime=!0}static now(){return new Ve({})}static local(){const[t,n]=nh(arguments),[s,r,o,i,a,u,c]=n;return eh({year:s,month:r,day:o,hour:i,minute:a,second:u,millisecond:c},t)}static utc(){const[t,n]=nh(arguments),[s,r,o,i,a,u,c]=n;return t.zone=en.utcInstance,eh({year:s,month:r,day:o,hour:i,minute:a,second:u,millisecond:c},t)}static fromJSDate(t,n={}){const s=NG(t)?t.valueOf():NaN;if(Number.isNaN(s))return Ve.invalid("invalid input");const r=Is(n.zone,Tt.defaultZone);return r.isValid?new Ve({ts:s,zone:r,loc:vt.fromObject(n)}):Ve.invalid(Oa(r))}static fromMillis(t,n={}){if(lr(t))return t<-Zp||t>Zp?Ve.invalid("Timestamp out of range"):new Ve({ts:t,zone:Is(n.zone,Tt.defaultZone),loc:vt.fromObject(n)});throw new En(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(lr(t))return new Ve({ts:t*1e3,zone:Is(n.zone,Tt.defaultZone),loc:vt.fromObject(n)});throw new En("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const s=Is(n.zone,Tt.defaultZone);if(!s.isValid)return Ve.invalid(Oa(s));const r=Tt.now(),o=tt(n.specificOffset)?s.offset(r):n.specificOffset,i=pl(t,Qp),a=!tt(i.ordinal),u=!tt(i.year),c=!tt(i.month)||!tt(i.day),d=u||c,f=i.weekYear||i.weekNumber,m=vt.fromObject(n);if((d||a)&&f)throw new Io("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new Io("Can't mix ordinal dates with month/day");const p=f||i.weekday&&!d;let h,_,w=Yp(r,o);p?(h=fZ,_=dZ,w=jc(w)):a?(h=pZ,_=mZ,w=Ru(w)):(h=w1,_=C1);let b=!1;for(const I of h){const D=i[I];tt(D)?b?i[I]=_[I]:i[I]=w[I]:b=!0}const y=p?uZ(i):a?cZ(i):y1(i),x=y||v1(i);if(x)return Ve.invalid(x);const C=p?Gp(i):a?Kp(i):i,[k,T]=qa(C,o,s),L=new Ve({ts:k,zone:s,o:T,loc:m});return i.weekday&&d&&t.weekday!==L.weekday?Ve.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${L.toISO()}`):L}static fromISO(t,n={}){const[s,r]=SK(t);return zo(s,r,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[s,r]=AK(t);return zo(s,r,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[s,r]=TK(t);return zo(s,r,n,"HTTP",n)}static fromFormat(t,n,s={}){if(tt(t)||tt(n))throw new En("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:o=null}=s,i=vt.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0}),[a,u,c,d]=lZ(i,t,n);return d?Ve.invalid(d):zo(a,u,s,`format ${n}`,t,c)}static fromString(t,n,s={}){return Ve.fromFormat(t,n,s)}static fromSQL(t,n={}){const[s,r]=LK(t);return zo(s,r,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new En("need to specify a reason the DateTime is invalid");const s=t instanceof Vn?t:new Vn(t,n);if(Tt.throwOnInvalid)throw new _G(s);return new Ve({invalid:s})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const s=m1(t,vt.fromObject(n));return s?s.map(r=>r?r.val:null).join(""):null}static expandFormat(t,n={}){return c1(Kt.parseFormat(t),vt.fromObject(n)).map(r=>r.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mu(this).weekYear:NaN}get weekNumber(){return this.isValid?Mu(this).weekNumber:NaN}get weekday(){return this.isValid?Mu(this).weekday:NaN}get ordinal(){return this.isValid?Ru(this.c).ordinal:NaN}get monthShort(){return this.isValid?Aa.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Aa.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Aa.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Aa.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return Ai(this.year)}get daysInMonth(){return ml(this.year,this.month)}get daysInYear(){return this.isValid?Xo(this.year):NaN}get weeksInWeekYear(){return this.isValid?fl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:s,calendar:r}=Kt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:s,outputCalendar:r}}toUTC(t=0,n={}){return this.setZone(en.instance(t),n)}toLocal(){return this.setZone(Tt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:s=!1}={}){if(t=Is(t,Tt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let r=this.ts;if(n||s){const o=t.offset(this.ts),i=this.toObject();[r]=qa(i,o,t)}return wo(this,{ts:r,zone:t})}else return Ve.invalid(Oa(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:s}={}){const r=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:s});return wo(this,{loc:r})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=pl(t,Qp),s=!tt(n.weekYear)||!tt(n.weekNumber)||!tt(n.weekday),r=!tt(n.ordinal),o=!tt(n.year),i=!tt(n.month)||!tt(n.day),a=o||i,u=n.weekYear||n.weekNumber;if((a||r)&&u)throw new Io("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&r)throw new Io("Can't mix ordinal dates with month/day");let c;s?c=Gp({...jc(this.c),...n}):tt(n.ordinal)?(c={...this.toObject(),...n},tt(n.day)&&(c.day=Math.min(ml(c.year,c.month),c.day))):c=Kp({...Ru(this.c),...n});const[d,f]=qa(c,this.o,this.zone);return wo(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t);return wo(this,Jp(this,n))}minus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t).negate();return wo(this,Jp(this,n))}startOf(t){if(!this.isValid)return this;const n={},s=Je.normalizeUnit(t);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(s==="weeks"&&(n.weekday=1),s==="quarters"){const r=Math.ceil(this.month/3);n.month=(r-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?Kt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Lu}toLocaleString(t=dl,n={}){return this.isValid?Kt.create(this.loc.clone(n),t).formatDateTime(this):Lu}toLocaleParts(t={}){return this.isValid?Kt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:s=!1,includeOffset:r=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=Nu(this,i);return a+="T",a+=Xp(this,i,n,s,r,o),a}toISODate({format:t="extended"}={}){return this.isValid?Nu(this,t==="extended"):null}toISOWeekDate(){return Da(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:s=!0,includePrefix:r=!1,extendedZone:o=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Xp(this,i==="extended",n,t,s,o):null}toRFC2822(){return Da(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Da(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Nu(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:s=!0}={}){let r="HH:mm:ss.SSS";return(n||t)&&(s&&(r+=" "),n?r+="z":t&&(r+="ZZ")),Da(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Lu}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",s={}){if(!this.isValid||!t.isValid)return Je.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...s},o=VG(n).map(Je.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,u=i?t:this,c=GK(a,u,o,r);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Ve.now(),t,n)}until(t){return this.isValid?Et.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const s=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(n)<=s&&s<=r.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||Ve.fromObject({},{zone:this.zone}),s=t.padding?this<n?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(r=t.unit,o=void 0),th(n,this.plus(s),{...t,numeric:"always",units:r,unit:o})}toRelativeCalendar(t={}){return this.isValid?th(t.base||Ve.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Ve.isDateTime))throw new En("min requires all arguments be DateTimes");return Vp(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Ve.isDateTime))throw new En("max requires all arguments be DateTimes");return Vp(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,s={}){const{locale:r=null,numberingSystem:o=null}=s,i=vt.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0});return d1(i,t,n)}static fromStringExplain(t,n,s={}){return Ve.fromFormatExplain(t,n,s)}static get DATE_SHORT(){return dl}static get DATE_MED(){return xv}static get DATE_MED_WITH_WEEKDAY(){return vG}static get DATE_FULL(){return Ev}static get DATE_HUGE(){return $v}static get TIME_SIMPLE(){return Sv}static get TIME_WITH_SECONDS(){return Av}static get TIME_WITH_SHORT_OFFSET(){return Tv}static get TIME_WITH_LONG_OFFSET(){return Ov}static get TIME_24_SIMPLE(){return Dv}static get TIME_24_WITH_SECONDS(){return Pv}static get TIME_24_WITH_SHORT_OFFSET(){return Iv}static get TIME_24_WITH_LONG_OFFSET(){return Fv}static get DATETIME_SHORT(){return Rv}static get DATETIME_SHORT_WITH_SECONDS(){return Lv}static get DATETIME_MED(){return Mv}static get DATETIME_MED_WITH_SECONDS(){return Nv}static get DATETIME_MED_WITH_WEEKDAY(){return bG}static get DATETIME_FULL(){return Vv}static get DATETIME_FULL_WITH_SECONDS(){return Bv}static get DATETIME_HUGE(){return Hv}static get DATETIME_HUGE_WITH_SECONDS(){return Uv}}function ko(e){if(Ve.isDateTime(e))return e;if(e&&e.valueOf&&lr(e.valueOf()))return Ve.fromJSDate(e);if(e&&typeof e=="object")return Ve.fromObject(e);throw new En(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Vu,locale:Bu}=Fl.global,hZ={durationInHours(e){const t=Math.floor(e/1e3);return t>3600?Je.fromObject({seconds:t}).shiftTo("hours","minutes","seconds").toFormat("hh:mm:ss"):Je.fromObject({seconds:t}).shiftTo("minutes","seconds").toFormat("mm:ss")},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Je.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Je.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Je.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date(e){return Ve.fromISO(e).setLocale(Bu.value).toLocaleString(Ve.DATE_FULL)},datetime(e){return Ve.fromISO(e).setLocale(Bu.value).toLocaleString(Ve.DATETIME_MED)},timeFromNow(e){const t=Ve.now().diff(Ve.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number(e){return e.toLocaleString(Bu.value)},channels(e){return e===1?Vu("filter.mono"):e===2?Vu("filter.stereo"):e?Vu("filter.channels",{value:e}):""}},_Z={mdiAccountMusic:sW,mdiAlbum:rW,mdiArrowCollapseDown:iW,mdiBookOpenPageVariant:aW,mdiBookOpenVariant:lW,mdiBookshelf:uW,mdiBroadcast:cW,mdiCancel:dW,mdiCast:mW,mdiCastVariant:fW,mdiCellphone:pW,mdiCheck:hW,mdiChevronDown:_W,mdiChevronUp:gW,mdiContentSave:yW,mdiDelete:vW,mdiDeleteEmpty:bW,mdiDotsHorizontal:CW,mdiDotsVertical:wW,mdiDragHorizontal:zW,mdiFastForward30:kW,mdiFileMusic:xW,mdiFileOutline:EW,mdiFire:$W,mdiFolder:SW,mdiFolderOpen:AW,mdiMagnify:TW,mdiMenu:OW,mdiMicrophone:DW,mdiMusic:PW,mdiMusicBoxMultiple:IW,mdiOpenInNew:FW,mdiPause:RW,mdiPencil:LW,mdiPipe:MW,mdiPlay:NW,mdiPlaylistPlay:VW,mdiPlaylistPlus:BW,mdiRadio:HW,mdiRadioTower:UW,mdiRefresh:jW,mdiRepeat:qW,mdiRepeatOff:WW,mdiRepeatOnce:GW,mdiRewind10:KW,mdiRss:ZW,mdiServer:YW,mdiShuffle:JW,mdiShuffleDisabled:XW,mdiSkipBackward:QW,mdiSkipForward:eG,mdiSpeaker:tG,mdiSpotify:nG,mdiStop:sG,mdiSubdirectoryArrowLeft:rG,mdiVolumeHigh:oG,mdiVolumeOff:iG,mdiWeb:aG},gZ={name:"NavbarItemLink",props:{to:String,exact:Boolean},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Kr,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Gr,e)}}},methods:{open_link(){this.show_burger_menu&&this.$store.commit(Gr,!1),this.show_player_menu&&this.$store.commit(Kr,!1),this.$router.push({path:this.to})},full_path(){return this.$router.resolve(this.to).href}}},yZ=["href"];function vZ(e,t,n,s,r,o){return z(),S("a",{class:Te(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=it(i=>o.open_link(),["stop","prevent"]))},[ut(e.$slots,"default")],10,yZ)}var z1=re(gZ,[["render",vZ]]);const bZ={name:"NavbarTop",components:{NavbarItemLink:z1},data(){return{show_settings_menu:!1}},computed:{is_visible_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},is_visible_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},is_visible_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},is_visible_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobooks").value},is_visible_radio(){return this.$store.getters.settings_option("webinterface","show_menu_item_radio").value},is_visible_files(){return this.$store.getters.settings_option("webinterface","show_menu_item_files").value},is_visible_search(){return this.$store.getters.settings_option("webinterface","show_menu_item_search").value},player(){return this.$store.state.player},config(){return this.$store.state.config},library(){return this.$store.state.library},audiobooks(){return this.$store.state.audiobooks_count},podcasts(){return this.$store.state.podcasts_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Gr,e)}},show_player_menu(){return this.$store.state.show_player_menu},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(wi,e)}},zindex(){return this.show_player_menu?"z-index: 20":""}},watch:{$route(e,t){this.show_settings_menu=!1}},methods:{on_click_outside_settings(){this.show_settings_menu=!this.show_settings_menu},open_update_dialog(){this.show_update_dialog=!0,this.show_settings_menu=!1,this.show_burger_menu=!1}}},CZ={class:"navbar-brand"},wZ={class:"icon"},zZ={class:"icon"},kZ={class:"icon"},xZ={class:"icon"},EZ={class:"icon"},$Z={class:"icon"},SZ={class:"icon"},AZ=l("span",null,null,-1),TZ=l("span",null,null,-1),OZ=l("span",null,null,-1),DZ=[AZ,TZ,OZ],PZ=l("div",{class:"navbar-start"},null,-1),IZ={class:"navbar-end"},FZ={class:"navbar-link is-arrowless"},RZ={class:"icon is-hidden-touch"},LZ=["textContent"],MZ={class:"navbar-dropdown is-right"},NZ={class:"icon"},VZ=["textContent"],BZ={class:"icon"},HZ=["textContent"],UZ=["textContent"],jZ=["textContent"],qZ=["textContent"],WZ=["textContent"],GZ={class:"icon"},KZ=["textContent"],ZZ={class:"icon"},YZ=["textContent"],JZ={class:"icon"},XZ=["textContent"],QZ={class:"icon"},eY=["textContent"],tY={class:"icon"},nY=["textContent"],sY=l("hr",{class:"fd-navbar-divider"},null,-1),rY=["textContent"],oY=l("div",{class:"navbar-item is-hidden-desktop",style:{"margin-bottom":"2.5rem"}},null,-1);function iY(e,t,n,s,r,o){const i=$("mdicon"),a=$("navbar-item-link");return z(),S("nav",{class:"fd-top-navbar navbar is-light is-fixed-top",style:un(o.zindex),role:"navigation","aria-label":"main navigation"},[l("div",CZ,[o.is_visible_playlists?(z(),ve(a,{key:0,to:"/playlists"},{default:E(()=>[l("span",wZ,[v(i,{name:"music-box-multiple",size:"16"})])]),_:1})):B("",!0),o.is_visible_music?(z(),ve(a,{key:1,to:"/music"},{default:E(()=>[l("span",zZ,[v(i,{name:"music",size:"16"})])]),_:1})):B("",!0),o.is_visible_podcasts?(z(),ve(a,{key:2,to:"/podcasts"},{default:E(()=>[l("span",kZ,[v(i,{name:"microphone",size:"16"})])]),_:1})):B("",!0),o.is_visible_audiobooks?(z(),ve(a,{key:3,to:"/audiobooks"},{default:E(()=>[l("span",xZ,[v(i,{name:"book-open-variant",size:"16"})])]),_:1})):B("",!0),o.is_visible_radio?(z(),ve(a,{key:4,to:"/radio"},{default:E(()=>[l("span",EZ,[v(i,{name:"radio",size:"16"})])]),_:1})):B("",!0),o.is_visible_files?(z(),ve(a,{key:5,to:"/files"},{default:E(()=>[l("span",$Z,[v(i,{name:"folder-open",size:"16"})])]),_:1})):B("",!0),o.is_visible_search?(z(),ve(a,{key:6,to:"/search"},{default:E(()=>[l("span",SZ,[v(i,{name:"magnify",size:"16"})])]),_:1})):B("",!0),l("div",{class:Te(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=u=>o.show_burger_menu=!o.show_burger_menu)},DZ,2)]),l("div",{class:Te(["navbar-menu",{"is-active":o.show_burger_menu}])},[PZ,l("div",IZ,[l("div",{class:Te(["navbar-item has-dropdown is-hoverable",{"is-active":r.show_settings_menu}]),onClick:t[2]||(t[2]=(...u)=>o.on_click_outside_settings&&o.on_click_outside_settings(...u))},[l("a",FZ,[l("span",RZ,[v(i,{name:"menu",size:"24"})]),l("span",{class:"is-hidden-desktop has-text-weight-bold",textContent:g(e.$t("navigation.title"))},null,8,LZ)]),l("div",MZ,[v(a,{to:"/playlists"},{default:E(()=>[l("span",NZ,[v(i,{name:"music-box-multiple",size:"16"})]),l("b",{textContent:g(e.$t("navigation.playlists"))},null,8,VZ)]),_:1}),v(a,{to:"/music",exact:""},{default:E(()=>[l("span",BZ,[v(i,{name:"music",size:"16"})]),l("b",{textContent:g(e.$t("navigation.music"))},null,8,HZ)]),_:1}),v(a,{to:"/music/artists"},{default:E(()=>[l("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.artists"))},null,8,UZ)]),_:1}),v(a,{to:"/music/albums"},{default:E(()=>[l("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.albums"))},null,8,jZ)]),_:1}),v(a,{to:"/music/genres"},{default:E(()=>[l("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.genres"))},null,8,qZ)]),_:1}),o.spotify_enabled?(z(),ve(a,{key:0,to:"/music/spotify"},{default:E(()=>[l("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.spotify"))},null,8,WZ)]),_:1})):B("",!0),v(a,{to:"/podcasts"},{default:E(()=>[l("span",GZ,[v(i,{name:"microphone",size:"16"})]),l("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,KZ)]),_:1}),v(a,{to:"/audiobooks"},{default:E(()=>[l("span",ZZ,[v(i,{name:"book-open-variant",size:"16"})]),l("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,YZ)]),_:1}),v(a,{to:"/radio"},{default:E(()=>[l("span",JZ,[v(i,{name:"radio",size:"16"})]),l("b",{textContent:g(e.$t("navigation.radio"))},null,8,XZ)]),_:1}),v(a,{to:"/files"},{default:E(()=>[l("span",QZ,[v(i,{name:"folder-open",size:"16"})]),l("b",{textContent:g(e.$t("navigation.files"))},null,8,eY)]),_:1}),v(a,{to:"/search"},{default:E(()=>[l("span",tY,[v(i,{name:"magnify",size:"16"})]),l("b",{textContent:g(e.$t("navigation.search"))},null,8,nY)]),_:1}),sY,v(a,{to:"/settings/webinterface"},{default:E(()=>[mt(g(e.$t("navigation.settings")),1)]),_:1}),l("a",{class:"navbar-item",onClick:t[1]||(t[1]=it(u=>o.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,rY),v(a,{to:"/about"},{default:E(()=>[mt(g(e.$t("navigation.about")),1)]),_:1}),oY])],2)])],2),dt(l("div",{class:"is-overlay",style:{"z-index":"10",width:"100vw",height:"100vh"},onClick:t[3]||(t[3]=u=>r.show_settings_menu=!1)},null,512),[[ui,r.show_settings_menu]])],4)}var aY=re(bZ,[["render",iY]]),xo={_audio:new Audio,_context:null,_source:null,_gain:null,setupAudio(){const e=window.AudioContext||window.webkitAudioContext;return this._context=new e,this._source=this._context.createMediaElementSource(this._audio),this._gain=this._context.createGain(),this._source.connect(this._gain),this._gain.connect(this._context.destination),this._audio.addEventListener("canplaythrough",t=>{this._audio.play()}),this._audio.addEventListener("canplay",t=>{this._audio.play()}),this._audio},setVolume(e){!this._gain||(e=parseFloat(e)||0,e=e<0?0:e,e=e>1?1:e,this._gain.gain.value=e)},playSource(e){this.stopAudio(),this._context.resume().then(()=>{this._audio.src=String(e||"")+"?x="+Date.now(),this._audio.crossOrigin="anonymous",this._audio.load()})},stopAudio(){try{this._audio.pause()}catch{}try{this._audio.stop()}catch{}try{this._audio.close()}catch{}}};const lY={name:"NavbarItemOutput",props:["output"],data(){return{volume:this.output.selected?this.output.volume:0}},computed:{type_class(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{change_volume(){N.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};N.output_update(this.output.id,e)}}},uY={class:"navbar-item"},cY={class:"level is-mobile"},dY={class:"level-left fd-expanded"},mY={class:"level-item",style:{"flex-grow":"0"}},fY={class:"button is-white is-small"},pY={class:"level-item fd-expanded"},hY={class:"fd-expanded"},_Y=["textContent"],gY=["disabled"];function yY(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",uY,[l("div",cY,[l("div",dY,[l("div",mY,[l("a",fY,[l("span",{class:Te(["icon is-clickable",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...a)=>o.set_enabled&&o.set_enabled(...a))},[v(i,{name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)])]),l("div",pY,[l("div",hY,[l("p",{class:Te(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,_Y),dt(l("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>r.volume=a),disabled:!n.output.selected,class:Te(["slider",{"is-inactive":!n.output.selected}]),max:"100",type:"range",style:un({"--ratio":r.volume/100}),onChange:t[2]||(t[2]=(...a)=>o.change_volume&&o.change_volume(...a))},null,46,gY),[[It,r.volume]])])])])])])}var vY=re(lY,[["render",yY]]);const bY={name:"PlayerButtonPlayPause",props:{icon_size:{type:Number,default:16},show_disabled_message:Boolean},computed:{is_playing(){return this.$store.state.player.state==="play"},is_pause_allowed(){return this.$store.getters.now_playing&&this.$store.getters.now_playing.data_kind!=="pipe"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0},icon_name(){if(this.is_playing){if(this.is_pause_allowed)return"pause"}else return"play";return"stop"}},methods:{toggle_play_pause(){if(this.disabled){this.show_disabled_message&&this.$store.dispatch("add_notification",{text:this.$t("server.empty-queue"),type:"info",topic:"connection",timeout:2e3});return}this.is_playing&&this.is_pause_allowed?N.player_pause():this.is_playing&&!this.is_pause_allowed?N.player_stop():N.player_play()}}},CY=["disabled"],wY={class:"icon"};function zY(e,t,n,s,r,o){const i=$("mdicon");return z(),S("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.toggle_play_pause&&o.toggle_play_pause(...a))},[l("span",wY,[v(i,{name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])])],8,CY)}var kY=re(bY,[["render",zY]]);const xY={name:"PlayerButtonNext",props:{icon_size:{type:Number,default:16}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_next(){this.disabled||N.player_next()}}},EY=["disabled"],$Y={class:"icon"};function SY(e,t,n,s,r,o){const i=$("mdicon");return z(),S("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[l("span",$Y,[v(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])])],8,EY)}var AY=re(xY,[["render",SY]]);const TY={name:"PlayerButtonPrevious",props:{icon_size:{type:Number,default:16}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_previous(){this.disabled||N.player_previous()}}},OY=["disabled"],DY={class:"icon"};function PY(e,t,n,s,r,o){const i=$("mdicon");return z(),S("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[l("span",DY,[v(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])])],8,OY)}var IY=re(TY,[["render",PY]]);const FY={name:"PlayerButtonShuffle",props:{icon_size:{type:Number,default:16}},computed:{is_shuffle(){return this.$store.state.player.shuffle},icon_name(){return this.is_shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle_shuffle_mode(){N.player_shuffle(!this.is_shuffle)}}},RY={class:"icon"};function LY(e,t,n,s,r,o){const i=$("mdicon");return z(),S("a",{class:Te({"is-info":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[l("span",RY,[v(i,{name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])])],2)}var MY=re(FY,[["render",LY]]);const NY={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){N.player_consume(!this.is_consume)}}},VY={class:"icon"};function BY(e,t,n,s,r,o){const i=$("mdicon");return z(),S("a",{class:Te({"is-info":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[l("span",VY,[v(i,{name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])])],2)}var HY=re(NY,[["render",BY]]);const UY={name:"PlayerButtonRepeat",props:{icon_size:{type:Number,default:16}},computed:{is_repeat_all(){return this.$store.state.player.repeat==="all"},is_repeat_single(){return this.$store.state.player.repeat==="single"},is_repeat_off(){return!this.is_repeat_all&&!this.is_repeat_single},icon_name(){return this.is_repeat_all?"repeat":this.is_repeat_single?"repeat-once":"repeat-off"}},methods:{toggle_repeat_mode(){this.is_repeat_all?N.player_repeat("single"):this.is_repeat_single?N.player_repeat("off"):N.player_repeat("all")}}},jY={class:"icon"};function qY(e,t,n,s,r,o){const i=$("mdicon");return z(),S("a",{class:Te({"is-info":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[l("span",jY,[v(i,{name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])])],2)}var WY=re(UY,[["render",qY]]);const GY={name:"PlayerButtonSeekBack",props:{seek_ms:Number,icon_size:{type:Number,default:16}},computed:{now_playing(){return this.$store.getters.now_playing},is_stopped(){return this.$store.state.player.state==="stop"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek(){this.disabled||N.player_seek(this.seek_ms*-1)}}},KY=["disabled"],ZY={class:"icon"};function YY(e,t,n,s,r,o){const i=$("mdicon");return o.visible?(z(),S("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[l("span",ZY,[v(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])])],8,KY)):B("",!0)}var JY=re(GY,[["render",YY]]);const XY={name:"PlayerButtonSeekForward",props:{seek_ms:Number,icon_size:{type:Number,default:16}},computed:{now_playing(){return this.$store.getters.now_playing},is_stopped(){return this.$store.state.player.state==="stop"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek(){this.disabled||N.player_seek(this.seek_ms)}}},QY=["disabled"],eJ={class:"icon"};function tJ(e,t,n,s,r,o){const i=$("mdicon");return o.visible?(z(),S("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[l("span",eJ,[v(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])])],8,QY)):B("",!0)}var nJ=re(XY,[["render",tJ]]);const sJ={name:"NavbarBottom",components:{NavbarItemLink:z1,NavbarItemOutput:vY,PlayerButtonPlayPause:kY,PlayerButtonNext:AY,PlayerButtonPrevious:IY,PlayerButtonShuffle:MY,PlayerButtonConsume:HY,PlayerButtonRepeat:WY,PlayerButtonSeekForward:nJ,PlayerButtonSeekBack:JY},data(){return{old_volume:0,playing:!1,loading:!1,stream_volume:10,show_outputs_menu:!1,show_desktop_outputs_menu:!1}},computed:{show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Kr,e)}},show_burger_menu(){return this.$store.state.show_burger_menu},zindex(){return this.show_burger_menu?"z-index: 20":""},now_playing(){return this.$store.getters.now_playing},is_now_playing_page(){return this.$route.path==="/now-playing"},outputs(){return this.$store.state.outputs},player(){return this.$store.state.player},config(){return this.$store.state.config}},watch:{"$store.state.player.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{on_click_outside_outputs(){this.show_outputs_menu=!1},change_volume(){N.player_volume(this.player.volume)},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()},setupAudio(){const e=xo.setupAudio();e.addEventListener("waiting",t=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",t=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",t=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",t=>{this.closeAudio(),this.$store.dispatch("add_notification",{text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},closeAudio(){xo.stopAudio(),this.playing=!1},playChannel(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,xo.playSource(e),xo.setVolume(this.stream_volume/100)},togglePlay(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},change_stream_volume(){console.log(this.stream_volume),xo.setVolume(this.stream_volume/100)}}},rJ={class:"navbar-brand fd-expanded"},oJ={class:"icon"},iJ={class:"is-clipped"},aJ={class:"is-size-7 fd-is-text-clipped"},lJ=["textContent"],uJ=l("br",null,null,-1),cJ=["textContent"],dJ=["textContent"],mJ={class:"icon"},fJ={class:"icon"},pJ={class:"navbar-dropdown is-right is-boxed",style:{"margin-right":"6px","margin-bottom":"6px","border-radius":"6px"}},hJ={class:"navbar-item"},_J={class:"level is-mobile"},gJ={class:"level-left fd-expanded"},yJ={class:"level-item",style:{"flex-grow":"0"}},vJ={class:"icon"},bJ={class:"level-item fd-expanded"},CJ={class:"fd-expanded"},wJ=["textContent"],zJ=l("hr",{class:"fd-navbar-divider"},null,-1),kJ=l("hr",{class:"fd-navbar-divider"},null,-1),xJ={class:"navbar-item"},EJ={class:"level is-mobile"},$J={class:"level-left fd-expanded"},SJ={class:"level-item",style:{"flex-grow":"0"}},AJ={class:"level-item fd-expanded"},TJ={class:"fd-expanded"},OJ=["textContent"],DJ={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},PJ={class:"icon"},IJ=["disabled"],FJ=l("hr",{class:"fd-navbar-divider"},null,-1),RJ={class:"navbar-item"},LJ={class:"level is-mobile fd-expanded"},MJ={class:"level-item"},NJ={class:"buttons has-addons"},VJ=l("div",{class:"navbar-start"},null,-1),BJ={class:"navbar-end"},HJ={class:"navbar-item"},UJ={class:"buttons is-centered"},jJ=l("hr",{class:"fd-navbar-divider"},null,-1),qJ={class:"navbar-item"},WJ={class:"level is-mobile"},GJ={class:"level-left fd-expanded"},KJ={class:"level-item",style:{"flex-grow":"0"}},ZJ={class:"icon"},YJ={class:"level-item fd-expanded"},JJ={class:"fd-expanded"},XJ=["textContent"],QJ=l("hr",{class:"fd-navbar-divider"},null,-1),eX={class:"navbar-item mb-5"},tX={class:"level is-mobile"},nX={class:"level-left fd-expanded"},sX={class:"level-item",style:{"flex-grow":"0"}},rX={class:"level-item fd-expanded"},oX={class:"fd-expanded"},iX=["textContent"],aX={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},lX={class:"icon"},uX=["disabled"];function cX(e,t,n,s,r,o){const i=$("mdicon"),a=$("navbar-item-link"),u=$("router-link"),c=$("player-button-previous"),d=$("player-button-seek-back"),f=$("player-button-play-pause"),m=$("player-button-seek-forward"),p=$("player-button-next"),h=$("navbar-item-output"),_=$("player-button-repeat"),w=$("player-button-shuffle"),b=$("player-button-consume");return z(),S("nav",{class:Te(["fd-bottom-navbar navbar is-white is-fixed-bottom",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),style:un(o.zindex),role:"navigation","aria-label":"player controls"},[l("div",rJ,[v(a,{to:"/",exact:""},{default:E(()=>[l("span",oJ,[v(i,{name:"playlist-play",size:"24"})])]),_:1}),o.is_now_playing_page?B("",!0):(z(),ve(u,{key:0,to:"/now-playing",class:"navbar-item is-expanded is-clipped","active-class":"is-active",exact:""},{default:E(()=>[l("div",iJ,[l("p",aJ,[l("strong",{textContent:g(o.now_playing.title)},null,8,lJ),uJ,l("span",{textContent:g(o.now_playing.artist)},null,8,cJ),o.now_playing.data_kind==="url"?(z(),S("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,dJ)):B("",!0)])])]),_:1})),o.is_now_playing_page?(z(),ve(c,{key:1,class:"navbar-item ml-auto",icon_size:24})):B("",!0),o.is_now_playing_page?(z(),ve(d,{key:2,seek_ms:1e4,class:"navbar-item",icon_size:24})):B("",!0),v(f,{class:"navbar-item",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(z(),ve(m,{key:3,seek_ms:3e4,class:"navbar-item",icon_size:24})):B("",!0),o.is_now_playing_page?(z(),ve(p,{key:4,class:"navbar-item",icon_size:24})):B("",!0),l("a",{class:"navbar-item ml-auto is-hidden-desktop",onClick:t[0]||(t[0]=y=>o.show_player_menu=!o.show_player_menu)},[l("span",mJ,[v(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),l("div",{class:Te(["navbar-item has-dropdown has-dropdown-up ml-auto is-hidden-touch",{"is-active":o.show_player_menu}])},[l("a",{class:"navbar-link is-arrowless",onClick:t[1]||(t[1]=y=>o.show_player_menu=!o.show_player_menu)},[l("span",fJ,[v(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),l("div",pJ,[l("div",hJ,[l("div",_J,[l("div",gJ,[l("div",yJ,[l("a",{class:"button is-white is-small",onClick:t[2]||(t[2]=(...y)=>o.toggle_mute_volume&&o.toggle_mute_volume(...y))},[l("span",vJ,[v(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),l("div",bJ,[l("div",CJ,[l("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,wJ),dt(l("input",{"onUpdate:modelValue":t[3]||(t[3]=y=>o.player.volume=y),class:"slider",max:"100",type:"range",style:un({"--ratio":o.player.volume/100}),onChange:t[4]||(t[4]=(...y)=>o.change_volume&&o.change_volume(...y))},null,36),[[It,o.player.volume]])])])])])]),zJ,(z(!0),S(De,null,ht(o.outputs,y=>(z(),ve(h,{key:y.id,output:y},null,8,["output"]))),128)),kJ,l("div",xJ,[l("div",EJ,[l("div",$J,[l("div",SJ,[l("a",{class:Te(["button is-white is-small",{"is-loading":r.loading}])},[l("span",{class:Te(["icon is-clickable",{"has-text-grey-light":!r.playing&&!r.loading,"is-loading":r.loading}]),onClick:t[5]||(t[5]=(...y)=>o.togglePlay&&o.togglePlay(...y))},[v(i,{name:"broadcast",size:"18"})],2)],2)]),l("div",AJ,[l("div",TJ,[l("p",{class:Te(["heading",{"has-text-grey-light":!r.playing}])},[l("span",{textContent:g(e.$t("navigation.stream"))},null,8,OJ),l("a",DJ,[l("span",PJ,[v(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),dt(l("input",{"onUpdate:modelValue":t[6]||(t[6]=y=>r.stream_volume=y),disabled:!r.playing,class:Te(["slider",{"is-inactive":!r.playing}]),max:"100",type:"range",style:un({"--ratio":r.stream_volume/100}),onChange:t[7]||(t[7]=(...y)=>o.change_stream_volume&&o.change_stream_volume(...y))},null,46,IJ),[[It,r.stream_volume]])])])])])]),FJ,l("div",RJ,[l("div",LJ,[l("div",MJ,[l("div",NJ,[v(_,{class:"button"}),v(w,{class:"button"}),v(b,{class:"button"})])])])])])],2)]),l("div",{class:Te(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[VJ,l("div",BJ,[l("div",HJ,[l("div",UJ,[v(_,{class:"button",icon_size:18}),v(w,{class:"button",icon_size:18}),v(b,{class:"button",icon_size:18})])]),jJ,l("div",qJ,[l("div",WJ,[l("div",GJ,[l("div",KJ,[l("a",{class:"button is-white is-small",onClick:t[8]||(t[8]=(...y)=>o.toggle_mute_volume&&o.toggle_mute_volume(...y))},[l("span",ZJ,[v(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),l("div",YJ,[l("div",JJ,[l("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,XJ),dt(l("input",{"onUpdate:modelValue":t[9]||(t[9]=y=>o.player.volume=y),class:"slider",max:"100",type:"range",style:un({"--ratio":o.player.volume/100}),onChange:t[10]||(t[10]=(...y)=>o.change_volume&&o.change_volume(...y))},null,36),[[It,o.player.volume]])])])])])]),(z(!0),S(De,null,ht(o.outputs,y=>(z(),ve(h,{key:y.id,output:y},null,8,["output"]))),128)),QJ,l("div",eX,[l("div",tX,[l("div",nX,[l("div",sX,[l("a",{class:Te(["button is-white is-small",{"is-loading":r.loading}])},[l("span",{class:Te(["icon is-clickable",{"has-text-grey-light":!r.playing&&!r.loading,"is-loading":r.loading}]),onClick:t[11]||(t[11]=(...y)=>o.togglePlay&&o.togglePlay(...y))},[v(i,{name:"radio-tower",size:"16"})],2)],2)]),l("div",rX,[l("div",oX,[l("p",{class:Te(["heading",{"has-text-grey-light":!r.playing}])},[l("span",{textContent:g(e.$t("navigation.stream"))},null,8,iX),l("a",aX,[l("span",lX,[v(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),dt(l("input",{"onUpdate:modelValue":t[12]||(t[12]=y=>r.stream_volume=y),disabled:!r.playing,class:Te(["slider",{"is-inactive":!r.playing}]),max:"100",type:"range",style:un({"--ratio":r.stream_volume/100}),onChange:t[13]||(t[13]=(...y)=>o.change_stream_volume&&o.change_stream_volume(...y))},null,46,uX),[[It,r.stream_volume]])])])])])])])],2)],6)}var dX=re(sJ,[["render",cX]]);const mX={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.commit(gc,e)}}},fX={key:0,class:"fd-notifications"},pX={class:"columns is-centered"},hX={class:"column is-half"},_X=["onClick"],gX=["textContent"];function yX(e,t,n,s,r,o){return o.notifications.length>0?(z(),S("section",fX,[l("div",pX,[l("div",hX,[(z(!0),S(De,null,ht(o.notifications,i=>(z(),S("div",{key:i.id,class:Te(["notification has-shadow",["notification",i.type?`is-${i.type}`:""]])},[l("button",{class:"delete",onClick:a=>o.remove(i)},null,8,_X),l("span",{textContent:g(i.text)},null,8,gX)],2))),128))])])])):B("",!0)}var vX=re(mX,[["render",yX]]);const bX={name:"ModalDialogRemotePairing",props:["show"],emits:["close"],data(){return{pairing_req:{pin:""}}},computed:{pairing(){return this.$store.state.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{kickoff_pairing(){N.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},CX={key:0,class:"modal is-active"},wX={class:"modal-content fd-modal-card"},zX={class:"card"},kX={class:"card-content"},xX=["textContent"],EX=["textContent"],$X={class:"field"},SX={class:"control"},AX={class:"card-footer"},TX={class:"icon"},OX=["textContent"],DX={class:"icon"},PX=["textContent"];function IX(e,t,n,s,r,o){const i=$("mdicon");return z(),S("div",null,[v(Ft,{name:"fade"},{default:E(()=>[n.show?(z(),S("div",CX,[l("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),l("div",wX,[l("div",zX,[l("div",kX,[l("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,xX),l("form",{onSubmit:t[2]||(t[2]=it((...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a),["prevent"]))},[l("label",{class:"label",textContent:g(o.pairing.remote)},null,8,EX),l("div",$X,[l("div",SX,[dt(l("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>r.pairing_req.pin=a),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[It,r.pairing_req.pin]])])])],32)]),l("footer",AX,[l("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[l("span",TX,[v(i,{name:"cancel",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.cancel"))},null,8,OX)]),l("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a))},[l("span",DX,[v(i,{name:"cellphone",size:"16"})]),l("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,PX)])])])]),l("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):B("",!0)]),_:1})])}var FX=re(bX,[["render",IX]]);const RX={name:"ModalDialogUpdate",components:{ModalDialog:Jd},props:["show"],emits:["close"],data(){return{rescan_metadata:!1}},computed:{library(){return this.$store.state.library},rss(){return this.$store.state.rss_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},update_dialog_scan_kind:{get(){return this.$store.state.update_dialog_scan_kind},set(e){this.$store.commit(Rd,e)}}},methods:{update_library(){this.rescan_metadata?N.library_rescan(this.update_dialog_scan_kind):N.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},LX={key:0},MX=["textContent"],NX={key:0,class:"field"},VX={class:"control"},BX={class:"select is-small"},HX=["textContent"],UX=["textContent"],jX=["textContent"],qX=["textContent"],WX={class:"field"},GX={class:"checkbox is-size-7 is-small"},KX=["textContent"],ZX={key:1},YX=["textContent"];function JX(e,t,n,s,r,o){const i=$("modal-dialog");return z(),ve(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:o.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:o.update_library,onClose:t[2]||(t[2]=a=>o.close())},{"modal-content":E(()=>[o.library.updating?(z(),S("div",ZX,[l("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,YX)])):(z(),S("div",LX,[l("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,MX),o.spotify_enabled||o.rss.tracks>0?(z(),S("div",NX,[l("div",VX,[l("div",BX,[dt(l("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>o.update_dialog_scan_kind=a)},[l("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,HX),l("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,UX),o.spotify_enabled?(z(),S("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,jX)):B("",!0),o.rss.tracks>0?(z(),S("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,qX)):B("",!0)],512),[[bd,o.update_dialog_scan_kind]])])])])):B("",!0),l("div",WX,[l("label",GX,[dt(l("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>r.rescan_metadata=a),type:"checkbox",style:{"margin-right":"5px"}},null,512),[[gs,r.rescan_metadata]]),l("span",{textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,KX)])])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}var XX=re(RX,[["render",JX]]),k1={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Qt,function(){if(!("WebSocket"in window))return;function t(n,s,r){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};r||(r={});for(var i in o)typeof r[i]!="undefined"?this[i]=r[i]:this[i]=o[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,u,c=!1,d=!1,f=document.createElement("div");f.addEventListener("open",function(p){a.onopen(p)}),f.addEventListener("close",function(p){a.onclose(p)}),f.addEventListener("connecting",function(p){a.onconnecting(p)}),f.addEventListener("message",function(p){a.onmessage(p)}),f.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f);function m(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(u=new WebSocket(a.url,s||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(m("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=u,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),d=!0,h.close(),d=!1},a.timeoutInterval);u.onopen=function(w){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=u.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var b=m("open");b.isReconnect=p,p=!1,f.dispatchEvent(b)},u.onclose=function(w){if(clearTimeout(y),u=null,c)a.readyState=WebSocket.CLOSED,f.dispatchEvent(m("close"));else{a.readyState=WebSocket.CONNECTING;var b=m("connecting");b.code=w.code,b.reason=w.reason,b.wasClean=w.wasClean,f.dispatchEvent(b),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),f.dispatchEvent(m("close")));var y=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},y>a.maxReconnectInterval?a.maxReconnectInterval:y)}},u.onmessage=function(w){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,w.data);var b=m("message");b.data=w.data,f.dispatchEvent(b)},u.onerror=function(w){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,w),f.dispatchEvent(m("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(u)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,p),u.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p=="undefined"&&(p=1e3),c=!0,u&&u.close(p,h)},this.refresh=function(){u&&u.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})})(k1);var QX=k1.exports;const eQ={name:"App",components:{NavbarTop:aY,NavbarBottom:dX,NotificationList:vX,ModalDialogRemotePairing:FX,ModalDialogUpdate:XX},data(){return{token_timer_id:0,reconnect_attempts:0,pairing_active:!1}},computed:{show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Gr,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Kr,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(wi,e)}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created(){this.connect(),this.$Progress.start(),this.$router.beforeEach((e,t,n)=>{if(e.meta.show_progress){if(e.meta.progress!==void 0){const s=e.meta.progress;this.$Progress.parseMeta(s)}this.$Progress.start()}n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect(){N.config().then(({data:e})=>{this.$store.commit(fg,e),this.$store.commit(Ml,e.hide_singles),document.title=e.library_name,this.open_ws(),this.$Progress.finish()}).catch(()=>{this.$store.dispatch("add_notification",{text:this.$t("server.connection-failed"),type:"danger",topic:"connection"})})},open_ws(){if(this.$store.state.config.websocket_port<=0){this.$store.dispatch("add_notification",{text:this.$t("server.missing-port"),type:"danger"});return}const e=this;let t="ws://";window.location.protocol==="https:"&&(t="wss://");let n=t+window.location.hostname+":"+e.$store.state.config.websocket_port;const s=new QX(n,"notify",{reconnectInterval:1e3,maxReconnectInterval:2e3});s.onopen=function(){e.reconnect_attempts=0,s.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing()},s.onclose=function(){};var r=!1;function o(){r||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),r=!0,setTimeout(()=>{r=!1},500))}window.addEventListener("focus",o),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&o()}),s.onmessage=function(i){const a=JSON.parse(i.data);(a.notify.includes("update")||a.notify.includes("database"))&&e.update_library_stats(),(a.notify.includes("player")||a.notify.includes("options")||a.notify.includes("volume"))&&e.update_player_status(),(a.notify.includes("outputs")||a.notify.includes("volume"))&&e.update_outputs(),a.notify.includes("queue")&&e.update_queue(),a.notify.includes("spotify")&&e.update_spotify(),a.notify.includes("lastfm")&&e.update_lastfm(),a.notify.includes("pairing")&&e.update_pairing()}},update_library_stats(){N.library_stats().then(({data:e})=>{this.$store.commit(hg,e)}),N.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit(_g,e)}),N.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(gg,e)}),N.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(yg,e)})},update_outputs(){N.outputs().then(({data:e})=>{this.$store.commit(vg,e.outputs)})},update_player_status(){N.player_status().then(({data:e})=>{this.$store.commit(Od,e)})},update_queue(){N.queue().then(({data:e})=>{this.$store.commit(bg,e)})},update_settings(){N.settings().then(({data:e})=>{this.$store.commit(pg,e)})},update_lastfm(){N.lastfm().then(({data:e})=>{this.$store.commit(Cg,e)})},update_spotify(){N.spotify().then(({data:e})=>{this.$store.commit(wg,e),this.token_timer_id>0&&(window.clearTimeout(this.token_timer_id),this.token_timer_id=0),e.webapi_token_expires_in>0&&e.webapi_token&&(this.token_timer_id=window.setTimeout(this.update_spotify,1e3*e.webapi_token_expires_in))})},update_pairing(){N.pairing().then(({data:e})=>{this.$store.commit(zg,e),this.pairing_active=e.active})},update_is_clipped(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}},template:"<App/>"},tQ={id:"app"};function nQ(e,t,n,s,r,o){const i=$("navbar-top"),a=$("vue-progress-bar"),u=$("router-view"),c=$("modal-dialog-remote-pairing"),d=$("modal-dialog-update"),f=$("notification-list"),m=$("navbar-bottom");return z(),S("div",tQ,[v(i),v(a,{class:"fd-progress-bar"}),v(u,null,{default:E(({Component:p})=>[(z(),ve(Gh(p)))]),_:1}),v(c,{show:r.pairing_active,onClose:t[0]||(t[0]=p=>r.pairing_active=!1)},null,8,["show"]),v(d,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),dt(v(f,null,null,512),[[ui,!o.show_burger_menu]]),v(m),dt(l("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[ui,o.show_burger_menu||o.show_player_menu]])])}var sQ=re(eQ,[["render",nQ]]);const x1=F_(sQ).use(Ke).use(gv).use(Bq,{color:"hsl(204, 86%, 53%)",failedColor:"red",height:"1px"}).use(Uq).use(tW,{log:!1}).use(nW).use(hG,{icons:_Z}).use(Fl);x1.config.globalProperties.$filters=hZ;x1.mount("#app");