mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
70 lines
775 KiB
JavaScript
70 lines
775 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const oh="ALBUMS_SORT",sh="ARTISTS_SORT",ih="ARTIST_ALBUMS_SORT",ah="ARTIST_TRACKS_SORT",lh="COMPOSER_TRACKS_SORT",ch="GENRE_TRACKS_SORT",Qa="HIDE_SINGLES",_i="HIDE_SPOTIFY",Au="SEARCH_QUERY",Ou="SEARCH_SOURCE",Xo="SHOW_BURGER_MENU",uh="SHOW_ONLY_NEXT_ITEMS",Qo="SHOW_PLAYER_MENU",gi="SHOW_UPDATE_DIALOG",dh="UPDATE_CONFIG",Pu="UPDATE_DIALOG_SCAN_KIND",mh="UPDATE_LASTFM",fh="UPDATE_LIBRARY_RSS_COUNT",ph="UPDATE_LIBRARY_STATS",Oc="UPDATE_LYRICS",hh="UPDATE_OUTPUTS",_h="UPDATE_PAIRING",Iu="UPDATE_PLAYER_STATUS",gh="UPDATE_QUEUE",yh="UPDATE_SETTINGS",vh="UPDATE_SPOTIFY";function bh(e,t){return function(){return e.apply(t,arguments)}}const{toString:Y1}=Object.prototype,{getPrototypeOf:Du}=Object,el=(e=>t=>{const n=Y1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ar=e=>(e=e.toLowerCase(),t=>el(t)===e),tl=e=>t=>typeof t===e,{isArray:us}=Array,ei=tl("undefined");function J1(e){return e!==null&&!ei(e)&&e.constructor!==null&&!ei(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zh=ar("ArrayBuffer");function X1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zh(e.buffer),t}const Q1=tl("string"),Tn=tl("function"),Ch=tl("number"),nl=e=>e!==null&&typeof e=="object",ev=e=>e===!0||e===!1,la=e=>{if(el(e)!=="object")return!1;const t=Du(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},tv=ar("Date"),nv=ar("File"),rv=ar("Blob"),ov=ar("FileList"),sv=e=>nl(e)&&Tn(e.pipe),iv=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=el(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},av=ar("URLSearchParams"),lv=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),us(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function wh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const xh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,kh=e=>!ei(e)&&e!==xh;function Pc(){const{caseless:e}=kh(this)&&this||{},t={},n=(r,o)=>{const s=e&&wh(t,o)||o;la(t[s])&&la(r)?t[s]=Pc(t[s],r):la(r)?t[s]=Pc({},r):us(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&yi(arguments[r],n);return t}const cv=(e,t,n,{allOwnKeys:r}={})=>(yi(t,(o,s)=>{n&&Tn(o)?e[s]=bh(o,n):e[s]=o},{allOwnKeys:r}),e),uv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dv=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},mv=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Du(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},fv=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},pv=e=>{if(!e)return null;if(us(e))return e;let t=e.length;if(!Ch(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},hv=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Du(Uint8Array)),_v=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},gv=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yv=ar("HTMLFormElement"),vv=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Gd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),bv=ar("RegExp"),Sh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};yi(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},zv=e=>{Sh(e,(t,n)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Tn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Cv=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return us(e)?r(e):r(String(e).split(t)),n},wv=()=>{},xv=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Vl="abcdefghijklmnopqrstuvwxyz",Kd="0123456789",Eh={DIGIT:Kd,ALPHA:Vl,ALPHA_DIGIT:Vl+Vl.toUpperCase()+Kd},kv=(e=16,t=Eh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Sv(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ev=e=>{const t=new Array(10),n=(r,o)=>{if(nl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=us(r)?[]:{};return yi(r,(i,a)=>{const l=n(i,o+1);!ei(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},$v=ar("AsyncFunction"),Tv=e=>e&&(nl(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),J={isArray:us,isArrayBuffer:zh,isBuffer:J1,isFormData:iv,isArrayBufferView:X1,isString:Q1,isNumber:Ch,isBoolean:ev,isObject:nl,isPlainObject:la,isUndefined:ei,isDate:tv,isFile:nv,isBlob:rv,isRegExp:bv,isFunction:Tn,isStream:sv,isURLSearchParams:av,isTypedArray:hv,isFileList:ov,forEach:yi,merge:Pc,extend:cv,trim:lv,stripBOM:uv,inherits:dv,toFlatObject:mv,kindOf:el,kindOfTest:ar,endsWith:fv,toArray:pv,forEachEntry:_v,matchAll:gv,isHTMLForm:yv,hasOwnProperty:Gd,hasOwnProp:Gd,reduceDescriptors:Sh,freezeMethods:zv,toObjectSet:Cv,toCamelCase:vv,noop:wv,toFiniteNumber:xv,findKey:wh,global:xh,isContextDefined:kh,ALPHABET:Eh,generateString:kv,isSpecCompliantForm:Sv,toJSONObject:Ev,isAsyncFn:$v,isThenable:Tv};function Ye(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}J.inherits(Ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $h=Ye.prototype,Th={};["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=>{Th[e]={value:e}});Object.defineProperties(Ye,Th);Object.defineProperty($h,"isAxiosError",{value:!0});Ye.from=(e,t,n,r,o,s)=>{const i=Object.create($h);return J.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Ye.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const Av=null;function Ic(e){return J.isPlainObject(e)||J.isArray(e)}function Ah(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function Zd(e,t,n){return e?e.concat(t).map(function(o,s){return o=Ah(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Ov(e){return J.isArray(e)&&!e.some(Ic)}const Pv=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function rl(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,b){return!J.isUndefined(b[_])});const r=n.metaTokens,o=n.visitor||d,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(J.isDate(h))return h.toISOString();if(!l&&J.isBlob(h))throw new Ye("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(h)||J.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,b){let z=h;if(h&&!b&&typeof h=="object"){if(J.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&Ov(h)||(J.isFileList(h)||J.endsWith(_,"[]"))&&(z=J.toArray(h)))return _=Ah(_),z.forEach(function(v,w){!(J.isUndefined(v)||v===null)&&t.append(i===!0?Zd([_],w,s):i===null?_:_+"[]",u(v))}),!1}return Ic(h)?!0:(t.append(Zd(b,_,s),u(h)),!1)}const m=[],f=Object.assign(Pv,{defaultVisitor:d,convertValue:u,isVisitable:Ic});function p(h,_){if(!J.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(h),J.forEach(h,function(z,C){(!(J.isUndefined(z)||z===null)&&o.call(t,z,J.isString(C)?C.trim():C,_,f))===!0&&p(z,_?_.concat(C):[C])}),m.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Yd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ru(e,t){this._pairs=[],e&&rl(e,this,t)}const Oh=Ru.prototype;Oh.append=function(t,n){this._pairs.push([t,n])};Oh.toString=function(t){const n=t?function(r){return t.call(this,r,Yd)}:Yd;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Iv(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ph(e,t,n){if(!t)return e;const r=n&&n.encode||Iv,o=n&&n.serialize;let s;if(o?s=o(t,n):s=J.isURLSearchParams(t)?t.toString():new Ru(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Jd{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ih={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dv=typeof URLSearchParams<"u"?URLSearchParams:Ru,Rv=typeof FormData<"u"?FormData:null,Lv=typeof Blob<"u"?Blob:null,Nv={isBrowser:!0,classes:{URLSearchParams:Dv,FormData:Rv,Blob:Lv},protocols:["http","https","file","blob","url","data"]},Dh=typeof window<"u"&&typeof document<"u",Mv=(e=>Dh&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Fv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Vv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Dh,hasStandardBrowserEnv:Mv,hasStandardBrowserWebWorkerEnv:Fv},Symbol.toStringTag,{value:"Module"})),er={...Vv,...Nv};function Hv(e,t){return rl(e,new er.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return er.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Uv(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function jv(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function Rh(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&J.isArray(o)?o.length:i,l?(J.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!J.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&J.isArray(o[i])&&(o[i]=jv(o[i])),!a)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,o)=>{t(Uv(r),o,n,0)}),n}return null}function Bv(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Lu={transitional:Ih,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=J.isObject(t);if(s&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return o?JSON.stringify(Rh(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Hv(t,this.formSerializer).toString();if((a=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return rl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),Bv(t)):t}],transformResponse:[function(t){const n=this.transitional||Lu.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&J.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Ye.from(a,Ye.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:er.classes.FormData,Blob:er.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{Lu.headers[e]={}});const Nu=Lu,Wv=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),qv=e=>{const t={};let n,r,o;return e&&e.split(`
|
||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Wv[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Xd=Symbol("internals");function bs(e){return e&&String(e).trim().toLowerCase()}function ca(e){return e===!1||e==null?e:J.isArray(e)?e.map(ca):String(e)}function Gv(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Kv=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hl(e,t,n,r,o){if(J.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function Zv(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Yv(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class ol{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const d=bs(l);if(!d)throw new Error("header name must be a non-empty string");const m=J.findKey(o,d);(!m||o[m]===void 0||u===!0||u===void 0&&o[m]!==!1)&&(o[m||l]=ca(a))}const i=(a,l)=>J.forEach(a,(u,d)=>s(u,d,l));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!Kv(t)?i(qv(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=bs(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Gv(o);if(J.isFunction(n))return n.call(this,o,r);if(J.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=bs(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Hl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=bs(i),i){const a=J.findKey(r,i);a&&(!n||Hl(r,r[a],a,n))&&(delete r[a],o=!0)}}return J.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Hl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return J.forEach(this,(o,s)=>{const i=J.findKey(r,s);if(i){n[i]=ca(o),delete n[s];return}const a=t?Zv(s):String(s).trim();a!==s&&delete n[s],n[a]=ca(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&J.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Xd]=this[Xd]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=bs(i);r[a]||(Yv(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}ol.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(ol.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(ol);const pr=ol;function Ul(e,t){const n=this||Nu,r=t||n,o=pr.from(r.headers);let s=r.data;return J.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Lh(e){return!!(e&&e.__CANCEL__)}function vi(e,t,n){Ye.call(this,e??"canceled",Ye.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(vi,Ye,{__CANCEL__:!0});function Jv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ye("Request failed with status code "+n.status,[Ye.ERR_BAD_REQUEST,Ye.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Xv=er.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qv(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function eb(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nh(e,t){return e&&!Qv(t)?eb(e,t):t}const tb=er.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=J.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function nb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rb(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[s];i||(i=u),n[o]=l,r[o]=u;let m=s,f=0;for(;m!==o;)f+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function Qd(e,t){let n=0;const r=rb(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const d={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const ob=typeof XMLHttpRequest<"u",sb=ob&&function(e){return new Promise(function(n,r){let o=e.data;const s=pr.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(J.isFormData(o)){if(er.hasStandardBrowserEnv||er.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[_,...b]=d?d.split(";").map(z=>z.trim()).filter(Boolean):[];s.setContentType([_||"multipart/form-data",...b].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(_+":"+b))}const f=Nh(e.baseURL,e.url);m.open(e.method.toUpperCase(),Ph(f,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function p(){if(!m)return;const _=pr.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),z={data:!i||i==="text"||i==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:_,config:e,request:m};Jv(function(v){n(v),u()},function(v){r(v),u()},z),m=null}if("onloadend"in m?m.onloadend=p:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(p)},m.onabort=function(){m&&(r(new Ye("Request aborted",Ye.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new Ye("Network Error",Ye.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const z=e.transitional||Ih;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new Ye(b,z.clarifyTimeoutError?Ye.ETIMEDOUT:Ye.ECONNABORTED,e,m)),m=null},er.hasStandardBrowserEnv&&(a&&J.isFunction(a)&&(a=a(e)),a||a!==!1&&tb(f))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&Xv.read(e.xsrfCookieName);_&&s.set(e.xsrfHeaderName,_)}o===void 0&&s.setContentType(null),"setRequestHeader"in m&&J.forEach(s.toJSON(),function(b,z){m.setRequestHeader(z,b)}),J.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),i&&i!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",Qd(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",Qd(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=_=>{m&&(r(!_||_.type?new vi(null,e,m):_),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=nb(f);if(h&&er.protocols.indexOf(h)===-1){r(new Ye("Unsupported protocol "+h+":",Ye.ERR_BAD_REQUEST,e));return}m.send(o||null)})},Dc={http:Av,xhr:sb};J.forEach(Dc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const em=e=>`- ${e}`,ib=e=>J.isFunction(e)||e===null||e===!1,Mh={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!ib(n)&&(r=Dc[(i=String(n)).toLowerCase()],r===void 0))throw new Ye(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
|
||
`+s.map(em).join(`
|
||
`):" "+em(s[0]):"as no adapter specified";throw new Ye("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Dc};function jl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vi(null,e)}function tm(e){return jl(e),e.headers=pr.from(e.headers),e.data=Ul.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mh.getAdapter(e.adapter||Nu.adapter)(e).then(function(r){return jl(e),r.data=Ul.call(e,e.transformResponse,r),r.headers=pr.from(r.headers),r},function(r){return Lh(r)||(jl(e),r&&r.response&&(r.response.data=Ul.call(e,e.transformResponse,r.response),r.response.headers=pr.from(r.response.headers))),Promise.reject(r)})}const nm=e=>e instanceof pr?{...e}:e;function es(e,t){t=t||{};const n={};function r(u,d,m){return J.isPlainObject(u)&&J.isPlainObject(d)?J.merge.call({caseless:m},u,d):J.isPlainObject(d)?J.merge({},d):J.isArray(d)?d.slice():d}function o(u,d,m){if(J.isUndefined(d)){if(!J.isUndefined(u))return r(void 0,u,m)}else return r(u,d,m)}function s(u,d){if(!J.isUndefined(d))return r(void 0,d)}function i(u,d){if(J.isUndefined(d)){if(!J.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,m){if(m in t)return r(u,d);if(m in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,d)=>o(nm(u),nm(d),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||o,f=m(e[d],t[d],d);J.isUndefined(f)&&m!==a||(n[d]=f)}),n}const Fh="1.6.8",Mu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const rm={};Mu.transitional=function(t,n,r){function o(s,i){return"[Axios v"+Fh+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Ye(o(i," has been removed"+(n?" in "+n:"")),Ye.ERR_DEPRECATED);return n&&!rm[i]&&(rm[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function ab(e,t,n){if(typeof e!="object")throw new Ye("options must be an object",Ye.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Ye("option "+s+" must be "+l,Ye.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ye("Unknown option "+s,Ye.ERR_BAD_OPTION)}}const Rc={assertOptions:ab,validators:Mu},wr=Rc.validators;class Ca{constructor(t){this.defaults=t,this.interceptors={request:new Jd,response:new Jd}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=es(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Rc.assertOptions(r,{silentJSONParsing:wr.transitional(wr.boolean),forcedJSONParsing:wr.transitional(wr.boolean),clarifyTimeoutError:wr.transitional(wr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Rc.assertOptions(o,{encode:wr.function,serialize:wr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&J.merge(s.common,s[n.method]);s&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=pr.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[tm.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(b){_.call(this,b);break}}try{d=tm.call(this,p)}catch(h){return Promise.reject(h)}for(m=0,f=u.length;m<f;)d=d.then(u[m++],u[m++]);return d}getUri(t){t=es(this.defaults,t);const n=Nh(t.baseURL,t.url);return Ph(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){Ca.prototype[t]=function(n,r){return this.request(es(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(es(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Ca.prototype[t]=n(),Ca.prototype[t+"Form"]=n(!0)});const ua=Ca;class Fu{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new vi(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Fu(function(o){t=o}),cancel:t}}}const lb=Fu;function cb(e){return function(n){return e.apply(null,n)}}function ub(e){return J.isObject(e)&&e.isAxiosError===!0}const Lc={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(Lc).forEach(([e,t])=>{Lc[t]=e});const db=Lc;function Vh(e){const t=new ua(e),n=bh(ua.prototype.request,t);return J.extend(n,ua.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Vh(es(e,o))},n}const ae=Vh(Nu);ae.Axios=ua;ae.CanceledError=vi;ae.CancelToken=lb;ae.isCancel=Lh;ae.VERSION=Fh;ae.toFormData=rl;ae.AxiosError=Ye;ae.Cancel=ae.CanceledError;ae.all=function(t){return Promise.all(t)};ae.spread=cb;ae.isAxiosError=ub;ae.mergeConfig=es;ae.AxiosHeaders=pr;ae.formToJSON=e=>Rh(J.isHTMLForm(e)?new FormData(e):e);ae.getAdapter=Mh.getAdapter;ae.HttpStatusCode=db;ae.default=ae;/*!
|
||
* shared v9.11.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const wa=typeof window<"u",Kr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),mb=(e,t,n)=>fb({l:e,k:t,s:n}),fb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Nt=e=>typeof e=="number"&&isFinite(e),pb=e=>Uh(e)==="[object Date]",xa=e=>Uh(e)==="[object RegExp]",sl=e=>Je(e)&&Object.keys(e).length===0,Gt=Object.assign;let om;const Vu=()=>om||(om=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function sm(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const hb=Object.prototype.hasOwnProperty;function ka(e,t){return hb.call(e,t)}const Lt=Array.isArray,$t=e=>typeof e=="function",xe=e=>typeof e=="string",Tt=e=>typeof e=="boolean",rt=e=>e!==null&&typeof e=="object",_b=e=>rt(e)&&$t(e.then)&&$t(e.catch),Hh=Object.prototype.toString,Uh=e=>Hh.call(e),Je=e=>{if(!rt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},gb=e=>e==null?"":Lt(e)||Je(e)&&e.toString===Hh?JSON.stringify(e,null,2):String(e);function yb(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function Hu(e){let t=e;return()=>++t}function vb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ii=e=>!rt(e)||Lt(e);function da(e,t){if(Ii(e)||Ii(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{Ii(r[s])||Ii(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
|
||
* message-compiler v9.11.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const bb=/\{([0-9a-zA-Z]+)\}/g;function zb(e,...t){return t.length===1&&Cb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(bb,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Cb=e=>e!==null&&typeof e=="object",Vt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},wb={[Vt.EXPECTED_TOKEN]:"Expected token: '{0}'",[Vt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Vt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Vt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Vt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Vt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Vt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Vt.EMPTY_PLACEHOLDER]:"Empty placeholder",[Vt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Vt.INVALID_LINKED_FORMAT]:"Invalid linked format",[Vt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Vt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Vt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Vt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Vt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Vt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function jh(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=zb((o||wb)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
|
||
* core-base v9.11.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function xb(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vu().__INTLIFY_PROD_DEVTOOLS__=!1)}const Zr=[];Zr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Zr[1]={w:[1],".":[2],"[":[4],o:[7]};Zr[2]={w:[2],i:[3,0],0:[3,0]};Zr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Zr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Zr[5]={"'":[4,0],o:8,l:[5,0]};Zr[6]={'"':[4,0],o:8,l:[6,0]};const kb=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Sb(e){return kb.test(e)}function Eb(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 $b(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 Tb(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Sb(t)?Eb(t):"*"+t}function Ab(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,u,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,i===void 0||(i=Tb(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=$b(s),m=Zr[r],u=m[l]||m.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=f[u[1]],d&&(a=s,d()===!1))))return;if(r===7)return t}}const im=new Map;function Ob(e,t){return rt(e)?e[t]:null}function Pb(e,t){if(!rt(e))return null;let n=im.get(t);if(n||(n=Ab(t),n&&im.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0||$t(o))return null;o=i,s++}return o}const Ib=e=>e,Db=e=>"",Rb="text",Lb=e=>e.length===0?"":yb(e),Nb=gb;function am(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Mb(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 Fb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Vb(e={}){const t=e.locale,n=Mb(e),r=rt(e.pluralRules)&&xe(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:am,o=rt(e.pluralRules)&&xe(t)&&$t(e.pluralRules[t])?am:void 0,s=z=>z[r(n,z.length,o)],i=e.list||[],a=z=>i[z],l=e.named||{};Nt(e.pluralIndex)&&Fb(n,l);const u=z=>l[z];function d(z){const C=$t(e.messages)?e.messages(z):rt(e.messages)?e.messages[z]:!1;return C||(e.parent?e.parent.message(z):Db)}const m=z=>e.modifiers?e.modifiers[z]:Ib,f=Je(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:Lb,p=Je(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:Nb,h=Je(e.processor)&&xe(e.processor.type)?e.processor.type:Rb,b={list:a,named:u,plural:s,linked:(z,...C)=>{const[v,w]=C;let S="text",k="";C.length===1?rt(v)?(k=v.modifier||k,S=v.type||S):xe(v)&&(k=v||k):C.length===2&&(xe(v)&&(k=v||k),xe(w)&&(S=w||S));const M=d(z)(b),R=S==="vnode"&&Lt(M)&&k?M[0]:M;return k?m(k)(R,S):R},message:d,type:h,interpolate:p,normalize:f,values:Gt({},i,l)};return b}let ti=null;function Hb(e){ti=e}function Ub(e,t,n){ti&&ti.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const jb=Bb("function:translate");function Bb(e){return t=>ti&&ti.emit(e,t)}const Wb={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Bh=Vt.__EXTEND_POINT__,Jr=Hu(Bh),tr={INVALID_ARGUMENT:Bh,INVALID_DATE_ARGUMENT:Jr(),INVALID_ISO_DATE_ARGUMENT:Jr(),NOT_SUPPORT_NON_STRING_MESSAGE:Jr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Jr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Jr(),NOT_SUPPORT_LOCALE_TYPE:Jr(),__EXTEND_POINT__:Jr()};function fr(e){return jh(e,null,void 0)}function Uu(e,t){return t.locale!=null?lm(t.locale):lm(e.locale)}let Bl;function lm(e){if(xe(e))return e;if($t(e)){if(e.resolvedOnce&&Bl!=null)return Bl;if(e.constructor.name==="Function"){const t=e();if(_b(t))throw fr(tr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Bl=t}else throw fr(tr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw fr(tr.NOT_SUPPORT_LOCALE_TYPE)}function qb(e,t,n){return[...new Set([n,...Lt(t)?t:rt(t)?Object.keys(t):xe(t)?[t]:[n]])]}function Wh(e,t,n){const r=xe(n)?n:Sa,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Lt(i);)i=cm(s,i,t);const a=Lt(t)||!Je(t)?t:t.default?t.default:null;i=xe(a)?[a]:a,Lt(i)&&cm(s,i,!1),o.__localeChainCache.set(r,s)}return s}function cm(e,t,n){let r=!0;for(let o=0;o<t.length&&Tt(r);o++){const s=t[o];xe(s)&&(r=Gb(e,t[o],n))}return r}function Gb(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=Kb(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Kb(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Lt(n)||Je(n))&&n[o]&&(r=n[o])}return r}const Zb="9.11.0",il=-1,Sa="en-US",um="",dm=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Yb(){return{upper:(e,t)=>t==="text"&&xe(e)?e.toUpperCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&xe(e)?e.toLowerCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&xe(e)?dm(e):t==="vnode"&&rt(e)&&"__v_isVNode"in e?dm(e.children):e}}let Jb,qh;function Xb(e){qh=e}let Gh;function Qb(e){Gh=e}let Kh=null;const ez=e=>{Kh=e},tz=()=>Kh;let Zh=null;const mm=e=>{Zh=e},nz=()=>Zh;let fm=0;function rz(e={}){const t=$t(e.onWarn)?e.onWarn:vb,n=xe(e.version)?e.version:Zb,r=xe(e.locale)||$t(e.locale)?e.locale:Sa,o=$t(r)?Sa:r,s=Lt(e.fallbackLocale)||Je(e.fallbackLocale)||xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Je(e.messages)?e.messages:{[o]:{}},a=Je(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=Je(e.numberFormats)?e.numberFormats:{[o]:{}},u=Gt({},e.modifiers||{},Yb()),d=e.pluralRules||{},m=$t(e.missing)?e.missing:null,f=Tt(e.missingWarn)||xa(e.missingWarn)?e.missingWarn:!0,p=Tt(e.fallbackWarn)||xa(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,b=$t(e.postTranslation)?e.postTranslation:null,z=Je(e.processor)?e.processor:null,C=Tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,w=$t(e.messageCompiler)?e.messageCompiler:Jb,S=$t(e.messageResolver)?e.messageResolver:qh||Ob,k=$t(e.localeFallbacker)?e.localeFallbacker:Gh||qb,M=rt(e.fallbackContext)?e.fallbackContext:void 0,R=e,O=rt(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,N=rt(R.__numberFormatters)?R.__numberFormatters:new Map,K=rt(R.__meta)?R.__meta:{};fm++;const U={version:n,cid:fm,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:m,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:b,processor:z,warnHtmlMessage:C,escapeParameter:v,messageCompiler:w,messageResolver:S,localeFallbacker:k,fallbackContext:M,onWarn:t,__meta:K};return U.datetimeFormats=a,U.numberFormats=l,U.__datetimeFormatters=O,U.__numberFormatters=N,__INTLIFY_PROD_DEVTOOLS__&&Ub(U,n,K),U}function ju(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return xe(a)?a:t}else return t}function zs(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const ts=e=>rt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e),pm=()=>"",Sn=e=>$t(e);function hm(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,u]=Nc(...t),d=Tt(u.missingWarn)?u.missingWarn:e.missingWarn,m=Tt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=Tt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=xe(u.default)||Tt(u.default)?Tt(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:"",_=n||h!=="",b=Uu(e,u);f&&oz(u);let[z,C,v]=p?[l,b,a[b]||{}]:Yh(e,l,b,i,m,d),w=z,S=l;if(!p&&!(xe(w)||ts(w)||Sn(w))&&_&&(w=h,S=w),!p&&(!(xe(w)||ts(w)||Sn(w))||!xe(C)))return o?il:l;let k=!1;const M=()=>{k=!0},R=Sn(w)?w:Jh(e,l,C,w,S,M);if(k)return w;const O=az(e,C,v,u),N=Vb(O),K=sz(e,R,N),U=r?r(K,l):K;if(__INTLIFY_PROD_DEVTOOLS__){const j={timestamp:Date.now(),key:xe(l)?l:Sn(w)?w.key:"",locale:C||(Sn(w)?w.locale:""),format:xe(w)?w:Sn(w)?w.source:"",message:U};j.meta=Gt({},e.__meta,tz()||{}),jb(j)}return U}function oz(e){Lt(e.list)?e.list=e.list.map(t=>xe(t)?sm(t):t):rt(e.named)&&Object.keys(e.named).forEach(t=>{xe(e.named[t])&&(e.named[t]=sm(e.named[t]))})}function Yh(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,d=u(e,r,n);let m={},f,p=null;const h="translate";for(let _=0;_<d.length&&(f=d[_],m=i[f]||{},(p=l(m,t))===null&&(p=m[t]),!(xe(p)||ts(p)||Sn(p)));_++){const b=ju(e,t,f,s,h);b!==t&&(p=b)}return[p,f,m]}function Jh(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Sn(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=()=>r;return u.locale=n,u.key=t,u}const l=i(r,iz(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function sz(e,t,n){return t(n)}function Nc(...e){const[t,n,r]=e,o={};if(!xe(t)&&!Nt(t)&&!Sn(t)&&!ts(t))throw fr(tr.INVALID_ARGUMENT);const s=Nt(t)?String(t):(Sn(t),t);return Nt(n)?o.plural=n:xe(n)?o.default=n:Je(n)&&!sl(n)?o.named=n:Lt(n)&&(o.list=n),Nt(r)?o.plural=r:xe(r)?o.default=r:Je(r)&&Gt(o,r),[s,o]}function iz(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>mb(t,n,i)}}function az(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:d}=e,f={locale:t,modifiers:o,pluralRules:s,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=Yh(d,p,t,a,l,u);h=i(_,p)}if(xe(h)||ts(h)){let _=!1;const z=Jh(e,p,t,h,p,()=>{_=!0});return _?pm:z}else return Sn(h)?h:pm}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Nt(r.plural)&&(f.pluralIndex=r.plural),f}function _m(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,d,m]=Mc(...t),f=Tt(d.missingWarn)?d.missingWarn:e.missingWarn;Tt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=Uu(e,d),_=i(e,o,h);if(!xe(l)||l==="")return new Intl.DateTimeFormat(h,m).format(u);let b={},z,C=null;const v="datetime format";for(let k=0;k<_.length&&(z=_[k],b=n[z]||{},C=b[l],!Je(C));k++)ju(e,l,z,f,v);if(!Je(C)||!xe(z))return r?il:l;let w=`${z}__${l}`;sl(m)||(w=`${w}__${JSON.stringify(m)}`);let S=a.get(w);return S||(S=new Intl.DateTimeFormat(z,Gt({},C,m)),a.set(w,S)),p?S.formatToParts(u):S.format(u)}const Xh=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Mc(...e){const[t,n,r,o]=e,s={};let i={},a;if(xe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw fr(tr.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw fr(tr.INVALID_ISO_DATE_ARGUMENT)}}else if(pb(t)){if(isNaN(t.getTime()))throw fr(tr.INVALID_DATE_ARGUMENT);a=t}else if(Nt(t))a=t;else throw fr(tr.INVALID_ARGUMENT);return xe(n)?s.key=n:Je(n)&&Object.keys(n).forEach(l=>{Xh.includes(l)?i[l]=n[l]:s[l]=n[l]}),xe(r)?s.locale=r:Je(r)&&(i=r),Je(o)&&(i=o),[s.key||"",a,s,i]}function gm(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function ym(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,d,m]=Fc(...t),f=Tt(d.missingWarn)?d.missingWarn:e.missingWarn;Tt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=Uu(e,d),_=i(e,o,h);if(!xe(l)||l==="")return new Intl.NumberFormat(h,m).format(u);let b={},z,C=null;const v="number format";for(let k=0;k<_.length&&(z=_[k],b=n[z]||{},C=b[l],!Je(C));k++)ju(e,l,z,f,v);if(!Je(C)||!xe(z))return r?il:l;let w=`${z}__${l}`;sl(m)||(w=`${w}__${JSON.stringify(m)}`);let S=a.get(w);return S||(S=new Intl.NumberFormat(z,Gt({},C,m)),a.set(w,S)),p?S.formatToParts(u):S.format(u)}const Qh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Fc(...e){const[t,n,r,o]=e,s={};let i={};if(!Nt(t))throw fr(tr.INVALID_ARGUMENT);const a=t;return xe(n)?s.key=n:Je(n)&&Object.keys(n).forEach(l=>{Qh.includes(l)?i[l]=n[l]:s[l]=n[l]}),xe(r)?s.locale=r:Je(r)&&(i=r),Je(o)&&(i=o),[s.key||"",a,s,i]}function vm(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}xb();/**
|
||
* @vue/shared v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function al(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const st={},Uo=[],an=()=>{},lz=()=>!1,bi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bu=e=>e.startsWith("onUpdate:"),vt=Object.assign,Wu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cz=Object.prototype.hasOwnProperty,et=(e,t)=>cz.call(e,t),ye=Array.isArray,jo=e=>ds(e)==="[object Map]",bo=e=>ds(e)==="[object Set]",bm=e=>ds(e)==="[object Date]",uz=e=>ds(e)==="[object RegExp]",Pe=e=>typeof e=="function",bt=e=>typeof e=="string",jr=e=>typeof e=="symbol",ct=e=>e!==null&&typeof e=="object",qu=e=>(ct(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),e_=Object.prototype.toString,ds=e=>e_.call(e),dz=e=>ds(e).slice(8,-1),t_=e=>ds(e)==="[object Object]",Gu=e=>bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=al(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ll=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mz=/-(\w)/g,Xt=ll(e=>e.replace(mz,(t,n)=>n?n.toUpperCase():"")),fz=/\B([A-Z])/g,gn=ll(e=>e.replace(fz,"-$1").toLowerCase()),zi=ll(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fs=ll(e=>e?`on${zi(e)}`:""),Bn=(e,t)=>!Object.is(e,t),Wo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ea=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ni=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$a=e=>{const t=bt(e)?Number(e):NaN;return isNaN(t)?e:t};let zm;const n_=()=>zm||(zm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),pz="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",hz=al(pz);function Yr(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=bt(r)?vz(r):Yr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(bt(e)||ct(e))return e}const _z=/;(?![^(]*\))/g,gz=/:([^]+)/,yz=/\/\*[^]*?\*\//g;function vz(e){const t={};return e.replace(yz,"").split(_z).forEach(n=>{if(n){const r=n.split(gz);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function we(e){let t="";if(bt(e))t=e;else if(ye(e))for(let n=0;n<e.length;n++){const r=we(e[n]);r&&(t+=r+" ")}else if(ct(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Os(e){if(!e)return null;let{class:t,style:n}=e;return t&&!bt(t)&&(e.class=we(t)),n&&(e.style=Yr(n)),e}const bz="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zz=al(bz);function r_(e){return!!e||e===""}function Cz(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Br(e[r],t[r]);return n}function Br(e,t){if(e===t)return!0;let n=bm(e),r=bm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=jr(e),r=jr(t),n||r)return e===t;if(n=ye(e),r=ye(t),n||r)return n&&r?Cz(e,t):!1;if(n=ct(e),r=ct(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Br(e[i],t[i]))return!1}}return String(e)===String(t)}function cl(e,t){return e.findIndex(n=>Br(n,t))}const g=e=>bt(e)?e:e==null?"":ye(e)||ct(e)&&(e.toString===e_||!Pe(e.toString))?JSON.stringify(e,o_,2):String(e),o_=(e,t)=>t&&t.__v_isRef?o_(e,t.value):jo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Wl(r,s)+" =>"]=o,n),{})}:bo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wl(n))}:jr(t)?Wl(t):ct(t)&&!ye(t)&&!t_(t)?String(t):t,Wl=(e,t="")=>{var n;return jr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let hn;class Ku{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=hn,!t&&hn&&(this.index=(hn.scopes||(hn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=hn;try{return hn=this,t()}finally{hn=n}}}on(){hn=this}off(){hn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Zu(e){return new Ku(e)}function s_(e,t=hn){t&&t.active&&t.effects.push(e)}function i_(){return hn}function wz(e){hn&&hn.cleanups.push(e)}let lo;class ns{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,s_(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,zo();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(xz(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Co()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ur,n=lo;try{return Ur=!0,lo=this,this._runnings++,Cm(this),this.fn()}finally{wm(this),this._runnings--,lo=n,Ur=t}}stop(){var t;this.active&&(Cm(this),wm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function xz(e){return e.value}function Cm(e){e._trackId++,e._depsLength=0}function wm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)a_(e.deps[t],e);e.deps.length=e._depsLength}}function a_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function kz(e,t){e.effect instanceof ns&&(e=e.effect.fn);const n=new ns(e,an,()=>{n.dirty&&n.run()});t&&(vt(n,t),t.scope&&s_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Sz(e){e.effect.stop()}let Ur=!0,Vc=0;const l_=[];function zo(){l_.push(Ur),Ur=!1}function Co(){const e=l_.pop();Ur=e===void 0?!0:e}function Yu(){Vc++}function Ju(){for(Vc--;!Vc&&Hc.length;)Hc.shift()()}function c_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&a_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Hc=[];function u_(e,t,n){Yu();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Hc.push(r.scheduler)))}Ju()}const d_=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ta=new WeakMap,co=Symbol(""),Uc=Symbol("");function cn(e,t,n){if(Ur&&lo){let r=Ta.get(e);r||Ta.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=d_(()=>r.delete(n))),c_(lo,o)}}function hr(e,t,n,r,o,s){const i=Ta.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ye(e)){const l=Number(r);i.forEach((u,d)=>{(d==="length"||!jr(d)&&d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ye(e)?Gu(n)&&a.push(i.get("length")):(a.push(i.get(co)),jo(e)&&a.push(i.get(Uc)));break;case"delete":ye(e)||(a.push(i.get(co)),jo(e)&&a.push(i.get(Uc)));break;case"set":jo(e)&&a.push(i.get(co));break}Yu();for(const l of a)l&&u_(l,4);Ju()}function Ez(e,t){var n;return(n=Ta.get(e))==null?void 0:n.get(t)}const $z=al("__proto__,__v_isRef,__isVue"),m_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jr)),xm=Tz();function Tz(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ze(this);for(let s=0,i=this.length;s<i;s++)cn(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Ze)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){zo(),Yu();const r=Ze(this)[t].apply(this,n);return Ju(),Co(),r}}),e}function Az(e){const t=Ze(this);return cn(t,"has",e),t.hasOwnProperty(e)}class f_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?v_:y_:s?g_:__).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ye(t);if(!o){if(i&&et(xm,n))return Reflect.get(xm,n,r);if(n==="hasOwnProperty")return Az}const a=Reflect.get(t,n,r);return(jr(n)?m_.has(n):$z(n))||(o||cn(t,"get",n),s)?a:Ft(a)?i&&Gu(n)?a:a.value:ct(a)?o?ed(a):ms(a):a}}class p_ extends f_{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=_o(s);if(!ri(r)&&!_o(r)&&(s=Ze(s),r=Ze(r)),!ye(t)&&Ft(s)&&!Ft(r))return l?!1:(s.value=r,!0)}const i=ye(t)&&Gu(n)?Number(n)<t.length:et(t,n),a=Reflect.set(t,n,r,o);return t===Ze(o)&&(i?Bn(r,s)&&hr(t,"set",n,r):hr(t,"add",n,r)),a}deleteProperty(t,n){const r=et(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&hr(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!jr(n)||!m_.has(n))&&cn(t,"has",n),r}ownKeys(t){return cn(t,"iterate",ye(t)?"length":co),Reflect.ownKeys(t)}}class h_ extends f_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Oz=new p_,Pz=new h_,Iz=new p_(!0),Dz=new h_(!0),Xu=e=>e,ul=e=>Reflect.getPrototypeOf(e);function Di(e,t,n=!1,r=!1){e=e.__v_raw;const o=Ze(e),s=Ze(t);n||(Bn(t,s)&&cn(o,"get",t),cn(o,"get",s));const{has:i}=ul(o),a=r?Xu:n?rd:oi;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function Ri(e,t=!1){const n=this.__v_raw,r=Ze(n),o=Ze(e);return t||(Bn(e,o)&&cn(r,"has",e),cn(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Li(e,t=!1){return e=e.__v_raw,!t&&cn(Ze(e),"iterate",co),Reflect.get(e,"size",e)}function km(e){e=Ze(e);const t=Ze(this);return ul(t).has.call(t,e)||(t.add(e),hr(t,"add",e,e)),this}function Sm(e,t){t=Ze(t);const n=Ze(this),{has:r,get:o}=ul(n);let s=r.call(n,e);s||(e=Ze(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?Bn(t,i)&&hr(n,"set",e,t):hr(n,"add",e,t),this}function Em(e){const t=Ze(this),{has:n,get:r}=ul(t);let o=n.call(t,e);o||(e=Ze(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&hr(t,"delete",e,void 0),s}function $m(){const e=Ze(this),t=e.size!==0,n=e.clear();return t&&hr(e,"clear",void 0,void 0),n}function Ni(e,t){return function(r,o){const s=this,i=s.__v_raw,a=Ze(i),l=t?Xu:e?rd:oi;return!e&&cn(a,"iterate",co),i.forEach((u,d)=>r.call(o,l(u),l(d),s))}}function Mi(e,t,n){return function(...r){const o=this.__v_raw,s=Ze(o),i=jo(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),d=n?Xu:t?rd:oi;return!t&&cn(s,"iterate",l?Uc:co),{next(){const{value:m,done:f}=u.next();return f?{value:m,done:f}:{value:a?[d(m[0]),d(m[1])]:d(m),done:f}},[Symbol.iterator](){return this}}}}function xr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Rz(){const e={get(s){return Di(this,s)},get size(){return Li(this)},has:Ri,add:km,set:Sm,delete:Em,clear:$m,forEach:Ni(!1,!1)},t={get(s){return Di(this,s,!1,!0)},get size(){return Li(this)},has:Ri,add:km,set:Sm,delete:Em,clear:$m,forEach:Ni(!1,!0)},n={get(s){return Di(this,s,!0)},get size(){return Li(this,!0)},has(s){return Ri.call(this,s,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ni(!0,!1)},r={get(s){return Di(this,s,!0,!0)},get size(){return Li(this,!0)},has(s){return Ri.call(this,s,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ni(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Mi(s,!1,!1),n[s]=Mi(s,!0,!1),t[s]=Mi(s,!1,!0),r[s]=Mi(s,!0,!0)}),[e,n,t,r]}const[Lz,Nz,Mz,Fz]=Rz();function dl(e,t){const n=t?e?Fz:Mz:e?Nz:Lz;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(et(n,o)&&o in r?n:r,o,s)}const Vz={get:dl(!1,!1)},Hz={get:dl(!1,!0)},Uz={get:dl(!0,!1)},jz={get:dl(!0,!0)},__=new WeakMap,g_=new WeakMap,y_=new WeakMap,v_=new WeakMap;function Bz(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wz(e){return e.__v_skip||!Object.isExtensible(e)?0:Bz(dz(e))}function ms(e){return _o(e)?e:ml(e,!1,Oz,Vz,__)}function Qu(e){return ml(e,!1,Iz,Hz,g_)}function ed(e){return ml(e,!0,Pz,Uz,y_)}function qz(e){return ml(e,!0,Dz,jz,v_)}function ml(e,t,n,r,o){if(!ct(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Wz(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function uo(e){return _o(e)?uo(e.__v_raw):!!(e&&e.__v_isReactive)}function _o(e){return!!(e&&e.__v_isReadonly)}function ri(e){return!!(e&&e.__v_isShallow)}function td(e){return uo(e)||_o(e)}function Ze(e){const t=e&&e.__v_raw;return t?Ze(t):e}function nd(e){return Object.isExtensible(e)&&Ea(e,"__v_skip",!0),e}const oi=e=>ct(e)?ms(e):e,rd=e=>ct(e)?ed(e):e;class b_{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ns(()=>t(this._value),()=>qo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Ze(this);return(!t._cacheable||t.effect.dirty)&&Bn(t._value,t._value=t.effect.run())&&qo(t,4),od(t),t.effect._dirtyLevel>=2&&qo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Gz(e,t,n=!1){let r,o;const s=Pe(e);return s?(r=e,o=an):(r=e.get,o=e.set),new b_(r,o,s||!o,n)}function od(e){var t;Ur&&lo&&(e=Ze(e),c_(lo,(t=e.dep)!=null?t:e.dep=d_(()=>e.dep=void 0,e instanceof b_?e:void 0)))}function qo(e,t=4,n){e=Ze(e);const r=e.dep;r&&u_(r,t)}function Ft(e){return!!(e&&e.__v_isRef===!0)}function rr(e){return z_(e,!1)}function sd(e){return z_(e,!0)}function z_(e,t){return Ft(e)?e:new Kz(e,t)}class Kz{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ze(t),this._value=n?t:oi(t)}get value(){return od(this),this._value}set value(t){const n=this.__v_isShallow||ri(t)||_o(t);t=n?t:Ze(t),Bn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:oi(t),qo(this,4))}}function Zz(e){qo(e,4)}function yn(e){return Ft(e)?e.value:e}function Yz(e){return Pe(e)?e():yn(e)}const Jz={get:(e,t,n)=>yn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ft(o)&&!Ft(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function id(e){return uo(e)?e:new Proxy(e,Jz)}class Xz{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>od(this),()=>qo(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function C_(e){return new Xz(e)}function Qz(e){const t=ye(e)?new Array(e.length):{};for(const n in e)t[n]=w_(e,n);return t}class e0{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ez(Ze(this._object),this._key)}}class t0{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function n0(e,t,n){return Ft(e)?e:Pe(e)?new t0(e):ct(e)&&arguments.length>1?w_(e,t,n):rr(e)}function w_(e,t,n){const r=e[t];return Ft(r)?r:new e0(e,t,n)}const r0={GET:"get",HAS:"has",ITERATE:"iterate"},o0={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
|
||
* @vue/runtime-core v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function s0(e,t){}const i0={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},a0={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function _r(e,t,n,r){try{return r?e(...r):e()}catch(o){wo(o,t,n)}}function bn(e,t,n,r){if(Pe(e)){const s=_r(e,t,n,r);return s&&qu(s)&&s.catch(i=>{wo(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(bn(e[s],t,n,r));return o}function wo(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){_r(l,null,10,[e,i,a]);return}}l0(e,n,o,r)}function l0(e,t,n,r=!0){console.error(e)}let si=!1,jc=!1;const Bt=[];let Qn=0;const Go=[];let Pr=null,so=0;const x_=Promise.resolve();let ad=null;function fs(e){const t=ad||x_;return e?t.then(this?e.bind(this):e):t}function c0(e){let t=Qn+1,n=Bt.length;for(;t<n;){const r=t+n>>>1,o=Bt[r],s=ii(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function fl(e){(!Bt.length||!Bt.includes(e,si&&e.allowRecurse?Qn+1:Qn))&&(e.id==null?Bt.push(e):Bt.splice(c0(e.id),0,e),k_())}function k_(){!si&&!jc&&(jc=!0,ad=x_.then(S_))}function u0(e){const t=Bt.indexOf(e);t>Qn&&Bt.splice(t,1)}function Aa(e){ye(e)?Go.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?so+1:so))&&Go.push(e),k_()}function Tm(e,t,n=si?Qn+1:0){for(;n<Bt.length;n++){const r=Bt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Bt.splice(n,1),n--,r()}}}function Oa(e){if(Go.length){const t=[...new Set(Go)].sort((n,r)=>ii(n)-ii(r));if(Go.length=0,Pr){Pr.push(...t);return}for(Pr=t,so=0;so<Pr.length;so++)Pr[so]();Pr=null,so=0}}const ii=e=>e.id==null?1/0:e.id,d0=(e,t)=>{const n=ii(e)-ii(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function S_(e){jc=!1,si=!0,Bt.sort(d0);try{for(Qn=0;Qn<Bt.length;Qn++){const t=Bt[Qn];t&&t.active!==!1&&_r(t,null,14)}}finally{Qn=0,Bt.length=0,Oa(),si=!1,ad=null,(Bt.length||Go.length)&&S_()}}let Ro,Fi=[];function E_(e,t){var n,r;Ro=e,Ro?(Ro.enabled=!0,Fi.forEach(({event:o,args:s})=>Ro.emit(o,...s)),Fi=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{E_(s,t)}),setTimeout(()=>{Ro||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Fi=[])},3e3)):Fi=[]}function m0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||st;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||st;f&&(o=n.map(p=>bt(p)?p.trim():p)),m&&(o=n.map(ni))}let a,l=r[a=Fs(t)]||r[a=Fs(Xt(t))];!l&&s&&(l=r[a=Fs(gn(t))]),l&&bn(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,bn(u,e,6,o)}}function $_(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!Pe(e)){const l=u=>{const d=$_(u,t,!0);d&&(a=!0,vt(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(ct(e)&&r.set(e,null),null):(ye(s)?s.forEach(l=>i[l]=null):vt(i,s),ct(e)&&r.set(e,i),i)}function pl(e,t){return!e||!bi(t)?!1:(t=t.slice(2).replace(/Once$/,""),et(e,t[0].toLowerCase()+t.slice(1))||et(e,gn(t))||et(e,t))}let It=null,hl=null;function ai(e){const t=It;return It=e,hl=e&&e.type.__scopeId||null,t}function f0(e){hl=e}function p0(){hl=null}const h0=e=>P;function P(e,t=It,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Jc(-1);const s=ai(t);let i;try{i=e(...o)}finally{ai(s),r._d&&Jc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ma(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:l,emit:u,render:d,renderCache:m,data:f,setupState:p,ctx:h,inheritAttrs:_}=e;let b,z;const C=ai(e);try{if(n.shapeFlag&4){const w=o||r,S=w;b=_n(d.call(S,w,m,s,p,f,h)),z=l}else{const w=t;b=_n(w.length>1?w(s,{attrs:l,slots:a,emit:u}):w(s,null)),z=t.props?l:g0(l)}}catch(w){js.length=0,wo(w,e,1),b=y(Kt)}let v=b;if(z&&_!==!1){const w=Object.keys(z),{shapeFlag:S}=v;w.length&&S&7&&(i&&w.some(Bu)&&(z=y0(z,i)),v=sr(v,z))}return n.dirs&&(v=sr(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),b=v,ai(C),b}function _0(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(qr(o)){if(o.type!==Kt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const g0=e=>{let t;for(const n in e)(n==="class"||n==="style"||bi(n))&&((t||(t={}))[n]=e[n]);return t},y0=(e,t)=>{const n={};for(const r in e)(!Bu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function v0(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Am(r,i,u):!!i;if(l&8){const d=t.dynamicProps;for(let m=0;m<d.length;m++){const f=d[m];if(i[f]!==r[f]&&!pl(u,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Am(r,i,u):!0:!!i;return!1}function Am(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!pl(n,s))return!0}return!1}function ld({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const cd="components",b0="directives";function $(e,t){return dd(cd,e,!0,t)||e}const T_=Symbol.for("v-ndc");function _l(e){return bt(e)?dd(cd,e,!1)||e:e||T_}function ud(e){return dd(b0,e)}function dd(e,t,n=!0,r=!1){const o=It||Rt;if(o){const s=o.type;if(e===cd){const a=nu(s,!1);if(a&&(a===t||a===Xt(t)||a===zi(Xt(t))))return s}const i=Om(o[e]||s[e],t)||Om(o.appContext[e],t);return!i&&r?s:i}}function Om(e,t){return e&&(e[t]||e[Xt(t)]||e[zi(Xt(t))])}const A_=e=>e.__isSuspense;let Bc=0;const z0={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,u){if(e==null)w0(t,n,r,o,s,i,a,l,u);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}x0(e,t,n,r,o,i,a,l,u)}},hydrate:k0,create:md,normalize:S0},C0=z0;function li(e,t){const n=e.props&&e.props[t];Pe(n)&&n()}function w0(e,t,n,r,o,s,i,a,l){const{p:u,o:{createElement:d}}=l,m=d("div"),f=e.suspense=md(e,o,r,t,m,n,s,i,a,l);u(null,f.pendingBranch=e.ssContent,m,null,r,f,s,i),f.deps>0?(li(e,"onPending"),li(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,i),Ko(f,e.ssFallback)):f.resolve(!1,!0)}function x0(e,t,n,r,o,s,i,a,{p:l,um:u,o:{createElement:d}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:b,isHydrating:z}=m;if(_)m.pendingBranch=f,Hn(f,_)?(l(_,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():b&&(z||(l(h,p,n,r,o,null,s,i,a),Ko(m,p)))):(m.pendingId=Bc++,z?(m.isHydrating=!1,m.activeBranch=_):u(_,o,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),b?(l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():(l(h,p,n,r,o,null,s,i,a),Ko(m,p))):h&&Hn(f,h)?(l(h,f,n,r,o,m,s,i,a),m.resolve(!0)):(l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0&&m.resolve()));else if(h&&Hn(f,h))l(h,f,n,r,o,m,s,i,a),Ko(m,f);else if(li(t,"onPending"),m.pendingBranch=f,f.shapeFlag&512?m.pendingId=f.component.suspenseId:m.pendingId=Bc++,l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0)m.resolve();else{const{timeout:C,pendingId:v}=m;C>0?setTimeout(()=>{m.pendingId===v&&m.fallback(p)},C):C===0&&m.fallback(p)}}function md(e,t,n,r,o,s,i,a,l,u,d=!1){const{p:m,m:f,um:p,n:h,o:{parentNode:_,remove:b}}=u;let z;const C=E0(e);C&&t!=null&&t.pendingBranch&&(z=t.pendingId,t.deps++);const v=e.props?$a(e.props.timeout):void 0,w=s,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Bc++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(k=!1,M=!1){const{vnode:R,activeBranch:O,pendingBranch:N,pendingId:K,effects:U,parentComponent:j,container:Q}=S;let pe=!1;S.isHydrating?S.isHydrating=!1:k||(pe=O&&N.transition&&N.transition.mode==="out-in",pe&&(O.transition.afterLeave=()=>{K===S.pendingId&&(f(N,Q,s===w?h(O):s,0),Aa(U))}),O&&(_(O.el)!==S.hiddenContainer&&(s=h(O)),p(O,j,S,!0)),pe||f(N,Q,s,0)),Ko(S,N),S.pendingBranch=null,S.isInFallback=!1;let W=S.parent,re=!1;for(;W;){if(W.pendingBranch){W.effects.push(...U),re=!0;break}W=W.parent}!re&&!pe&&Aa(U),S.effects=[],C&&t&&t.pendingBranch&&z===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),li(R,"onResolve")},fallback(k){if(!S.pendingBranch)return;const{vnode:M,activeBranch:R,parentComponent:O,container:N,namespace:K}=S;li(M,"onFallback");const U=h(R),j=()=>{S.isInFallback&&(m(null,k,N,U,O,null,K,a,l),Ko(S,k))},Q=k.transition&&k.transition.mode==="out-in";Q&&(R.transition.afterLeave=j),S.isInFallback=!0,p(R,O,null,!0),Q||j()},move(k,M,R){S.activeBranch&&f(S.activeBranch,k,M,R),S.container=k},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(k,M){const R=!!S.pendingBranch;R&&S.deps++;const O=k.vnode.el;k.asyncDep.catch(N=>{wo(N,k,0)}).then(N=>{if(k.isUnmounted||S.isUnmounted||S.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:K}=k;eu(k,N,!1),O&&(K.el=O);const U=!O&&k.subTree.el;M(k,K,_(O||k.subTree.el),O?null:h(k.subTree),S,i,l),U&&b(U),ld(k,K.el),R&&--S.deps===0&&S.resolve()})},unmount(k,M){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,k,M),S.pendingBranch&&p(S.pendingBranch,n,k,M)}};return S}function k0(e,t,n,r,o,s,i,a,l){const u=t.suspense=md(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),d=l(e,u.pendingBranch=t.ssContent,n,u,s,i);return u.deps===0&&u.resolve(!1,!0),d}function S0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Pm(r?n.default:n),e.ssFallback=r?Pm(n.fallback):y(Kt)}function Pm(e){let t;if(Pe(e)){const n=yo&&e._c;n&&(e._d=!1,x()),e=e(),n&&(e._d=!0,t=ln,ug())}return ye(e)&&(e=_0(e)),e=_n(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function O_(e,t){t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):Aa(e)}function Ko(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,ld(r,o))}function E0(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const P_=Symbol.for("v-scx"),I_=()=>jn(P_);function D_(e,t){return Ci(e,null,t)}function R_(e,t){return Ci(e,null,{flush:"post"})}function L_(e,t){return Ci(e,null,{flush:"sync"})}const Vi={};function zn(e,t,n){return Ci(e,t,n)}function Ci(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:a}=st){if(t&&s){const k=t;t=(...M)=>{k(...M),S()}}const l=Rt,u=k=>r===!0?k:io(k,r===!1?1:void 0);let d,m=!1,f=!1;if(Ft(e)?(d=()=>e.value,m=ri(e)):uo(e)?(d=()=>u(e),m=!0):ye(e)?(f=!0,m=e.some(k=>uo(k)||ri(k)),d=()=>e.map(k=>{if(Ft(k))return k.value;if(uo(k))return u(k);if(Pe(k))return _r(k,l,2)})):Pe(e)?t?d=()=>_r(e,l,2):d=()=>(p&&p(),bn(e,l,3,[h])):d=an,t&&r){const k=d;d=()=>io(k())}let p,h=k=>{p=v.onStop=()=>{_r(k,l,4),p=v.onStop=void 0}},_;if(ki)if(h=an,t?n&&bn(t,l,3,[d(),f?[]:void 0,h]):d(),o==="sync"){const k=I_();_=k.__watcherHandles||(k.__watcherHandles=[])}else return an;let b=f?new Array(e.length).fill(Vi):Vi;const z=()=>{if(!(!v.active||!v.dirty))if(t){const k=v.run();(r||m||(f?k.some((M,R)=>Bn(M,b[R])):Bn(k,b)))&&(p&&p(),bn(t,l,3,[k,b===Vi?void 0:f&&b[0]===Vi?[]:b,h]),b=k)}else v.run()};z.allowRecurse=!!t;let C;o==="sync"?C=z:o==="post"?C=()=>Ut(z,l&&l.suspense):(z.pre=!0,l&&(z.id=l.uid),C=()=>fl(z));const v=new ns(d,an,C),w=i_(),S=()=>{v.stop(),w&&Wu(w.effects,v)};return t?n?z():b=v.run():o==="post"?Ut(v.run.bind(v),l&&l.suspense):v.run(),_&&_.push(S),S}function $0(e,t,n){const r=this.proxy,o=bt(e)?e.includes(".")?N_(r,e):()=>r[e]:e.bind(r,r);let s;Pe(t)?s=t:(s=t.handler,n=t);const i=vo(this),a=Ci(o,s.bind(r),n);return i(),a}function N_(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function io(e,t,n=0,r){if(!ct(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Ft(e))io(e.value,t,n,r);else if(ye(e))for(let o=0;o<e.length;o++)io(e[o],t,n,r);else if(bo(e)||jo(e))e.forEach(o=>{io(o,t,n,r)});else if(t_(e))for(const o in e)io(e[o],t,n,r);return e}function ft(e,t){if(It===null)return e;const n=Cl(It)||It.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=st]=t[o];s&&(Pe(s)&&(s={mounted:s,updated:s}),s.deep&&io(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Xn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(zo(),bn(l,n,8,[e.el,a,e,t]),Co())}}const Ir=Symbol("_leaveCb"),Hi=Symbol("_enterCb");function fd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ps(()=>{e.isMounted=!0}),bl(()=>{e.isUnmounting=!0}),e}const wn=[Function,Array],pd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wn,onEnter:wn,onAfterEnter:wn,onEnterCancelled:wn,onBeforeLeave:wn,onLeave:wn,onAfterLeave:wn,onLeaveCancelled:wn,onBeforeAppear:wn,onAppear:wn,onAfterAppear:wn,onAppearCancelled:wn},T0={name:"BaseTransition",props:pd,setup(e,{slots:t}){const n=Rn(),r=fd();return()=>{const o=t.default&&gl(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const f of o)if(f.type!==Kt){s=f;break}}const i=Ze(e),{mode:a}=i;if(r.isLeaving)return ql(s);const l=Im(s);if(!l)return ql(s);const u=rs(l,i,r,n);go(l,u);const d=n.subTree,m=d&&Im(d);if(m&&m.type!==Kt&&!Hn(l,m)){const f=rs(m,i,r,n);if(go(m,f),a==="out-in")return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ql(s);a==="in-out"&&l.type!==Kt&&(f.delayLeave=(p,h,_)=>{const b=F_(r,m);b[String(m.key)]=m,p[Ir]=()=>{h(),p[Ir]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return s}}},M_=T0;function F_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function rs(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:m,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:b,onAfterAppear:z,onAppearCancelled:C}=t,v=String(e.key),w=F_(n,e),S=(R,O)=>{R&&bn(R,r,9,O)},k=(R,O)=>{const N=O[1];S(R,O),ye(R)?R.every(K=>K.length<=1)&&N():R.length<=1&&N()},M={mode:s,persisted:i,beforeEnter(R){let O=a;if(!n.isMounted)if(o)O=_||a;else return;R[Ir]&&R[Ir](!0);const N=w[v];N&&Hn(e,N)&&N.el[Ir]&&N.el[Ir](),S(O,[R])},enter(R){let O=l,N=u,K=d;if(!n.isMounted)if(o)O=b||l,N=z||u,K=C||d;else return;let U=!1;const j=R[Hi]=Q=>{U||(U=!0,Q?S(K,[R]):S(N,[R]),M.delayedLeave&&M.delayedLeave(),R[Hi]=void 0)};O?k(O,[R,j]):j()},leave(R,O){const N=String(e.key);if(R[Hi]&&R[Hi](!0),n.isUnmounting)return O();S(m,[R]);let K=!1;const U=R[Ir]=j=>{K||(K=!0,O(),j?S(h,[R]):S(p,[R]),R[Ir]=void 0,w[N]===e&&delete w[N])};w[N]=e,f?k(f,[R,U]):U()},clone(R){return rs(R,t,n,r)}};return M}function ql(e){if(wi(e))return e=sr(e),e.children=null,e}function Im(e){return wi(e)?e.children?e.children[0]:void 0:e}function go(e,t){e.shapeFlag&6&&e.component?go(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 gl(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===be?(i.patchFlag&128&&o++,r=r.concat(gl(i.children,t,a))):(t||i.type!==Kt)&&r.push(a!=null?sr(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function vr(e,t){return Pe(e)?vt({name:e.name},t,{setup:e}):e}const mo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function A0(e){Pe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,u,d=0;const m=()=>(d++,l=null,f()),f=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,b)=>{a(h,()=>_(m()),()=>b(h),d+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),u=h,h)))};return vr({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=Rt;if(u)return()=>Gl(u,p);const h=C=>{l=null,wo(C,p,13,!r)};if(i&&p.suspense||ki)return f().then(C=>()=>Gl(C,p)).catch(C=>(h(C),()=>r?y(r,{error:C}):null));const _=rr(!1),b=rr(),z=rr(!!o);return o&&setTimeout(()=>{z.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!b.value){const C=new Error(`Async component timed out after ${s}ms.`);h(C),b.value=C}},s),f().then(()=>{_.value=!0,p.parent&&wi(p.parent.vnode)&&(p.parent.effect.dirty=!0,fl(p.parent.update))}).catch(C=>{h(C),b.value=C}),()=>{if(_.value&&u)return Gl(u,p);if(b.value&&r)return y(r,{error:b.value});if(n&&!z.value)return y(n)}}})}function Gl(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=y(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const wi=e=>e.type.__isKeepAlive,O0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:m}}}=r,f=m("div");r.activate=(C,v,w,S,k)=>{const M=C.component;u(C,v,w,0,a),l(M.vnode,C,v,w,M,a,S,C.slotScopeIds,k),Ut(()=>{M.isDeactivated=!1,M.a&&Wo(M.a);const R=C.props&&C.props.onVnodeMounted;R&&rn(R,M.parent,C)},a)},r.deactivate=C=>{const v=C.component;u(C,f,null,1,a),Ut(()=>{v.da&&Wo(v.da);const w=C.props&&C.props.onVnodeUnmounted;w&&rn(w,v.parent,C),v.isDeactivated=!0},a)};function p(C){Kl(C),d(C,n,a,!0)}function h(C){o.forEach((v,w)=>{const S=nu(v.type);S&&(!C||!C(S))&&_(w)})}function _(C){const v=o.get(C);!i||!Hn(v,i)?p(v):i&&Kl(i),o.delete(C),s.delete(C)}zn(()=>[e.include,e.exclude],([C,v])=>{C&&h(w=>Ps(C,w)),v&&h(w=>!Ps(v,w))},{flush:"post",deep:!0});let b=null;const z=()=>{b!=null&&o.set(b,Zl(n.subTree))};return ps(z),vl(z),bl(()=>{o.forEach(C=>{const{subTree:v,suspense:w}=n,S=Zl(v);if(C.type===S.type&&C.key===S.key){Kl(S);const k=S.component.da;k&&Ut(k,w);return}p(C)})}),()=>{if(b=null,!t.default)return null;const C=t.default(),v=C[0];if(C.length>1)return i=null,C;if(!qr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let w=Zl(v);const S=w.type,k=nu(mo(w)?w.type.__asyncResolved||{}:S),{include:M,exclude:R,max:O}=e;if(M&&(!k||!Ps(M,k))||R&&k&&Ps(R,k))return i=w,v;const N=w.key==null?S:w.key,K=o.get(N);return w.el&&(w=sr(w),v.shapeFlag&128&&(v.ssContent=w)),b=N,K?(w.el=K.el,w.component=K.component,w.transition&&go(w,w.transition),w.shapeFlag|=512,s.delete(N),s.add(N)):(s.add(N),O&&s.size>parseInt(O,10)&&_(s.values().next().value)),w.shapeFlag|=256,i=w,A_(v.type)?v:w}}},P0=O0;function Ps(e,t){return ye(e)?e.some(n=>Ps(n,t)):bt(e)?e.split(",").includes(t):uz(e)?e.test(t):!1}function V_(e,t){U_(e,"a",t)}function H_(e,t){U_(e,"da",t)}function U_(e,t,n=Rt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(yl(t,r,n),n){let o=n.parent;for(;o&&o.parent;)wi(o.parent.vnode)&&I0(r,t,n,o),o=o.parent}}function I0(e,t,n,r){const o=yl(t,e,r,!0);xi(()=>{Wu(r[t],o)},n)}function Kl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Zl(e){return e.shapeFlag&128?e.ssContent:e}function yl(e,t,n=Rt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;zo();const a=vo(n),l=bn(t,n,e,i);return a(),Co(),l});return r?o.unshift(s):o.push(s),s}}const br=e=>(t,n=Rt)=>(!ki||e==="sp")&&yl(e,(...r)=>t(...r),n),j_=br("bm"),ps=br("m"),B_=br("bu"),vl=br("u"),bl=br("bum"),xi=br("um"),W_=br("sp"),q_=br("rtg"),G_=br("rtc");function K_(e,t=Rt){yl("ec",e,t)}function zt(e,t,n,r){let o;const s=n&&n[r];if(ye(e)||bt(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(ct(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const u=i[a];o[a]=t(e[u],u,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function hd(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ye(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function yt(e,t,n={},r,o){if(It.isCE||It.parent&&mo(It.parent)&&It.parent.isCE)return t!=="default"&&(n.name=t),y("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),x();const i=s&&Z_(s(n)),a=Ce(be,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Z_(e){return e.some(t=>qr(t)?!(t.type===Kt||t.type===be&&!Z_(t.children)):!0)?e:null}function D0(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Fs(r)]=e[r];return n}const Wc=e=>e?hg(e)?Cl(e)||e.proxy:Wc(e.parent):null,Vs=vt(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=>Wc(e.parent),$root:e=>Wc(e.root),$emit:e=>e.emit,$options:e=>_d(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,fl(e.update)}),$nextTick:e=>e.n||(e.n=fs.bind(e.proxy)),$watch:e=>$0.bind(e)}),Yl=(e,t)=>e!==st&&!e.__isScriptSetup&&et(e,t),qc={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Yl(r,t))return i[t]=1,r[t];if(o!==st&&et(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&et(u,t))return i[t]=3,s[t];if(n!==st&&et(n,t))return i[t]=4,n[t];Gc&&(i[t]=0)}}const d=Vs[t];let m,f;if(d)return t==="$attrs"&&cn(e,"get",t),d(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==st&&et(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,et(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Yl(o,t)?(o[t]=n,!0):r!==st&&et(r,t)?(r[t]=n,!0):et(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==st&&et(e,i)||Yl(t,i)||(a=s[0])&&et(a,i)||et(r,i)||et(Vs,i)||et(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:et(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},R0=vt({},qc,{get(e,t){if(t!==Symbol.unscopables)return qc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!hz(t)}});function L0(){return null}function N0(){return null}function M0(e){}function F0(e){}function V0(){return null}function H0(){}function U0(e,t){return null}function j0(){return Y_().slots}function B0(){return Y_().attrs}function Y_(){const e=Rn();return e.setupContext||(e.setupContext=yg(e))}function ci(e){return ye(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function W0(e,t){const n=ci(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?ye(o)||Pe(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function q0(e,t){return!e||!t?e||t:ye(e)&&ye(t)?e.concat(t):vt({},ci(e),ci(t))}function G0(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function K0(e){const t=Rn();let n=e();return Qc(),qu(n)&&(n=n.catch(r=>{throw vo(t),r})),[n,()=>vo(t)]}let Gc=!0;function Z0(e){const t=_d(e),n=e.proxy,r=e.ctx;Gc=!1,t.beforeCreate&&Dm(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:d,beforeMount:m,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:b,beforeDestroy:z,beforeUnmount:C,destroyed:v,unmounted:w,render:S,renderTracked:k,renderTriggered:M,errorCaptured:R,serverPrefetch:O,expose:N,inheritAttrs:K,components:U,directives:j,filters:Q}=t;if(u&&Y0(u,r,null),i)for(const re in i){const oe=i[re];Pe(oe)&&(r[re]=oe.bind(n))}if(o){const re=o.call(n,n);ct(re)&&(e.data=ms(re))}if(Gc=!0,s)for(const re in s){const oe=s[re],je=Pe(oe)?oe.bind(n,n):Pe(oe.get)?oe.get.bind(n,n):an,it=!Pe(oe)&&Pe(oe.set)?oe.set.bind(n):an,Ve=Mt({get:je,set:it});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:He=>Ve.value=He})}if(a)for(const re in a)J_(a[re],r,n,re);if(l){const re=Pe(l)?l.call(n):l;Reflect.ownKeys(re).forEach(oe=>{Hs(oe,re[oe])})}d&&Dm(d,e,"c");function W(re,oe){ye(oe)?oe.forEach(je=>re(je.bind(n))):oe&&re(oe.bind(n))}if(W(j_,m),W(ps,f),W(B_,p),W(vl,h),W(V_,_),W(H_,b),W(K_,R),W(G_,k),W(q_,M),W(bl,C),W(xi,w),W(W_,O),ye(N))if(N.length){const re=e.exposed||(e.exposed={});N.forEach(oe=>{Object.defineProperty(re,oe,{get:()=>n[oe],set:je=>n[oe]=je})})}else e.exposed||(e.exposed={});S&&e.render===an&&(e.render=S),K!=null&&(e.inheritAttrs=K),U&&(e.components=U),j&&(e.directives=j)}function Y0(e,t,n=an){ye(e)&&(e=Kc(e));for(const r in e){const o=e[r];let s;ct(o)?"default"in o?s=jn(o.from||r,o.default,!0):s=jn(o.from||r):s=jn(o),Ft(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Dm(e,t,n){bn(ye(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function J_(e,t,n,r){const o=r.includes(".")?N_(n,r):()=>n[r];if(bt(e)){const s=t[e];Pe(s)&&zn(o,s)}else if(Pe(e))zn(o,e.bind(n));else if(ct(e))if(ye(e))e.forEach(s=>J_(s,t,n,r));else{const s=Pe(e.handler)?e.handler.bind(n):t[e.handler];Pe(s)&&zn(o,s,e)}}function _d(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>Pa(l,u,i,!0)),Pa(l,t,i)),ct(t)&&s.set(t,l),l}function Pa(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Pa(e,s,n,!0),o&&o.forEach(i=>Pa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=J0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const J0={data:Rm,props:Lm,emits:Lm,methods:Is,computed:Is,beforeCreate:Zt,created:Zt,beforeMount:Zt,mounted:Zt,beforeUpdate:Zt,updated:Zt,beforeDestroy:Zt,beforeUnmount:Zt,destroyed:Zt,unmounted:Zt,activated:Zt,deactivated:Zt,errorCaptured:Zt,serverPrefetch:Zt,components:Is,directives:Is,watch:Q0,provide:Rm,inject:X0};function Rm(e,t){return t?e?function(){return vt(Pe(e)?e.call(this,this):e,Pe(t)?t.call(this,this):t)}:t:e}function X0(e,t){return Is(Kc(e),Kc(t))}function Kc(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Zt(e,t){return e?[...new Set([].concat(e,t))]:t}function Is(e,t){return e?vt(Object.create(null),e,t):t}function Lm(e,t){return e?ye(e)&&ye(t)?[...new Set([...e,...t])]:vt(Object.create(null),ci(e),ci(t??{})):t}function Q0(e,t){if(!e)return t;if(!t)return e;const n=vt(Object.create(null),e);for(const r in t)n[r]=Zt(e[r],t[r]);return n}function X_(){return{app:null,config:{isNativeTag:lz,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 eC=0;function tC(e,t){return function(r,o=null){Pe(r)||(r=vt({},r)),o!=null&&!ct(o)&&(o=null);const s=X_(),i=new WeakSet;let a=!1;const l=s.app={_uid:eC++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:bg,get config(){return s.config},set config(u){},use(u,...d){return i.has(u)||(u&&Pe(u.install)?(i.add(u),u.install(l,...d)):Pe(u)&&(i.add(u),u(l,...d))),l},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),l},component(u,d){return d?(s.components[u]=d,l):s.components[u]},directive(u,d){return d?(s.directives[u]=d,l):s.directives[u]},mount(u,d,m){if(!a){const f=y(r,o);return f.appContext=s,m===!0?m="svg":m===!1&&(m=void 0),d&&t?t(f,u):e(f,u,m),a=!0,l._container=u,u.__vue_app__=l,Cl(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,d){return s.provides[u]=d,l},runWithContext(u){const d=Zo;Zo=l;try{return u()}finally{Zo=d}}};return l}}let Zo=null;function Hs(e,t){if(Rt){let n=Rt.provides;const r=Rt.parent&&Rt.parent.provides;r===n&&(n=Rt.provides=Object.create(r)),n[e]=t}}function jn(e,t,n=!1){const r=Rt||It;if(r||Zo){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Zo._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Pe(t)?t.call(r&&r.proxy):t}}function nC(){return!!(Rt||It||Zo)}function rC(e,t,n,r=!1){const o={},s={};Ea(s,zl,1),e.propsDefaults=Object.create(null),Q_(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Qu(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function oC(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ze(o),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let m=0;m<d.length;m++){let f=d[m];if(pl(e.emitsOptions,f))continue;const p=t[f];if(l)if(et(s,f))p!==s[f]&&(s[f]=p,u=!0);else{const h=Xt(f);o[h]=Zc(l,a,h,p,e,!1)}else p!==s[f]&&(s[f]=p,u=!0)}}}else{Q_(e,t,o,s)&&(u=!0);let d;for(const m in a)(!t||!et(t,m)&&((d=gn(m))===m||!et(t,d)))&&(l?n&&(n[m]!==void 0||n[d]!==void 0)&&(o[m]=Zc(l,a,m,void 0,e,!0)):delete o[m]);if(s!==a)for(const m in s)(!t||!et(t,m))&&(delete s[m],u=!0)}u&&hr(e,"set","$attrs")}function Q_(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Bo(l))continue;const u=t[l];let d;o&&et(o,d=Xt(l))?!s||!s.includes(d)?n[d]=u:(a||(a={}))[d]=u:pl(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(s){const l=Ze(n),u=a||st;for(let d=0;d<s.length;d++){const m=s[d];n[m]=Zc(o,l,m,u[m],e,!et(u,m))}}return i}function Zc(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=et(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Pe(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const d=vo(o);r=u[n]=l.call(null,t),d()}}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===gn(n))&&(r=!0))}return r}function eg(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!Pe(e)){const d=m=>{l=!0;const[f,p]=eg(m,t,!0);vt(i,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!s&&!l)return ct(e)&&r.set(e,Uo),Uo;if(ye(s))for(let d=0;d<s.length;d++){const m=Xt(s[d]);Nm(m)&&(i[m]=st)}else if(s)for(const d in s){const m=Xt(d);if(Nm(m)){const f=s[d],p=i[m]=ye(f)||Pe(f)?{type:f}:vt({},f);if(p){const h=Vm(Boolean,p.type),_=Vm(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||et(p,"default"))&&a.push(m)}}}const u=[i,a];return ct(e)&&r.set(e,u),u}function Nm(e){return e[0]!=="$"&&!Bo(e)}function Mm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Fm(e,t){return Mm(e)===Mm(t)}function Vm(e,t){return ye(t)?t.findIndex(n=>Fm(n,e)):Pe(t)&&Fm(t,e)?0:-1}const tg=e=>e[0]==="_"||e==="$stable",gd=e=>ye(e)?e.map(_n):[_n(e)],sC=(e,t,n)=>{if(t._n)return t;const r=P((...o)=>gd(t(...o)),n);return r._c=!1,r},ng=(e,t,n)=>{const r=e._ctx;for(const o in e){if(tg(o))continue;const s=e[o];if(Pe(s))t[o]=sC(o,s,r);else if(s!=null){const i=gd(s);t[o]=()=>i}}},rg=(e,t)=>{const n=gd(t);e.slots.default=()=>n},iC=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ze(t),Ea(t,"_",n)):ng(t,e.slots={})}else e.slots={},t&&rg(e,t);Ea(e.slots,zl,1)},aC=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=st;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(vt(o,t),!n&&a===1&&delete o._):(s=!t.$stable,ng(t,o)),i=t}else t&&(rg(e,t),i={default:1});if(s)for(const a in o)!tg(a)&&i[a]==null&&delete o[a]};function Ia(e,t,n,r,o=!1){if(ye(e)){e.forEach((f,p)=>Ia(f,t&&(ye(t)?t[p]:t),n,r,o));return}if(mo(r)&&!o)return;const s=r.shapeFlag&4?Cl(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,d=a.refs===st?a.refs={}:a.refs,m=a.setupState;if(u!=null&&u!==l&&(bt(u)?(d[u]=null,et(m,u)&&(m[u]=null)):Ft(u)&&(u.value=null)),Pe(l))_r(l,a,12,[i,d]);else{const f=bt(l),p=Ft(l);if(f||p){const h=()=>{if(e.f){const _=f?et(m,l)?m[l]:d[l]:l.value;o?ye(_)&&Wu(_,s):ye(_)?_.includes(s)||_.push(s):f?(d[l]=[s],et(m,l)&&(m[l]=d[l])):(l.value=[s],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,et(m,l)&&(m[l]=i)):p&&(l.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,Ut(h,n)):h()}}}let kr=!1;const lC=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",cC=e=>e.namespaceURI.includes("MathML"),Ui=e=>{if(lC(e))return"svg";if(cC(e))return"mathml"},ji=e=>e.nodeType===8;function uC(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,d=(v,w)=>{if(!w.hasChildNodes()){n(null,v,w),Oa(),w._vnode=v;return}kr=!1,m(w.firstChild,v,null,null,null),Oa(),w._vnode=v,kr&&console.error("Hydration completed but contains mismatches.")},m=(v,w,S,k,M,R=!1)=>{const O=ji(v)&&v.data==="[",N=()=>_(v,w,S,k,M,O),{type:K,ref:U,shapeFlag:j,patchFlag:Q}=w;let pe=v.nodeType;w.el=v,Q===-2&&(R=!1,w.dynamicChildren=null);let W=null;switch(K){case Wr:pe!==3?w.children===""?(l(w.el=o(""),i(v),v),W=v):W=N():(v.data!==w.children&&(kr=!0,v.data=w.children),W=s(v));break;case Kt:C(v)?(W=s(v),z(w.el=v.content.firstChild,v,S)):pe!==8||O?W=N():W=s(v);break;case fo:if(O&&(v=s(v),pe=v.nodeType),pe===1||pe===3){W=v;const re=!w.children.length;for(let oe=0;oe<w.staticCount;oe++)re&&(w.children+=W.nodeType===1?W.outerHTML:W.data),oe===w.staticCount-1&&(w.anchor=W),W=s(W);return O?s(W):W}else N();break;case be:O?W=h(v,w,S,k,M,R):W=N();break;default:if(j&1)(pe!==1||w.type.toLowerCase()!==v.tagName.toLowerCase())&&!C(v)?W=N():W=f(v,w,S,k,M,R);else if(j&6){w.slotScopeIds=M;const re=i(v);if(O?W=b(v):ji(v)&&v.data==="teleport start"?W=b(v,v.data,"teleport end"):W=s(v),t(w,re,null,S,k,Ui(re),R),mo(w)){let oe;O?(oe=y(be),oe.anchor=W?W.previousSibling:re.lastChild):oe=v.nodeType===3?wt(""):y("div"),oe.el=v,w.component.subTree=oe}}else j&64?pe!==8?W=N():W=w.type.hydrate(v,w,S,k,M,R,e,p):j&128&&(W=w.type.hydrate(v,w,S,k,Ui(i(v)),M,R,e,m))}return U!=null&&Ia(U,null,k,w),W},f=(v,w,S,k,M,R)=>{R=R||!!w.dynamicChildren;const{type:O,props:N,patchFlag:K,shapeFlag:U,dirs:j,transition:Q}=w,pe=O==="input"||O==="option";if(pe||K!==-1){j&&Xn(w,null,S,"created");let W=!1;if(C(v)){W=ag(k,Q)&&S&&S.vnode.props&&S.vnode.props.appear;const oe=v.content.firstChild;W&&Q.beforeEnter(oe),z(oe,v,S),w.el=v=oe}if(U&16&&!(N&&(N.innerHTML||N.textContent))){let oe=p(v.firstChild,w,v,S,k,M,R);for(;oe;){kr=!0;const je=oe;oe=oe.nextSibling,a(je)}}else U&8&&v.textContent!==w.children&&(kr=!0,v.textContent=w.children);if(N)if(pe||!R||K&48)for(const oe in N)(pe&&(oe.endsWith("value")||oe==="indeterminate")||bi(oe)&&!Bo(oe)||oe[0]===".")&&r(v,oe,null,N[oe],void 0,void 0,S);else N.onClick&&r(v,"onClick",null,N.onClick,void 0,void 0,S);let re;(re=N&&N.onVnodeBeforeMount)&&rn(re,S,w),j&&Xn(w,null,S,"beforeMount"),((re=N&&N.onVnodeMounted)||j||W)&&O_(()=>{re&&rn(re,S,w),W&&Q.enter(v),j&&Xn(w,null,S,"mounted")},k)}return v.nextSibling},p=(v,w,S,k,M,R,O)=>{O=O||!!w.dynamicChildren;const N=w.children,K=N.length;for(let U=0;U<K;U++){const j=O?N[U]:N[U]=_n(N[U]);if(v)v=m(v,j,k,M,R,O);else{if(j.type===Wr&&!j.children)continue;kr=!0,n(null,j,S,null,k,M,Ui(S),R)}}return v},h=(v,w,S,k,M,R)=>{const{slotScopeIds:O}=w;O&&(M=M?M.concat(O):O);const N=i(v),K=p(s(v),w,N,S,k,M,R);return K&&ji(K)&&K.data==="]"?s(w.anchor=K):(kr=!0,l(w.anchor=u("]"),N,K),K)},_=(v,w,S,k,M,R)=>{if(kr=!0,w.el=null,R){const K=b(v);for(;;){const U=s(v);if(U&&U!==K)a(U);else break}}const O=s(v),N=i(v);return a(v),n(null,w,N,O,S,k,Ui(N),M),O},b=(v,w="[",S="]")=>{let k=0;for(;v;)if(v=s(v),v&&ji(v)&&(v.data===w&&k++,v.data===S)){if(k===0)return s(v);k--}return v},z=(v,w,S)=>{const k=w.parentNode;k&&k.replaceChild(v,w);let M=S;for(;M;)M.vnode.el===w&&(M.vnode.el=M.subTree.el=v),M=M.parent},C=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[d,m]}const Ut=O_;function og(e){return ig(e)}function sg(e){return ig(e,uC)}function ig(e,t){const n=n_();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:d,parentNode:m,nextSibling:f,setScopeId:p=an,insertStaticContent:h}=e,_=(E,A,V,Y=null,G=null,ie=null,me=void 0,te=null,le=!!A.dynamicChildren)=>{if(E===A)return;E&&!Hn(E,A)&&(Y=B(E),He(E,G,ie,!0),E=null),A.patchFlag===-2&&(le=!1,A.dynamicChildren=null);const{type:ee,ref:he,shapeFlag:ke}=A;switch(ee){case Wr:b(E,A,V,Y);break;case Kt:z(E,A,V,Y);break;case fo:E==null&&C(A,V,Y,me);break;case be:U(E,A,V,Y,G,ie,me,te,le);break;default:ke&1?S(E,A,V,Y,G,ie,me,te,le):ke&6?j(E,A,V,Y,G,ie,me,te,le):(ke&64||ke&128)&&ee.process(E,A,V,Y,G,ie,me,te,le,_e)}he!=null&&G&&Ia(he,E&&E.ref,ie,A||E,!A)},b=(E,A,V,Y)=>{if(E==null)r(A.el=a(A.children),V,Y);else{const G=A.el=E.el;A.children!==E.children&&u(G,A.children)}},z=(E,A,V,Y)=>{E==null?r(A.el=l(A.children||""),V,Y):A.el=E.el},C=(E,A,V,Y)=>{[E.el,E.anchor]=h(E.children,A,V,Y,E.el,E.anchor)},v=({el:E,anchor:A},V,Y)=>{let G;for(;E&&E!==A;)G=f(E),r(E,V,Y),E=G;r(A,V,Y)},w=({el:E,anchor:A})=>{let V;for(;E&&E!==A;)V=f(E),o(E),E=V;o(A)},S=(E,A,V,Y,G,ie,me,te,le)=>{A.type==="svg"?me="svg":A.type==="math"&&(me="mathml"),E==null?k(A,V,Y,G,ie,me,te,le):O(E,A,G,ie,me,te,le)},k=(E,A,V,Y,G,ie,me,te)=>{let le,ee;const{props:he,shapeFlag:ke,transition:de,dirs:L}=E;if(le=E.el=i(E.type,ie,he&&he.is,he),ke&8?d(le,E.children):ke&16&&R(E.children,le,null,Y,G,Jl(E,ie),me,te),L&&Xn(E,null,Y,"created"),M(le,E,E.scopeId,me,Y),he){for(const ve in he)ve!=="value"&&!Bo(ve)&&s(le,ve,null,he[ve],ie,E.children,Y,G,Me);"value"in he&&s(le,"value",null,he.value,ie),(ee=he.onVnodeBeforeMount)&&rn(ee,Y,E)}L&&Xn(E,null,Y,"beforeMount");const q=ag(G,de);q&&de.beforeEnter(le),r(le,A,V),((ee=he&&he.onVnodeMounted)||q||L)&&Ut(()=>{ee&&rn(ee,Y,E),q&&de.enter(le),L&&Xn(E,null,Y,"mounted")},G)},M=(E,A,V,Y,G)=>{if(V&&p(E,V),Y)for(let ie=0;ie<Y.length;ie++)p(E,Y[ie]);if(G){let ie=G.subTree;if(A===ie){const me=G.vnode;M(E,me,me.scopeId,me.slotScopeIds,G.parent)}}},R=(E,A,V,Y,G,ie,me,te,le=0)=>{for(let ee=le;ee<E.length;ee++){const he=E[ee]=te?Dr(E[ee]):_n(E[ee]);_(null,he,A,V,Y,G,ie,me,te)}},O=(E,A,V,Y,G,ie,me)=>{const te=A.el=E.el;let{patchFlag:le,dynamicChildren:ee,dirs:he}=A;le|=E.patchFlag&16;const ke=E.props||st,de=A.props||st;let L;if(V&&Xr(V,!1),(L=de.onVnodeBeforeUpdate)&&rn(L,V,A,E),he&&Xn(A,E,V,"beforeUpdate"),V&&Xr(V,!0),ee?N(E.dynamicChildren,ee,te,V,Y,Jl(A,G),ie):me||oe(E,A,te,null,V,Y,Jl(A,G),ie,!1),le>0){if(le&16)K(te,A,ke,de,V,Y,G);else if(le&2&&ke.class!==de.class&&s(te,"class",null,de.class,G),le&4&&s(te,"style",ke.style,de.style,G),le&8){const q=A.dynamicProps;for(let ve=0;ve<q.length;ve++){const I=q[ve],D=ke[I],H=de[I];(H!==D||I==="value")&&s(te,I,D,H,G,E.children,V,Y,Me)}}le&1&&E.children!==A.children&&d(te,A.children)}else!me&&ee==null&&K(te,A,ke,de,V,Y,G);((L=de.onVnodeUpdated)||he)&&Ut(()=>{L&&rn(L,V,A,E),he&&Xn(A,E,V,"updated")},Y)},N=(E,A,V,Y,G,ie,me)=>{for(let te=0;te<A.length;te++){const le=E[te],ee=A[te],he=le.el&&(le.type===be||!Hn(le,ee)||le.shapeFlag&70)?m(le.el):V;_(le,ee,he,null,Y,G,ie,me,!0)}},K=(E,A,V,Y,G,ie,me)=>{if(V!==Y){if(V!==st)for(const te in V)!Bo(te)&&!(te in Y)&&s(E,te,V[te],null,me,A.children,G,ie,Me);for(const te in Y){if(Bo(te))continue;const le=Y[te],ee=V[te];le!==ee&&te!=="value"&&s(E,te,ee,le,me,A.children,G,ie,Me)}"value"in Y&&s(E,"value",V.value,Y.value,me)}},U=(E,A,V,Y,G,ie,me,te,le)=>{const ee=A.el=E?E.el:a(""),he=A.anchor=E?E.anchor:a("");let{patchFlag:ke,dynamicChildren:de,slotScopeIds:L}=A;L&&(te=te?te.concat(L):L),E==null?(r(ee,V,Y),r(he,V,Y),R(A.children||[],V,he,G,ie,me,te,le)):ke>0&&ke&64&&de&&E.dynamicChildren?(N(E.dynamicChildren,de,V,G,ie,me,te),(A.key!=null||G&&A===G.subTree)&&yd(E,A,!0)):oe(E,A,V,he,G,ie,me,te,le)},j=(E,A,V,Y,G,ie,me,te,le)=>{A.slotScopeIds=te,E==null?A.shapeFlag&512?G.ctx.activate(A,V,Y,me,le):Q(A,V,Y,G,ie,me,le):pe(E,A,le)},Q=(E,A,V,Y,G,ie,me)=>{const te=E.component=pg(E,Y,G);if(wi(E)&&(te.ctx.renderer=_e),_g(te),te.asyncDep){if(G&&G.registerDep(te,W),!E.el){const le=te.subTree=y(Kt);z(null,le,A,V)}}else W(te,E,A,V,G,ie,me)},pe=(E,A,V)=>{const Y=A.component=E.component;if(v0(E,A,V))if(Y.asyncDep&&!Y.asyncResolved){re(Y,A,V);return}else Y.next=A,u0(Y.update),Y.effect.dirty=!0,Y.update();else A.el=E.el,Y.vnode=A},W=(E,A,V,Y,G,ie,me)=>{const te=()=>{if(E.isMounted){let{next:he,bu:ke,u:de,parent:L,vnode:q}=E;{const X=lg(E);if(X){he&&(he.el=q.el,re(E,he,me)),X.asyncDep.then(()=>{E.isUnmounted||te()});return}}let ve=he,I;Xr(E,!1),he?(he.el=q.el,re(E,he,me)):he=q,ke&&Wo(ke),(I=he.props&&he.props.onVnodeBeforeUpdate)&&rn(I,L,he,q),Xr(E,!0);const D=ma(E),H=E.subTree;E.subTree=D,_(H,D,m(H.el),B(H),E,G,ie),he.el=D.el,ve===null&&ld(E,D.el),de&&Ut(de,G),(I=he.props&&he.props.onVnodeUpdated)&&Ut(()=>rn(I,L,he,q),G)}else{let he;const{el:ke,props:de}=A,{bm:L,m:q,parent:ve}=E,I=mo(A);if(Xr(E,!1),L&&Wo(L),!I&&(he=de&&de.onVnodeBeforeMount)&&rn(he,ve,A),Xr(E,!0),ke&&Ge){const D=()=>{E.subTree=ma(E),Ge(ke,E.subTree,E,G,null)};I?A.type.__asyncLoader().then(()=>!E.isUnmounted&&D()):D()}else{const D=E.subTree=ma(E);_(null,D,V,Y,E,G,ie),A.el=D.el}if(q&&Ut(q,G),!I&&(he=de&&de.onVnodeMounted)){const D=A;Ut(()=>rn(he,ve,D),G)}(A.shapeFlag&256||ve&&mo(ve.vnode)&&ve.vnode.shapeFlag&256)&&E.a&&Ut(E.a,G),E.isMounted=!0,A=V=Y=null}},le=E.effect=new ns(te,an,()=>fl(ee),E.scope),ee=E.update=()=>{le.dirty&&le.run()};ee.id=E.uid,Xr(E,!0),ee()},re=(E,A,V)=>{A.component=E;const Y=E.vnode.props;E.vnode=A,E.next=null,oC(E,A.props,Y,V),aC(E,A.children,V),zo(),Tm(E),Co()},oe=(E,A,V,Y,G,ie,me,te,le=!1)=>{const ee=E&&E.children,he=E?E.shapeFlag:0,ke=A.children,{patchFlag:de,shapeFlag:L}=A;if(de>0){if(de&128){it(ee,ke,V,Y,G,ie,me,te,le);return}else if(de&256){je(ee,ke,V,Y,G,ie,me,te,le);return}}L&8?(he&16&&Me(ee,G,ie),ke!==ee&&d(V,ke)):he&16?L&16?it(ee,ke,V,Y,G,ie,me,te,le):Me(ee,G,ie,!0):(he&8&&d(V,""),L&16&&R(ke,V,Y,G,ie,me,te,le))},je=(E,A,V,Y,G,ie,me,te,le)=>{E=E||Uo,A=A||Uo;const ee=E.length,he=A.length,ke=Math.min(ee,he);let de;for(de=0;de<ke;de++){const L=A[de]=le?Dr(A[de]):_n(A[de]);_(E[de],L,V,null,G,ie,me,te,le)}ee>he?Me(E,G,ie,!0,!1,ke):R(A,V,Y,G,ie,me,te,le,ke)},it=(E,A,V,Y,G,ie,me,te,le)=>{let ee=0;const he=A.length;let ke=E.length-1,de=he-1;for(;ee<=ke&&ee<=de;){const L=E[ee],q=A[ee]=le?Dr(A[ee]):_n(A[ee]);if(Hn(L,q))_(L,q,V,null,G,ie,me,te,le);else break;ee++}for(;ee<=ke&&ee<=de;){const L=E[ke],q=A[de]=le?Dr(A[de]):_n(A[de]);if(Hn(L,q))_(L,q,V,null,G,ie,me,te,le);else break;ke--,de--}if(ee>ke){if(ee<=de){const L=de+1,q=L<he?A[L].el:Y;for(;ee<=de;)_(null,A[ee]=le?Dr(A[ee]):_n(A[ee]),V,q,G,ie,me,te,le),ee++}}else if(ee>de)for(;ee<=ke;)He(E[ee],G,ie,!0),ee++;else{const L=ee,q=ee,ve=new Map;for(ee=q;ee<=de;ee++){const De=A[ee]=le?Dr(A[ee]):_n(A[ee]);De.key!=null&&ve.set(De.key,ee)}let I,D=0;const H=de-q+1;let X=!1,ge=0;const $e=new Array(H);for(ee=0;ee<H;ee++)$e[ee]=0;for(ee=L;ee<=ke;ee++){const De=E[ee];if(D>=H){He(De,G,ie,!0);continue}let tt;if(De.key!=null)tt=ve.get(De.key);else for(I=q;I<=de;I++)if($e[I-q]===0&&Hn(De,A[I])){tt=I;break}tt===void 0?He(De,G,ie,!0):($e[tt-q]=ee+1,tt>=ge?ge=tt:X=!0,_(De,A[tt],V,null,G,ie,me,te,le),D++)}const Re=X?dC($e):Uo;for(I=Re.length-1,ee=H-1;ee>=0;ee--){const De=q+ee,tt=A[De],Ae=De+1<he?A[De+1].el:Y;$e[ee]===0?_(null,tt,V,Ae,G,ie,me,te,le):X&&(I<0||ee!==Re[I]?Ve(tt,V,Ae,2):I--)}}},Ve=(E,A,V,Y,G=null)=>{const{el:ie,type:me,transition:te,children:le,shapeFlag:ee}=E;if(ee&6){Ve(E.component.subTree,A,V,Y);return}if(ee&128){E.suspense.move(A,V,Y);return}if(ee&64){me.move(E,A,V,_e);return}if(me===be){r(ie,A,V);for(let ke=0;ke<le.length;ke++)Ve(le[ke],A,V,Y);r(E.anchor,A,V);return}if(me===fo){v(E,A,V);return}if(Y!==2&&ee&1&&te)if(Y===0)te.beforeEnter(ie),r(ie,A,V),Ut(()=>te.enter(ie),G);else{const{leave:ke,delayLeave:de,afterLeave:L}=te,q=()=>r(ie,A,V),ve=()=>{ke(ie,()=>{q(),L&&L()})};de?de(ie,q,ve):ve()}else r(ie,A,V)},He=(E,A,V,Y=!1,G=!1)=>{const{type:ie,props:me,ref:te,children:le,dynamicChildren:ee,shapeFlag:he,patchFlag:ke,dirs:de}=E;if(te!=null&&Ia(te,null,V,E,!0),he&256){A.ctx.deactivate(E);return}const L=he&1&&de,q=!mo(E);let ve;if(q&&(ve=me&&me.onVnodeBeforeUnmount)&&rn(ve,A,E),he&6)dt(E.component,V,Y);else{if(he&128){E.suspense.unmount(V,Y);return}L&&Xn(E,null,A,"beforeUnmount"),he&64?E.type.remove(E,A,V,G,_e,Y):ee&&(ie!==be||ke>0&&ke&64)?Me(ee,A,V,!1,!0):(ie===be&&ke&384||!G&&he&16)&&Me(le,A,V),Y&&at(E)}(q&&(ve=me&&me.onVnodeUnmounted)||L)&&Ut(()=>{ve&&rn(ve,A,E),L&&Xn(E,null,A,"unmounted")},V)},at=E=>{const{type:A,el:V,anchor:Y,transition:G}=E;if(A===be){ut(V,Y);return}if(A===fo){w(E);return}const ie=()=>{o(V),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(E.shapeFlag&1&&G&&!G.persisted){const{leave:me,delayLeave:te}=G,le=()=>me(V,ie);te?te(E.el,ie,le):le()}else ie()},ut=(E,A)=>{let V;for(;E!==A;)V=f(E),o(E),E=V;o(A)},dt=(E,A,V)=>{const{bum:Y,scope:G,update:ie,subTree:me,um:te}=E;Y&&Wo(Y),G.stop(),ie&&(ie.active=!1,He(me,E,A,V)),te&&Ut(te,A),Ut(()=>{E.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},Me=(E,A,V,Y=!1,G=!1,ie=0)=>{for(let me=ie;me<E.length;me++)He(E[me],A,V,Y,G)},B=E=>E.shapeFlag&6?B(E.component.subTree):E.shapeFlag&128?E.suspense.next():f(E.anchor||E.el);let ce=!1;const se=(E,A,V)=>{E==null?A._vnode&&He(A._vnode,null,null,!0):_(A._vnode||null,E,A,null,null,null,V),ce||(ce=!0,Tm(),Oa(),ce=!1),A._vnode=E},_e={p:_,um:He,m:Ve,r:at,mt:Q,mc:R,pc:oe,pbc:N,n:B,o:e};let Ue,Ge;return t&&([Ue,Ge]=t(_e)),{render:se,hydrate:Ue,createApp:tC(se,Ue)}}function Jl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Xr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ag(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yd(e,t,n=!1){const r=e.children,o=t.children;if(ye(r)&&ye(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Dr(o[s]),a.el=i.el),n||yd(i,a)),a.type===Wr&&(a.el=i.el)}}function dC(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<u?s=a+1:i=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function lg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:lg(t)}const mC=e=>e.__isTeleport,Us=e=>e&&(e.disabled||e.disabled===""),Hm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Um=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Yc=(e,t)=>{const n=e&&e.to;return bt(n)?t?t(n):null:n},fC={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:d,pc:m,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:b}}=u,z=Us(t.props);let{shapeFlag:C,children:v,dynamicChildren:w}=t;if(e==null){const S=t.el=_(""),k=t.anchor=_("");p(S,n,r),p(k,n,r);const M=t.target=Yc(t.props,h),R=t.targetAnchor=_("");M&&(p(R,M),i==="svg"||Hm(M)?i="svg":(i==="mathml"||Um(M))&&(i="mathml"));const O=(N,K)=>{C&16&&d(v,N,K,o,s,i,a,l)};z?O(n,k):M&&O(M,R)}else{t.el=e.el;const S=t.anchor=e.anchor,k=t.target=e.target,M=t.targetAnchor=e.targetAnchor,R=Us(e.props),O=R?n:k,N=R?S:M;if(i==="svg"||Hm(k)?i="svg":(i==="mathml"||Um(k))&&(i="mathml"),w?(f(e.dynamicChildren,w,O,o,s,i,a),yd(e,t,!0)):l||m(e,t,O,N,o,s,i,a,!1),z)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Bi(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=Yc(t.props,h);K&&Bi(t,K,null,u,0)}else R&&Bi(t,k,M,u,1)}cg(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:u,targetAnchor:d,target:m,props:f}=e;if(m&&s(d),i&&s(u),a&16){const p=i||!Us(f);for(let h=0;h<l.length;h++){const _=l[h];o(_,t,n,p,!!_.dynamicChildren)}}},move:Bi,hydrate:pC};function Bi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:d}=e,m=s===2;if(m&&r(i,t,n),(!m||Us(d))&&l&16)for(let f=0;f<u.length;f++)o(u[f],t,n,2);m&&r(a,t,n)}function pC(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l}},u){const d=t.target=Yc(t.props,l);if(d){const m=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Us(t.props))t.anchor=u(i(e),t,a(e),n,r,o,s),t.targetAnchor=m;else{t.anchor=i(e);let f=m;for(;f;)if(f=i(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}u(m,t,d,n,r,o,s)}cg(t)}return t.anchor&&i(t.anchor)}const Dn=fC;function cg(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const be=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),fo=Symbol.for("v-stc"),js=[];let ln=null;function x(e=!1){js.push(ln=e?null:[])}function ug(){js.pop(),ln=js[js.length-1]||null}let yo=1;function Jc(e){yo+=e}function dg(e){return e.dynamicChildren=yo>0?ln||Uo:null,ug(),yo>0&&ln&&ln.push(e),e}function T(e,t,n,r,o,s){return dg(c(e,t,n,r,o,s,!0))}function Ce(e,t,n,r,o){return dg(y(e,t,n,r,o,!0))}function qr(e){return e?e.__v_isVNode===!0:!1}function Hn(e,t){return e.type===t.type&&e.key===t.key}function hC(e){}const zl="__vInternal",mg=({key:e})=>e??null,fa=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?bt(e)||Ft(e)||Pe(e)?{i:It,r:e,k:t,f:!!n}:e:null);function c(e,t=null,n=null,r=0,o=null,s=e===be?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mg(t),ref:t&&fa(t),scopeId:hl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:It};return a?(vd(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=bt(n)?8:16),yo>0&&!i&&ln&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ln.push(l),l}const y=_C;function _C(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===T_)&&(e=Kt),qr(e)){const a=sr(e,t,!0);return n&&vd(a,n),yo>0&&!s&&ln&&(a.shapeFlag&6?ln[ln.indexOf(e)]=a:ln.push(a)),a.patchFlag|=-2,a}if(xC(e)&&(e=e.__vccOpts),t){t=fg(t);let{class:a,style:l}=t;a&&!bt(a)&&(t.class=we(a)),ct(l)&&(td(l)&&!ye(l)&&(l=vt({},l)),t.style=Yr(l))}const i=bt(e)?1:A_(e)?128:mC(e)?64:ct(e)?4:Pe(e)?2:0;return c(e,t,n,r,o,i,s,!0)}function fg(e){return e?td(e)||zl in e?vt({},e):e:null}function sr(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?Fo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&mg(a),ref:t&&t.ref?n&&o?ye(o)?o.concat(fa(t)):[o,fa(t)]:fa(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==be?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sr(e.ssContent),ssFallback:e.ssFallback&&sr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function wt(e=" ",t=0){return y(Wr,null,e,t)}function gC(e,t){const n=y(fo,null,e);return n.staticCount=t,n}function Z(e="",t=!1){return t?(x(),Ce(Kt,null,e)):y(Kt,null,e)}function _n(e){return e==null||typeof e=="boolean"?y(Kt):ye(e)?y(be,null,e.slice()):typeof e=="object"?Dr(e):y(Wr,null,String(e))}function Dr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sr(e)}function vd(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ye(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),vd(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(zl in t)?t._ctx=It:o===3&&It&&(It.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Pe(t)?(t={default:t,_ctx:It},n=32):(t=String(t),r&64?(n=16,t=[wt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=we([t.class,r.class]));else if(o==="style")t.style=Yr([t.style,r.style]);else if(bi(o)){const s=t[o],i=r[o];i&&s!==i&&!(ye(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function rn(e,t,n,r=null){bn(e,t,7,[n,r])}const yC=X_();let vC=0;function pg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||yC,s={uid:vC++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ku(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:eg(r,o),emitsOptions:$_(r,o),emit:null,emitted:null,propsDefaults:st,inheritAttrs:r.inheritAttrs,ctx:st,data:st,props:st,attrs:st,slots:st,refs:st,setupState:st,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=m0.bind(null,s),e.ce&&e.ce(s),s}let Rt=null;const Rn=()=>Rt||It;let Da,Xc;{const e=n_(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Da=t("__VUE_INSTANCE_SETTERS__",n=>Rt=n),Xc=t("__VUE_SSR_SETTERS__",n=>ki=n)}const vo=e=>{const t=Rt;return Da(e),e.scope.on(),()=>{e.scope.off(),Da(t)}},Qc=()=>{Rt&&Rt.scope.off(),Da(null)};function hg(e){return e.vnode.shapeFlag&4}let ki=!1;function _g(e,t=!1){t&&Xc(t);const{props:n,children:r}=e.vnode,o=hg(e);rC(e,n,o,t),iC(e,r);const s=o?bC(e,t):void 0;return t&&Xc(!1),s}function bC(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nd(new Proxy(e.ctx,qc));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?yg(e):null,s=vo(e);zo();const i=_r(r,e,0,[e.props,o]);if(Co(),s(),qu(i)){if(i.then(Qc,Qc),t)return i.then(a=>{eu(e,a,t)}).catch(a=>{wo(a,e,0)});e.asyncDep=i}else eu(e,i,t)}else gg(e,t)}function eu(e,t,n){Pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ct(t)&&(e.setupState=id(t)),gg(e,n)}let Ra,tu;function zC(e){Ra=e,tu=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,R0))}}const CC=()=>!Ra;function gg(e,t,n){const r=e.type;if(!e.render){if(!t&&Ra&&!r.render){const o=r.template||_d(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=vt(vt({isCustomElement:s,delimiters:a},i),l);r.render=Ra(o,u)}}e.render=r.render||an,tu&&tu(e)}{const o=vo(e);zo();try{Z0(e)}finally{Co(),o()}}}function wC(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return cn(e,"get","$attrs"),t[n]}}))}function yg(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return wC(e)},slots:e.slots,emit:e.emit,expose:t}}function Cl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(id(nd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vs)return Vs[n](e)},has(t,n){return n in t||n in Vs}}))}function nu(e,t=!0){return Pe(e)?e.displayName||e.name:e.name||t&&e.__name}function xC(e){return Pe(e)&&"__vccOpts"in e}const Mt=(e,t)=>Gz(e,t,ki);function kC(e,t,n=st){const r=Rn(),o=Xt(t),s=gn(t),i=C_((l,u)=>{let d;return L_(()=>{const m=e[t];Bn(d,m)&&(d=m,u())}),{get(){return l(),n.get?n.get(d):d},set(m){const f=r.vnode.props;!(f&&(t in f||o in f||s in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f||`onUpdate:${s}`in f))&&Bn(m,d)&&(d=m,u()),r.emit(`update:${t}`,n.set?n.set(m):m)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function nr(e,t,n){const r=arguments.length;return r===2?ct(t)&&!ye(t)?qr(t)?y(e,null,[t]):y(e,t):y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&qr(n)&&(n=[n]),y(e,t,n))}function SC(){}function EC(e,t,n,r){const o=n[r];if(o&&vg(o,e))return o;const s=t();return s.memo=e.slice(),n[r]=s}function vg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Bn(n[r],t[r]))return!1;return yo>0&&ln&&ln.push(e),!0}const bg="3.4.21",$C=an,TC=a0,AC=Ro,OC=E_,PC={createComponentInstance:pg,setupComponent:_g,renderComponentRoot:ma,setCurrentRenderingInstance:ai,isVNode:qr,normalizeVNode:_n},IC=PC,DC=null,RC=null,LC=null;/**
|
||
* @vue/runtime-dom v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const NC="http://www.w3.org/2000/svg",MC="http://www.w3.org/1998/Math/MathML",Rr=typeof document<"u"?document:null,jm=Rr&&Rr.createElement("template"),FC={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Rr.createElementNS(NC,e):t==="mathml"?Rr.createElementNS(MC,e):Rr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Rr.createTextNode(e),createComment:e=>Rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{jm.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=jm.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sr="transition",Cs="animation",os=Symbol("_vtc"),Dt=(e,{slots:t})=>nr(M_,Cg(e),t);Dt.displayName="Transition";const zg={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},VC=Dt.props=vt({},pd,zg),Qr=(e,t=[])=>{ye(e)?e.forEach(n=>n(...t)):e&&e(...t)},Bm=e=>e?ye(e)?e.some(t=>t.length>1):e.length>1:!1;function Cg(e){const t={};for(const U in e)U in zg||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=HC(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:z,onEnter:C,onEnterCancelled:v,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=z,onAppear:M=C,onAppearCancelled:R=v}=t,O=(U,j,Q)=>{Or(U,j?d:a),Or(U,j?u:i),Q&&Q()},N=(U,j)=>{U._isLeaving=!1,Or(U,m),Or(U,p),Or(U,f),j&&j()},K=U=>(j,Q)=>{const pe=U?M:C,W=()=>O(j,U,Q);Qr(pe,[j,W]),Wm(()=>{Or(j,U?l:s),dr(j,U?d:a),Bm(pe)||qm(j,r,_,W)})};return vt(t,{onBeforeEnter(U){Qr(z,[U]),dr(U,s),dr(U,i)},onBeforeAppear(U){Qr(k,[U]),dr(U,l),dr(U,u)},onEnter:K(!1),onAppear:K(!0),onLeave(U,j){U._isLeaving=!0;const Q=()=>N(U,j);dr(U,m),xg(),dr(U,f),Wm(()=>{U._isLeaving&&(Or(U,m),dr(U,p),Bm(w)||qm(U,r,b,Q))}),Qr(w,[U,Q])},onEnterCancelled(U){O(U,!1),Qr(v,[U])},onAppearCancelled(U){O(U,!0),Qr(R,[U])},onLeaveCancelled(U){N(U),Qr(S,[U])}})}function HC(e){if(e==null)return null;if(ct(e))return[Xl(e.enter),Xl(e.leave)];{const t=Xl(e);return[t,t]}}function Xl(e){return $a(e)}function dr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[os]||(e[os]=new Set)).add(t)}function Or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[os];n&&(n.delete(t),n.size||(e[os]=void 0))}function Wm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let UC=0;function qm(e,t,n,r){const o=e._endId=++UC,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=wg(e,t);if(!i)return r();const u=i+"end";let d=0;const m=()=>{e.removeEventListener(u,f),s()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(u,f)}function wg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Sr}Delay`),s=r(`${Sr}Duration`),i=Gm(o,s),a=r(`${Cs}Delay`),l=r(`${Cs}Duration`),u=Gm(a,l);let d=null,m=0,f=0;t===Sr?i>0&&(d=Sr,m=i,f=s.length):t===Cs?u>0&&(d=Cs,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?Sr:Cs:null,f=d?d===Sr?s.length:l.length:0);const p=d===Sr&&/\b(transform|all)(,|$)/.test(r(`${Sr}Property`).toString());return{type:d,timeout:m,propCount:f,hasTransform:p}}function Gm(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Km(n)+Km(e[r])))}function Km(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function xg(){return document.body.offsetHeight}function jC(e,t,n){const r=e[os];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const La=Symbol("_vod"),kg=Symbol("_vsh"),ui={beforeMount(e,{value:t},{transition:n}){e[La]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ws(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ws(e,!0),r.enter(e)):r.leave(e,()=>{ws(e,!1)}):ws(e,t))},beforeUnmount(e,{value:t}){ws(e,t)}};function ws(e,t){e.style.display=t?e[La]:"none",e[kg]=!t}function BC(){ui.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Sg=Symbol("");function WC(e){const t=Rn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>ou(s,o))},r=()=>{const o=e(t.proxy);ru(t.subTree,o),n(o)};R_(r),ps(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),xi(()=>o.disconnect())})}function ru(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ru(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ou(e.el,t);else if(e.type===be)e.children.forEach(n=>ru(n,t));else if(e.type===fo){let{el:n,anchor:r}=e;for(;n&&(ou(n,t),n!==r);)n=n.nextSibling}}function ou(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Sg]=r}}const qC=/(^|;)\s*display\s*:/;function GC(e,t,n){const r=e.style,o=bt(n);let s=!1;if(n&&!o){if(t)if(bt(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&pa(r,a,"")}else for(const i in t)n[i]==null&&pa(r,i,"");for(const i in n)i==="display"&&(s=!0),pa(r,i,n[i])}else if(o){if(t!==n){const i=r[Sg];i&&(n+=";"+i),r.cssText=n,s=qC.test(n)}}else t&&e.removeAttribute("style");La in e&&(e[La]=s?r.display:"",e[kg]&&(r.display="none"))}const Zm=/\s*!important$/;function pa(e,t,n){if(ye(n))n.forEach(r=>pa(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=KC(e,t);Zm.test(n)?e.setProperty(gn(r),n.replace(Zm,""),"important"):e[r]=n}}const Ym=["Webkit","Moz","ms"],Ql={};function KC(e,t){const n=Ql[t];if(n)return n;let r=Xt(t);if(r!=="filter"&&r in e)return Ql[t]=r;r=zi(r);for(let o=0;o<Ym.length;o++){const s=Ym[o]+r;if(s in e)return Ql[t]=s}return t}const Jm="http://www.w3.org/1999/xlink";function ZC(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Jm,t.slice(6,t.length)):e.setAttributeNS(Jm,t,n);else{const s=zz(t);n==null||s&&!r_(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function YC(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const u=a==="OPTION"?e.getAttribute("value")||"":e.value,d=n??"";(u!==d||!("_value"in e))&&(e.value=d),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=r_(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function mr(e,t,n,r){e.addEventListener(t,n,r)}function JC(e,t,n,r){e.removeEventListener(t,n,r)}const Xm=Symbol("_vei");function XC(e,t,n,r,o=null){const s=e[Xm]||(e[Xm]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=QC(t);if(r){const u=s[t]=nw(r,o);mr(e,a,u,l)}else i&&(JC(e,a,i,l),s[t]=void 0)}}const Qm=/(?:Once|Passive|Capture)$/;function QC(e){let t;if(Qm.test(e)){t={};let r;for(;r=e.match(Qm);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gn(e.slice(2)),t]}let ec=0;const ew=Promise.resolve(),tw=()=>ec||(ew.then(()=>ec=0),ec=Date.now());function nw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bn(rw(r,n.value),t,5,[r])};return n.value=e,n.attached=tw(),n}function rw(e,t){if(ye(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ef=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ow=(e,t,n,r,o,s,i,a,l)=>{const u=o==="svg";t==="class"?jC(e,r,u):t==="style"?GC(e,n,r):bi(t)?Bu(t)||XC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sw(e,t,r,u))?YC(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ZC(e,t,r,u))};function sw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ef(t)&&Pe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ef(t)&&bt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Eg(e,t){const n=vr(e);class r extends wl{constructor(s){super(n,s,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const iw=e=>Eg(e,Ng),aw=typeof HTMLElement<"u"?HTMLElement:class{};class wl extends aw{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),fs(()=>{this._connected||(su(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:s,styles:i}=r;let a;if(s&&!ye(s))for(const l in s){const u=s[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=$a(this._props[l])),(a||(a=Object.create(null)))[Xt(l)]=!0)}this._numberProps=a,o&&this._resolveProps(r),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=ye(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(Xt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s)}})}_setAttr(t){let n=this.getAttribute(t);const r=Xt(t);this._numberProps&&this._numberProps[r]&&(n=$a(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(gn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(gn(t),n+""):n||this.removeAttribute(gn(t))))}_update(){su(this._createVNode(),this.shadowRoot)}_createVNode(){const t=y(this._def,vt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(s,i)=>{this.dispatchEvent(new CustomEvent(s,{detail:i}))};n.emit=(s,...i)=>{r(s,i),gn(s)!==s&&r(gn(s),i)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof wl){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function lw(e="$style"){{const t=Rn();if(!t)return st;const n=t.type.__cssModules;if(!n)return st;const r=n[e];return r||st}}const $g=new WeakMap,Tg=new WeakMap,Na=Symbol("_moveCb"),tf=Symbol("_enterCb"),Ag={name:"TransitionGroup",props:vt({},VC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Rn(),r=fd();let o,s;return vl(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!pw(o[0].el,n.vnode.el,i))return;o.forEach(dw),o.forEach(mw);const a=o.filter(fw);xg(),a.forEach(l=>{const u=l.el,d=u.style;dr(u,i),d.transform=d.webkitTransform=d.transitionDuration="";const m=u[Na]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",m),u[Na]=null,Or(u,i))};u.addEventListener("transitionend",m)})}),()=>{const i=Ze(e),a=Cg(i);let l=i.tag||be;o=s,s=t.default?gl(t.default()):[];for(let u=0;u<s.length;u++){const d=s[u];d.key!=null&&go(d,rs(d,a,r,n))}if(o)for(let u=0;u<o.length;u++){const d=o[u];go(d,rs(d,a,r,n)),$g.set(d,d.el.getBoundingClientRect())}return y(l,null,s)}}},cw=e=>delete e.mode;Ag.props;const uw=Ag;function dw(e){const t=e.el;t[Na]&&t[Na](),t[tf]&&t[tf]()}function mw(e){Tg.set(e,e.el.getBoundingClientRect())}function fw(e){const t=$g.get(e),n=Tg.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function pw(e,t,n){const r=e.cloneNode(),o=e[os];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=wg(r);return s.removeChild(r),i}const Gr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ye(t)?n=>Wo(t,n):t};function hw(e){e.target.composing=!0}function nf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const An=Symbol("_assign"),un={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[An]=Gr(o);const s=r||o.props&&o.props.type==="number";mr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=ni(a)),e[An](a)}),n&&mr(e,"change",()=>{e.value=e.value.trim()}),t||(mr(e,"compositionstart",hw),mr(e,"compositionend",nf),mr(e,"change",nf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[An]=Gr(s),e.composing)return;const i=o||e.type==="number"?ni(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},On={deep:!0,created(e,t,n){e[An]=Gr(n),mr(e,"change",()=>{const r=e._modelValue,o=ss(e),s=e.checked,i=e[An];if(ye(r)){const a=cl(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const u=[...r];u.splice(a,1),i(u)}}else if(bo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Og(e,s))})},mounted:rf,beforeUpdate(e,t,n){e[An]=Gr(n),rf(e,t,n)}};function rf(e,{value:t,oldValue:n},r){e._modelValue=t,ye(t)?e.checked=cl(t,r.props.value)>-1:bo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Br(t,Og(e,!0)))}const bd={created(e,{value:t},n){e.checked=Br(t,n.props.value),e[An]=Gr(n),mr(e,"change",()=>{e[An](ss(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[An]=Gr(r),t!==n&&(e.checked=Br(t,r.props.value))}},zd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=bo(t);mr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ni(ss(i)):ss(i));e[An](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,fs(()=>{e._assigning=!1})}),e[An]=Gr(r)},mounted(e,{value:t,modifiers:{number:n}}){of(e,t,n)},beforeUpdate(e,t,n){e[An]=Gr(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||of(e,t,n)}};function of(e,t,n){const r=e.multiple,o=ye(t);if(!(r&&!o&&!bo(t))){for(let s=0,i=e.options.length;s<i;s++){const a=e.options[s],l=ss(a);if(r)if(o){const u=typeof l;u==="string"||u==="number"?a.selected=t.includes(n?ni(l):l):a.selected=cl(t,l)>-1}else a.selected=t.has(l);else if(Br(ss(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ss(e){return"_value"in e?e._value:e.value}function Og(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Pg={created(e,t,n){Wi(e,t,n,null,"created")},mounted(e,t,n){Wi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Wi(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Wi(e,t,n,r,"updated")}};function Ig(e,t){switch(e){case"SELECT":return zd;case"TEXTAREA":return un;default:switch(t){case"checkbox":return On;case"radio":return bd;default:return un}}}function Wi(e,t,n,r,o){const i=Ig(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function _w(){un.getSSRProps=({value:e})=>({value:e}),bd.getSSRProps=({value:e},t)=>{if(t.props&&Br(t.props.value,e))return{checked:!0}},On.getSSRProps=({value:e},t)=>{if(ye(e)){if(t.props&&cl(e,t.props.value)>-1)return{checked:!0}}else if(bo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Pg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Ig(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const gw=["ctrl","shift","alt","meta"],yw={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)=>gw.some(n=>e[`${n}Key`]&&!t.includes(n))},ht=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=yw[t[i]];if(a&&a(o,t))return}return e(o,...s)})},vw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},on=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=gn(o.key);if(t.some(i=>i===s||vw[i]===s))return e(o)})},Dg=vt({patchProp:ow},FC);let Bs,sf=!1;function Rg(){return Bs||(Bs=og(Dg))}function Lg(){return Bs=sf?Bs:sg(Dg),sf=!0,Bs}const su=(...e)=>{Rg().render(...e)},Ng=(...e)=>{Lg().hydrate(...e)},Mg=(...e)=>{const t=Rg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Vg(r);if(!o)return;const s=t._component;!Pe(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,Fg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},bw=(...e)=>{const t=Lg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Vg(r);if(o)return n(o,!0,Fg(o))},t};function Fg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vg(e){return bt(e)?document.querySelector(e):e}let af=!1;const zw=()=>{af||(af=!0,_w(),BC())};/**
|
||
* vue v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Cw=()=>{},ww=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:M_,BaseTransitionPropsValidators:pd,Comment:Kt,DeprecationTypes:LC,EffectScope:Ku,ErrorCodes:i0,ErrorTypeStrings:TC,Fragment:be,KeepAlive:P0,ReactiveEffect:ns,Static:fo,Suspense:C0,Teleport:Dn,Text:Wr,TrackOpTypes:r0,Transition:Dt,TransitionGroup:uw,TriggerOpTypes:o0,VueElement:wl,assertNumber:s0,callWithAsyncErrorHandling:bn,callWithErrorHandling:_r,camelize:Xt,capitalize:zi,cloneVNode:sr,compatUtils:RC,compile:Cw,computed:Mt,createApp:Mg,createBlock:Ce,createCommentVNode:Z,createElementBlock:T,createElementVNode:c,createHydrationRenderer:sg,createPropsRestProxy:G0,createRenderer:og,createSSRApp:bw,createSlots:hd,createStaticVNode:gC,createTextVNode:wt,createVNode:y,customRef:C_,defineAsyncComponent:A0,defineComponent:vr,defineCustomElement:Eg,defineEmits:N0,defineExpose:M0,defineModel:H0,defineOptions:F0,defineProps:L0,defineSSRCustomElement:iw,defineSlots:V0,devtools:AC,effect:kz,effectScope:Zu,getCurrentInstance:Rn,getCurrentScope:i_,getTransitionRawChildren:gl,guardReactiveProps:fg,h:nr,handleError:wo,hasInjectionContext:nC,hydrate:Ng,initCustomFormatter:SC,initDirectivesForSSR:zw,inject:jn,isMemoSame:vg,isProxy:td,isReactive:uo,isReadonly:_o,isRef:Ft,isRuntimeOnly:CC,isShallow:ri,isVNode:qr,markRaw:nd,mergeDefaults:W0,mergeModels:q0,mergeProps:Fo,nextTick:fs,normalizeClass:we,normalizeProps:Os,normalizeStyle:Yr,onActivated:V_,onBeforeMount:j_,onBeforeUnmount:bl,onBeforeUpdate:B_,onDeactivated:H_,onErrorCaptured:K_,onMounted:ps,onRenderTracked:G_,onRenderTriggered:q_,onScopeDispose:wz,onServerPrefetch:W_,onUnmounted:xi,onUpdated:vl,openBlock:x,popScopeId:p0,provide:Hs,proxyRefs:id,pushScopeId:f0,queuePostFlushCb:Aa,reactive:ms,readonly:ed,ref:rr,registerRuntimeCompiler:zC,render:su,renderList:zt,renderSlot:yt,resolveComponent:$,resolveDirective:ud,resolveDynamicComponent:_l,resolveFilter:DC,resolveTransitionHooks:rs,setBlockTracking:Jc,setDevtoolsHook:OC,setTransitionHooks:go,shallowReactive:Qu,shallowReadonly:qz,shallowRef:sd,ssrContextKey:P_,ssrUtils:IC,stop:Sz,toDisplayString:g,toHandlerKey:Fs,toHandlers:D0,toRaw:Ze,toRef:n0,toRefs:Qz,toValue:Yz,transformVNodeArgs:hC,triggerRef:Zz,unref:yn,useAttrs:B0,useCssModule:lw,useCssVars:WC,useModel:kC,useSSRContext:I_,useSlots:j0,useTransitionState:fd,vModelCheckbox:On,vModelDynamic:Pg,vModelRadio:bd,vModelSelect:zd,vModelText:un,vShow:ui,version:bg,warn:$C,watch:zn,watchEffect:D_,watchPostEffect:R_,watchSyncEffect:L_,withAsyncContext:K0,withCtx:P,withDefaults:U0,withDirectives:ft,withKeys:on,withMemo:EC,withModifiers:ht,withScopeId:h0},Symbol.toStringTag,{value:"Module"}));function xw(){return Hg().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Hg(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const kw=typeof Proxy=="function",Sw="devtools-plugin:setup",Ew="plugin:settings:set";let Eo,iu;function $w(){var e;return Eo!==void 0||(typeof window<"u"&&window.performance?(Eo=!0,iu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Eo=!0,iu=globalThis.perf_hooks.performance):Eo=!1),Eo}function Tw(){return $w()?iu.now():Date.now()}class Aw{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Tw()}},n&&n.on(Ew,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:a,args:l,resolve:u})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Ow(e,t){const n=e,r=Hg(),o=xw(),s=kw&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Sw,e,t);else{const i=s?new Aw(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
||
* vue-i18n v9.11.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Pw="9.11.0";function Iw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vu().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ug=Wb.__EXTEND_POINT__,cr=Hu(Ug);cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr();const jg=tr.__EXTEND_POINT__,en=Hu(jg),Pn={UNEXPECTED_RETURN_TYPE:jg,INVALID_ARGUMENT:en(),MUST_BE_CALL_SETUP_TOP:en(),NOT_INSTALLED:en(),NOT_AVAILABLE_IN_LEGACY_MODE:en(),REQUIRED_VALUE:en(),INVALID_VALUE:en(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:en(),NOT_INSTALLED_WITH_PROVIDE:en(),UNEXPECTED_ERROR:en(),NOT_COMPATIBLE_LEGACY_VUE_I18N:en(),BRIDGE_SUPPORT_VUE_2_ONLY:en(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:en(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:en(),__EXTEND_POINT__:en()};function Wn(e,...t){return jh(e,null,void 0)}const au=Kr("__translateVNode"),lu=Kr("__datetimeParts"),cu=Kr("__numberParts"),Dw=Kr("__setPluralRules"),Rw=Kr("__injectWithOption"),uu=Kr("__dispose");function di(e){if(!rt(e))return e;for(const t in e)if(ka(e,t))if(!t.includes("."))rt(e[t])&&di(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]={}),!rt(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),rt(o[n[r]])&&di(o[n[r]])}return e}function Bg(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Je(n)?n:Lt(r)?{}:{[e]:{}};if(Lt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},da(u,i[l])):da(u,i)}else xe(a)&&da(JSON.parse(a),i)}),o==null&&s)for(const a in i)ka(i,a)&&di(i[a]);return i}function Wg(e){return e.type}function Lw(e,t,n){let r=rt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Bg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(rt(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(rt(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function lf(e){return y(Wr,null,e,0)}const cf="__INTLIFY_META__",uf=()=>[],Nw=()=>!1;let df=0;function mf(e){return(t,n,r,o)=>e(n,r,Rn()||void 0,o)}const Mw=()=>{const e=Rn();let t=null;return e&&(t=Wg(e)[cf])?{[cf]:t}:null};function qg(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=wa?rr:sd,a=!!e.translateExistCompatible;let l=Tt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:xe(e.locale)?e.locale:Sa),d=i(n&&l?n.fallbackLocale.value:xe(e.fallbackLocale)||Lt(e.fallbackLocale)||Je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(Bg(u.value,e)),f=i(Je(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Je(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:Tt(e.missingWarn)||xa(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:Tt(e.fallbackWarn)||xa(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:Tt(e.fallbackRoot)?e.fallbackRoot:!0,z=!!e.fallbackFormat,C=$t(e.missing)?e.missing:null,v=$t(e.missing)?mf(e.missing):null,w=$t(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:Tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const M=n?n.modifiers:Je(e.modifiers)?e.modifiers:{};let R=e.pluralRules||n&&n.pluralRules,O;O=(()=>{o&&mm(null);const L={version:Pw,locale:u.value,fallbackLocale:d.value,messages:m.value,modifiers:M,pluralRules:R,missing:v===null?void 0:v,missingWarn:h,fallbackWarn:_,fallbackFormat:z,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:S,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=f.value,L.numberFormats=p.value,L.__datetimeFormatters=Je(O)?O.__datetimeFormatters:void 0,L.__numberFormatters=Je(O)?O.__numberFormatters:void 0;const q=rz(L);return o&&mm(q),q})(),zs(O,u.value,d.value);function K(){return[u.value,d.value,m.value,f.value,p.value]}const U=Mt({get:()=>u.value,set:L=>{u.value=L,O.locale=u.value}}),j=Mt({get:()=>d.value,set:L=>{d.value=L,O.fallbackLocale=d.value,zs(O,u.value,L)}}),Q=Mt(()=>m.value),pe=Mt(()=>f.value),W=Mt(()=>p.value);function re(){return $t(w)?w:null}function oe(L){w=L,O.postTranslation=L}function je(){return C}function it(L){L!==null&&(v=mf(L)),C=L,O.missing=v}const Ve=(L,q,ve,I,D,H)=>{K();let X;try{__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=n?nz():void 0),X=L(O)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=void 0)}if(ve!=="translate exists"&&Nt(X)&&X===il||ve==="translate exists"&&!X){const[ge,$e]=q();return n&&b?I(n):D(ge)}else{if(H(X))return X;throw Wn(Pn.UNEXPECTED_RETURN_TYPE)}};function He(...L){return Ve(q=>Reflect.apply(hm,null,[q,...L]),()=>Nc(...L),"translate",q=>Reflect.apply(q.t,q,[...L]),q=>q,q=>xe(q))}function at(...L){const[q,ve,I]=L;if(I&&!rt(I))throw Wn(Pn.INVALID_ARGUMENT);return He(q,ve,Gt({resolvedMessage:!0},I||{}))}function ut(...L){return Ve(q=>Reflect.apply(_m,null,[q,...L]),()=>Mc(...L),"datetime format",q=>Reflect.apply(q.d,q,[...L]),()=>um,q=>xe(q))}function dt(...L){return Ve(q=>Reflect.apply(ym,null,[q,...L]),()=>Fc(...L),"number format",q=>Reflect.apply(q.n,q,[...L]),()=>um,q=>xe(q))}function Me(L){return L.map(q=>xe(q)||Nt(q)||Tt(q)?lf(String(q)):q)}const ce={normalize:Me,interpolate:L=>L,type:"vnode"};function se(...L){return Ve(q=>{let ve;const I=q;try{I.processor=ce,ve=Reflect.apply(hm,null,[I,...L])}finally{I.processor=null}return ve},()=>Nc(...L),"translate",q=>q[au](...L),q=>[lf(q)],q=>Lt(q))}function _e(...L){return Ve(q=>Reflect.apply(ym,null,[q,...L]),()=>Fc(...L),"number format",q=>q[cu](...L),uf,q=>xe(q)||Lt(q))}function Ue(...L){return Ve(q=>Reflect.apply(_m,null,[q,...L]),()=>Mc(...L),"datetime format",q=>q[lu](...L),uf,q=>xe(q)||Lt(q))}function Ge(L){R=L,O.pluralRules=R}function E(L,q){return Ve(()=>{if(!L)return!1;const ve=xe(q)?q:u.value,I=Y(ve),D=O.messageResolver(I,L);return a?D!=null:ts(D)||Sn(D)||xe(D)},()=>[L],"translate exists",ve=>Reflect.apply(ve.te,ve,[L,q]),Nw,ve=>Tt(ve))}function A(L){let q=null;const ve=Wh(O,d.value,u.value);for(let I=0;I<ve.length;I++){const D=m.value[ve[I]]||{},H=O.messageResolver(D,L);if(H!=null){q=H;break}}return q}function V(L){const q=A(L);return q??(n?n.tm(L)||{}:{})}function Y(L){return m.value[L]||{}}function G(L,q){if(s){const ve={[L]:q};for(const I in ve)ka(ve,I)&&di(ve[I]);q=ve[L]}m.value[L]=q,O.messages=m.value}function ie(L,q){m.value[L]=m.value[L]||{};const ve={[L]:q};if(s)for(const I in ve)ka(ve,I)&&di(ve[I]);q=ve[L],da(q,m.value[L]),O.messages=m.value}function me(L){return f.value[L]||{}}function te(L,q){f.value[L]=q,O.datetimeFormats=f.value,gm(O,L,q)}function le(L,q){f.value[L]=Gt(f.value[L]||{},q),O.datetimeFormats=f.value,gm(O,L,q)}function ee(L){return p.value[L]||{}}function he(L,q){p.value[L]=q,O.numberFormats=p.value,vm(O,L,q)}function ke(L,q){p.value[L]=Gt(p.value[L]||{},q),O.numberFormats=p.value,vm(O,L,q)}df++,n&&wa&&(zn(n.locale,L=>{l&&(u.value=L,O.locale=L,zs(O,u.value,d.value))}),zn(n.fallbackLocale,L=>{l&&(d.value=L,O.fallbackLocale=L,zs(O,u.value,d.value))}));const de={id:df,locale:U,fallbackLocale:j,get inheritLocale(){return l},set inheritLocale(L){l=L,L&&n&&(u.value=n.locale.value,d.value=n.fallbackLocale.value,zs(O,u.value,d.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:Q,get modifiers(){return M},get pluralRules(){return R||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(L){h=L,O.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(L){_=L,O.fallbackWarn=_},get fallbackRoot(){return b},set fallbackRoot(L){b=L},get fallbackFormat(){return z},set fallbackFormat(L){z=L,O.fallbackFormat=z},get warnHtmlMessage(){return S},set warnHtmlMessage(L){S=L,O.warnHtmlMessage=L},get escapeParameter(){return k},set escapeParameter(L){k=L,O.escapeParameter=L},t:He,getLocaleMessage:Y,setLocaleMessage:G,mergeLocaleMessage:ie,getPostTranslationHandler:re,setPostTranslationHandler:oe,getMissingHandler:je,setMissingHandler:it,[Dw]:Ge};return de.datetimeFormats=pe,de.numberFormats=W,de.rt=at,de.te=E,de.tm=V,de.d=ut,de.n=dt,de.getDateTimeFormat=me,de.setDateTimeFormat=te,de.mergeDateTimeFormat=le,de.getNumberFormat=ee,de.setNumberFormat=he,de.mergeNumberFormat=ke,de[Rw]=r,de[au]=se,de[lu]=Ue,de[cu]=_e,de}const Cd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Fw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===be?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function Gg(e){return be}const Vw=vr({name:"i18n-t",props:Gt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Nt(e)||!isNaN(e)}},Cd),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||wd({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(m=>m!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=xe(e.plural)?+e.plural:e.plural);const a=Fw(t,s),l=o[au](e.keypath,a,i),u=Gt({},r),d=xe(e.tag)||rt(e.tag)?e.tag:Gg();return nr(d,u,l)}}}),ff=Vw;function Hw(e){return Lt(e)&&!xe(e[0])}function Kg(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),xe(e.format)?i.key=e.format:rt(e.format)&&(xe(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Gt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,i,a);let u=[i.key];Lt(l)?u=l.map((f,p)=>{const h=o[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return Hw(_)&&(_[0].key=`${f.type}-${p}`),_}):xe(l)&&(u=[l]);const d=Gt({},s),m=xe(e.tag)||rt(e.tag)?e.tag:Gg();return nr(m,d,u)}}const Uw=vr({name:"i18n-n",props:Gt({value:{type:Number,required:!0},format:{type:[String,Object]}},Cd),setup(e,t){const n=e.i18n||wd({useScope:e.scope,__useComponent:!0});return Kg(e,t,Qh,(...r)=>n[cu](...r))}}),pf=Uw,jw=vr({name:"i18n-d",props:Gt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Cd),setup(e,t){const n=e.i18n||wd({useScope:e.scope,__useComponent:!0});return Kg(e,t,Xh,(...r)=>n[lu](...r))}}),hf=jw;function Bw(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Ww(e){const t=i=>{const{instance:a,modifiers:l,value:u}=i;if(!a||!a.$)throw Wn(Pn.UNEXPECTED_ERROR);const d=Bw(e,a.$),m=_f(u);return[Reflect.apply(d.t,d,[...gf(m)]),d]};return{created:(i,a)=>{const[l,u]=t(a);wa&&e.global===u&&(i.__i18nWatcher=zn(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{wa&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,u=_f(a);i.textContent=Reflect.apply(l.t,l,[...gf(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function _f(e){if(xe(e))return{path:e};if(Je(e)){if(!("path"in e))throw Wn(Pn.REQUIRED_VALUE,"path");return e}else throw Wn(Pn.INVALID_VALUE)}function gf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return xe(n)&&(i.locale=n),Nt(o)&&(i.plural=o),Nt(s)&&(i.plural=s),[t,a,i]}function qw(e,t,...n){const r=Je(n[0])?n[0]:{},o=!!r.useI18nComponentName;(Tt(r.globalInstall)?r.globalInstall:!0)&&([o?"i18n":ff.name,"I18nT"].forEach(i=>e.component(i,ff)),[pf.name,"I18nN"].forEach(i=>e.component(i,pf)),[hf.name,"I18nD"].forEach(i=>e.component(i,hf))),e.directive("t",Ww(t))}const Gw=Kr("global-vue-i18n");function Kw(e={},t){const n=Tt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,i]=Zw(e),a=Kr("");function l(m){return o.get(m)||null}function u(m,f){o.set(m,f)}function d(m){o.delete(m)}{const m={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,m),Je(p[0])){const b=p[0];m.__composerExtend=b.__composerExtend,m.__vueI18nExtend=b.__vueI18nExtend}let h=null;n&&(h=rx(f,m.global)),qw(f,m,...p);const _=f.unmount;f.unmount=()=>{h&&h(),m.dispose(),_()}},get global(){return i},dispose(){s.stop()},__instances:o,__getInstance:l,__setInstance:u,__deleteInstance:d};return m}}function wd(e={}){const t=Rn();if(t==null)throw Wn(Pn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wn(Pn.NOT_INSTALLED);const n=Yw(t),r=Xw(n),o=Wg(t),s=Jw(e,o);if(s==="global")return Lw(r,e,o),r;if(s==="parent"){let l=Qw(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Gt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=qg(l),i.__composerExtend&&(a[uu]=i.__composerExtend(a)),tx(i,t,a),i.__setInstance(t,a)}return a}function Zw(e,t,n){const r=Zu();{const o=r.run(()=>qg(e));if(o==null)throw Wn(Pn.UNEXPECTED_ERROR);return[r,o]}}function Yw(e){{const t=jn(e.isCE?Gw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wn(e.isCE?Pn.NOT_INSTALLED_WITH_PROVIDE:Pn.UNEXPECTED_ERROR);return t}}function Jw(e,t){return sl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Xw(e){return e.mode==="composition"?e.global:e.global.__composer}function Qw(e,t,n=!1){let r=null;const o=t.root;let s=ex(t,n);for(;s!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function ex(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function tx(e,t,n){ps(()=>{},t),xi(()=>{const r=n;e.__deleteInstance(t);const o=r[uu];o&&(o(),delete r[uu])},t)}const nx=["locale","fallbackLocale","availableLocales"],yf=["t","rt","d","n","tm","te"];function rx(e,t){const n=Object.create(null);return nx.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Wn(Pn.UNEXPECTED_ERROR);const i=Ft(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,yf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Wn(Pn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,yf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Iw();Xb(Pb);Qb(Wh);if(__INTLIFY_PROD_DEVTOOLS__){const e=Vu();e.__INTLIFY__=!0,Hb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const tc=e=>e&&typeof e=="object"&&!Array.isArray(e),du=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(tc(e)&&tc(n))for(const r in n)tc(n[r])?(e[r]||Object.assign(e,{[r]:{}}),du(e[r],n[r])):Object.assign(e,{[r]:n[r]});return du(e,...t)},ox=du({},{de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite…"])},title:e=>{const{normalize:t}=e;return t(["Podcast hinzufügen"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gelöschten und veränderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinesisch (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten löschen "])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track kann nicht gespielt werden"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", Beschränkungsgrund: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Hörbuch"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["Über"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"])},stream:e=>{const{normalize:t}=e;return t(["HTTP-stream"])},volume:e=>{const{normalize:t}=e;return t(["Lautstärke"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},settings:e=>{const{normalize:t}=e;return t(["Einstellungen"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Oberfläche erstellt mit ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," und ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterstützung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},more:e=>{const{normalize:t}=e;return t(["mehr"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Gesamte Spielzeit"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["vor ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Neu eingelesen"])},uptime:e=>{const{normalize:t}=e;return t(["Laufzeit"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Künstler › Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Künstler › Erscheinungsdatum"])},title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])},"recently-released":e=>{const{normalize:t}=e;return t(["Kürzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Inhalt"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Künstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Künstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["Künstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbücher"])])},title:e=>{const{normalize:t}=e;return t(["Hörbücher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Autor"]),t([n(r("count"))," Autor"]),t([n(r("count"))," Autoren"])])},title:e=>{const{normalize:t}=e;return t(["Autoren"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Autoren"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponisten"])])},title:e=>{const{normalize:t}=e;return t(["Komponisten"])}},files:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Dateien"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Kürzlich gespielt"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Verlauf"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Tracks durch Auswählen aus der Bibliothek anfügen"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlisten"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Podcast"]),t([n(r("count"))," Podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Alle abgespielten markieren"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Neue Episoden"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Station"]),t([n(r("count"))," Station"]),t([n(r("count"))," Stationen"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell läuft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten für die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell läuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterstützung für Last.fm erstellt."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet für "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für OwnTone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausgänge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Ordner"])},plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf löschen"])},pause:e=>{const{normalize:t}=e;return t(["Wiedergabe anhalten"])},play:e=>{const{normalize:t}=e;return t(["Wiedergeben"])},repeat:e=>{const{normalize:t}=e;return t(["Alle Tracks wiederholen"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Tracks einmal lesen"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Aktuellen Track wiederholen"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Rückwärts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorwärts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zufällig wiedergeben"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Tracks in Reihenfolge wiedergeben"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Zum vorherigen Track springen"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Zum nächsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Liedtexte anzeigen/verbergen"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Fehlender Websocket-Port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Anfrage gescheitert (Status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Warteschlange zu Playlist ",n(r("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])},undefined:e=>{const{normalize:t}=e;return t(["Unbestimmt"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}}},{en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add stream"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Update library"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinese (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", restriction reason: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Audiobook"])},music:e=>{const{normalize:t}=e;return t(["Music"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["About"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Web interface built with ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," and ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiled with support for ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},more:e=>{const{normalize:t}=e;return t(["more"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Total playtime"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Update"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," ago"])},updated:e=>{const{normalize:t}=e;return t(["Updated"])},uptime:e=>{const{normalize:t}=e;return t(["Uptime"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artist › Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artist › Release date"])},title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides the content only appearing in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide the content from Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artist"]),t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobooks"])])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," author"]),t([n(r("count"))," author"]),t([n(r("count"))," authors"])])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," composer"]),t([n(r("count"))," composer"]),t([n(r("count"))," composers"])])},title:e=>{const{normalize:t}=e;return t(["Composers"])}},files:{play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Files"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["History"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlists"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Mark All Played"])},"new-episodes":e=>{const{normalize:t}=e;return t(["New Episodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Update"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Add stream"])},clear:e=>{const{normalize:t}=e;return t(["Clear"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Folder"])},plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Toggle lyrics"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Missing websocket port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Request failed (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Queue saved to playlist ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track appended to the queue"]),t([n(r("count"))," tracks appended to the queue"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])},undefined:e=>{const{normalize:t}=e;return t(["Undefined"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}}},{fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file d’attente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajoutés, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])},zh:e=>{const{normalize:t}=e;return t(["Chinois (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas être lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", raison de la restriction : ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Livre audio"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["À propos"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison d’un problème réseau"])},stream:e=>{const{normalize:t}=e;return t(["Flux HTTP"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},settings:e=>{const{normalize:t}=e;return t(["Réglages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Interface utilisateur construite avec ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," et ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compilé avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},more:e=>{const{normalize:t}=e;return t(["plus"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Durée totale de lecture"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["il y a ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis à jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes n’apparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui n’apparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artiste › Nom"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artiste › Date de sortie"])},title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties récentes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque le contenu qui n’apparaît que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer le contenu de Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n’apparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n’apparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),t([n(r("count"))," auteurs"])])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeurs"])])},title:e=>{const{normalize:t}=e;return t(["Compositeurs"])}},files:{play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Fichiers"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Historique"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Ajoutez des pistes en parcourant votre bibliothèque"])},live:e=>{const{normalize:t}=e;return t(["En direct"])},title:e=>{const{normalize:t}=e;return t(["La file d’attente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux épisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer l’historique"])},queue:e=>{const{normalize:t}=e;return t(["File d’attente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs d’illustrations suivants :"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN qu’elle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage d’enceinte et vérification d’appareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes d’albums"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous sélectionnez plus d’éléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre d’albums affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['L’étiquette de genre de la piste actuelle est comparée en vérifiant si l’un des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l’étiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustrations dans la liste d’albums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["L’option Last.fm n’est pas présente."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["L’option Spotify n’est pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser l’accès à l’API"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez l’accès à l’API de Spotify"])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accès supplémentaires suivants :"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom d’utilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Listes de lecture en vedette"])},"new-releases":e=>{const{normalize:t}=e;return t(["Nouvelle sorties"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("count"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Dossier"])},plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer l’historique"])},pause:e=>{const{normalize:t}=e;return t(["Mettre la lecture en pause"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},repeat:e=>{const{normalize:t}=e;return t(["Répéter toutes les pistes"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Lire les pistes une fois"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Répéter la piste en cours"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Reculer dans la piste"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Avancer dans la piste"])},shuffle:e=>{const{normalize:t}=e;return t(["Lire les pistes aléatoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans l’ordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer à la piste précédente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer à la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arrêter la lecture"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Voir/Cacher les paroles"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à l’enregistrement du réglage)"])},saved:e=>{const{normalize:t}=e;return t([" (réglage enregistré)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec de connexion au serveur"])},"missing-port":e=>{const{normalize:t}=e;return t(["Port websocket manquant"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La requête a échoué (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La file d’attente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste ajoutée à la file d’attente"]),t([n(r("count"))," pistes ajoutées à la file d’attente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file d’attente est vide"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Aujourd’hui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])},undefined:e=>{const{normalize:t}=e;return t(["Indéfini"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stéréo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," canal"]),t([n(r("count"))," canaux"])])}}}},{zh:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["链接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["流"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["添加一个可生成播放列表的播客RSS链接,这将允许OwnTone管理订阅"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["处理中…"])},title:e=>{const{normalize:t}=e;return t(["添加播客"])}},stream:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["加载中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["添加流"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},artist:e=>{const{normalize:t}=e;return t(["专辑艺人"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名称"])},save:e=>{const{normalize:t}=e;return t(["保存"])},saving:e=>{const{normalize:t}=e;return t(["保存中…"])},title:e=>{const{normalize:t}=e;return t(["保存播放清单到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遥控配对"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对码"])},title:e=>{const{normalize:t}=e;return t(["请求遥控配对"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉丝数"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["评论"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["标记为最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有内容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["仅更新RSS订阅内容"])},info:e=>{const{normalize:t}=e;return t(["扫描新的、删除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["仅更新本地资料库"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地资料库…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新扫描未修改文件的元数据"])},rescan:e=>{const{normalize:t}=e;return t(["重新扫描"])},spotify:e=>{const{normalize:t}=e;return t(["仅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["更新资料库"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德语 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英语 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法语 (Français)"])},zh:e=>{const{normalize:t}=e;return t(["中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客吗?"])},"info-2":e=>{const{normalize:t}=e;return t(["这也将移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目无法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([",被限制原因:",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["专辑"])},audiobook:e=>{const{normalize:t}=e;return t(["有声读物"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},podcast:e=>{const{normalize:t}=e;return t(["播客"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["关于"])},albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP流错误:流载入失败或者由于网络原因无法载入"])},stream:e=>{const{normalize:t}=e;return t(["HTTP流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},settings:e=>{const{normalize:t}=e;return t(["设置"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["更新资料库"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面贡献者包括 ",n(r("bulma")),",",n(r("mdi")),",",n(r("vuejs")),",",n(r("axios"))," 和 ",n(r("others"))])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["编译支持来自于 ",n(r("options"))])},library:e=>{const{normalize:t}=e;return t(["资料库"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["总播放时长"])},tracks:e=>{const{normalize:t}=e;return t(["曲目总数"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新于"])},uptime:e=>{const{normalize:t}=e;return t(["运行时长"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的专辑"])},title:e=>{const{normalize:t}=e;return t(["专辑"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["艺人 › 名称"])},"artist-date":e=>{const{normalize:t}=e;return t(["艺人 › 发行日期"])},title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近发行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏只出现在Spotify库中的内容"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的内容"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位艺人"]),t([n(r("count"))," 位艺人"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的艺人"])},title:e=>{const{normalize:t}=e;return t(["艺人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个有声读物"]),t([n(r("count"))," 个有声读物"])])},title:e=>{const{normalize:t}=e;return t(["有声读物"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},genres:e=>{const{normalize:t}=e;return t(["流派"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近添加"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},history:e=>{const{normalize:t}=e;return t(["历史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["浏览资料库添加曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清单是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["最后播放"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播客"]),t([n(r("count"))," 个播客"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部标记为已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新单集"])},title:e=>{const{normalize:t}=e;return t(["播客"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["添加流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},edit:e=>{const{normalize:t}=e;return t(["编辑"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隐藏历史"])},title:e=>{const{normalize:t}=e;return t(["清单"])},save:e=>{const{normalize:t}=e;return t(["保存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个电台"]),t([n(r("count"))," 个电台"])])},title:e=>{const{normalize:t}=e;return t(["广播电台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表达式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前缀,则可以通过智能播放列表查询语言 ",n(r("help"))," 进行搜索"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["资料库"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面,这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中,也可以通过广播电台在线提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您还可以从以下素材提供者获取封面:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["没有活跃的配对请求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对代码"])},"pairing-request":e=>{const{normalize:t}=e;return t(["远程配对请求来自于 "])},pairing:e=>{const{normalize:t}=e;return t(["遥控配对"])},send:e=>{const{normalize:t}=e;return t(["发送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["扬声器配对和设备验证"])},"verification-code":e=>{const{normalize:t}=e;return t(["验证码"])},verify:e=>{const{normalize:t}=e;return t(["验证"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["专辑列表"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},language:e=>{const{normalize:t}=e;return t(["语言"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["选择顶部导航栏菜单项"])},"navigation-items":e=>{const{normalize:t}=e;return t(["导航条"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”页面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近添加”页面上显示的专辑数量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近添加”页面"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗号分隔流派,作曲家会在“正在播放的页面”上显示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始终显示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["仅显示列出的流派的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果启用,当前播放曲目的作曲家将显示在“正在播放页面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["显示作曲家"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”页面显示文件路径"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用户名和密码登录以启用记录功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自Last.fm的官方支持"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登录为 "])},requirements:e=>{const{normalize:t}=e;return t(["您必须拥有 Spotify付费帐户"])},scopes:e=>{const{normalize:t}=e;return t(["访问 Spotify Web API 可以扫描您的 Spotify库。所需范围是:"])},user:e=>{const{normalize:t}=e;return t(["授予访问权限"])},authorize:e=>{const{normalize:t}=e;return t(["授权 Web API 访问"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},reauthorize:e=>{const{normalize:t}=e;return t(["请重新授权 Web API 访问权限,以授予 OwnTone 以下附加访问权限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密码"])},username:e=>{const{normalize:t}=e;return t(["用户名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概览"])},"online-services":e=>{const{normalize:t}=e;return t(["在线服务"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遥控和输出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新发行"])},"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["文件夹"])},plain:e=>{const{normalize:t}=e;return t(["简单"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除历史"])},pause:e=>{const{normalize:t}=e;return t(["暂停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重复播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目仅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重复当前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在当前曲目后退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在当前曲目前进"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按顺序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["显示/隐藏歌词"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (设置保存错误)"])},saved:e=>{const{normalize:t}=e;return t([" (设置已保存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["无法连接到 OwnTone 服务器"])},"missing-port":e=>{const{normalize:t}=e;return t(["缺少 websocket 端口"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["请求失败 (状态:",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清单以添加到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["已附加到队列的 ",n(r("count"))," 只曲目"]),t(["已附加到队列的 ",n(r("count"))," 只曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清单是空的"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])},undefined:e=>{const{normalize:t}=e;return t(["未定义"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["单声道"])},stereo:e=>{const{normalize:t}=e;return t(["立体声"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}}),xl=Kw({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:ox,missingWarn:!1});/*!
|
||
* vuex v4.1.0
|
||
* (c) 2022 Evan You
|
||
* @license MIT
|
||
*/var sx="store";function hs(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function ix(e){return e!==null&&typeof e=="object"}function ax(e){return e&&typeof e.then=="function"}function lx(e,t){return function(){return e(t)}}function Zg(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Yg(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;kl(e,n,[],e._modules.root,!0),xd(e,n,t)}function xd(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=Zu(!0);l.run(function(){hs(s,function(u,d){i[d]=lx(u,e),a[d]=Mt(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=ms({data:t}),e._scope=l,e.strict&&fx(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function kl(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!s&&!o){var a=kd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=cx(e,i,n);r.forEachMutation(function(d,m){var f=i+m;ux(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;dx(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;mx(e,f,d,u)}),r.forEachChild(function(d,m){kl(e,t,n.concat(m),d,o)})}function cx(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=Ma(s,i,a),u=l.payload,d=l.options,m=l.type;return(!d||!d.root)&&(m=t+m),e.dispatch(m,u)},commit:r?e.commit:function(s,i,a){var l=Ma(s,i,a),u=l.payload,d=l.options,m=l.type;(!d||!d.root)&&(m=t+m),e.commit(m,u,d)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Jg(e,t)}},state:{get:function(){return kd(e.state,n)}}}),o}function Jg(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function ux(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function dx(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return ax(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function mx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function fx(e){zn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function kd(e,t){return t.reduce(function(n,r){return n[r]},e)}function Ma(e,t,n){return ix(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var px="vuex bindings",vf="vuex:mutations",nc="vuex:actions",$o="vuex",hx=0;function _x(e,t){Ow({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:[px]},function(n){n.addTimelineLayer({id:vf,label:"Vuex Mutations",color:bf}),n.addTimelineLayer({id:nc,label:"Vuex Actions",color:bf}),n.addInspector({id:$o,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===$o)if(r.filter){var o=[];ty(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[ey(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===$o){var o=r.nodeId;Jg(t,o),r.state=vx(zx(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===$o){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,o){var s={};r.payload&&(s.payload=r.payload),s.state=o,n.notifyComponentUpdate(),n.sendInspectorTree($o),n.sendInspectorState($o),n.addTimelineEvent({layerId:vf,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,o){var s={};r.payload&&(s.payload=r.payload),r._id=hx++,r._time=Date.now(),s.state=o,n.addTimelineEvent({layerId:nc,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,o){var s={},i=Date.now()-r._time;s.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(s.payload=r.payload),s.state=o,n.addTimelineEvent({layerId:nc,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var bf=8702998,gx=6710886,yx=16777215,Xg={label:"namespaced",textColor:yx,backgroundColor:gx};function Qg(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function ey(e,t){return{id:t||"root",label:Qg(t),tags:e.namespaced?[Xg]:[],children:Object.keys(e._children).map(function(n){return ey(e._children[n],t+n+"/")})}}function ty(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[Xg]:[]}),Object.keys(t._children).forEach(function(o){ty(e,t._children[o],n,r+o+"/")})}function vx(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var s=bx(t);o.getters=Object.keys(s).map(function(i){return{key:i.endsWith("/")?Qg(i):i,editable:!1,value:mu(function(){return s[i]})}})}return o}function bx(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var o=t,s=r.pop();r.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[s]=mu(function(){return e[n]})}else t[n]=mu(function(){return e[n]})}),t}function zx(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,o,s){var i=r[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+t+'".');return s===n.length-1?i:i._children},t==="root"?e:e.root._children)}function mu(e){try{return e()}catch(t){return t}}var Kn=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},ny={namespaced:{configurable:!0}};ny.namespaced.get=function(){return!!this._rawModule.namespaced};Kn.prototype.addChild=function(t,n){this._children[t]=n};Kn.prototype.removeChild=function(t){delete this._children[t]};Kn.prototype.getChild=function(t){return this._children[t]};Kn.prototype.hasChild=function(t){return t in this._children};Kn.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Kn.prototype.forEachChild=function(t){hs(this._children,t)};Kn.prototype.forEachGetter=function(t){this._rawModule.getters&&hs(this._rawModule.getters,t)};Kn.prototype.forEachAction=function(t){this._rawModule.actions&&hs(this._rawModule.actions,t)};Kn.prototype.forEachMutation=function(t){this._rawModule.mutations&&hs(this._rawModule.mutations,t)};Object.defineProperties(Kn.prototype,ny);var xo=function(t){this.register([],t,!1)};xo.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};xo.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};xo.prototype.update=function(t){ry([],this.root,t)};xo.prototype.register=function(t,n,r){var o=this;r===void 0&&(r=!0);var s=new Kn(n,r);if(t.length===0)this.root=s;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],s)}n.modules&&hs(n.modules,function(a,l){o.register(t.concat(l),a,r)})};xo.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],o=n.getChild(r);o&&o.runtime&&n.removeChild(r)};xo.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function ry(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;ry(e.concat(r),t.getChild(r),n.modules[r])}}function Cx(e){return new mn(e)}var mn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var o=t.strict;o===void 0&&(o=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new xo(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var i=this,a=this,l=a.dispatch,u=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,h){return u.call(i,f,p,h)},this.strict=o;var d=this._modules.root.state;kl(this,d,[],this._modules.root),xd(this,d),r.forEach(function(m){return m(n)})},Sd={state:{configurable:!0}};mn.prototype.install=function(t,n){t.provide(n||sx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&_x(t,this)};Sd.state.get=function(){return this._state.data};Sd.state.set=function(e){};mn.prototype.commit=function(t,n,r){var o=this,s=Ma(t,n,r),i=s.type,a=s.payload,l={type:i,payload:a},u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(m){m(a)})}),this._subscribers.slice().forEach(function(d){return d(l,o.state)}))};mn.prototype.dispatch=function(t,n){var r=this,o=Ma(t,n),s=o.type,i=o.payload,a={type:s,payload:i},l=this._actions[s];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,r.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,m){u.then(function(f){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}d(f)},function(f){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,f)})}catch{}m(f)})})}};mn.prototype.subscribe=function(t,n){return Zg(t,this._subscribers,n)};mn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Zg(r,this._actionSubscribers,n)};mn.prototype.watch=function(t,n,r){var o=this;return zn(function(){return t(o.state,o.getters)},n,Object.assign({},r))};mn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};mn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),kl(this,this.state,t,this._modules.get(t),r.preserveState),xd(this,this.state)};mn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=kd(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),Yg(this)};mn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};mn.prototype.hotUpdate=function(t){this._modules.update(t),Yg(this,!0)};mn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(mn.prototype,Sd);const pt=Cx({state(){return{albums_sort:1,artist_albums_sort:1,artist_tracks_sort:1,artists_sort:1,composer_tracks_sort:1,config:{buildoptions:[],version:"",websocket_port:0},genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,lastfm:{},library:{albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",updated_at:"01",updating:!1},lyrics:{content:[],pane:!1},notifications:{list:[],next_id:1},outputs:[],pairing:{},player:{consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0},queue:{count:0,items:[],version:0},recent_searches:[],rss_count:{},search_query:"",search_source:"search-library",settings:{categories:[]},show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,spotify:{},update_dialog_scan_kind:""}},getters:{now_playing:e=>e.queue.items.find(t=>t.id===e.player.item_id)??{},settings_option:e=>(t,n)=>{var r;return((r=e.settings.categories.find(o=>o.name===t))==null?void 0:r.options.find(o=>o.name===n))??{}},settings_option_recently_added_limit:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="recently_added_limit"))==null?void 0:r.value)??100},settings_option_show_composer_for_genre:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_composer_for_genre"))==null?void 0:r.value)??null},settings_option_show_composer_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_composer_now_playing"))==null?void 0:r.value)??!1},settings_option_show_filepath_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_filepath_now_playing"))==null?void 0:r.value)??!1},settings_webinterface:e=>{var t;return((t=e.settings)==null?void 0:t.categories.find(n=>n.name==="webinterface"))??null}},mutations:{[dh](e,t){e.config=t},[yh](e,t){e.settings=t},[ph](e,t){e.library=t},[fh](e,t){e.rss_count=t},[hh](e,t){e.outputs=t},[Iu](e,t){e.player=t},[gh](e,t){e.queue=t},[Oc](e,t){e.lyrics.content=t},[mh](e,t){e.lastfm=t},[vh](e,t){e.spotify=t},[_h](e,t){e.pairing=t},[Au](e,t){e.search_query=t},[Ou](e,t){e.search_source=t},[lh](e,t){e.composer_tracks_sort=t},[ch](e,t){e.genre_tracks_sort=t},[Qa](e,t){e.hide_singles=t},[_i](e,t){e.hide_spotify=t},[sh](e,t){e.artists_sort=t},[ih](e,t){e.artist_albums_sort=t},[ah](e,t){e.artist_tracks_sort=t},[oh](e,t){e.albums_sort=t},[uh](e,t){e.show_only_next_items=t},[Xo](e,t){e.show_burger_menu=t},[Qo](e,t){e.show_player_menu=t},[gi](e,t){e.show_update_dialog=t},[Pu](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,text:n.text,timeout:n.timeout,topic:n.topic,type:n.type};if(r.topic){const o=t.notifications.list.findIndex(s=>s.topic===r.topic);if(o>=0){t.notifications.list.splice(o,1,r);return}}t.notifications.list.push(r),n.timeout>0&&setTimeout(()=>{this.dispatch("delete_notification",r)},n.timeout)},add_recent_search({commit:e,state:t},n){const r=t.recent_searches.indexOf(n);r!==-1&&t.recent_searches.splice(r,1),t.recent_searches.splice(0,0,n),t.recent_searches.length>5&&t.recent_searches.pop()},remove_recent_search({commit:e,state:t},n){const r=t.recent_searches.indexOf(n);r!==-1&&t.recent_searches.splice(r,1)},delete_notification({commit:e,state:t},n){const r=t.notifications.list.indexOf(n);r!==-1&&t.notifications.list.splice(r,1)},update_settings_option({commit:e,state:t},n){const r=t.settings.categories.find(s=>s.name===n.category),o=r.options.find(s=>s.name===n.name);o.value=n.value}}}),{t:Lo}=xl.global;ae.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&pt.dispatch("add_notification",{text:Lo("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const F={config(){return ae.get("./api/config")},lastfm(){return ae.get("./api/lastfm")},lastfm_login(e){return ae.post("./api/lastfm-login",e)},lastfm_logout(){return ae.get("./api/lastfm-logout")},library_add(e){return ae.post("./api/library/add",void 0,{params:{url:e}})},library_album(e){return ae.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return ae.put(`./api/library/albums/${e}/tracks`,void 0,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return ae.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e){return ae.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return ae.get(`./api/library/artists/${e}`)},library_artist_albums(e){return ae.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return ae.get("./api/search",{params:t})},library_artists(e){return ae.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return ae.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return ae.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return ae.get("./api/search",{params:t})},library_composers(e){return ae.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return ae.get(`./api/library/count?expression=${e}`)},library_files(e){return ae.get("./api/library/files",{params:{directory:e}})},library_genre(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"genres"};return ae.get("./api/search",{params:n})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return ae.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return ae.get("./api/search",{params:n})},library_genres(e){const t={expression:`media_kind is ${e}`,type:"genres"};return ae.get("./api/search",{params:t})},library_playlist(e){return ae.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return ae.delete(`./api/library/playlists/${e}`,void 0)},library_playlist_folder(e=0){return ae.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return ae.get(`./api/library/playlists/${e}/tracks`)},library_podcast_episodes(e){const t={expression:`media_kind is podcast and songalbumid is "${e}" ORDER BY date_released DESC`,type:"tracks"};return ae.get("./api/search",{params:t})},library_podcasts_new_episodes(){const e={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return ae.get("./api/search",{params:e})},library_radio_streams(){const e={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return ae.get("./api/search",{params:e})},library_rescan(e){return ae.put("./api/rescan",void 0,{params:{scan_kind:e}})},library_stats(){return ae.get("./api/library")},library_track(e){return ae.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return ae.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return ae.put(`./api/library/tracks/${e}`,void 0,{params:t})},library_update(e){return ae.put("./api/update",void 0,{params:{scan_kind:e}})},output_toggle(e){return ae.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return ae.put(`./api/outputs/${e}`,t)},outputs(){return ae.get("./api/outputs")},pairing(){return ae.get("./api/pairing")},pairing_kickoff(e){return ae.post("./api/pairing",e)},player_consume(e){return ae.put(`./api/player/consume?state=${e}`)},player_next(){return ae.put("./api/player/next")},player_output_volume(e,t){return ae.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return ae.put("./api/player/pause")},player_play(e={}){return ae.put("./api/player/play",void 0,{params:e})},player_play_expression(e,t,n){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:t};return ae.post("./api/queue/items/add",void 0,{params:r})},player_play_uri(e,t,n){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:t,uris:e};return ae.post("./api/queue/items/add",void 0,{params:r})},player_previous(){return ae.put("./api/player/previous")},player_repeat(e){return ae.put(`./api/player/repeat?state=${e}`)},player_seek(e){return ae.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return ae.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return ae.put(`./api/player/shuffle?state=${e}`)},player_status(){return ae.get("./api/player")},player_stop(){return ae.put("./api/player/stop")},player_volume(e){return ae.put(`./api/player/volume?volume=${e}`)},queue(){return ae.get("./api/queue")},queue_add(e){return ae.post(`./api/queue/items/add?uris=${e}`).then(t=>(pt.dispatch("add_notification",{text:Lo("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;return pt.getters.now_playing&&pt.getters.now_playing.id&&(t=pt.getters.now_playing.position+1),ae.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(n=>(pt.dispatch("add_notification",{text:Lo("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_clear(){return ae.put("./api/queue/clear")},queue_expression_add(e){return ae.post("./api/queue/items/add",void 0,{params:{expression:e}}).then(t=>(pt.dispatch("add_notification",{text:Lo("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,pt.getters.now_playing&&pt.getters.now_playing.id&&(t.position=pt.getters.now_playing.position+1),ae.post("./api/queue/items/add",void 0,{params:t}).then(n=>(pt.dispatch("add_notification",{text:Lo("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_move(e,t){return ae.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return ae.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return ae.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(pt.dispatch("add_notification",{text:Lo("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return ae.get("./api/search",{params:e})},settings(){return ae.get("./api/settings")},settings_update(e,t){return ae.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return ae.get("./api/spotify")},spotify_logout(){return ae.get("./api/spotify-logout")}},ne=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},wx={name:"ModalDialogRemotePairing",props:{show:Boolean},emits:["close"],data(){return{pairing_req:{pin:""}}},computed:{pairing(){return this.$store.state.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{kickoff_pairing(){F.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},xx={key:0,class:"modal is-active"},kx={class:"modal-content"},Sx={class:"card"},Ex={class:"card-content"},$x=["textContent"],Tx=["textContent"],Ax={class:"field"},Ox={class:"control"},Px=["placeholder"],Ix={class:"card-footer is-clipped"},Dx=["textContent"],Rx=["textContent"];function Lx(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",xx,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",kx,[c("div",Sx,[c("div",Ex,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,$x),c("form",{onSubmit:t[2]||(t[2]=ht((...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a),["prevent"]))},[c("label",{class:"label",textContent:g(s.pairing.remote)},null,8,Tx),c("div",Ax,[c("div",Ox,[ft(c("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.pairing_req.pin=a),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,Px),[[un,o.pairing_req.pin]])])])],32)]),c("footer",Ix,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.cancel"))},null,8,Dx)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a))},[y(i,{class:"icon",name:"cellphone",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,Rx)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const Nx=ne(wx,[["render",Lx]]),Mx={name:"ModalDialog",props:{close_action:{default:"dialog.cancel",type:String},delete_action:{default:"",type:String},ok_action:{default:"",type:String},show:Boolean,title:{required:!0,type:String}},emits:["delete","close","ok"]},Fx={key:0,class:"modal is-active"},Vx={class:"modal-content"},Hx={class:"card"},Ux={class:"card-content"},jx=["textContent"],Bx={class:"card-footer is-clipped"},Wx=["textContent"],qx=["textContent"],Gx=["textContent"];function Kx(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",Fx,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",Vx,[c("div",Hx,[c("div",Ux,[n.title?(x(),T("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,jx)):Z("",!0),yt(e.$slots,"modal-content")]),c("footer",Bx,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(n.close_action)},null,8,Wx)]),n.delete_action?(x(),T("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[y(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:g(n.delete_action)},null,8,qx)])):Z("",!0),n.ok_action?(x(),T("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[y(i,{class:"icon",name:"check",size:"16"}),c("span",{class:"is-size-7",textContent:g(n.ok_action)},null,8,Gx)])):Z("",!0)])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Z("",!0)]),_:3})}const Ed=ne(Mx,[["render",Kx]]),Zx={name:"ModalDialogUpdate",components:{ModalDialog:Ed},props:{show:Boolean},emits:["close"],data(){return{rescan_metadata:!1}},computed:{library(){return this.$store.state.library},rss(){return this.$store.state.rss_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},update_dialog_scan_kind:{get(){return this.$store.state.update_dialog_scan_kind},set(e){this.$store.commit(Pu,e)}}},methods:{close(){this.update_dialog_scan_kind="",this.$emit("close")},update_library(){this.rescan_metadata?F.library_rescan(this.update_dialog_scan_kind):F.library_update(this.update_dialog_scan_kind)}}},Yx={key:0},Jx=["textContent"],Xx={key:0,class:"field"},Qx={class:"control"},ek={class:"select is-small"},tk=["textContent"],nk=["textContent"],rk=["textContent"],ok=["textContent"],sk={class:"field"},ik=["textContent"],ak={key:1},lk=["textContent"];function ck(e,t,n,r,o,s){const i=$("modal-dialog");return x(),Ce(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:s.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:s.update_library,onClose:t[2]||(t[2]=a=>s.close())},{"modal-content":P(()=>[s.library.updating?(x(),T("div",ak,[c("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,lk)])):(x(),T("div",Yx,[c("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,Jx),s.spotify_enabled||s.rss.tracks>0?(x(),T("div",Xx,[c("div",Qx,[c("div",ek,[ft(c("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>s.update_dialog_scan_kind=a)},[c("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,tk),c("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,nk),s.spotify_enabled?(x(),T("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,rk)):Z("",!0),s.rss.tracks>0?(x(),T("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,ok)):Z("",!0)],512),[[zd,s.update_dialog_scan_kind]])])])])):Z("",!0),c("div",sk,[ft(c("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=a=>o.rescan_metadata=a),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[On,o.rescan_metadata]]),c("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,ik)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const uk=ne(Zx,[["render",ck]]),dk={name:"ControlSlider",props:{cursor:{default:"",type:String},disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},mk=["value","disabled","max"];function fk(e,t,n,r,o,s){return x(),T("input",{value:n.value,disabled:n.disabled,class:we(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:Yr({"--ratio":s.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,mk)}const $d=ne(dk,[["render",fk]]),pk={name:"NavbarItemLink",props:{exact:Boolean,to:{required:!0,type:Object}},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qo,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(Xo,!1),this.show_player_menu&&this.$store.commit(Qo,!1),this.$router.push(this.to)}}},hk=["href"];function _k(e,t,n,r,o,s){return x(),T("a",{class:we(["navbar-item",{"is-active":s.is_active}]),href:s.full_path(),onClick:t[0]||(t[0]=ht(i=>s.open_link(),["stop","prevent"]))},[yt(e.$slots,"default")],10,hk)}const oy=ne(pk,[["render",_k]]);var gk="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",yk="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",vk="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",bk="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",zk="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",Ck="M12 21.5C10.65 20.65 8.2 20 6.5 20C4.85 20 3.15 20.3 1.75 21.05C1.65 21.1 1.6 21.1 1.5 21.1C1.25 21.1 1 20.85 1 20.6V6C1.6 5.55 2.25 5.25 3 5C4.11 4.65 5.33 4.5 6.5 4.5C8.45 4.5 10.55 4.9 12 6C13.45 4.9 15.55 4.5 17.5 4.5C18.67 4.5 19.89 4.65 21 5C21.75 5.25 22.4 5.55 23 6V20.6C23 20.85 22.75 21.1 22.5 21.1C22.4 21.1 22.35 21.1 22.25 21.05C20.85 20.3 19.15 20 17.5 20C15.8 20 13.35 20.65 12 21.5M12 8V19.5C13.35 18.65 15.8 18 17.5 18C18.7 18 19.9 18.15 21 18.5V7C19.9 6.65 18.7 6.5 17.5 6.5C15.8 6.5 13.35 7.15 12 8M13 11.5C14.11 10.82 15.6 10.5 17.5 10.5C18.41 10.5 19.26 10.59 20 10.78V9.23C19.13 9.08 18.29 9 17.5 9C15.73 9 14.23 9.28 13 9.84V11.5M17.5 11.67C15.79 11.67 14.29 11.93 13 12.46V14.15C14.11 13.5 15.6 13.16 17.5 13.16C18.54 13.16 19.38 13.24 20 13.4V11.9C19.13 11.74 18.29 11.67 17.5 11.67M20 14.57C19.13 14.41 18.29 14.33 17.5 14.33C15.67 14.33 14.17 14.6 13 15.13V16.82C14.11 16.16 15.6 15.83 17.5 15.83C18.54 15.83 19.38 15.91 20 16.07V14.57Z",wk="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",xk="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",Sl="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",kk="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",Sk="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",Ek="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",$k="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",Tk="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",Ak="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",Ok="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",Pk="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",Ik="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",Dk="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",Rk="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",Lk="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",Nk="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",Mk="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",Fk="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",Vk="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",Hk="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",Uk="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",jk="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3",Bk="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",Wk="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",qk="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",Gk="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",Kk="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",Zk="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",Yk="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",Jk="M14,19H18V5H14M6,19H10V5H6V19Z",Xk="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",Qk="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",eS="M8,5.14V19.14L19,12.14L8,5.14Z",tS="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",nS="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",rS="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",oS="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",sS="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",iS="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",aS="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",lS="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",cS="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",uS="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",dS="M15,20A1,1 0 0,0 16,19V4H8A1,1 0 0,0 7,5V16H5V5A3,3 0 0,1 8,2H19A3,3 0 0,1 22,5V6H20V5A1,1 0 0,0 19,4A1,1 0 0,0 18,5V9L18,19A3,3 0 0,1 15,22H5A3,3 0 0,1 2,19V18H13A2,2 0 0,0 15,20M9,6H14V8H9V6M9,10H14V12H9V10M9,14H14V16H9V14Z",mS="M13.8 22H5C3.3 22 2 20.7 2 19V18H13.1C13 18.3 13 18.7 13 19C13 20.1 13.3 21.1 13.8 22M13.8 16H5V5C5 3.3 6.3 2 8 2H19C20.7 2 22 3.3 22 5V6H20V5C20 4.4 19.6 4 19 4S18 4.4 18 5V13.1C16.2 13.4 14.7 14.5 13.8 16M8 8H15V6H8V8M8 12H14V10H8V12M17 16V22L22 19L17 16Z",fS="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",pS="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",hS="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",_S="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",gS="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",yS="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",vS="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",bS="M18,18H6V6H18V18Z",zS="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",CS="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",wS="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",xS="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 kS={name:"NavbarItemOutput",components:{ControlSlider:$d},props:{output:{required:!0,type:Object}},data(){return{cursor:Sl,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(){F.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};F.output_update(this.output.id,e)}}},SS={class:"navbar-item"},ES={class:"level is-mobile"},$S={class:"level-left is-flex-grow-1"},TS={class:"level-item is-flex-grow-0"},AS={class:"level-item"},OS={class:"is-flex-grow-1"},PS=["textContent"];function IS(e,t,n,r,o,s){const i=$("mdicon"),a=$("control-slider");return x(),T("div",SS,[c("div",ES,[c("div",$S,[c("div",TS,[c("a",{class:we(["button is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>s.set_enabled&&s.set_enabled(...l))},[y(i,{class:"icon",name:s.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),c("div",AS,[c("div",OS,[c("p",{class:we(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,PS),y(a,{value:o.volume,"onUpdate:value":t[1]||(t[1]=l=>o.volume=l),disabled:!n.output.selected,max:100,cursor:o.cursor,onChange:s.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const DS=ne(kS,[["render",IS]]),RS={name:"PlayerButtonConsume",props:{icon_size:{default:16,type:Number}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){F.player_consume(!this.is_consume)}}};function LS(e,t,n,r,o,s){const i=$("mdicon");return x(),T("a",{class:we({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...a)=>s.toggle_consume_mode&&s.toggle_consume_mode(...a))},[y(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const NS=ne(RS,[["render",LS]]),MS={name:"PlayerButtonLyrics",props:{icon_size:{default:16,type:Number}},computed:{icon_name(){return this.is_active?"script-text-play":"script-text-outline"},is_active(){return this.$store.state.lyrics.pane}},methods:{toggle_lyrics(){this.$store.state.lyrics.pane=!this.$store.state.lyrics.pane}}};function FS(e,t,n,r,o,s){const i=$("mdicon");return x(),T("a",{class:we({"is-info":s.is_active}),onClick:t[0]||(t[0]=(...a)=>s.toggle_lyrics&&s.toggle_lyrics(...a))},[y(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const VS=ne(MS,[["render",FS]]),HS={name:"PlayerButtonNext",props:{icon_size:{default:16,type:Number}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_next(){this.disabled||F.player_next()}}},US=["disabled"];function jS(e,t,n,r,o,s){const i=$("mdicon");return x(),T("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_next&&s.play_next(...a))},[y(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,US)}const BS=ne(HS,[["render",jS]]),WS={name:"PlayerButtonPlayPause",props:{icon_size:{default:16,type:Number},show_disabled_message:Boolean},computed:{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"},is_pause_allowed(){return this.$store.getters.now_playing&&this.$store.getters.now_playing.data_kind!=="pipe"},is_playing(){return this.$store.state.player.state==="play"}},methods:{toggle_play_pause(){if(this.disabled){this.show_disabled_message&&this.$store.dispatch("add_notification",{text:this.$t("server.empty-queue"),timeout:2e3,topic:"connection",type:"info"});return}this.is_playing&&this.is_pause_allowed?F.player_pause():this.is_playing&&!this.is_pause_allowed?F.player_stop():F.player_play()}}},qS=["disabled"];function GS(e,t,n,r,o,s){const i=$("mdicon");return x(),T("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.toggle_play_pause&&s.toggle_play_pause(...a))},[y(i,{name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],8,qS)}const KS=ne(WS,[["render",GS]]),ZS={name:"PlayerButtonPrevious",props:{icon_size:{default:16,type:Number}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_previous(){this.disabled||F.player_previous()}}},YS=["disabled"];function JS(e,t,n,r,o,s){const i=$("mdicon");return x(),T("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_previous&&s.play_previous(...a))},[y(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,YS)}const XS=ne(ZS,[["render",JS]]),QS={name:"PlayerButtonRepeat",props:{icon_size:{default:16,type:Number}},computed:{icon_name(){return this.is_repeat_all?"repeat":this.is_repeat_single?"repeat-once":"repeat-off"},is_repeat_all(){return this.$store.state.player.repeat==="all"},is_repeat_off(){return!this.is_repeat_all&&!this.is_repeat_single},is_repeat_single(){return this.$store.state.player.repeat==="single"}},methods:{toggle_repeat_mode(){this.is_repeat_all?F.player_repeat("single"):this.is_repeat_single?F.player_repeat("off"):F.player_repeat("all")}}};function e2(e,t,n,r,o,s){const i=$("mdicon");return x(),T("a",{class:we({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>s.toggle_repeat_mode&&s.toggle_repeat_mode(...a))},[y(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],2)}const t2=ne(QS,[["render",e2]]),n2={name:"PlayerButtonSeekBack",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},is_stopped(){return this.$store.state.player.state==="stop"},now_playing(){return this.$store.getters.now_playing},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek(){this.disabled||F.player_seek(this.seek_ms*-1)}}},r2=["disabled"];function o2(e,t,n,r,o,s){const i=$("mdicon");return s.visible?(x(),T("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[y(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,r2)):Z("",!0)}const s2=ne(n2,[["render",o2]]),i2={name:"PlayerButtonSeekForward",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},is_stopped(){return this.$store.state.player.state==="stop"},now_playing(){return this.$store.getters.now_playing},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek(){this.disabled||F.player_seek(this.seek_ms)}}},a2=["disabled"];function l2(e,t,n,r,o,s){const i=$("mdicon");return s.visible?(x(),T("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[y(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,a2)):Z("",!0)}const c2=ne(i2,[["render",l2]]),u2={name:"PlayerButtonShuffle",props:{icon_size:{default:16,type:Number}},computed:{icon_name(){return this.is_shuffle?"shuffle":"shuffle-disabled"},is_shuffle(){return this.$store.state.player.shuffle}},methods:{toggle_shuffle_mode(){F.player_shuffle(!this.is_shuffle)}}};function d2(e,t,n,r,o,s){const i=$("mdicon");return x(),T("a",{class:we({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>s.toggle_shuffle_mode&&s.toggle_shuffle_mode(...a))},[y(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],2)}const m2=ne(u2,[["render",d2]]),xs={audio:new Audio,context:null,play(e){this.stop(),this.context.resume().then(()=>{this.audio.src=`${String(e||"")}?x=${Date.now()}`,this.audio.crossOrigin="anonymous",this.audio.load()})},setVolume(e){this.audio&&(this.audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},setup(){return this.context=new(window.AudioContext||window.webkitAudioContext),this.context.createMediaElementSource(this.audio).connect(this.context.destination),this.audio.addEventListener("canplaythrough",t=>{this.audio.play()}),this.audio.addEventListener("canplay",t=>{this.audio.play()}),this.audio},stop(){try{this.audio.pause()}catch{}try{this.audio.stop()}catch{}try{this.audio.close()}catch{}}},f2={name:"NavbarBottom",components:{ControlSlider:$d,NavbarItemLink:oy,NavbarItemOutput:DS,PlayerButtonConsume:NS,PlayerButtonLyrics:VS,PlayerButtonNext:BS,PlayerButtonPlayPause:KS,PlayerButtonPrevious:XS,PlayerButtonRepeat:t2,PlayerButtonSeekBack:s2,PlayerButtonSeekForward:c2,PlayerButtonShuffle:m2},data(){return{cursor:Sl,loading:!1,old_volume:0,playing:!1,show_desktop_outputs_menu:!1,show_outputs_menu:!1,stream_volume:10}},computed:{config(){return this.$store.state.config},is_now_playing_page(){return this.$route.name==="now-playing"},now_playing(){return this.$store.getters.now_playing},outputs(){return this.$store.state.outputs},player(){return this.$store.state.player},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qo,e)}}},watch:{"$store.state.player.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{change_stream_volume(){xs.setVolume(this.stream_volume/100)},change_volume(){F.player_volume(this.player.volume)},closeAudio(){xs.stop(),this.playing=!1},on_click_outside_outputs(){this.show_outputs_menu=!1},playChannel(){this.playing||(this.loading=!0,xs.play("/stream.mp3"),xs.setVolume(this.stream_volume/100))},setupAudio(){const e=xs.setup();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})},togglePlay(){this.loading||(this.playing&&this.closeAudio(),this.playChannel())},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()}}},p2={class:"navbar-dropdown is-right fd-width-auto"},h2={class:"navbar-item"},_2={class:"level is-mobile"},g2={class:"level-left is-flex-grow-1"},y2={class:"level-item is-flex-grow-0"},v2={class:"level-item"},b2=["textContent"],z2=c("hr",{class:"my-3"},null,-1),C2=c("hr",{class:"my-3"},null,-1),w2={class:"navbar-item"},x2={class:"level is-mobile"},k2={class:"level-left is-flex-grow-1"},S2={class:"level-item is-flex-grow-0"},E2={class:"level-item"},$2={class:"is-flex-grow-1"},T2=["textContent"],A2={href:"stream.mp3",class:"heading ml-2",target:"_blank"},O2=c("hr",{class:"my-3"},null,-1),P2={class:"navbar-item is-justify-content-center"},I2={class:"buttons has-addons"},D2={class:"navbar-brand is-flex-grow-1"},R2={class:"fd-is-text-clipped"},L2=["textContent"],N2=c("br",null,null,-1),M2=["textContent"],F2=["textContent"],V2={class:"navbar-item"},H2={class:"buttons has-addons is-centered"},U2=c("hr",{class:"my-3"},null,-1),j2={class:"navbar-item"},B2={class:"level is-mobile"},W2={class:"level-left is-flex-grow-1"},q2={class:"level-item is-flex-grow-0"},G2={class:"level-item"},K2={class:"is-flex-grow-1"},Z2=["textContent"],Y2=c("hr",{class:"my-3"},null,-1),J2=c("hr",{class:"my-3"},null,-1),X2={class:"navbar-item mb-5"},Q2={class:"level is-mobile"},eE={class:"level-left is-flex-grow-1"},tE={class:"level-item is-flex-grow-0"},nE={class:"level-item"},rE={class:"is-flex-grow-1"},oE=["textContent"],sE={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function iE(e,t,n,r,o,s){const i=$("mdicon"),a=$("control-slider"),l=$("navbar-item-output"),u=$("player-button-repeat"),d=$("player-button-shuffle"),m=$("player-button-consume"),f=$("player-button-lyrics"),p=$("navbar-item-link"),h=$("player-button-previous"),_=$("player-button-seek-back"),b=$("player-button-play-pause"),z=$("player-button-seek-forward"),C=$("player-button-next");return x(),T("nav",{class:we(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":s.is_now_playing_page,"is-dark":!s.is_now_playing_page}]),role:"navigation","aria-label":"player controls"},[c("div",{class:we(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":s.show_player_menu}])},[c("div",p2,[c("div",h2,[c("div",_2,[c("div",g2,[c("div",y2,[c("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...v)=>s.toggle_mute_volume&&s.toggle_mute_volume(...v))},[y(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",v2,[c("div",null,[c("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,b2),y(a,{value:s.player.volume,"onUpdate:value":t[1]||(t[1]=v=>s.player.volume=v),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),z2,(x(!0),T(be,null,zt(s.outputs,v=>(x(),Ce(l,{key:v.id,output:v},null,8,["output"]))),128)),C2,c("div",w2,[c("div",x2,[c("div",k2,[c("div",S2,[c("a",{class:we(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[2]||(t[2]=(...v)=>s.togglePlay&&s.togglePlay(...v))},[y(i,{class:"icon",name:"broadcast",size:"18"})],2)]),c("div",E2,[c("div",$2,[c("div",{class:we(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,T2),c("a",A2,[y(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(a,{value:o.stream_volume,"onUpdate:value":t[3]||(t[3]=v=>o.stream_volume=v),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),O2,c("div",P2,[c("div",I2,[y(u,{class:"button"}),y(d,{class:"button"}),y(m,{class:"button"}),y(f,{class:"button"})])])])],2),c("div",D2,[y(p,{to:{name:"queue"},exact:"",class:"mr-auto"},{default:P(()=>[y(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),s.is_now_playing_page?Z("",!0):(x(),Ce(p,{key:0,to:{name:"now-playing"},exact:"",class:"is-expanded is-clipped is-size-7"},{default:P(()=>[c("div",R2,[c("strong",{textContent:g(s.now_playing.title)},null,8,L2),N2,c("span",{textContent:g(s.now_playing.artist)},null,8,M2),s.now_playing.album?(x(),T("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:s.now_playing.album}))},null,8,F2)):Z("",!0)])]),_:1})),s.is_now_playing_page?(x(),Ce(h,{key:1,class:"navbar-item px-2",icon_size:24})):Z("",!0),s.is_now_playing_page?(x(),Ce(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):Z("",!0),y(b,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),s.is_now_playing_page?(x(),Ce(z,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):Z("",!0),s.is_now_playing_page?(x(),Ce(C,{key:4,class:"navbar-item px-2",icon_size:24})):Z("",!0),c("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=v=>s.show_player_menu=!s.show_player_menu)},[y(i,{class:"icon",name:s.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),c("div",{class:we(["navbar-menu is-hidden-desktop",{"is-active":s.show_player_menu}])},[c("div",V2,[c("div",H2,[y(u,{class:"button"}),y(d,{class:"button"}),y(m,{class:"button"}),y(f,{class:"button"})])]),U2,c("div",j2,[c("div",B2,[c("div",W2,[c("div",q2,[c("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...v)=>s.toggle_mute_volume&&s.toggle_mute_volume(...v))},[y(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",G2,[c("div",K2,[c("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,Z2),y(a,{value:s.player.volume,"onUpdate:value":t[6]||(t[6]=v=>s.player.volume=v),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),Y2,(x(!0),T(be,null,zt(s.outputs,v=>(x(),Ce(l,{key:v.id,output:v},null,8,["output"]))),128)),J2,c("div",X2,[c("div",Q2,[c("div",eE,[c("div",tE,[c("a",{class:we(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[7]||(t[7]=(...v)=>s.togglePlay&&s.togglePlay(...v))},[y(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),c("div",nE,[c("div",rE,[c("div",{class:we(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,oE),c("a",sE,[y(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(a,{value:o.stream_volume,"onUpdate:value":t[8]||(t[8]=v=>o.stream_volume=v),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])],2)],2)}const aE=ne(f2,[["render",iE]]),lE={name:"NavbarTop",components:{NavbarItemLink:oy},data(){return{show_settings_menu:!1}},computed:{search_name:{get(){return this.$store.state.search_source}},show_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobooks").value},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xo,e)}},show_files(){return this.$store.getters.settings_option("webinterface","show_menu_item_files").value},show_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},show_player_menu(){return this.$store.state.show_player_menu},show_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},show_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},show_radio(){return this.$store.getters.settings_option("webinterface","show_menu_item_radio").value},show_search(){return this.$store.getters.settings_option("webinterface","show_menu_item_search").value},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(gi,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},zindex(){return this.show_player_menu?"z-index: 21":""}},watch:{$route(e,t){this.show_settings_menu=!1}},methods:{on_click_outside_settings(){this.show_settings_menu=!this.show_settings_menu},open_update_dialog(){this.show_update_dialog=!0,this.show_settings_menu=!1,this.show_burger_menu=!1}}},cE={class:"navbar-brand"},uE=c("span",null,null,-1),dE=c("span",null,null,-1),mE=c("span",null,null,-1),fE=[uE,dE,mE],pE=c("div",{class:"navbar-start"},null,-1),hE={class:"navbar-end"},_E={class:"navbar-item is-arrowless is-hidden-touch"},gE={class:"navbar-dropdown is-right"},yE=["textContent"],vE=["textContent"],bE=["textContent"],zE=["textContent"],CE=["textContent"],wE=["textContent"],xE=["textContent"],kE=["textContent"],SE=["textContent"],EE=["textContent"],$E=["textContent"],TE=c("hr",{class:"my-3"},null,-1),AE=["textContent"];function OE(e,t,n,r,o,s){const i=$("mdicon"),a=$("navbar-item-link");return x(),T("nav",{class:"navbar is-light is-fixed-top",style:Yr(s.zindex),role:"navigation","aria-label":"main navigation"},[c("div",cE,[s.show_playlists?(x(),Ce(a,{key:0,to:{name:"playlists"}},{default:P(()=>[y(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):Z("",!0),s.show_music?(x(),Ce(a,{key:1,to:{name:"music"}},{default:P(()=>[y(i,{class:"icon",name:"music",size:"16"})]),_:1})):Z("",!0),s.show_podcasts?(x(),Ce(a,{key:2,to:{name:"podcasts"}},{default:P(()=>[y(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):Z("",!0),s.show_audiobooks?(x(),Ce(a,{key:3,to:{name:"audiobooks"}},{default:P(()=>[y(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):Z("",!0),s.show_radio?(x(),Ce(a,{key:4,to:{name:"radio"}},{default:P(()=>[y(i,{class:"icon",name:"radio",size:"16"})]),_:1})):Z("",!0),s.show_files?(x(),Ce(a,{key:5,to:{name:"files"}},{default:P(()=>[y(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):Z("",!0),s.show_search?(x(),Ce(a,{key:6,to:{name:s.search_name}},{default:P(()=>[y(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):Z("",!0),c("div",{class:we(["navbar-burger",{"is-active":s.show_burger_menu}]),onClick:t[0]||(t[0]=l=>s.show_burger_menu=!s.show_burger_menu)},fE,2)]),c("div",{class:we(["navbar-menu",{"is-active":s.show_burger_menu}])},[pE,c("div",hE,[c("div",{class:we(["navbar-item has-dropdown is-hoverable",{"is-active":o.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>s.on_click_outside_settings&&s.on_click_outside_settings(...l))},[c("a",_E,[y(i,{class:"icon",name:"menu",size:"24"})]),c("div",gE,[y(a,{to:{name:"playlists"}},{default:P(()=>[y(i,{class:"icon",name:"music-box-multiple",size:"16"}),c("b",{textContent:g(e.$t("navigation.playlists"))},null,8,yE)]),_:1}),y(a,{to:{name:"music"},exact:""},{default:P(()=>[y(i,{class:"icon",name:"music",size:"16"}),c("b",{textContent:g(e.$t("navigation.music"))},null,8,vE)]),_:1}),y(a,{to:{name:"music-artists"}},{default:P(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.artists"))},null,8,bE)]),_:1}),y(a,{to:{name:"music-albums"}},{default:P(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.albums"))},null,8,zE)]),_:1}),y(a,{to:{name:"music-genres"}},{default:P(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.genres"))},null,8,CE)]),_:1}),s.spotify_enabled?(x(),Ce(a,{key:0,to:{name:"music-spotify"}},{default:P(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.spotify"))},null,8,wE)]),_:1})):Z("",!0),y(a,{to:{name:"podcasts"}},{default:P(()=>[y(i,{class:"icon",name:"microphone",size:"16"}),c("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,xE)]),_:1}),y(a,{to:{name:"audiobooks"}},{default:P(()=>[y(i,{class:"icon",name:"book-open-variant",size:"16"}),c("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,kE)]),_:1}),y(a,{to:{name:"radio"}},{default:P(()=>[y(i,{class:"icon",name:"radio",size:"16"}),c("b",{textContent:g(e.$t("navigation.radio"))},null,8,SE)]),_:1}),y(a,{to:{name:"files"}},{default:P(()=>[y(i,{class:"icon",name:"folder-open",size:"16"}),c("b",{textContent:g(e.$t("navigation.files"))},null,8,EE)]),_:1}),y(a,{to:{name:s.search_name}},{default:P(()=>[y(i,{class:"icon",name:"magnify",size:"16"}),c("b",{textContent:g(e.$t("navigation.search"))},null,8,$E)]),_:1},8,["to"]),TE,y(a,{to:{name:"settings-webinterface"}},{default:P(()=>[wt(g(e.$t("navigation.settings")),1)]),_:1}),c("a",{class:"navbar-item",onClick:t[1]||(t[1]=ht(l=>s.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,AE),y(a,{to:{name:"about"}},{default:P(()=>[wt(g(e.$t("navigation.about")),1)]),_:1})])],2)])],2),ft(c("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>o.show_settings_menu=!1)},null,512),[[ui,o.show_settings_menu]])],4)}const PE=ne(lE,[["render",OE]]),IE={name:"NotificationList",computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.dispatch("delete_notification",e)}}},DE={key:0,class:"notifications"},RE={class:"columns is-centered"},LE={class:"column is-half"},NE=["onClick"],ME=["textContent"];function FE(e,t,n,r,o,s){return s.notifications.length>0?(x(),T("section",DE,[c("div",RE,[c("div",LE,[(x(!0),T(be,null,zt(s.notifications,i=>(x(),T("div",{key:i.id,class:we(["notification",i.type?`is-${i.type}`:""])},[c("button",{class:"delete",onClick:a=>s.remove(i)},null,8,NE),c("div",{class:"text",textContent:g(i.text)},null,8,ME)],2))),128))])])])):Z("",!0)}const VE=ne(IE,[["render",FE],["__scopeId","data-v-422ad582"]]);var sy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function El(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function iy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var ay={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(sy,function(){if(!("WebSocket"in window))return;function t(n,r,o){var s={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};o||(o={});for(var i in s)typeof o[i]<"u"?this[i]=o[i]:this[i]=s[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,u=!1,d=!1,m=document.createElement("div");m.addEventListener("open",function(p){a.onopen(p)}),m.addEventListener("close",function(p){a.onclose(p)}),m.addEventListener("connecting",function(p){a.onconnecting(p)}),m.addEventListener("message",function(p){a.onmessage(p)}),m.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=m.addEventListener.bind(m),this.removeEventListener=m.removeEventListener.bind(m),this.dispatchEvent=m.dispatchEvent.bind(m);function f(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else m.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),d=!0,h.close(),d=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var z=f("open");z.isReconnect=p,p=!1,m.dispatchEvent(z)},l.onclose=function(b){if(clearTimeout(C),l=null,u)a.readyState=WebSocket.CLOSED,m.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var z=f("connecting");z.code=b.code,z.reason=b.reason,z.wasClean=b.wasClean,m.dispatchEvent(z),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),m.dispatchEvent(f("close")));var C=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},C>a.maxReconnectInterval?a.maxReconnectInterval:C)}},l.onmessage=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var z=f("message");z.data=b.data,m.dispatchEvent(z)},l.onerror=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),m.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(p=1e3),u=!0,l&&l.close(p,h)},this.refresh=function(){l&&l.close()}}return t.prototype.onopen=function(n){},t.prototype.onclose=function(n){},t.prototype.onconnecting=function(n){},t.prototype.onmessage=function(n){},t.prototype.onerror=function(n){},t.debugAll=!1,t.CONNECTING=WebSocket.CONNECTING,t.OPEN=WebSocket.OPEN,t.CLOSING=WebSocket.CLOSING,t.CLOSED=WebSocket.CLOSED,t})})(ay);var HE=ay.exports;const UE=El(HE),jE={name:"App",components:{NavbarTop:PE,NavbarBottom:aE,NotificationList:VE,ModalDialogRemotePairing:Nx,ModalDialogUpdate:uk},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(Xo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qo,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(gi,e)}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created(){this.connect(),this.$Progress.start(),this.$router.beforeEach((e,t,n)=>{e.meta.show_progress&&!(e.path===t.path&&e.hash)&&(e.meta.progress&&this.$Progress.parseMeta(e.meta.progress),this.$Progress.start()),n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect(){F.config().then(({data:e})=>{this.$store.commit(dh,e),this.$store.commit(Qa,e.hide_singles),document.title=e.library_name,this.open_ws(),this.$Progress.finish()}).catch(()=>{this.$store.dispatch("add_notification",{text:this.$t("server.connection-failed"),type:"danger",topic:"connection"})})},open_ws(){if(this.$store.state.config.websocket_port<=0){this.$store.dispatch("add_notification",{text:this.$t("server.missing-port"),type:"danger"});return}const e=this;let t="ws://";window.location.protocol==="https:"&&(t="wss://");let n=`${t+window.location.hostname}:${e.$store.state.config.websocket_port}`;const r=new UE(n,"notify",{reconnectInterval:1e3,maxReconnectInterval:2e3});r.onopen=()=>{e.reconnect_attempts=0,r.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing()};let o=!1;function s(){o||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),o=!0,setTimeout(()=>{o=!1},500))}window.addEventListener("focus",s),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&s()}),r.onmessage=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(){F.library_stats().then(({data:e})=>{this.$store.commit(ph,e)}),F.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(fh,e)})},update_outputs(){F.outputs().then(({data:e})=>{this.$store.commit(hh,e.outputs)})},update_player_status(){F.player_status().then(({data:e})=>{this.$store.commit(Iu,e),this.update_lyrics()})},update_queue(){F.queue().then(({data:e})=>{this.$store.commit(gh,e),this.update_lyrics()})},update_lyrics(){const e=this.$store.getters.now_playing;e&&e.track_id?F.library_track(e.track_id).then(({data:t})=>{this.$store.commit(Oc,t.lyrics)}):this.$store.commit(Oc)},update_settings(){F.settings().then(({data:e})=>{this.$store.commit(yh,e)})},update_lastfm(){F.lastfm().then(({data:e})=>{this.$store.commit(mh,e)})},update_spotify(){F.spotify().then(({data:e})=>{this.$store.commit(vh,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(){F.pairing().then(({data:e})=>{this.$store.commit(_h,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/>"},BE={id:"app"};function WE(e,t,n,r,o,s){const i=$("navbar-top"),a=$("vue-progress-bar"),l=$("router-view"),u=$("modal-dialog-remote-pairing"),d=$("modal-dialog-update"),m=$("notification-list"),f=$("navbar-bottom");return x(),T("div",BE,[y(i),y(a,{class:"has-background-info"}),y(l,null,{default:P(({Component:p})=>[(x(),Ce(_l(p)))]),_:1}),y(u,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),y(d,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),ft(y(m,null,null,512),[[ui,!s.show_burger_menu]]),y(f),ft(c("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[ui,s.show_burger_menu||s.show_player_menu]])])}const qE=ne(jE,[["render",WE]]),ly=function(){return document.ontouchstart!==null?"click":"touchstart"},Fa="__vue_click_away__",cy=function(e,t,n){uy(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[Fa]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(ly(),e[Fa],!1)},uy=function(e){document.removeEventListener(ly(),e[Fa],!1),delete e[Fa]},GE=function(e,t,n){t.value!==t.oldValue&&cy(e,t,n)},KE={install:function(e){e.directive("click-away",ZE)}},ZE={mounted:cy,updated:GE,unmounted:uy};var Jn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Jn||{});const YE=typeof window<"u"&&window!==null,JE=t$(),XE=Object.prototype.propertyIsEnumerable,zf=Object.getOwnPropertySymbols;function Ws(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function QE(e){return typeof e=="object"?e===null:typeof e!="function"}function e$(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function t$(){return YE&&"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 n$(e,...t){if(!Ws(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof zf!="function")return e;for(const n of t){const r=zf(n);for(const o of r)XE.call(n,o)&&(e[o]=n[o])}return e}function dy(e,...t){let n=0;for(QE(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Ws(t[n])){for(const r of Object.keys(t[n]))e$(r)&&(Ws(e[r])&&Ws(t[n][r])?dy(e[r],t[n][r]):e[r]=t[n][r]);n$(e,t[n])}return e}const Cf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r$="",o$={rootMargin:"0px",threshold:0},To="data-lazy-timeout-id";class s${constructor(t){this.options={loading:Cf,error:r$,observerOptions:o$,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){dy(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:o,error:s,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Jn.LOADING,i,t),t.setAttribute("src",o||Cf),JE||(this.loadImages(t,r,s,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,s,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:o,lifecycle:s,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,o,s,i)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,o){this._setImageSrc(t,n,r,o)}_setImageSrc(t,n,r,o){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Jn.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(Jn.ERROR,o,t),(s=this._realObserver(t))==null||s.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,o,s){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,u=>{s&&s>0?this._delayedIntersectionCallback(t,u,s,n,r,o):this._intersectionCallback(t,u,n,r,o)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,o,s){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,o,s))}_delayedIntersectionCallback(t,n,r,o,s,i){if(n.isIntersecting){if(n.target.hasAttribute(To))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(To)},r);n.target.setAttribute(To,String(a))}else n.target.hasAttribute(To)&&(clearTimeout(Number(n.target.getAttribute(To))),n.target.removeAttribute(To))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,o=this.options.error,s=this.options.lifecycle,i=this.options.delay;return Ws(t)&&(n=t.src,r=t.loading||this.options.loading,o=t.error||this.options.error,s=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:o,lifecycle:s,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Jn.LOADING:r==null||r.setAttribute("lazy",Jn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Jn.LOADED:r==null||r.setAttribute("lazy",Jn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Jn.ERROR:r==null||r.setAttribute("lazy",Jn.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}_logger(t,...n){let r=console.error;switch(this.options.logLevel){case"error":r=console.error;break;case"warn":r=console.warn;break;case"info":r=console.info;break;case"debug":r=console.debug;break}r(t,n)}}const i$={install(e,t){const n=new s$(t);e.config.globalProperties.$Lazyload=n,e.provide("Lazyload",n),e.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var my={exports:{}};const fy=iy(ww);(function(e){e.exports=function(t){var n={};function r(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=t,r.c=n,r.d=function(o,s,i){r.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:i})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,s){if(s&1&&(o=r(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var a in o)r.d(i,a,(function(l){return o[l]}).bind(null,a));return i},r.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(s,"a",s),s},r.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var o,s,i;(function(a,l){s=[],o=l,i=typeof o=="function"?o.apply(n,s):o,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(w){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,m=u.exec(w.stack)||d.exec(w.stack),f=m&&m[1]||!1,p=m&&m[2]||!1,h=document.location.href.replace(document.location.hash,""),_,b,z,C=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=_.replace(b,"$1").trim());for(var v=0;v<C.length;v++)if(C[v].readyState==="interactive"||C[v].src===f||f===h&&C[v].innerHTML&&C[v].innerHTML.trim()===z)return C[v];return null}}return a})},"8bbf":function(t,n){t.exports=fy},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var o=window.document.currentScript;{var s=r("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,b,z,C,v){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:z.finalStyle},null,4)}var u=typeof window<"u",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=u?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},b=Object(a.computed)(function(){var z=_.options,C=!!z.show,v=z.location,w={"z-index":999999,"background-color":z.canSuccess?z.color:z.failedColor,opacity:z.show?1:0,position:z.position};return v==="top"||v==="bottom"?(v==="top"?w.top="0px":w.bottom="0px",z.inverse?w.right="0px":w.left="0px",w.width=_.percent+"%",w.height=z.thickness,w.transition=(C?"width "+z.transition.speed+", ":"")+"opacity "+z.transition.opacity):(v==="left"||v==="right")&&(v==="left"?w.left="0px":w.right="0px",z.inverse?w.top="0px":w.bottom="0px",w.height=_.percent+"%",w.width=z.thickness,w.transition=(C?"height "+z.transition.speed+", ":"")+"opacity "+z.transition.opacity),w});return{progress:_,finalStyle:b}}};d.render=l;var m=d;function f(h,_){for(var b=1,z,C;b<arguments.length;++b){C=arguments[b];for(z in C)Object.prototype.hasOwnProperty.call(C,z)&&(h[z]=C[z])}return h}var p={install:function(_,b){var z={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},C=f(z,b),v=Object(a.reactive)({percent:0,options:C});_.provide("RADON_LOADING_BAR",v);var w={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(k){var M=this;k||(k=3e3),v.percent=0,v.options.show=!0,v.options.canSuccess=!0,this.state.cut=1e4/Math.floor(k),clearInterval(this.state.timer),this.state.timer=setInterval(function(){M.increase(M.state.cut*Math.random()),v.percent>95&&v.options.autoFinish&&M.finish()},100)},set:function(k){v.options.show=!0,v.options.canSuccess=!0,v.percent=Math.floor(k)},get:function(){return Math.floor(v.percent)},increase:function(k){v.percent=Math.min(99,v.percent+Math.floor(k))},decrease:function(k){v.percent=v.percent-Math.floor(k)},hide:function(){var k=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){v.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){v.percent=0},100),v.options.autoRevert&&setTimeout(function(){k.revert()},300)})},v.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){v.percent=100,this.hide()},fail:function(){v.options.canSuccess=!1,v.percent=100,this.hide()},setFailColor:function(k){v.options.failedColor=k},setColor:function(k){v.options.color=k},setLocation:function(k){v.options.location=k},setTransition:function(k){v.options.transition=k},tempFailColor:function(k){this.state.tFailColor=v.options.failedColor,v.options.failedColor=k},tempColor:function(k){this.state.tColor=v.options.color,v.options.color=k},tempLocation:function(k){this.state.tLocation=v.options.location,v.options.location=k},tempTransition:function(k){this.state.tTransition=v.options.transition,v.options.transition=k},revertColor:function(){v.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){v.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){v.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){v.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){v.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(k){for(var M in k.func){var R=k.func[M];switch(R.call){case"color":switch(R.modifier){case"set":this.setColor(R.argument);break;case"temp":this.tempColor(R.argument);break}break;case"fail":switch(R.modifier){case"set":this.setFailColor(R.argument);break;case"temp":this.tempFailColor(R.argument);break}break;case"location":switch(R.modifier){case"set":this.setLocation(R.argument);break;case"temp":this.tempLocation(R.argument);break}break;case"transition":switch(R.modifier){case"set":this.setTransition(R.argument);break;case"temp":this.tempTransition(R.argument);break}break}}}};_.component("vue-progress-bar",m),_.config.globalProperties.$Progress=w}};n.default=p}})})(my);var a$=my.exports;const l$=El(a$);class ko extends Error{}class c$ extends ko{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class u$ extends ko{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class d$ extends ko{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Vo extends ko{}class py extends ko{constructor(t){super(`Invalid unit ${t}`)}}class sn extends ko{}class Er extends ko{constructor(){super("Zone is an abstract class")}}const fe="numeric",qn="short",Cn="long",Va={year:fe,month:fe,day:fe},hy={year:fe,month:qn,day:fe},m$={year:fe,month:qn,day:fe,weekday:qn},_y={year:fe,month:Cn,day:fe},gy={year:fe,month:Cn,day:fe,weekday:Cn},yy={hour:fe,minute:fe},vy={hour:fe,minute:fe,second:fe},by={hour:fe,minute:fe,second:fe,timeZoneName:qn},zy={hour:fe,minute:fe,second:fe,timeZoneName:Cn},Cy={hour:fe,minute:fe,hourCycle:"h23"},wy={hour:fe,minute:fe,second:fe,hourCycle:"h23"},xy={hour:fe,minute:fe,second:fe,hourCycle:"h23",timeZoneName:qn},ky={hour:fe,minute:fe,second:fe,hourCycle:"h23",timeZoneName:Cn},Sy={year:fe,month:fe,day:fe,hour:fe,minute:fe},Ey={year:fe,month:fe,day:fe,hour:fe,minute:fe,second:fe},$y={year:fe,month:qn,day:fe,hour:fe,minute:fe},Ty={year:fe,month:qn,day:fe,hour:fe,minute:fe,second:fe},f$={year:fe,month:qn,day:fe,weekday:qn,hour:fe,minute:fe},Ay={year:fe,month:Cn,day:fe,hour:fe,minute:fe,timeZoneName:qn},Oy={year:fe,month:Cn,day:fe,hour:fe,minute:fe,second:fe,timeZoneName:qn},Py={year:fe,month:Cn,day:fe,weekday:Cn,hour:fe,minute:fe,timeZoneName:Cn},Iy={year:fe,month:Cn,day:fe,weekday:Cn,hour:fe,minute:fe,second:fe,timeZoneName:Cn};class Si{get type(){throw new Er}get name(){throw new Er}get ianaName(){return this.name}get isUniversal(){throw new Er}offsetName(t,n){throw new Er}formatOffset(t,n){throw new Er}offset(t){throw new Er}equals(t){throw new Er}get isValid(){throw new Er}}let rc=null;class $l extends Si{static get instance(){return rc===null&&(rc=new $l),rc}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Uy(t,n,r)}formatOffset(t,n){return qs(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let ha={};function p$(e){return ha[e]||(ha[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ha[e]}const h$={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function _$(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,s,i,a,l,u,d]=r;return[i,o,s,a,l,u,d]}function g$(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],a=h$[s];s==="era"?r[a]=i:Ne(a)||(r[a]=parseInt(i,10))}return r}let qi={};class yr extends Si{static create(t){return qi[t]||(qi[t]=new yr(t)),qi[t]}static resetCache(){qi={},ha={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=yr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Uy(t,n,r,this.name)}formatOffset(t,n){return qs(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=p$(this.name);let[o,s,i,a,l,u,d]=r.formatToParts?g$(r,n):_$(r,n);a==="BC"&&(o=-Math.abs(o)+1);const f=Al({year:o,month:s,day:i,hour:l===24?0:l,minute:u,second:d,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(f-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let wf={};function y$(e,t={}){const n=JSON.stringify([e,t]);let r=wf[n];return r||(r=new Intl.ListFormat(e,t),wf[n]=r),r}let fu={};function pu(e,t={}){const n=JSON.stringify([e,t]);let r=fu[n];return r||(r=new Intl.DateTimeFormat(e,t),fu[n]=r),r}let hu={};function v$(e,t={}){const n=JSON.stringify([e,t]);let r=hu[n];return r||(r=new Intl.NumberFormat(e,t),hu[n]=r),r}let _u={};function b$(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=_u[o];return s||(s=new Intl.RelativeTimeFormat(e,t),_u[o]=s),s}let Ds=null;function z$(){return Ds||(Ds=new Intl.DateTimeFormat().resolvedOptions().locale,Ds)}let xf={};function C$(e){let t=xf[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,xf[e]=t}return t}function w$(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,o;try{r=pu(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);r=pu(l).resolvedOptions(),o=l}const{numberingSystem:s,calendar:i}=r;return[o,s,i]}}function x$(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function k$(e){const t=[];for(let n=1;n<=12;n++){const r=Ie.utc(2009,n,1);t.push(e(r))}return t}function S$(e){const t=[];for(let n=1;n<=7;n++){const r=Ie.utc(2016,11,13+n);t.push(e(r))}return t}function Gi(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function E$(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 $${constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:o,floor:s,...i}=r;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=v$(t,a)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):Pd(t,3);return Pt(n,this.padTo)}}}class T${constructor(t,n,r){this.opts=r,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&yr.create(a).valid?(o=a,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||o,this.dtf=pu(n,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class A${constructor(t,n,r){this.opts={style:"long",...r},!n&&Vy()&&(this.rtf=b$(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):Y$(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const O$={firstDay:1,minimalDays:4,weekend:[6,7]};class lt{static fromOpts(t){return lt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,o,s=!1){const i=t||At.defaultLocale,a=i||(s?"en-US":z$()),l=n||At.defaultNumberingSystem,u=r||At.defaultOutputCalendar,d=gu(o)||At.defaultWeekSettings;return new lt(a,l,u,d,i)}static resetCache(){Ds=null,fu={},hu={},_u={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:o}={}){return lt.create(t,n,r,o)}constructor(t,n,r,o,s){const[i,a,l]=w$(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=o,this.intl=x$(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=E$(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:lt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,gu(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Gi(this,t,Wy,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=k$(s=>this.extract(s,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return Gi(this,t,Ky,()=>{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]=S$(s=>this.extract(s,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return Gi(this,void 0,()=>Zy,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ie.utc(2016,11,13,9),Ie.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Gi(this,t,Yy,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Ie.utc(-40,1,1),Ie.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const o=this.dtFormatter(t,n),s=o.formatToParts(),i=s.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new $$(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new T$(t,this.intl,n)}relFormatter(t={}){return new A$(this.intl,this.isEnglish(),t)}listFormatter(t={}){return y$(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Hy()?C$(this.locale):O$}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let oc=null;class Jt extends Si{static get utcInstance(){return oc===null&&(oc=new Jt(0)),oc}static instance(t){return t===0?Jt.utcInstance:new Jt(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Jt(Ol(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return qs(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 P$ 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 Fr(e,t){if(Ne(e)||e===null)return t;if(e instanceof Si)return e;if(R$(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?$l.instance:n==="utc"||n==="gmt"?Jt.utcInstance:Jt.parseSpecifier(n)||yr.create(e)}else return po(e)?Jt.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new P$(e)}let kf=()=>Date.now(),Sf="system",Ef=null,$f=null,Tf=null,Af=60,Of,Pf=null;class At{static get now(){return kf}static set now(t){kf=t}static set defaultZone(t){Sf=t}static get defaultZone(){return Fr(Sf,$l.instance)}static get defaultLocale(){return Ef}static set defaultLocale(t){Ef=t}static get defaultNumberingSystem(){return $f}static set defaultNumberingSystem(t){$f=t}static get defaultOutputCalendar(){return Tf}static set defaultOutputCalendar(t){Tf=t}static get defaultWeekSettings(){return Pf}static set defaultWeekSettings(t){Pf=gu(t)}static get twoDigitCutoffYear(){return Af}static set twoDigitCutoffYear(t){Af=t%100}static get throwOnInvalid(){return Of}static set throwOnInvalid(t){Of=t}static resetCaches(){lt.resetCache(),yr.resetCache()}}class Un{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Dy=[0,31,59,90,120,151,181,212,243,273,304,334],Ry=[0,31,60,91,121,152,182,213,244,274,305,335];function En(e,t){return new Un("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Td(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function Ly(e,t,n){return n+(Ei(e)?Ry:Dy)[t-1]}function Ny(e,t){const n=Ei(e)?Ry:Dy,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function Ad(e,t){return(e-t+7)%7+1}function Ha(e,t=4,n=1){const{year:r,month:o,day:s}=e,i=Ly(r,o,s),a=Ad(Td(r,o,s),n);let l=Math.floor((i-a+14-t)/7),u;return l<1?(u=r-1,l=mi(u,t,n)):l>mi(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:a,...Pl(e)}}function If(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:s}=e,i=Ad(Td(r,1,t),n),a=Yo(r);let l=o*7+s-i-7+t,u;l<1?(u=r-1,l+=Yo(u)):l>a?(u=r+1,l-=Yo(r)):u=r;const{month:d,day:m}=Ny(u,l);return{year:u,month:d,day:m,...Pl(e)}}function sc(e){const{year:t,month:n,day:r}=e,o=Ly(t,n,r);return{year:t,ordinal:o,...Pl(e)}}function Df(e){const{year:t,ordinal:n}=e,{month:r,day:o}=Ny(t,n);return{year:t,month:r,day:o,...Pl(e)}}function Rf(e,t){if(!Ne(e.localWeekday)||!Ne(e.localWeekNumber)||!Ne(e.localWeekYear)){if(!Ne(e.weekday)||!Ne(e.weekNumber)||!Ne(e.weekYear))throw new Vo("Cannot mix locale-based week fields with ISO-based week fields");return Ne(e.localWeekday)||(e.weekday=e.localWeekday),Ne(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Ne(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function I$(e,t=4,n=1){const r=Tl(e.weekYear),o=$n(e.weekNumber,1,mi(e.weekYear,t,n)),s=$n(e.weekday,1,7);return r?o?s?!1:En("weekday",e.weekday):En("week",e.weekNumber):En("weekYear",e.weekYear)}function D$(e){const t=Tl(e.year),n=$n(e.ordinal,1,Yo(e.year));return t?n?!1:En("ordinal",e.ordinal):En("year",e.year)}function My(e){const t=Tl(e.year),n=$n(e.month,1,12),r=$n(e.day,1,Ua(e.year,e.month));return t?n?r?!1:En("day",e.day):En("month",e.month):En("year",e.year)}function Fy(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=$n(t,0,23)||t===24&&n===0&&r===0&&o===0,i=$n(n,0,59),a=$n(r,0,59),l=$n(o,0,999);return s?i?a?l?!1:En("millisecond",o):En("second",r):En("minute",n):En("hour",t)}function Ne(e){return typeof e>"u"}function po(e){return typeof e=="number"}function Tl(e){return typeof e=="number"&&e%1===0}function R$(e){return typeof e=="string"}function L$(e){return Object.prototype.toString.call(e)==="[object Date]"}function Vy(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Hy(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function N$(e){return Array.isArray(e)?e:[e]}function Lf(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const s=[t(o),o];return r&&n(r[0],s[0])===r[0]?r:s},null)[1]}function M$(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function is(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function gu(e){if(e==null)return null;if(typeof e!="object")throw new sn("Week settings must be an object");if(!$n(e.firstDay,1,7)||!$n(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!$n(t,1,7)))throw new sn("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function $n(e,t,n){return Tl(e)&&e>=t&&e<=n}function F$(e,t){return e-t*Math.floor(e/t)}function Pt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Lr(e){if(!(Ne(e)||e===null||e===""))return parseInt(e,10)}function eo(e){if(!(Ne(e)||e===null||e===""))return parseFloat(e)}function Od(e){if(!(Ne(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Pd(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Ei(e){return e%4===0&&(e%100!==0||e%400===0)}function Yo(e){return Ei(e)?366:365}function Ua(e,t){const n=F$(t-1,12)+1,r=e+(t-n)/12;return n===2?Ei(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Al(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 Nf(e,t,n){return-Ad(Td(e,1,t),n)+t-1}function mi(e,t=4,n=1){const r=Nf(e,t,n),o=Nf(e+1,t,n);return(Yo(e)-r+o)/7}function yu(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function Uy(e,t,n,r=null){const o=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(s.timeZone=r);const i={timeZoneName:t,...s},a=new Intl.DateTimeFormat(n,i).formatToParts(o).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Ol(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function jy(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new sn(`Invalid unit value ${e}`);return t}function ja(e,t){const n={};for(const r in e)if(is(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=jy(o)}return n}function qs(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${Pt(n,2)}:${Pt(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Pt(n,2)}${Pt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Pl(e){return M$(e,["hour","minute","second","millisecond"])}const V$=["January","February","March","April","May","June","July","August","September","October","November","December"],By=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],H$=["J","F","M","A","M","J","J","A","S","O","N","D"];function Wy(e){switch(e){case"narrow":return[...H$];case"short":return[...By];case"long":return[...V$];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 qy=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Gy=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],U$=["M","T","W","T","F","S","S"];function Ky(e){switch(e){case"narrow":return[...U$];case"short":return[...Gy];case"long":return[...qy];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Zy=["AM","PM"],j$=["Before Christ","Anno Domini"],B$=["BC","AD"],W$=["B","A"];function Yy(e){switch(e){case"narrow":return[...W$];case"short":return[...B$];case"long":return[...j$];default:return null}}function q$(e){return Zy[e.hour<12?0:1]}function G$(e,t){return Ky(t)[e.weekday-1]}function K$(e,t){return Wy(t)[e.month-1]}function Z$(e,t){return Yy(t)[e.year<0?0:1]}function Y$(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&s){const m=e==="days";switch(t){case 1:return m?"tomorrow":`next ${o[e][0]}`;case-1:return m?"yesterday":`last ${o[e][0]}`;case 0:return m?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,u=o[e],d=r?l?u[1]:u[2]||u[1]:l?o[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function Mf(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const J$={D:Va,DD:hy,DDD:_y,DDDD:gy,t:yy,tt:vy,ttt:by,tttt:zy,T:Cy,TT:wy,TTT:xy,TTTT:ky,f:Sy,ff:$y,fff:Ay,ffff:Py,F:Ey,FF:Ty,FFF:Oy,FFFF:Iy};class Wt{static create(t,n={}){return new Wt(t,n)}static parseFormat(t){let n=null,r="",o=!1;const s=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||a===n?r+=a:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(t){return J$[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Pt(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",s=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?q$(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?K$(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),u=(p,h)=>r?G$(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=Wt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},m=p=>r?Z$(t,p):s({era:p},"era"),f=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return o?s({day:"numeric"},"day"):this.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?s({month:"numeric"},"month"):this.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?s({year:"numeric"},"year"):this.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return m("short");case"GG":return m("long");case"GGGGG":return m("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return Mf(Wt.parseFormat(n),f)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=l=>u=>{const d=r(u);return d?this.num(l.get(d),u.length):u},s=Wt.parseFormat(n),i=s.reduce((l,{literal:u,val:d})=>u?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return Mf(s,o(a))}}const Jy=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function gs(...e){return t=>e.reduce(([n,r,o],s)=>{const[i,a,l]=s(t,o);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function ys(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function Xy(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Lr(t[n+o]);return[r,null,n+o]}}const Qy=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,X$=`(?:${Qy.source}?(?:\\[(${Jy.source})\\])?)?`,Id=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,e1=RegExp(`${Id.source}${X$}`),Dd=RegExp(`(?:T${e1.source})?`),Q$=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,eT=/(\d{4})-?W(\d\d)(?:-?(\d))?/,tT=/(\d{4})-?(\d{3})/,nT=Xy("weekYear","weekNumber","weekDay"),rT=Xy("year","ordinal"),oT=/(\d{4})-(\d\d)-(\d\d)/,t1=RegExp(`${Id.source} ?(?:${Qy.source}|(${Jy.source}))?`),sT=RegExp(`(?: ${t1.source})?`);function Jo(e,t,n){const r=e[t];return Ne(r)?n:Lr(r)}function iT(e,t){return[{year:Jo(e,t),month:Jo(e,t+1,1),day:Jo(e,t+2,1)},null,t+3]}function vs(e,t){return[{hours:Jo(e,t,0),minutes:Jo(e,t+1,0),seconds:Jo(e,t+2,0),milliseconds:Od(e[t+3])},null,t+4]}function $i(e,t){const n=!e[t]&&!e[t+1],r=Ol(e[t+1],e[t+2]),o=n?null:Jt.instance(r);return[{},o,t+3]}function Ti(e,t){const n=e[t]?yr.create(e[t]):null;return[{},n,t+1]}const aT=RegExp(`^T?${Id.source}$`),lT=/^-?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 cT(e){const[t,n,r,o,s,i,a,l,u]=e,d=t[0]==="-",m=l&&l[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:f(eo(n)),months:f(eo(r)),weeks:f(eo(o)),days:f(eo(s)),hours:f(eo(i)),minutes:f(eo(a)),seconds:f(eo(l),l==="-0"),milliseconds:f(Od(u),m)}]}const uT={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 Rd(e,t,n,r,o,s,i){const a={year:t.length===2?yu(Lr(t)):Lr(t),month:By.indexOf(n)+1,day:Lr(r),hour:Lr(o),minute:Lr(s)};return i&&(a.second=Lr(i)),e&&(a.weekday=e.length>3?qy.indexOf(e)+1:Gy.indexOf(e)+1),a}const dT=/^(?:(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 mT(e){const[,t,n,r,o,s,i,a,l,u,d,m]=e,f=Rd(t,o,r,n,s,i,a);let p;return l?p=uT[l]:u?p=0:p=Ol(d,m),[f,new Jt(p)]}function fT(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const pT=/^(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$/,hT=/^(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$/,_T=/^(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 Ff(e){const[,t,n,r,o,s,i,a]=e;return[Rd(t,o,r,n,s,i,a),Jt.utcInstance]}function gT(e){const[,t,n,r,o,s,i,a]=e;return[Rd(t,a,n,r,o,s,i),Jt.utcInstance]}const yT=_s(Q$,Dd),vT=_s(eT,Dd),bT=_s(tT,Dd),zT=_s(e1),n1=gs(iT,vs,$i,Ti),CT=gs(nT,vs,$i,Ti),wT=gs(rT,vs,$i,Ti),xT=gs(vs,$i,Ti);function kT(e){return ys(e,[yT,n1],[vT,CT],[bT,wT],[zT,xT])}function ST(e){return ys(fT(e),[dT,mT])}function ET(e){return ys(e,[pT,Ff],[hT,Ff],[_T,gT])}function $T(e){return ys(e,[lT,cT])}const TT=gs(vs);function AT(e){return ys(e,[aT,TT])}const OT=_s(oT,sT),PT=_s(t1),IT=gs(vs,$i,Ti);function DT(e){return ys(e,[OT,n1],[PT,IT])}const Vf="Invalid Duration",r1={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}},RT={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},...r1},xn=146097/400,Ao=146097/4800,LT={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:Ao/7,days:Ao,hours:Ao*24,minutes:Ao*24*60,seconds:Ao*24*60*60,milliseconds:Ao*24*60*60*1e3},...r1},ao=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],NT=ao.slice(0).reverse();function $r(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new We(r)}function o1(e,t){let n=t.milliseconds??0;for(const r of NT.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function Hf(e,t){const n=o1(e,t)<0?-1:1;ao.reduceRight((r,o)=>{if(Ne(t[o]))return r;if(r){const s=t[r]*n,i=e[o][r],a=Math.floor(s/i);t[o]+=a*n,t[r]-=a*i*n}return o},null),ao.reduce((r,o)=>{if(Ne(t[o]))return r;if(r){const s=t[r]%1;t[r]-=s,t[o]+=s*e[r][o]}return o},null)}function MT(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class We{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?LT:RT;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||lt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return We.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new sn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new We({values:ja(t,We.normalizeUnit),loc:lt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(po(t))return We.fromMillis(t);if(We.isDuration(t))return t;if(typeof t=="object")return We.fromObject(t);throw new sn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=$T(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=AT(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new sn("need to specify a reason the Duration is invalid");const r=t instanceof Un?t:new Un(t,n);if(At.throwOnInvalid)throw new d$(r);return new We({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new py(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Wt.create(this.loc,r).formatDurationFromString(this,t):Vf}toHuman(t={}){if(!this.isValid)return Vf;const n=ao.map(r=>{const o=this.values[r];return Ne(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(o)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Pd(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},Ie.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?o1(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t),r={};for(const o of ao)(is(n.values,o)||is(this.values,o))&&(r[o]=n.get(o)+this.get(o));return $r(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=jy(t(this.values[r],r));return $r(this,{values:n},!0)}get(t){return this[We.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...ja(t,We.normalizeUnit)};return $r(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:o}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:r};return $r(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Hf(this.matrix,t),$r(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=MT(this.normalize().shiftToAll().toObject());return $r(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>We.normalizeUnit(i));const n={},r={},o=this.toObject();let s;for(const i of ao)if(t.indexOf(i)>=0){s=i;let a=0;for(const u in r)a+=this.matrix[u][i]*r[u],r[u]=0;po(o[i])&&(a+=o[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else po(o[i])&&(r[i]=o[i]);for(const i in r)r[i]!==0&&(n[s]+=i===s?r[i]:r[i]/this.matrix[s][i]);return Hf(this.matrix,n),$r(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return $r(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of ao)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Oo="Invalid Interval";function FT(e,t){return!e||!e.isValid?St.invalid("missing or invalid start"):!t||!t.isValid?St.invalid("missing or invalid end"):t<e?St.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class St{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new sn("need to specify a reason the Interval is invalid");const r=t instanceof Un?t:new Un(t,n);if(At.throwOnInvalid)throw new u$(r);return new St({invalid:r})}static fromDateTimes(t,n){const r=Ss(t),o=Ss(n),s=FT(r,o);return s??new St({start:r,end:o})}static after(t,n){const r=We.fromDurationLike(n),o=Ss(t);return St.fromDateTimes(o,o.plus(r))}static before(t,n){const r=We.fromDurationLike(n),o=Ss(t);return St.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,i;try{s=Ie.fromISO(r,n),i=s.isValid}catch{i=!1}let a,l;try{a=Ie.fromISO(o,n),l=a.isValid}catch{l=!1}if(i&&l)return St.fromDateTimes(s,a);if(i){const u=We.fromISO(o,n);if(u.isValid)return St.after(s,u)}else if(l){const u=We.fromISO(r,n);if(u.isValid)return St.before(a,u)}}return St.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let o;return n!=null&&n.useLocaleWeeks?o=this.end.reconfigure({locale:r.locale}):o=this.end,o=o.startOf(t,n),Math.floor(o.diff(r,t).get(t))+(o.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?St.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Ss).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),r=[];let{s:o}=this,s=0;for(;o<this.e;){const i=n[s]||this.e,a=+i>+this.e?this.e:i;r.push(St.fromDateTimes(o,a)),o=a,s+=1}return r}splitBy(t){const n=We.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,s;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*o));s=+a>+this.e?this.e:a,i.push(St.fromDateTimes(r,s)),r=s,o+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:St.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return St.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,s)=>o.s-s.s).reduce(([o,s],i)=>s?s.overlaps(i)||s.abutsStart(i)?[o,s.union(i)]:[o.concat([s]),i]:[o,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],s=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...s),a=i.sort((l,u)=>l.time-u.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&o.push(St.fromDateTimes(n,l.time)),n=null);return St.merge(o)}difference(...t){return St.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Oo}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=Va,n={}){return this.isValid?Wt.create(this.s.loc.clone(n),t).formatInterval(this):Oo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Oo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Oo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Oo}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Oo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):We.invalid(this.invalidReason)}mapEndpoints(t){return St.fromDateTimes(t(this.s),t(this.e))}}class Ki{static hasDST(t=At.defaultZone){const n=Ie.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return yr.isValidZone(t)}static normalizeZone(t){return Fr(t,At.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||lt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||lt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||lt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||lt.create(n,r,s)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||lt.create(n,r,s)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||lt.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||lt.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return lt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return lt.create(n,null,"gregory").eras(t)}static features(){return{relative:Vy(),localeWeek:Hy()}}}function Uf(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(We.fromMillis(r).as("days"))}function VT(e,t,n){const r=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter+(u.year-l.year)*4],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{const d=Uf(l,u);return(d-d%7)/7}],["days",Uf]],o={},s=e;let i,a;for(const[l,u]of r)n.indexOf(l)>=0&&(i=l,o[l]=u(e,t),a=s.plus(o),a>t?(o[l]--,e=s.plus(o),e>t&&(a=e,o[l]--,e=s.plus(o))):e=a);return[e,o,a,i]}function HT(e,t,n,r){let[o,s,i,a]=VT(e,t,n);const l=t-o,u=n.filter(m=>["hours","minutes","seconds","milliseconds"].indexOf(m)>=0);u.length===0&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(s[a]=(s[a]||0)+l/(i-o)));const d=We.fromObject(s,r);return u.length>0?We.fromMillis(l,r).shiftTo(...u).plus(d):d}const Ld={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},jf={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]},UT=Ld.hanidec.replace(/[\[|\]]/g,"").split("");function jT(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(Ld.hanidec)!==-1)t+=UT.indexOf(e[n]);else for(const o in jf){const[s,i]=jf[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}function Ln({numberingSystem:e},t=""){return new RegExp(`${Ld[e||"latn"]}${t}`)}const BT="missing Intl.DateTimeFormat.formatToParts support";function nt(e,t=n=>n){return{regex:e,deser:([n])=>t(jT(n))}}const WT=" ",s1=`[ ${WT}]`,i1=new RegExp(s1,"g");function qT(e){return e.replace(/\./g,"\\.?").replace(i1,s1)}function Bf(e){return e.replace(/\./g,"").replace(i1," ").toLowerCase()}function Nn(e,t){return e===null?null:{regex:RegExp(e.map(qT).join("|")),deser:([n])=>e.findIndex(r=>Bf(n)===Bf(r))+t}}function Wf(e,t){return{regex:e,deser:([,n,r])=>Ol(n,r),groups:t}}function Zi(e){return{regex:e,deser:([t])=>t}}function GT(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function KT(e,t){const n=Ln(t),r=Ln(t,"{2}"),o=Ln(t,"{3}"),s=Ln(t,"{4}"),i=Ln(t,"{6}"),a=Ln(t,"{1,2}"),l=Ln(t,"{1,3}"),u=Ln(t,"{1,6}"),d=Ln(t,"{1,9}"),m=Ln(t,"{2,4}"),f=Ln(t,"{4,6}"),p=b=>({regex:RegExp(GT(b.val)),deser:([z])=>z,literal:!0}),_=(b=>{if(e.literal)return p(b);switch(b.val){case"G":return Nn(t.eras("short"),0);case"GG":return Nn(t.eras("long"),0);case"y":return nt(u);case"yy":return nt(m,yu);case"yyyy":return nt(s);case"yyyyy":return nt(f);case"yyyyyy":return nt(i);case"M":return nt(a);case"MM":return nt(r);case"MMM":return Nn(t.months("short",!0),1);case"MMMM":return Nn(t.months("long",!0),1);case"L":return nt(a);case"LL":return nt(r);case"LLL":return Nn(t.months("short",!1),1);case"LLLL":return Nn(t.months("long",!1),1);case"d":return nt(a);case"dd":return nt(r);case"o":return nt(l);case"ooo":return nt(o);case"HH":return nt(r);case"H":return nt(a);case"hh":return nt(r);case"h":return nt(a);case"mm":return nt(r);case"m":return nt(a);case"q":return nt(a);case"qq":return nt(r);case"s":return nt(a);case"ss":return nt(r);case"S":return nt(l);case"SSS":return nt(o);case"u":return Zi(d);case"uu":return Zi(a);case"uuu":return nt(n);case"a":return Nn(t.meridiems(),0);case"kkkk":return nt(s);case"kk":return nt(m,yu);case"W":return nt(a);case"WW":return nt(r);case"E":case"c":return nt(n);case"EEE":return Nn(t.weekdays("short",!1),1);case"EEEE":return Nn(t.weekdays("long",!1),1);case"ccc":return Nn(t.weekdays("short",!0),1);case"cccc":return Nn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Wf(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Wf(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return Zi(/[a-z_+-/]{1,256}?/i);case" ":return Zi(/[^\S\n\r]/);default:return p(b)}})(e)||{invalidReason:BT};return _.token=e,_}const ZT={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function YT(e,t,n){const{type:r,value:o}=e;if(r==="literal"){const l=/^\s+$/.test(o);return{literal:!l,val:l?" ":o}}const s=t[r];let i=r;r==="hour"&&(t.hour12!=null?i=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?i="hour12":i="hour24":i=n.hour12?"hour12":"hour24");let a=ZT[i];if(typeof a=="object"&&(a=a[s]),a)return{literal:!1,val:a}}function JT(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function XT(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if(is(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(o[a.token.val[0]]=a.deser(r.slice(s,s+l))),s+=l}return[r,o]}else return[r,{}]}function QT(e){const t=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return Ne(e.z)||(n=yr.create(e.z)),Ne(e.Z)||(n||(n=new Jt(e.Z)),r=e.Z),Ne(e.q)||(e.M=(e.q-1)*3+1),Ne(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Ne(e.u)||(e.S=Od(e.u)),[Object.keys(e).reduce((s,i)=>{const a=t(i);return a&&(s[a]=e[i]),s},{}),n,r]}let ic=null;function eA(){return ic||(ic=Ie.fromMillis(1555555555555)),ic}function tA(e,t){if(e.literal)return e;const n=Wt.macroTokenToFormatOpts(e.val),r=c1(n,t);return r==null||r.includes(void 0)?e:r}function a1(e,t){return Array.prototype.concat(...e.map(n=>tA(n,t)))}function l1(e,t,n){const r=a1(Wt.parseFormat(n),e),o=r.map(i=>KT(i,e)),s=o.find(i=>i.invalidReason);if(s)return{input:t,tokens:r,invalidReason:s.invalidReason};{const[i,a]=JT(o),l=RegExp(i,"i"),[u,d]=XT(t,l,a),[m,f,p]=d?QT(d):[null,null,void 0];if(is(d,"a")&&is(d,"H"))throw new Vo("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:u,matches:d,result:m,zone:f,specificOffset:p}}}function nA(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:i}=l1(e,t,n);return[r,o,s,i]}function c1(e,t){if(!e)return null;const r=Wt.create(t,e).dtFormatter(eA()),o=r.formatToParts(),s=r.resolvedOptions();return o.map(i=>YT(i,e,s))}const ac="Invalid DateTime",qf=864e13;function Yi(e){return new Un("unsupported zone",`the zone "${e.name}" is not supported`)}function lc(e){return e.weekData===null&&(e.weekData=Ha(e.c)),e.weekData}function cc(e){return e.localWeekData===null&&(e.localWeekData=Ha(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function to(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ie({...n,...t,old:n})}function u1(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const s=n.offset(r);return o===s?[r,o]:[e-Math.min(o,s)*60*1e3,Math.max(o,s)]}function Ji(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 _a(e,t,n){return u1(Al(e),t,n)}function Gf(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,s={...e.c,year:r,month:o,day:Math.min(e.c.day,Ua(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=We.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=Al(s);let[l,u]=u1(a,n,e.zone);return i!==0&&(l+=i,u=e.zone.offset(l)),{ts:l,o:u}}function ks(e,t,n,r,o,s){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,u=Ie.fromObject(e,{...n,zone:l,specificOffset:s});return i?u:u.setZone(a)}else return Ie.invalid(new Un("unparsable",`the input "${o}" can't be parsed as ${r}`))}function Xi(e,t,n=!0){return e.isValid?Wt.create(lt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function uc(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Pt(e.c.year,n?6:4),t?(r+="-",r+=Pt(e.c.month),r+="-",r+=Pt(e.c.day)):(r+=Pt(e.c.month),r+=Pt(e.c.day)),r}function Kf(e,t,n,r,o,s){let i=Pt(e.c.hour);return t?(i+=":",i+=Pt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=Pt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=Pt(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Pt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=Pt(Math.trunc(-e.o/60)),i+=":",i+=Pt(Math.trunc(-e.o%60))):(i+="+",i+=Pt(Math.trunc(e.o/60)),i+=":",i+=Pt(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}const d1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},rA={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},oA={ordinal:1,hour:0,minute:0,second:0,millisecond:0},m1=["year","month","day","hour","minute","second","millisecond"],sA=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],iA=["year","ordinal","hour","minute","second","millisecond"];function aA(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 py(e);return t}function Zf(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return aA(e)}}function Yf(e,t){const n=Fr(t.zone,At.defaultZone),r=lt.fromObject(t),o=At.now();let s,i;if(Ne(e.year))s=o;else{for(const u of m1)Ne(e[u])&&(e[u]=d1[u]);const a=My(e)||Fy(e);if(a)return Ie.invalid(a);const l=n.offset(o);[s,i]=_a(e,l,n)}return new Ie({ts:s,zone:n,loc:r,o:i})}function Jf(e,t,n){const r=Ne(n.round)?!0:n.round,o=(i,a)=>(i=Pd(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),s=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return o(s(n.unit),n.unit);for(const i of n.units){const a=s(i);if(Math.abs(a)>=1)return o(a,i)}return o(e>t?-0:0,n.units[n.units.length-1])}function Xf(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class Ie{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Un("invalid input"):null)||(n.isValid?null:Yi(n));this.ts=Ne(t.ts)?At.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);o=Ji(this.ts,a),r=Number.isNaN(o.year)?new Un("invalid input"):null,o=r?null:o,s=r?null:a}this._zone=n,this.loc=t.loc||lt.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=o,this.o=s,this.isLuxonDateTime=!0}static now(){return new Ie({})}static local(){const[t,n]=Xf(arguments),[r,o,s,i,a,l,u]=n;return Yf({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static utc(){const[t,n]=Xf(arguments),[r,o,s,i,a,l,u]=n;return t.zone=Jt.utcInstance,Yf({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=L$(t)?t.valueOf():NaN;if(Number.isNaN(r))return Ie.invalid("invalid input");const o=Fr(n.zone,At.defaultZone);return o.isValid?new Ie({ts:r,zone:o,loc:lt.fromObject(n)}):Ie.invalid(Yi(o))}static fromMillis(t,n={}){if(po(t))return t<-qf||t>qf?Ie.invalid("Timestamp out of range"):new Ie({ts:t,zone:Fr(n.zone,At.defaultZone),loc:lt.fromObject(n)});throw new sn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(po(t))return new Ie({ts:t*1e3,zone:Fr(n.zone,At.defaultZone),loc:lt.fromObject(n)});throw new sn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Fr(n.zone,At.defaultZone);if(!r.isValid)return Ie.invalid(Yi(r));const o=lt.fromObject(n),s=ja(t,Zf),{minDaysInFirstWeek:i,startOfWeek:a}=Rf(s,o),l=At.now(),u=Ne(n.specificOffset)?r.offset(l):n.specificOffset,d=!Ne(s.ordinal),m=!Ne(s.year),f=!Ne(s.month)||!Ne(s.day),p=m||f,h=s.weekYear||s.weekNumber;if((p||d)&&h)throw new Vo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&d)throw new Vo("Can't mix ordinal dates with month/day");const _=h||s.weekday&&!p;let b,z,C=Ji(l,u);_?(b=sA,z=rA,C=Ha(C,i,a)):d?(b=iA,z=oA,C=sc(C)):(b=m1,z=d1);let v=!1;for(const N of b){const K=s[N];Ne(K)?v?s[N]=z[N]:s[N]=C[N]:v=!0}const w=_?I$(s,i,a):d?D$(s):My(s),S=w||Fy(s);if(S)return Ie.invalid(S);const k=_?If(s,i,a):d?Df(s):s,[M,R]=_a(k,u,r),O=new Ie({ts:M,zone:r,o:R,loc:o});return s.weekday&&p&&t.weekday!==O.weekday?Ie.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${O.toISO()}`):O}static fromISO(t,n={}){const[r,o]=kT(t);return ks(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=ST(t);return ks(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=ET(t);return ks(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Ne(t)||Ne(n))throw new sn("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:s=null}=r,i=lt.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),[a,l,u,d]=nA(i,t,n);return d?Ie.invalid(d):ks(a,l,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Ie.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=DT(t);return ks(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new sn("need to specify a reason the DateTime is invalid");const r=t instanceof Un?t:new Un(t,n);if(At.throwOnInvalid)throw new c$(r);return new Ie({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=c1(t,lt.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return a1(Wt.parseFormat(t),lt.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?lc(this).weekYear:NaN}get weekNumber(){return this.isValid?lc(this).weekNumber:NaN}get weekday(){return this.isValid?lc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?cc(this).weekday:NaN}get localWeekNumber(){return this.isValid?cc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?cc(this).weekYear:NaN}get ordinal(){return this.isValid?sc(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ki.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ki.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ki.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ki.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,r=Al(this.c),o=this.zone.offset(r-t),s=this.zone.offset(r+t),i=this.zone.offset(r-o*n),a=this.zone.offset(r-s*n);if(i===a)return[this];const l=r-i*n,u=r-a*n,d=Ji(l,i),m=Ji(u,a);return d.hour===m.hour&&d.minute===m.minute&&d.second===m.second&&d.millisecond===m.millisecond?[to(this,{ts:l}),to(this,{ts:u})]:[this]}get isInLeapYear(){return Ei(this.year)}get daysInMonth(){return Ua(this.year,this.month)}get daysInYear(){return this.isValid?Yo(this.year):NaN}get weeksInWeekYear(){return this.isValid?mi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?mi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=Wt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(Jt.instance(t),n)}toLocal(){return this.setZone(At.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Fr(t,At.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),i=this.toObject();[o]=_a(i,s,t)}return to(this,{ts:o,zone:t})}else return Ie.invalid(Yi(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return to(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=ja(t,Zf),{minDaysInFirstWeek:r,startOfWeek:o}=Rf(n,this.loc),s=!Ne(n.weekYear)||!Ne(n.weekNumber)||!Ne(n.weekday),i=!Ne(n.ordinal),a=!Ne(n.year),l=!Ne(n.month)||!Ne(n.day),u=a||l,d=n.weekYear||n.weekNumber;if((u||i)&&d)throw new Vo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new Vo("Can't mix ordinal dates with month/day");let m;s?m=If({...Ha(this.c,r,o),...n},r,o):Ne(n.ordinal)?(m={...this.toObject(),...n},Ne(n.day)&&(m.day=Math.min(Ua(m.year,m.month),m.day))):m=Df({...sc(this.c),...n});const[f,p]=_a(m,this.o,this.zone);return to(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t);return to(this,Gf(this,n))}minus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t).negate();return to(this,Gf(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},o=We.normalizeUnit(t);switch(o){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(o==="weeks")if(n){const s=this.loc.getStartOfWeek(),{weekday:i}=this;i<s&&(r.weekNumber=this.weekNumber-1),r.weekday=s}else r.weekday=1;if(o==="quarters"){const s=Math.ceil(this.month/3);r.month=(s-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?Wt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):ac}toLocaleString(t=Va,n={}){return this.isValid?Wt.create(this.loc.clone(n),t).formatDateTime(this):ac}toLocaleParts(t={}){return this.isValid?Wt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=uc(this,i);return a+="T",a+=Kf(this,i,n,r,o,s),a}toISODate({format:t="extended"}={}){return this.isValid?uc(this,t==="extended"):null}toISOWeekDate(){return Xi(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(o?"T":"")+Kf(this,i==="extended",n,t,r,s):null}toRFC2822(){return Xi(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Xi(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?uc(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),Xi(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():ac}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return We.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=N$(n).map(We.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,u=HT(a,l,s,o);return i?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Ie.now(),t,n)}until(t){return this.isValid?St.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const o=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(n,r)<=o&&o<=s.endOf(n,r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||Ie.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(o=t.unit,s=void 0),Jf(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?Jf(t.base||Ie.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Ie.isDateTime))throw new sn("min requires all arguments be DateTimes");return Lf(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Ie.isDateTime))throw new sn("max requires all arguments be DateTimes");return Lf(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:s=null}=r,i=lt.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});return l1(i,t,n)}static fromStringExplain(t,n,r={}){return Ie.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return Va}static get DATE_MED(){return hy}static get DATE_MED_WITH_WEEKDAY(){return m$}static get DATE_FULL(){return _y}static get DATE_HUGE(){return gy}static get TIME_SIMPLE(){return yy}static get TIME_WITH_SECONDS(){return vy}static get TIME_WITH_SHORT_OFFSET(){return by}static get TIME_WITH_LONG_OFFSET(){return zy}static get TIME_24_SIMPLE(){return Cy}static get TIME_24_WITH_SECONDS(){return wy}static get TIME_24_WITH_SHORT_OFFSET(){return xy}static get TIME_24_WITH_LONG_OFFSET(){return ky}static get DATETIME_SHORT(){return Sy}static get DATETIME_SHORT_WITH_SECONDS(){return Ey}static get DATETIME_MED(){return $y}static get DATETIME_MED_WITH_SECONDS(){return Ty}static get DATETIME_MED_WITH_WEEKDAY(){return f$}static get DATETIME_FULL(){return Ay}static get DATETIME_FULL_WITH_SECONDS(){return Oy}static get DATETIME_HUGE(){return Py}static get DATETIME_HUGE_WITH_SECONDS(){return Iy}}function Ss(e){if(Ie.isDateTime(e))return e;if(e&&e.valueOf&&po(e.valueOf()))return Ie.fromJSDate(e);if(e&&typeof e=="object")return Ie.fromObject(e);throw new sn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:dc,locale:mc}=xl.global,lA={channels(e){return e===1?dc("filter.mono"):e===2?dc("filter.stereo"):e?dc("filter.channels",{value:e}):""},cursor(e,t=20){const r=t/2;return`url("data:image/svg+xml,%3Csvg width='${t}' height='${t}' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${e}'/%3E%3C/svg%3E") ${r} ${r}, auto`},date(e){return Ie.fromISO(e).setLocale(mc.value).toLocaleString(Ie.DATE_FULL)},datetime(e){return Ie.fromISO(e).setLocale(mc.value).toLocaleString(Ie.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?We.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?We.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():We.fromObject({minutes:t}).shiftTo("minutes").toHuman()},durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return We.fromMillis(e).toFormat(t)},number(e){return e.toLocaleString(mc.value)},timeFromNow(e){const t=Ie.now().diff(Ie.fromISO(e));return this.durationInDays(t.as("milliseconds"))}},cA={mdiAccountMusic:gk,mdiAlbum:yk,mdiArrowCollapseDown:bk,mdiBookOpenPageVariant:zk,mdiBookOpenVariant:Ck,mdiBookshelf:wk,mdiBroadcast:xk,mdiCancel:Sl,mdiCast:kk,mdiCastVariant:Sk,mdiCellphone:Ek,mdiCheck:$k,mdiChevronDown:Tk,mdiChevronUp:Ak,mdiContentSave:Ok,mdiDelete:Pk,mdiDeleteEmpty:Ik,mdiDotsHorizontal:Dk,mdiDotsVertical:Rk,mdiDragHorizontal:Lk,mdiFastForward30:Nk,mdiFileMusic:Mk,mdiFileOutline:Fk,mdiFire:Vk,mdiFolder:Hk,mdiFolderOpen:Uk,mdiHistory:jk,mdiLoading:Bk,mdiMagnify:Wk,mdiMenu:qk,mdiMicrophone:Gk,mdiMusic:Kk,mdiMusicBoxMultiple:Zk,mdiOpenInNew:Yk,mdiPause:Jk,mdiPencil:Xk,mdiPipe:Qk,mdiPlay:eS,mdiPlaylistPlay:tS,mdiPlaylistPlus:nS,mdiRadio:rS,mdiRadioTower:oS,mdiRefresh:sS,mdiRepeat:iS,mdiRepeatOff:aS,mdiRepeatOnce:lS,mdiRewind10:cS,mdiRss:uS,mdiScriptTextOutline:dS,mdiScriptTextPlay:mS,mdiServer:fS,mdiShuffle:pS,mdiShuffleDisabled:hS,mdiSkipBackward:_S,mdiSkipForward:gS,mdiSpeaker:yS,mdiSpotify:vS,mdiStop:bS,mdiSubdirectoryArrowLeft:zS,mdiVolumeHigh:CS,mdiVolumeOff:wS,mdiWeb:xS},uA={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}},dA=e=>e.charAt(0).toUpperCase()+e.slice(1),mA=e=>e.split("-").map(dA).join(""),fA=(e,t,n)=>{const r=e[`mdi${mA(t.name)}`]||vk,o={role:t.role,"aria-label":t.ariaLabel,...n},s={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:o,svgAttrs:s,pathAttrs:{d:r}}},pA=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),hA=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:uA,...t,render:e(r)})}}),_A=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=fA(e,this,this.$attrs);return nr("span",{...n,class:pA(this,this)},[nr("svg",r,[this.title?nr("title",[this.title]):void 0,nr("path",o)])])},gA=hA(_A);/*!
|
||
* vue-router v4.3.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const No=typeof document<"u";function yA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ot=Object.assign;function fc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Gn(o)?o.map(e):e(o)}return n}const Gs=()=>{},Gn=Array.isArray,f1=/#/g,vA=/&/g,bA=/\//g,zA=/=/g,CA=/\?/g,p1=/\+/g,wA=/%5B/g,xA=/%5D/g,h1=/%5E/g,kA=/%60/g,_1=/%7B/g,SA=/%7C/g,g1=/%7D/g,EA=/%20/g;function Nd(e){return encodeURI(""+e).replace(SA,"|").replace(wA,"[").replace(xA,"]")}function $A(e){return Nd(e).replace(_1,"{").replace(g1,"}").replace(h1,"^")}function vu(e){return Nd(e).replace(p1,"%2B").replace(EA,"+").replace(f1,"%23").replace(vA,"%26").replace(kA,"`").replace(_1,"{").replace(g1,"}").replace(h1,"^")}function TA(e){return vu(e).replace(zA,"%3D")}function AA(e){return Nd(e).replace(f1,"%23").replace(CA,"%3F")}function OA(e){return e==null?"":AA(e).replace(bA,"%2F")}function fi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const PA=/\/$/,IA=e=>e.replace(PA,"");function pc(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=NA(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:fi(i)}}function DA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function RA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&as(t.matched[r],n.matched[o])&&y1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function as(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function y1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!LA(e[n],t[n]))return!1;return!0}function LA(e,t){return Gn(e)?ep(e,t):Gn(t)?ep(t,e):e===t}function ep(e,t){return Gn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function NA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var pi;(function(e){e.pop="pop",e.push="push"})(pi||(pi={}));var Ks;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ks||(Ks={}));function MA(e){if(!e)if(No){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),IA(e)}const FA=/^[^#]+#/;function VA(e,t){return e.replace(FA,"#")+t}function HA(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Il=()=>({left:window.scrollX,top:window.scrollY});function UA(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=HA(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function tp(e,t){return(history.state?history.state.position-t:-1)+e}const bu=new Map;function jA(e,t){bu.set(e,t)}function BA(e){const t=bu.get(e);return bu.delete(e),t}let WA=()=>location.protocol+"//"+location.host;function v1(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Qf(l,"")}return Qf(n,e)+r+o}function qA(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=v1(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);o.forEach(z=>{z(n.value,h,{delta:b,type:pi.pop,direction:b?b>0?Ks.forward:Ks.back:Ks.unknown})})};function l(){i=n.value}function u(f){o.push(f);const p=()=>{const h=o.indexOf(f);h>-1&&o.splice(h,1)};return s.push(p),p}function d(){const{history:f}=window;f.state&&f.replaceState(ot({},f.state,{scroll:Il()}),"")}function m(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:u,destroy:m}}function np(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Il():null}}function GA(e){const{history:t,location:n}=window,r={value:v1(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,d){const m=e.indexOf("#"),f=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:WA()+e+l;try{t[d?"replaceState":"pushState"](u,"",f),o.value=u}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function i(l,u){const d=ot({},t.state,np(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,d,!0),r.value=l}function a(l,u){const d=ot({},o.value,t.state,{forward:l,scroll:Il()});s(d.current,d,!0);const m=ot({},np(r.value,l,null),{position:d.position+1},u);s(l,m,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function KA(e){e=MA(e);const t=GA(e),n=qA(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ot({location:"",base:e,go:r,createHref:VA.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ZA(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),KA(e)}function YA(e){return typeof e=="string"||e&&typeof e=="object"}function b1(e){return typeof e=="string"||typeof e=="symbol"}const Tr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},z1=Symbol("");var rp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(rp||(rp={}));function ls(e,t){return ot(new Error,{type:e,[z1]:!0},t)}function ur(e,t){return e instanceof Error&&z1 in e&&(t==null||!!(e.type&t))}const op="[^/]+?",JA={sensitive:!1,strict:!1,start:!0,end:!0},XA=/[.+*?^${}()[\]/\\]/g;function QA(e,t){const n=ot({},JA,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const d=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let m=0;m<u.length;m++){const f=u[m];let p=40+(n.sensitive?.25:0);if(f.type===0)m||(o+="/"),o+=f.value.replace(XA,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:b,regexp:z}=f;s.push({name:h,repeatable:_,optional:b});const C=z||op;if(C!==op){p+=10;try{new RegExp(`(${C})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+w.message)}}let v=_?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;m||(v=b&&u.length<2?`(?:/${v})`:"/"+v),b&&(v+="?"),o+=v,p+=20,b&&(p+=-8),_&&(p+=-20),C===".*"&&(p+=-50)}d.push(p)}r.push(d)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(u){const d=u.match(i),m={};if(!d)return null;for(let f=1;f<d.length;f++){const p=d[f]||"",h=s[f-1];m[h.name]=p&&h.repeatable?p.split("/"):p}return m}function l(u){let d="",m=!1;for(const f of e){(!m||!d.endsWith("/"))&&(d+="/"),m=!1;for(const p of f)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:b}=p,z=h in u?u[h]:"";if(Gn(z)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=Gn(z)?z.join("/"):z;if(!C)if(b)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);d+=C}}return d||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function eO(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function tO(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=eO(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(sp(r))return 1;if(sp(o))return-1}return o.length-r.length}function sp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const nO={type:0,value:""},rO=/[a-zA-Z0-9_]/;function oO(e){if(!e)return[[]];if(e==="/")return[[nO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",d="";function m(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&m(),i()):l===":"?(m(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:rO.test(l)?f():(m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),m(),i(),o}function sO(e,t,n){const r=QA(oO(e.path),n),o=ot(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function iO(e,t){const n=[],r=new Map;t=lp({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function s(d,m,f){const p=!f,h=aO(d);h.aliasOf=f&&f.record;const _=lp(t,d),b=[h];if("alias"in d){const v=typeof d.alias=="string"?[d.alias]:d.alias;for(const w of v)b.push(ot({},h,{components:f?f.record.components:h.components,path:w,aliasOf:f?f.record:h}))}let z,C;for(const v of b){const{path:w}=v;if(m&&w[0]!=="/"){const S=m.record.path,k=S[S.length-1]==="/"?"":"/";v.path=m.record.path+(w&&k+w)}if(z=sO(v,m,_),f?f.alias.push(z):(C=C||z,C!==z&&C.alias.push(z),p&&d.name&&!ap(z)&&i(d.name)),h.children){const S=h.children;for(let k=0;k<S.length;k++)s(S[k],z,f&&f.children[k])}f=f||z,(z.record.components&&Object.keys(z.record.components).length||z.record.name||z.record.redirect)&&l(z)}return C?()=>{i(C)}:Gs}function i(d){if(b1(d)){const m=r.get(d);m&&(r.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let m=0;for(;m<n.length&&tO(d,n[m])>=0&&(d.record.path!==n[m].record.path||!C1(d,n[m]));)m++;n.splice(m,0,d),d.record.name&&!ap(d)&&r.set(d.record.name,d)}function u(d,m){let f,p={},h,_;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw ls(1,{location:d});_=f.record.name,p=ot(ip(m.params,f.keys.filter(C=>!C.optional).concat(f.parent?f.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&ip(d.params,f.keys.map(C=>C.name))),h=f.stringify(p)}else if(d.path!=null)h=d.path,f=n.find(C=>C.re.test(h)),f&&(p=f.parse(h),_=f.record.name);else{if(f=m.name?r.get(m.name):n.find(C=>C.re.test(m.path)),!f)throw ls(1,{location:d,currentLocation:m});_=f.record.name,p=ot({},m.params,d.params),h=f.stringify(p)}const b=[];let z=f;for(;z;)b.unshift(z.record),z=z.parent;return{name:_,path:h,params:p,matched:b,meta:cO(b)}}return e.forEach(d=>s(d)),{addRoute:s,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function ip(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function aO(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:lO(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 lO(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ap(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function cO(e){return e.reduce((t,n)=>ot(t,n.meta),{})}function lp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function C1(e,t){return t.children.some(n=>n===e||C1(e,n))}function uO(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(p1," "),i=s.indexOf("="),a=fi(i<0?s:s.slice(0,i)),l=i<0?null:fi(s.slice(i+1));if(a in t){let u=t[a];Gn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function cp(e){let t="";for(let n in e){const r=e[n];if(n=TA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Gn(r)?r.map(s=>s&&vu(s)):[r&&vu(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function dO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Gn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const mO=Symbol(""),up=Symbol(""),Md=Symbol(""),w1=Symbol(""),zu=Symbol("");function Es(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nr(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=f=>{f===!1?l(ls(4,{from:n,to:t})):f instanceof Error?l(f):YA(f)?l(ls(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},d=s(()=>e.call(r&&r.instances[o],t,n,u));let m=Promise.resolve(d);e.length<3&&(m=m.then(u)),m.catch(f=>l(f))})}function hc(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(fO(l)){const d=(l.__vccOpts||l)[t];d&&s.push(Nr(d,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const m=yA(d)?d.default:d;i.components[a]=m;const p=(m.__vccOpts||m)[t];return p&&Nr(p,n,r,i,a,o)()}))}}return s}function fO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dp(e){const t=jn(Md),n=jn(w1),r=Mt(()=>t.resolve(yn(e.to))),o=Mt(()=>{const{matched:l}=r.value,{length:u}=l,d=l[u-1],m=n.matched;if(!d||!m.length)return-1;const f=m.findIndex(as.bind(null,d));if(f>-1)return f;const p=mp(l[u-2]);return u>1&&mp(d)===p&&m[m.length-1].path!==p?m.findIndex(as.bind(null,l[u-2])):f}),s=Mt(()=>o.value>-1&&gO(n.params,r.value.params)),i=Mt(()=>o.value>-1&&o.value===n.matched.length-1&&y1(n.params,r.value.params));function a(l={}){return _O(l)?t[yn(e.replace)?"replace":"push"](yn(e.to)).catch(Gs):Promise.resolve()}return{route:r,href:Mt(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const pO=vr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:dp,setup(e,{slots:t}){const n=ms(dp(e)),{options:r}=jn(Md),o=Mt(()=>({[fp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[fp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:nr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),hO=pO;function _O(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function gO(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Gn(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function mp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fp=(e,t,n)=>e??t??n,yO=vr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=jn(zu),o=Mt(()=>e.route||r.value),s=jn(up,0),i=Mt(()=>{let u=yn(s);const{matched:d}=o.value;let m;for(;(m=d[u])&&!m.components;)u++;return u}),a=Mt(()=>o.value.matched[i.value]);Hs(up,Mt(()=>i.value+1)),Hs(mO,a),Hs(zu,o);const l=rr();return zn(()=>[l.value,a.value,e.name],([u,d,m],[f,p,h])=>{d&&(d.instances[m]=u,p&&p!==d&&u&&u===f&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),u&&d&&(!p||!as(d,p)||!f)&&(d.enterCallbacks[m]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=o.value,d=e.name,m=a.value,f=m&&m.components[d];if(!f)return pp(n.default,{Component:f,route:u});const p=m.props[d],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,b=nr(f,ot({},h,t,{onVnodeUnmounted:z=>{z.component.isUnmounted&&(m.instances[d]=null)},ref:l}));return pp(n.default,{Component:b,route:u})||b}}});function pp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vO=yO;function bO(e){const t=iO(e.routes,e),n=e.parseQuery||uO,r=e.stringifyQuery||cp,o=e.history,s=Es(),i=Es(),a=Es(),l=sd(Tr);let u=Tr;No&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=fc.bind(null,B=>""+B),m=fc.bind(null,OA),f=fc.bind(null,fi);function p(B,ce){let se,_e;return b1(B)?(se=t.getRecordMatcher(B),_e=ce):_e=B,t.addRoute(_e,se)}function h(B){const ce=t.getRecordMatcher(B);ce&&t.removeRoute(ce)}function _(){return t.getRoutes().map(B=>B.record)}function b(B){return!!t.getRecordMatcher(B)}function z(B,ce){if(ce=ot({},ce||l.value),typeof B=="string"){const A=pc(n,B,ce.path),V=t.resolve({path:A.path},ce),Y=o.createHref(A.fullPath);return ot(A,V,{params:f(V.params),hash:fi(A.hash),redirectedFrom:void 0,href:Y})}let se;if(B.path!=null)se=ot({},B,{path:pc(n,B.path,ce.path).path});else{const A=ot({},B.params);for(const V in A)A[V]==null&&delete A[V];se=ot({},B,{params:m(A)}),ce.params=m(ce.params)}const _e=t.resolve(se,ce),Ue=B.hash||"";_e.params=d(f(_e.params));const Ge=DA(r,ot({},B,{hash:$A(Ue),path:_e.path})),E=o.createHref(Ge);return ot({fullPath:Ge,hash:Ue,query:r===cp?dO(B.query):B.query||{}},_e,{redirectedFrom:void 0,href:E})}function C(B){return typeof B=="string"?pc(n,B,l.value.path):ot({},B)}function v(B,ce){if(u!==B)return ls(8,{from:ce,to:B})}function w(B){return M(B)}function S(B){return w(ot(C(B),{replace:!0}))}function k(B){const ce=B.matched[B.matched.length-1];if(ce&&ce.redirect){const{redirect:se}=ce;let _e=typeof se=="function"?se(B):se;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=C(_e):{path:_e},_e.params={}),ot({query:B.query,hash:B.hash,params:_e.path!=null?{}:B.params},_e)}}function M(B,ce){const se=u=z(B),_e=l.value,Ue=B.state,Ge=B.force,E=B.replace===!0,A=k(se);if(A)return M(ot(C(A),{state:typeof A=="object"?ot({},Ue,A.state):Ue,force:Ge,replace:E}),ce||se);const V=se;V.redirectedFrom=ce;let Y;return!Ge&&RA(r,_e,se)&&(Y=ls(16,{to:V,from:_e}),Ve(_e,_e,!0,!1)),(Y?Promise.resolve(Y):N(V,_e)).catch(G=>ur(G)?ur(G,2)?G:it(G):oe(G,V,_e)).then(G=>{if(G){if(ur(G,2))return M(ot({replace:E},C(G.to),{state:typeof G.to=="object"?ot({},Ue,G.to.state):Ue,force:Ge}),ce||V)}else G=U(V,_e,!0,E,Ue);return K(V,_e,G),G})}function R(B,ce){const se=v(B,ce);return se?Promise.reject(se):Promise.resolve()}function O(B){const ce=ut.values().next().value;return ce&&typeof ce.runWithContext=="function"?ce.runWithContext(B):B()}function N(B,ce){let se;const[_e,Ue,Ge]=zO(B,ce);se=hc(_e.reverse(),"beforeRouteLeave",B,ce);for(const A of _e)A.leaveGuards.forEach(V=>{se.push(Nr(V,B,ce))});const E=R.bind(null,B,ce);return se.push(E),Me(se).then(()=>{se=[];for(const A of s.list())se.push(Nr(A,B,ce));return se.push(E),Me(se)}).then(()=>{se=hc(Ue,"beforeRouteUpdate",B,ce);for(const A of Ue)A.updateGuards.forEach(V=>{se.push(Nr(V,B,ce))});return se.push(E),Me(se)}).then(()=>{se=[];for(const A of Ge)if(A.beforeEnter)if(Gn(A.beforeEnter))for(const V of A.beforeEnter)se.push(Nr(V,B,ce));else se.push(Nr(A.beforeEnter,B,ce));return se.push(E),Me(se)}).then(()=>(B.matched.forEach(A=>A.enterCallbacks={}),se=hc(Ge,"beforeRouteEnter",B,ce,O),se.push(E),Me(se))).then(()=>{se=[];for(const A of i.list())se.push(Nr(A,B,ce));return se.push(E),Me(se)}).catch(A=>ur(A,8)?A:Promise.reject(A))}function K(B,ce,se){a.list().forEach(_e=>O(()=>_e(B,ce,se)))}function U(B,ce,se,_e,Ue){const Ge=v(B,ce);if(Ge)return Ge;const E=ce===Tr,A=No?history.state:{};se&&(_e||E?o.replace(B.fullPath,ot({scroll:E&&A&&A.scroll},Ue)):o.push(B.fullPath,Ue)),l.value=B,Ve(B,ce,se,E),it()}let j;function Q(){j||(j=o.listen((B,ce,se)=>{if(!dt.listening)return;const _e=z(B),Ue=k(_e);if(Ue){M(ot(Ue,{replace:!0}),_e).catch(Gs);return}u=_e;const Ge=l.value;No&&jA(tp(Ge.fullPath,se.delta),Il()),N(_e,Ge).catch(E=>ur(E,12)?E:ur(E,2)?(M(E.to,_e).then(A=>{ur(A,20)&&!se.delta&&se.type===pi.pop&&o.go(-1,!1)}).catch(Gs),Promise.reject()):(se.delta&&o.go(-se.delta,!1),oe(E,_e,Ge))).then(E=>{E=E||U(_e,Ge,!1),E&&(se.delta&&!ur(E,8)?o.go(-se.delta,!1):se.type===pi.pop&&ur(E,20)&&o.go(-1,!1)),K(_e,Ge,E)}).catch(Gs)}))}let pe=Es(),W=Es(),re;function oe(B,ce,se){it(B);const _e=W.list();return _e.length?_e.forEach(Ue=>Ue(B,ce,se)):console.error(B),Promise.reject(B)}function je(){return re&&l.value!==Tr?Promise.resolve():new Promise((B,ce)=>{pe.add([B,ce])})}function it(B){return re||(re=!B,Q(),pe.list().forEach(([ce,se])=>B?se(B):ce()),pe.reset()),B}function Ve(B,ce,se,_e){const{scrollBehavior:Ue}=e;if(!No||!Ue)return Promise.resolve();const Ge=!se&&BA(tp(B.fullPath,0))||(_e||!se)&&history.state&&history.state.scroll||null;return fs().then(()=>Ue(B,ce,Ge)).then(E=>E&&UA(E)).catch(E=>oe(E,B,ce))}const He=B=>o.go(B);let at;const ut=new Set,dt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:_,resolve:z,options:e,push:w,replace:S,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:W.add,isReady:je,install(B){const ce=this;B.component("RouterLink",hO),B.component("RouterView",vO),B.config.globalProperties.$router=ce,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>yn(l)}),No&&!at&&l.value===Tr&&(at=!0,w(o.location).catch(Ue=>{}));const se={};for(const Ue in Tr)Object.defineProperty(se,Ue,{get:()=>l.value[Ue],enumerable:!0});B.provide(Md,ce),B.provide(w1,Qu(se)),B.provide(zu,l);const _e=B.unmount;ut.add(B),B.unmount=function(){ut.delete(B),ut.size<1&&(u=Tr,j&&j(),j=null,l.value=Tr,at=!1,re=!1),_e()}}};function Me(B){return B.reduce((ce,se)=>ce.then(()=>O(se)),Promise.resolve())}return dt}function zO(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(u=>as(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>as(u,l))||o.push(l))}return[n,r,o]}const CO={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(gi,!0)}}},wO={class:"section"},xO={class:"container"},kO={class:"columns is-centered"},SO={class:"column is-four-fifths has-text-centered-mobile"},EO=["textContent"],$O={class:"section"},TO={class:"container"},AO={class:"columns is-centered"},OO={class:"column is-four-fifths"},PO={class:"content"},IO={class:"level is-mobile"},DO={class:"level-left"},RO={class:"level-item"},LO=["textContent"],NO={class:"level-right"},MO={key:0},FO=["textContent"],VO={key:1},HO=["textContent"],UO={class:"table"},jO=["textContent"],BO=["textContent"],WO=["textContent"],qO=["textContent"],GO=["textContent"],KO=["textContent"],ZO=["textContent"],YO=["textContent"],JO=["textContent"],XO={class:"has-text-right"},QO=["textContent"],e8=["textContent"],t8=["textContent"],n8={class:"has-text-right"},r8=["textContent"],o8=["textContent"],s8={class:"section"},i8={class:"container"},a8={class:"columns is-centered"},l8={class:"column is-four-fifths"},c8={class:"content has-text-centered-mobile"},u8=["textContent"],d8=["textContent"],m8=c("a",{href:"https://bulma.io"},"Bulma",-1),f8=c("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),p8=c("a",{href:"https://vuejs.org/"},"Vue.js",-1),h8=c("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),_8=["textContent"];function g8(e,t,n,r,o,s){const i=$("i18n-t");return x(),T("div",null,[c("section",wO,[c("div",xO,[c("div",kO,[c("div",SO,[c("h1",{class:"title is-4",textContent:g(s.config.library_name)},null,8,EO)])])])]),c("section",$O,[c("div",TO,[c("div",AO,[c("div",OO,[c("div",PO,[c("nav",IO,[c("div",DO,[c("div",RO,[c("p",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,LO)])]),c("div",NO,[s.library.updating?(x(),T("div",MO,[c("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,FO)])):(x(),T("div",VO,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>s.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,HO)]))])]),c("table",UO,[c("tbody",null,[c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,jO),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.artists))},null,8,BO)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,WO),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.albums))},null,8,qO)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,GO),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.songs))},null,8,KO)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,ZO),c("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(s.library.db_playtime*1e3))},null,8,YO)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,JO),c("td",XO,[c("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,QO),wt(" ("),c("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.updated_at))},null,8,e8),wt(") ")])]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,t8),c("td",n8,[c("span",{textContent:g(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,r8),wt(" ("),c("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.started_at))},null,8,o8),wt(") ")])])])])])])])])]),c("section",s8,[c("div",i8,[c("div",a8,[c("div",l8,[c("div",c8,[c("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:s.config.version}))},null,8,u8),c("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:s.config.buildoptions.join(", ")}))},null,8,d8),y(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:P(()=>[m8]),mdi:P(()=>[f8]),vuejs:P(()=>[p8]),axios:P(()=>[h8]),others:P(()=>[c("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:g(e.$t("page.about.more"))},null,8,_8)]),_:1})])])])])])])}const y8=ne(CO,[["render",g8]]),v8={},b8={class:"hero is-light is-bold"},z8={class:"hero-body"},C8={class:"container"},w8={class:"columns is-centered"},x8={class:"column is-four-fifths"},k8={class:"columns is-flex-direction-row-reverse"},S8={class:"column fd-has-cover"},E8={class:"column m-auto is-three-fifths has-text-centered-mobile"},$8={class:"section pt-0"},T8={class:"container"},A8={class:"columns is-centered"},O8={class:"column is-four-fifths"};function P8(e,t){return x(),T(be,null,[c("section",b8,[c("div",z8,[c("div",C8,[c("div",w8,[c("div",x8,[c("div",k8,[c("div",S8,[yt(e.$slots,"heading-right")]),c("div",E8,[yt(e.$slots,"heading-left")])])])])])])]),c("section",$8,[c("div",T8,[c("div",A8,[c("div",O8,[yt(e.$slots,"content"),yt(e.$slots,"footer")])])])])],64)}const Dl=ne(v8,[["render",P8]]),I8=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},D8=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,R8=e=>{const t=I8(e.alternate),n=`<svg xmlns="http://www.w3.org/2000/svg"
|
||
width="${e.size}" height="${e.size}"
|
||
viewBox="0 0 ${e.size} ${e.size}">
|
||
<rect width="100%" height="100%" fill="#${t}"/>
|
||
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
|
||
font-weight="${e.font.weight}" font-family="${e.font.family}"
|
||
font-size="${e.size/3}" fill="${D8(t)>.5?"#000000":"#FFFFFF"}">
|
||
${e.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},L8={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},artwork_url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return R8({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function N8(e,t,n,r,o,s){const i=ud("lazy");return x(),T("figure",null,[ft(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.artwork_url,lifecycle:o.lifecycle}]])])}const zr=ne(L8,[["render",N8]]),{t:Qi,locale:M8}=xl.global,x1="NO_INDEX",F8=(e,t)=>e-t,V8=(e,t)=>e.localeCompare(t,M8.value),H8=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1);function U8(e){return e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>V8(o[t],s[t])*r;case Number:return(o,s)=>F8(o[t],s[t])*r;case Date:return(o,s)=>H8(o[t],s[t])*r}})}const j8=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},B8=e=>{},W8=[{difference:NaN,text:()=>Qi("grouped-list.undefined")},{difference:864e5,text:()=>Qi("grouped-list.today")},{difference:6048e5,text:()=>Qi("grouped-list.last-week")},{difference:2592e6,text:()=>Qi("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],q8=e=>{var r;const t=new Date(e),n=new Date-t;return(r=W8.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)};function G8({field:e,type:t=void 0}={}){switch(t){case String:return n=>j8(n[e]);case Number:return n=>n[e];case Date:return n=>q8(n[e]);case"Digits":return n=>B8(n[e]);default:return n=>x1}}class Ee{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={},s){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indices=[],this.group(s)}group({criteria:t=[],filters:n=[],index:r}={}){const o=G8(r),s=this.items.filter(l=>n.every(u=>u(l)));this.count=s.length;const i=U8(t),a=s.sort((l,u)=>i.reduce((d,m)=>d||m(l,u),0));this.itemsGrouped=a.reduce((l,u)=>{const d=o(u);return l.set(d,[...l.get(d)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys())}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==x1&&(yield{index:t,isItem:!1,item:{},itemId:t});for(const r of n)yield{index:t,isItem:!0,item:r,itemId:r.id}}}[Symbol.iterator](){return this.generate()}}var k1={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(o!==null){var _=o.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new s(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(b,z){function C(k){b&&b(k),p&&p(null,k)}function v(){z&&z(h),p&&p(h,null)}var w=f.type||"GET";if(h.open(w,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var k=null;try{k=h.responseText?JSON.parse(h.responseText):""}catch(M){console.error(M)}h.status>=200&&h.status<300?C(k):v()}},w==="GET")h.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var b={},z=null;typeof p=="object"?(b=p,z=h):typeof p=="function"&&(z=p);var C=f.type||"GET";return C!=="GET"&&f.postData&&!_?f.postData=a(f.postData,b):f.params=a(f.params,b),u(f,z)},m=function(){};return m.prototype={constructor:t},m.prototype.getGeneric=function(f,p){var h={url:f};return d(h,p)},m.prototype.getMe=function(f,p){var h={url:n+"/me"};return d(h,f,p)},m.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return d(h,f,p)},m.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return d(h,f,p)},m.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return d(h,f,p)},m.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return d(h,f,p)},m.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return d(h,f,p)},m.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.followPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return d(_,p,h)},m.prototype.unfollowUsers=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.unfollowArtists=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.unfollowPlaylist=function(f,p){var h={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return d(h,p)},m.prototype.isFollowingUsers=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.isFollowingArtists=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.areFollowingPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},m.prototype.getFollowedArtists=function(f,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,f,p)},m.prototype.getUser=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)};return d(_,p,h)},m.prototype.getUserPlaylists=function(f,p,h){var _;return typeof f=="string"?_={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=f),d(_,p,h)},m.prototype.getPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f};return d(_,p,h)},m.prototype.getPlaylistTracks=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks"};return d(_,p,h)},m.prototype.getPlaylistCoverImage=function(f,p){var h={url:n+"/playlists/"+f+"/images"};return d(h,p)},m.prototype.createPlaylist=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return d(_,p,h)},m.prototype.changePlaylistDetails=function(f,p,h){var _={url:n+"/playlists/"+f,type:"PUT",postData:p};return d(_,p,h)},m.prototype.addTracksToPlaylist=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return d(b,h,_,!0)},m.prototype.replaceTracksInPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},m.prototype.reorderTracksInPlaylist=function(f,p,h,_,b){var z={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(z,_,b)},m.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(z){return typeof z=="string"?{uri:z}:z}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(b,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var b=p.map(function(C){return typeof C=="string"?{uri:C}:C}),z={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:h}};return d(z,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(b,{},_)},m.prototype.uploadCustomPlaylistCoverImage=function(f,p,h){var _={url:n+"/playlists/"+f+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},m.prototype.getAlbum=function(f,p,h){var _={url:n+"/albums/"+f};return d(_,p,h)},m.prototype.getAlbumTracks=function(f,p,h){var _={url:n+"/albums/"+f+"/tracks"};return d(_,p,h)},m.prototype.getAlbums=function(f,p,h){var _={url:n+"/albums/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getTrack=function(f,p,h){var _={};return _.url=n+"/tracks/"+f,d(_,p,h)},m.prototype.getTracks=function(f,p,h){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtist=function(f,p,h){var _={url:n+"/artists/"+f};return d(_,p,h)},m.prototype.getArtists=function(f,p,h){var _={url:n+"/artists/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtistAlbums=function(f,p,h){var _={url:n+"/artists/"+f+"/albums"};return d(_,p,h)},m.prototype.getArtistTopTracks=function(f,p,h,_){var b={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return d(b,h,_)},m.prototype.getArtistRelatedArtists=function(f,p,h){var _={url:n+"/artists/"+f+"/related-artists"};return d(_,p,h)},m.prototype.getFeaturedPlaylists=function(f,p){var h={url:n+"/browse/featured-playlists"};return d(h,f,p)},m.prototype.getNewReleases=function(f,p){var h={url:n+"/browse/new-releases"};return d(h,f,p)},m.prototype.getCategories=function(f,p){var h={url:n+"/browse/categories"};return d(h,f,p)},m.prototype.getCategory=function(f,p,h){var _={url:n+"/browse/categories/"+f};return d(_,p,h)},m.prototype.getCategoryPlaylists=function(f,p,h){var _={url:n+"/browse/categories/"+f+"/playlists"};return d(_,p,h)},m.prototype.search=function(f,p,h,_){var b={url:n+"/search/",params:{q:f,type:p.join(",")}};return d(b,h,_)},m.prototype.searchAlbums=function(f,p,h){return this.search(f,["album"],p,h)},m.prototype.searchArtists=function(f,p,h){return this.search(f,["artist"],p,h)},m.prototype.searchTracks=function(f,p,h){return this.search(f,["track"],p,h)},m.prototype.searchPlaylists=function(f,p,h){return this.search(f,["playlist"],p,h)},m.prototype.searchShows=function(f,p,h){return this.search(f,["show"],p,h)},m.prototype.searchEpisodes=function(f,p,h){return this.search(f,["episode"],p,h)},m.prototype.getAudioFeaturesForTrack=function(f,p){var h={};return h.url=n+"/audio-features/"+f,d(h,{},p)},m.prototype.getAudioFeaturesForTracks=function(f,p){var h={url:n+"/audio-features",params:{ids:f}};return d(h,{},p)},m.prototype.getAudioAnalysisForTrack=function(f,p){var h={};return h.url=n+"/audio-analysis/"+f,d(h,{},p)},m.prototype.getRecommendations=function(f,p){var h={url:n+"/recommendations"};return d(h,f,p)},m.prototype.getAvailableGenreSeeds=function(f){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},f)},m.prototype.getMyDevices=function(f){var p={url:n+"/me/player/devices"};return d(p,{},f)},m.prototype.getMyCurrentPlaybackState=function(f,p){var h={url:n+"/me/player"};return d(h,f,p)},m.prototype.getMyCurrentPlayingTrack=function(f,p){var h={url:n+"/me/player/currently-playing"};return d(h,f,p)},m.prototype.transferMyPlayback=function(f,p,h){var _=p||{};_.device_ids=f;var b={type:"PUT",url:n+"/me/player",postData:_};return d(b,p,h)},m.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(C){C in f&&(_[C]=f[C])});var b={type:"PUT",url:n+"/me/player/play",params:h,postData:_},z=typeof f=="function"?f:{};return d(b,z,p)},m.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},b={type:"POST",url:n+"/me/player/queue",params:_};return d(b,p,h)},m.prototype.pause=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,f,p)},m.prototype.skipToNext=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,f,p)},m.prototype.skipToPrevious=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,f,p)},m.prototype.seek=function(f,p,h){p=p||{};var _={position_ms:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:_};return d(b,p,h)},m.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:_};return d(b,p,h)},m.prototype.setVolume=function(f,p,h){p=p||{};var _={volume_percent:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:_};return d(b,p,h)},m.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(b,p,h)},m.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,d(_,p,h)},m.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return d(h,f,p)},m.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return d(_,p,h)},m.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,d(_,p,h)},m.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getAccessToken=function(){return r},m.prototype.setAccessToken=function(f){r=f},m.prototype.setPromiseImplementation=function(f){var p=!1;try{var h=new f(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)o=f;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t})(k1);var K8=k1.exports;const Zn=El(K8),Z8={name:"ModalDialogTrack",props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"){const e=new Zn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{mark_new(){F.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){F.library_track_update(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open_album(){this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),F.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.item.uri)}}},Y8={key:0,class:"modal is-active"},J8={class:"modal-content"},X8={class:"card"},Q8={class:"card-content"},eP=["textContent"],tP=["textContent"],nP={key:0,class:"buttons"},rP=["textContent"],oP=["textContent"],sP={class:"content is-small"},iP={key:0},aP=["textContent"],lP=["textContent"],cP={key:1},uP=["textContent"],dP=["textContent"],mP={key:2},fP=["textContent"],pP=["textContent"],hP={key:3},_P=["textContent"],gP=["textContent"],yP={key:4},vP=["textContent"],bP=["textContent"],zP={key:5},CP=["textContent"],wP=["textContent"],xP={key:6},kP=["textContent"],SP=["textContent"],EP={key:7},$P=["textContent"],TP=["textContent"],AP=["textContent"],OP=["textContent"],PP=["textContent"],IP={class:"title is-6"},DP=["textContent"],RP={key:8},LP=["textContent"],NP={class:"title is-6"},MP=["textContent"],FP=["textContent"],VP=["textContent"],HP=["textContent"],UP=["textContent"],jP=["textContent"],BP=["textContent"],WP=["textContent"],qP={key:9},GP=["textContent"],KP=["textContent"],ZP={class:"card-footer"},YP=["textContent"],JP=["textContent"],XP=["textContent"];function QP(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",Y8,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",J8,[c("div",X8,[c("div",Q8,[c("p",{class:"title is-4",textContent:g(n.item.title)},null,8,eP),c("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,tP),n.item.media_kind==="podcast"?(x(),T("div",nP,[n.item.play_count>0?(x(),T("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>s.mark_new&&s.mark_new(...a)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,rP)):Z("",!0),n.item.play_count===0?(x(),T("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>s.mark_played&&s.mark_played(...a)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,oP)):Z("",!0)])):Z("",!0),c("div",sP,[n.item.album?(x(),T("p",iP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,aP),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.item.album)},null,8,lP)])):Z("",!0),n.item.album_artist&&n.item.media_kind!=="audiobook"?(x(),T("p",cP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,uP),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:g(n.item.album_artist)},null,8,dP)])):Z("",!0),n.item.composer?(x(),T("p",mP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,fP),c("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,pP)])):Z("",!0),n.item.date_released?(x(),T("p",hP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,_P),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.date_released))},null,8,gP)])):n.item.year?(x(),T("p",yP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,vP),c("span",{class:"title is-6",textContent:g(n.item.year)},null,8,bP)])):Z("",!0),n.item.genre?(x(),T("p",zP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,CP),c("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:g(n.item.genre)},null,8,wP)])):Z("",!0),n.item.disc_number?(x(),T("p",xP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,kP),c("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,SP)])):Z("",!0),n.item.length_ms?(x(),T("p",EP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,$P),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,TP)])):Z("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,AP),c("span",{class:"title is-6",textContent:g(n.item.path)},null,8,OP)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,PP),c("span",IP,[c("span",{textContent:g(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,DP)])]),n.item.samplerate?(x(),T("p",RP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,LP),c("span",NP,[c("span",{textContent:g(n.item.type)},null,8,MP),n.item.samplerate?(x(),T("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.item.samplerate}))},null,8,FP)):Z("",!0),n.item.channels?(x(),T("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,VP)):Z("",!0),n.item.bitrate?(x(),T("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.item.bitrate}))},null,8,HP)):Z("",!0)])])):Z("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,UP),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.item.time_added))},null,8,jP)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,BP),c("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.item.rating/10)}))},null,8,WP)]),n.item.comment?(x(),T("p",qP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,GP),c("span",{class:"title is-6",textContent:g(n.item.comment)},null,8,KP)])):Z("",!0)])]),c("footer",ZP,[c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,YP)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,JP)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,XP)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const eI=ne(Z8,[["render",QP]]),tI={name:"ListTracks",components:{ModalDialogTrack:eI},props:{expression:{default:"",type:String},items:{required:!0,type:Object},show_icon:Boolean,show_progress:Boolean,uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){this.uris?F.player_play_uri(this.uris,!1,this.items.items.indexOf(e)):this.expression?F.player_play_expression(this.expression,!1,this.items.items.indexOf(e)):F.player_play_uri(e.uri,!1)}}},nI={key:0,class:"mt-6 mb-5 py-2"},rI=["id","textContent"],oI=["onClick"],sI={key:0,class:"media-left is-clickable"},iI={class:"media-content is-clickable is-clipped"},aI=["textContent"],lI=["textContent"],cI=["textContent"],uI=["max","value"],dI={class:"media-right"},mI=["onClick"];function fI(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-track");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T(be,{key:l.itemId},[l.isItem?(x(),T("div",{key:1,class:we(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:u=>s.play(l.item)},[n.show_icon?(x(),T("figure",sI,[y(i,{class:"icon",name:"file-outline",size:"16"})])):Z("",!0),c("div",iI,[c("h1",{class:we(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:g(l.item.title)},null,10,aI),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(l.item.artist)},null,8,lI),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.item.album)},null,8,cI),n.show_progress&&l.item.seek_ms>0?(x(),T("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,uI)):Z("",!0)]),c("div",dI,[c("a",{onClick:ht(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,mI)])],10,oI)):(x(),T("div",nI,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,rI)]))],64))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["item","show"])]))],64)}const dn=ne(tI,[["render",fI],["__scopeId","data-v-84498238"]]),pI={name:"ModalDialogAlbum",components:{CoverArtwork:zr},props:{item:{required:!0,type:Object},media_kind:{default:"",type:String},show:Boolean},emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{media_kind_resolved(){return this.media_kind||this.item.media_kind}},methods:{mark_played(){F.library_album_track_update(this.item.id,{play_count:"played"}).then(({data:e})=>{this.$emit("play-count-changed"),this.$emit("close")})},open(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.id}}):this.$router.push({name:"music-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},play(){this.$emit("close"),F.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.item.uri)}}},hI={key:0,class:"modal is-active"},_I={class:"modal-content"},gI={class:"card"},yI={class:"card-content"},vI={class:"title is-4"},bI=["textContent"],zI={key:0,class:"buttons"},CI=["textContent"],wI=["textContent"],xI={class:"content is-small"},kI={key:0},SI=["textContent"],EI=["textContent"],$I={key:1},TI=["textContent"],AI=["textContent"],OI={key:2},PI=["textContent"],II=["textContent"],DI=["textContent"],RI=["textContent"],LI=["textContent"],NI=["textContent"],MI=["textContent"],FI=["textContent"],VI=["textContent"],HI=["textContent"],UI={class:"card-footer"},jI=["textContent"],BI=["textContent"],WI=["textContent"];function qI(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",hI,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",_I,[c("div",gI,[c("div",yI,[y(i,{artwork_url:n.item.artwork_url,artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["artwork_url","artist","album"]),c("p",vI,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:g(n.item.name)},null,8,bI)]),s.media_kind_resolved==="podcast"?(x(),T("div",zI,[c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>s.mark_played&&s.mark_played(...l)),textContent:g(e.$t("dialog.album.mark-as-played"))},null,8,CI),n.item.data_kind==="url"?(x(),T("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:g(e.$t("dialog.album.remove-podcast"))},null,8,wI)):Z("",!0)])):Z("",!0),c("div",xI,[n.item.artist?(x(),T("p",kI,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,SI),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.item.artist)},null,8,EI)])):Z("",!0),n.item.date_released?(x(),T("p",$I,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,TI),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.date_released))},null,8,AI)])):n.item.year?(x(),T("p",OI,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,PI),c("span",{class:"title is-6",textContent:g(n.item.year)},null,8,II)])):Z("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,DI),c("span",{class:"title is-6",textContent:g(n.item.track_count)},null,8,RI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,LI),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,NI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,MI),c("span",{class:"title is-6",textContent:g(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,FI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,VI),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.item.time_added))},null,8,HI)])])]),c("footer",UI,[c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.queue_add&&s.queue_add(...l))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,jI)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,BI)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>s.play&&s.play(...l))},[y(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,WI)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):Z("",!0)]),_:1})}const Rl=ne(pI,[["render",qI]]),hp={load(e){return Promise.all([F.library_album(e.params.id),F.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),e.tracks.indices.length<2&&e.tracks.group()}},GI={name:"PageAlbum",components:{ContentWithHero:Dl,CoverArtwork:zr,ListTracks:dn,ModalDialogAlbum:Rl},beforeRouteEnter(e,t,n){hp.load(e).then(r=>{n(o=>hp.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){F.player_play_uri(this.album.uri,!0)}}},KI=["textContent"],ZI={class:"subtitle is-6 has-text-link"},YI=["textContent"],JI={class:"buttons fd-is-centered-mobile mt-5"},XI=["textContent"],QI=["textContent"];function e6(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),u=$("modal-dialog-album"),d=$("content-with-hero");return x(),T("div",null,[y(d,null,{"heading-left":P(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,KI),c("h2",ZI,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(o.album.artist)},null,8,YI)]),c("div",JI,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,XI)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[y(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,QI),y(l,{items:o.tracks,uris:o.album.uri},null,8,["items","uris"]),y(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const t6=ne(GI,[["render",e6]]),n6={name:"ModalDialogTrackSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),F.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.item.uri)}}},r6={key:0,class:"modal is-active"},o6={class:"modal-content"},s6={class:"card"},i6={class:"card-content"},a6=["textContent"],l6=["textContent"],c6={class:"content is-small"},u6=["textContent"],d6=["textContent"],m6=["textContent"],f6=["textContent"],p6=["textContent"],h6=["textContent"],_6=["textContent"],g6=["textContent"],y6=["textContent"],v6=["textContent"],b6=["textContent"],z6=["textContent"],C6={class:"card-footer"},w6=["textContent"],x6=["textContent"],k6=["textContent"];function S6(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",r6,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",o6,[c("div",s6,[c("div",i6,[c("p",{class:"title is-4",textContent:g(n.item.name)},null,8,a6),c("p",{class:"subtitle",textContent:g(n.item.artists[0].name)},null,8,l6),c("div",c6,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,u6),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.item.album.name)},null,8,d6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,m6),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:g(n.item.artists[0].name)},null,8,f6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,p6),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.album.release_date))},null,8,h6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,_6),c("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,g6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,y6),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.duration_ms))},null,8,v6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,b6),c("span",{class:"title is-6",textContent:g(n.item.uri)},null,8,z6)])])]),c("footer",C6,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,w6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add-next"))},null,8,x6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,k6)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const E6=ne(n6,[["render",S6]]),$6={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:E6},props:{context_uri:{default:"",type:String},items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){e.is_playable&&F.player_play_uri(this.context_uri||e.uri,!1,e.position||0)}}},T6=["onClick"],A6=["textContent"],O6=["textContent"],P6=["textContent"],I6={key:0,class:"subtitle is-7"},D6=["textContent"],R6=["textContent"],L6={class:"media-right"},N6=["onClick"];function M6(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-track-spotify");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:we(["media-content is-clipped",{"is-clickable":l.is_playable,"fd-is-not-allowed":!l.is_playable}]),onClick:u=>s.play(l)},[c("h1",{class:we(["title is-6",{"has-text-grey-light":!l.is_playable}]),textContent:g(l.name)},null,10,A6),c("h2",{class:we(["subtitle is-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:g(l.artists[0].name)},null,10,O6),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.album.name)},null,8,P6),l.is_playable?Z("",!0):(x(),T("h2",I6,[wt(" ("),c("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,D6),l.restrictions&&l.restrictions.reason?(x(),T("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,R6)):Z("",!0),wt(") ")]))],10,T6),c("div",L6,[c("a",{onClick:ht(u=>s.open_dialog(l),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,N6)])]))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Ba=ne($6,[["render",M6]]),F6={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:zr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{artwork_visible:!1}},methods:{artwork_error(){this.artwork_visible=!1},artwork_loaded(){this.artwork_visible=!0},artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""},open(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),F.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.item.uri)}}},V6={key:0,class:"modal is-active"},H6={class:"modal-content"},U6={class:"card"},j6={class:"card-content"},B6={class:"title is-4"},W6=["textContent"],q6={class:"content is-small"},G6=["textContent"],K6=["textContent"],Z6=["textContent"],Y6=["textContent"],J6=["textContent"],X6=["textContent"],Q6={class:"card-footer"},e4=["textContent"],t4=["textContent"],n4=["textContent"];function r4(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",V6,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",H6,[c("div",U6,[c("div",j6,[y(i,{artwork_url:s.artwork_url(n.item),artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:s.artwork_loaded,onError:s.artwork_error},null,8,["artwork_url","artist","album","onLoad","onError"]),c("p",B6,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:g(n.item.name)},null,8,W6)]),c("div",q6,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,G6),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.item.artists[0].name)},null,8,K6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,Z6),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.release_date))},null,8,Y6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,J6),c("span",{class:"title is-6",textContent:g(n.item.album_type)},null,8,X6)])])]),c("footer",Q6,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>s.queue_add&&s.queue_add(...l))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,e4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add-next"))},null,8,t4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.play&&s.play(...l))},[y(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,n4)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):Z("",!0)]),_:1})}const S1=ne(F6,[["render",r4]]),_p={load(e){const t=new Zn;return t.setAccessToken(pt.state.spotify.webapi_token),t.getAlbum(e.params.id,{market:pt.state.spotify.webapi_country})},set(e,t){e.album=t}},o4={name:"PageAlbumSpotify",components:{ContentWithHero:Dl,CoverArtwork:zr,ListTracksSpotify:Ba,ModalDialogAlbumSpotify:S1},beforeRouteEnter(e,t,n){_p.load(e).then(r=>{n(o=>_p.set(o,r))})},data(){return{album:{artists:[{}],tracks:{}},show_details_modal:!1}},computed:{tracks(){const{album:e}=this;return e.tracks.total?e.tracks.items.map(t=>({...t,album:e})):{}}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},play(){this.show_details_modal=!1,F.player_play_uri(this.album.uri,!0)}}},s4=["textContent"],i4={class:"subtitle is-6 has-text-link"},a4=["textContent"],l4={class:"buttons fd-is-centered-mobile mt-5"},c4=["textContent"],u4=["textContent"];function d4(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks-spotify"),u=$("modal-dialog-album-spotify"),d=$("content-with-hero");return x(),T("div",null,[y(d,null,{"heading-left":P(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,s4),c("h2",i4,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(o.album.artists[0].name)},null,8,a4)]),c("div",l4,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,c4)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[y(a,{artwork_url:s.artwork_url(o.album),artist:o.album.artists[0].name,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,u4),y(l,{items:s.tracks,context_uri:o.album.uri},null,8,["items","context_uri"]),y(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const m4=ne(o4,[["render",d4]]),f4={name:"ContentWithHeading",data(){return{options_visible:!1}},computed:{icon_name(){return this.options_visible?"chevron-up":"chevron-down"},position(){return{hash:this.options_visible?"#top":"#app",query:this.$route.query}}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options_ref))},methods:{onElementObserved(e){e.forEach(({target:t,isIntersecting:n})=>{this.options_visible=n})},visibilityChanged(e){this.options_visible=e}}},p4={class:"section"},h4={class:"container"},_4={class:"columns is-centered"},g4={class:"column is-four-fifths"},y4={key:0},v4={ref:"options_ref",style:{height:"1px"}},b4={class:"buttons is-centered mt-4 mb-2"},z4={id:"top",class:"level is-clipped"},C4={class:"level-left is-flex-shrink-1"},w4={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},x4={class:"level-right has-text-centered-mobile"},k4={class:"mt-4"};function S4(e,t,n,r,o,s){const i=$("mdicon"),a=$("router-link");return x(),T("section",p4,[c("div",h4,[c("div",_4,[c("div",g4,[e.$slots.options?(x(),T("section",y4,[c("div",v4,null,512),yt(e.$slots,"options"),c("nav",b4,[y(a,{class:"button is-small is-white",to:s.position},{default:P(()=>[y(i,{class:"icon is-small",name:s.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):Z("",!0),c("div",{class:we({"is-full-height":e.$slots.options})},[c("nav",z4,[c("div",C4,[c("div",w4,[c("div",null,[yt(e.$slots,"heading-left")])])]),c("div",x4,[yt(e.$slots,"heading-right")])]),yt(e.$slots,"content"),c("div",k4,[yt(e.$slots,"footer")])],2)])])])])}const Xe=ne(f4,[["render",S4]]),E4={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{is_active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.value)}}},methods:{onClickOutside(e){this.is_active=!1},select(e){this.is_active=!1,this.$emit("update:value",e.id)}}},$4={class:"dropdown-trigger"},T4=["textContent"],A4={id:"dropdown",class:"dropdown-menu",role:"menu"},O4={class:"dropdown-content"},P4=["onClick","textContent"];function I4(e,t,n,r,o,s){const i=$("mdicon"),a=ud("click-away");return ft((x(),T("div",{class:we(["dropdown",{"is-active":o.is_active}])},[c("div",$4,[c("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>o.is_active=!o.is_active)},[c("span",{textContent:g(s.option.name)},null,8,T4),y(i,{class:"icon",name:"chevron-down",size:"16"})])]),c("div",A4,[c("div",O4,[(x(!0),T(be,null,zt(n.options,l=>(x(),T("a",{key:l.id,class:we(["dropdown-item",{"is-active":n.value===l.id}]),onClick:u=>s.select(l),textContent:g(l.name)},null,10,P4))),128))])])],2)),[[a,s.onClickOutside]])}const So=ne(E4,[["render",I4]]),D4={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},R4={class:"buttons is-centered mb-4 fd-is-square"};function L4(e,t,n,r,o,s){const i=$("router-link");return x(),T("section",null,[c("nav",R4,[(x(!0),T(be,null,zt(n.indices,a=>(x(),Ce(i,{key:a,class:"button is-small",to:{hash:`#index_${a}`,query:e.$route.query}},{default:P(()=>[wt(g(a),1)]),_:2},1032,["to"]))),128))])])}const Yn=ne(D4,[["render",L4]]),N4={name:"ListAlbums",components:{CoverArtwork:zr,ModalDialog:Ed,ModalDialogAlbum:Rl},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],data(){return{rss_playlist_to_remove:{},selected_item:{},show_details_modal:!1,show_remove_podcast_modal:!1}},computed:{media_kind_resolved(){return this.media_kind||this.selected_item.media_kind},show_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open(e){this.selected_item=e,this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:e.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:e.id}}):this.$router.push({name:"music-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_remove_podcast_dialog(){F.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{F.library_track_playlists(e.items[0].id).then(({data:t})=>{[this.rss_playlist_to_remove]=t.items.filter(n=>n.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed(){this.$emit("play-count-changed")},remove_podcast(){this.show_remove_podcast_modal=!1,F.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},M4={key:0,class:"mt-6 mb-5 py-2"},F4=["id","textContent"],V4=["onClick"],H4={key:0,class:"media-left"},U4={class:"media-content is-clickable is-clipped"},j4=["textContent"],B4=["textContent"],W4=["textContent"],q4={class:"media-right"},G4=["onClick"],K4=["textContent"],Z4={class:"is-size-7"},Y4=["textContent"],J4=["textContent"];function X4(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("mdicon"),l=$("modal-dialog-album"),u=$("modal-dialog");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,d=>(x(),T(be,{key:d.itemId},[d.isItem?(x(),T("div",{key:1,class:"media is-align-items-center",onClick:m=>s.open(d.item)},[s.show_artwork?(x(),T("div",H4,[y(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"},null,8,["artwork_url","artist","album"])])):Z("",!0),c("div",U4,[c("div",null,[c("h1",{class:"title is-6",textContent:g(d.item.name)},null,8,j4),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(d.item.artist)},null,8,B4),d.item.date_released&&d.item.media_kind==="music"?(x(),T("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:g(e.$filters.date(d.item.date_released))},null,8,W4)):Z("",!0)])]),c("div",q4,[c("a",{onClick:ht(m=>s.open_dialog(d.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,G4)])],8,V4)):(x(),T("div",M4,[c("span",{id:`index_${d.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(d.index)},null,8,F4)]))],64))),128)),(x(),Ce(Dn,{to:"#app"},[y(l,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=d=>o.show_details_modal=!1),onRemovePodcast:t[1]||(t[1]=d=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=d=>s.play_count_changed())},null,8,["item","media_kind","show"]),y(u,{delete_action:e.$t("page.podcast.remove"),show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onClose:t[3]||(t[3]=d=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":P(()=>[c("p",{textContent:g(e.$t("list.albums.info-1"))},null,8,K4),c("p",Z4,[wt(" ("),c("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,Y4),c("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,J4),wt(") ")])]),_:1},8,["delete_action","show","title","onDelete"])]))],64)}const vn=ne(N4,[["render",X4]]),Q4={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},e5={class:"section fd-tabs-section"},t5={class:"container"},n5={class:"columns is-centered"},r5={class:"column is-four-fifths"},o5={class:"tabs is-centered is-small"},s5=["onClick","onKeypress"],i5=["textContent"],a5=["onClick","onKeypress"],l5=["textContent"],c5=["onClick","onKeypress"],u5=["textContent"],d5=["onClick","onKeypress"],m5=["textContent"],f5=["onClick","onKeypress"],p5=["textContent"],h5=["onClick","onKeypress"],_5=["textContent"];function g5(e,t,n,r,o,s){const i=$("mdicon"),a=$("router-link");return x(),T("section",e5,[c("div",t5,[c("div",n5,[c("div",r5,[c("div",o5,[c("ul",null,[y(a,{to:{name:"music-history"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"history",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.history"))},null,8,i5)],40,s5)],2)]),_:1}),y(a,{to:{name:"music-artists"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.artists"))},null,8,l5)],40,a5)],2)]),_:1}),y(a,{to:{name:"music-albums"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.albums"))},null,8,u5)],40,c5)],2)]),_:1}),y(a,{to:{name:"music-genres"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.genres"))},null,8,m5)],40,d5)],2)]),_:1}),y(a,{to:{name:"music-composers"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.composers"))},null,8,p5)],40,f5)],2)]),_:1}),s.spotify_enabled?(x(),Ce(a,{key:0,to:{name:"music-spotify"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.spotify"))},null,8,_5)],40,h5)],2)]),_:1})):Z("",!0)])])])])])])}const lr=ne(Q4,[["render",g5]]),gp={load(e){return F.library_albums("music")},set(e,t){e.albums_list=new Ee(t.data)}},y5={name:"PageAlbums",components:{ContentWithHeading:Xe,ControlDropdown:So,IndexButtonList:Yn,ListAlbums:vn,TabsMusic:lr},beforeRouteEnter(e,t,n){gp.load(e).then(r=>{n(o=>gp.set(o,r))})},data(){return{albums_list:new Ee,grouping_options:[{id:1,name:this.$t("page.albums.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.albums.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("page.albums.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("page.albums.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("page.albums.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]}},computed:{albums(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e.options),this.albums_list},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(Qa,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(_i,e)}},selected_grouping_option_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit(oh,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},v5={class:"fd-page-with-tabs"},b5={class:"columns"},z5={class:"column"},C5=["textContent"],w5={class:"field"},x5={class:"control"},k5=["textContent"],S5=["textContent"],E5={key:0,class:"field"},$5={class:"control"},T5=["textContent"],A5=["textContent"],O5={class:"column"},P5=["textContent"],I5=["textContent"],D5=["textContent"];function R5(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),u=$("list-albums"),d=$("content-with-heading");return x(),T("div",v5,[y(i),y(d,null,{options:P(()=>[y(a,{indices:s.albums.indices},null,8,["indices"]),c("div",b5,[c("div",z5,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,C5),c("div",w5,[c("div",x5,[ft(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,k5)]),c("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,S5)]),s.spotify_enabled?(x(),T("div",E5,[c("div",$5,[ft(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,T5)]),c("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,A5)])):Z("",!0)]),c("div",O5,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort.title"))},null,8,P5),y(l,{value:s.selected_grouping_option_id,"onUpdate:value":t[2]||(t[2]=m=>s.selected_grouping_option_id=m),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,I5),c("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:s.albums.count}))},null,8,D5)]),"heading-right":P(()=>[]),content:P(()=>[y(u,{items:s.albums},null,8,["items"])]),_:1})])}const L5=ne(y5,[["render",R5]]),N5={name:"ModalDialogArtist",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.item.id}})},play(){this.$emit("close"),F.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.item.uri)}}},M5={key:0,class:"modal is-active"},F5={class:"modal-content"},V5={class:"card"},H5={class:"card-content"},U5={class:"title is-4"},j5=["textContent"],B5={class:"content is-small"},W5=["textContent"],q5=["textContent"],G5=["textContent"],K5=["textContent"],Z5=["textContent"],Y5=["textContent"],J5=["textContent"],X5=["textContent"],Q5={class:"card-footer"},e3=["textContent"],t3=["textContent"],n3=["textContent"];function r3(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",M5,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",F5,[c("div",V5,[c("div",H5,[c("p",U5,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,j5)]),c("div",B5,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,W5),c("span",{class:"title is-6",textContent:g(n.item.album_count)},null,8,q5)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,G5),c("span",{class:"title is-6",textContent:g(n.item.track_count)},null,8,K5)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,Z5),c("span",{class:"title is-6",textContent:g(e.$t(`data.kind.${n.item.data_kind}`))},null,8,Y5)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,J5),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.item.time_added))},null,8,X5)])])]),c("footer",Q5,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,e3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,t3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,n3)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const Ll=ne(N5,[["render",r3]]),yp={load(e){return Promise.all([F.library_artist(e.params.id),F.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new Ee(t[1].data)}},o3={name:"PageArtist",components:{ContentWithHeading:Xe,ControlDropdown:So,ListAlbums:vn,ModalDialogArtist:Ll},beforeRouteEnter(e,t,n){yp.load(e).then(r=>{n(o=>yp.set(o,r))})},data(){return{albums_list:new Ee,artist:{},grouping_options:[{id:1,name:this.$t("page.artist.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("page.artist.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}],show_details_modal:!1}},computed:{albums(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e.options),this.albums_list},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(_i,e)}},selected_grouping_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(ih,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},track_count(){return[...this.albums].reduce((e,t)=>e+(t.isItem?t.item.track_count:0),0)}},methods:{open_tracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){F.player_play_uri(this.albums.items.map(e=>e.uri).join(),!0)}}},s3={class:"columns"},i3={class:"column"},a3=["textContent"],l3={key:0,class:"field"},c3={class:"control"},u3=["textContent"],d3=["textContent"],m3={class:"column"},f3=["textContent"],p3=["textContent"],h3={class:"buttons is-centered"},_3=["textContent"],g3={class:"heading has-text-centered-mobile"},y3=["textContent"],v3=c("span",null," | ",-1),b3=["textContent"];function z3(e,t,n,r,o,s){const i=$("control-dropdown"),a=$("mdicon"),l=$("list-albums"),u=$("modal-dialog-artist"),d=$("content-with-heading");return x(),T("div",null,[y(d,null,{options:P(()=>[c("div",s3,[c("div",i3,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,a3),s.spotify_enabled?(x(),T("div",l3,[c("div",c3,[ft(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,u3)]),c("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,d3)])):Z("",!0)]),c("div",m3,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,f3),y(i,{value:s.selected_grouping_option_id,"onUpdate:value":t[1]||(t[1]=m=>s.selected_grouping_option_id=m),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,p3)]),"heading-right":P(()=>[c("div",h3,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...m)=>s.play&&s.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,_3)])])]),content:P(()=>[c("p",g3,[c("span",{textContent:g(e.$t("page.artist.album-count",{count:s.albums.count}))},null,8,y3),v3,c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:g(e.$t("page.artist.track-count",{count:s.track_count}))},null,8,b3)]),y(l,{items:s.albums},null,8,["items"]),y(u,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const C3=ne(o3,[["render",z3]]),w3={name:"ListAlbumsSpotify",components:{CoverArtwork:zr,ModalDialogAlbumSpotify:S1},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},computed:{show_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},x3=["onClick"],k3={key:0,class:"media-left is-clickable"},S3={class:"media-content is-clickable is-clipped"},E3=["textContent"],$3=["textContent"],T3=["textContent"],A3={class:"media-right"},O3=["onClick"];function P3(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("mdicon"),l=$("modal-dialog-album-spotify");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,u=>{var d;return x(),T("div",{key:u.id,class:"media is-align-items-center",onClick:m=>s.open(u)},[s.show_artwork?(x(),T("div",k3,[y(i,{artwork_url:s.artwork_url(u),artist:u.artist,album:u.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])])):Z("",!0),c("div",S3,[c("h1",{class:"title is-6",textContent:g(u.name)},null,8,E3),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g((d=u.artists[0])==null?void 0:d.name)},null,8,$3),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g([u.album_type,e.$filters.date(u.release_date)].join(", "))},null,8,T3)]),c("div",A3,[c("a",{onClick:ht(m=>s.open_dialog(u),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,O3)])],8,x3)}),128)),(x(),Ce(Dn,{to:"#app"},[y(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=u=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const hi=ne(w3,[["render",P3]]),I3={name:"ModalDialogArtistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.id}})},play(){this.$emit("close"),F.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.item.uri)}}},D3={key:0,class:"modal is-active"},R3={class:"modal-content"},L3={class:"card"},N3={class:"card-content"},M3={class:"title is-4"},F3=["textContent"],V3={class:"content is-small"},H3=["textContent"],U3=["textContent"],j3=["textContent"],B3=["textContent"],W3={class:"card-footer"},q3=["textContent"],G3=["textContent"],K3=["textContent"];function Z3(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",D3,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",R3,[c("div",L3,[c("div",N3,[c("p",M3,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,F3)]),c("div",V3,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,H3),c("span",{class:"title is-6",textContent:g([n.item.popularity,n.item.followers.total].join(" / "))},null,8,U3)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,j3),c("span",{class:"title is-6",textContent:g(n.item.genres.join(", "))},null,8,B3)])])]),c("footer",W3,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,q3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add-next"))},null,8,G3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,K3)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const E1=ne(I3,[["render",Z3]]);function Y3(e){return e.scrollHeight}function J3(e){return e.scrollWidth}function X3(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function Q3(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const eD=c("div",{class:"loading"},"Loading...",-1),tD=c("div",{class:"no-more"},"No more.",-1),nD=c("div",{class:"no-results"},"No results.",-1),rD=c("div",{class:"error"},"Error.",-1),Fd=vr({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(e,{emit:t}){const n=e,r=rr();let o=rr("loading"),s=rr(n.isInitial),i=0;function a(){fs(()=>{var v,w;n.position==="top"?X3((v=n.container)!=null?v:document.documentElement,i):n.position==="left"&&Q3((w=n.container)!=null?w:document.documentElement,i)})}function l(v,w){return v===0?s.value?(d(),"no-results"):(u(),"no-more"):v!==void 0&&w!==void 0&&v<w?(u(),"no-more"):(s.value=!1,a(),b(),"loading")}function u(){s.value=!1,h("no-more"),a()}function d(){s.value=!1,h("no-results"),a()}function m(){s.value=!1,h("error"),a()}function f(){s.value=!0,h("loading"),b()}function p(){h("loading"),b()}function h(v){o.value=v}function _(){r.value&&C.unobserve(r.value)}function b(){r.value&&C.observe(r.value)}function z(){return new IntersectionObserver(([v])=>{var w,S;v.isIntersecting&&(n.position==="top"?i=Y3((w=n.container)!=null?w:document.documentElement):n.position==="left"&&(i=J3((S=n.container)!=null?S:document.documentElement)),_(),n.load({loaded:l,noMore:u,noResults:d,error:m},{isFirstLoad:s.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let C;return typeof IntersectionObserver<"u"&&D_(()=>{C&&_(),C=z(),b()},{flush:"post"}),zn(()=>n.isInitial,v=>{v&&f()}),zn(s,v=>{v||t("update:isInitial",!1)}),(v,w)=>(x(),T("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[yn(o)==="loading"?yt(v.$slots,"loading",Os(Fo({key:0},{isFirstLoad:yn(s)})),()=>[eD]):yn(o)==="no-more"?yt(v.$slots,"no-more",Os(Fo({key:1},{retry:p})),()=>[tD]):yn(o)==="no-results"?yt(v.$slots,"no-results",Os(Fo({key:2},{retry:p})),()=>[nD]):yn(o)==="error"?yt(v.$slots,"error",Os(Fo({key:3},{retry:p})),()=>[rD]):Z("",!0)],512))}}),Cu=50,vp={load(e){const t=new Zn;return t.setAccessToken(pt.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{include_groups:"album,single",limit:Cu,market:pt.state.spotify.webapi_country,offset:0})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},oD={name:"PageArtistSpotify",components:{ContentWithHeading:Xe,ListAlbumsSpotify:hi,ModalDialogArtistSpotify:E1,VueEternalLoading:Fd},beforeRouteEnter(e,t,n){vp.load(e).then(r=>{n(o=>vp.set(o,r))})},data(){return{albums:[],artist:{},offset:0,show_details_modal:!1,total:0}},methods:{append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new Zn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:Cu,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,Cu)})},play(){this.show_album_details_modal=!1,F.player_play_uri(this.artist.uri,!0)}}},sD=["textContent"],iD={class:"buttons is-centered"},aD=["textContent"],lD=["textContent"],cD={class:"columns is-centered"},uD={class:"column has-text-centered"};function dD(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-albums-spotify"),l=$("VueEternalLoading"),u=$("modal-dialog-artist-spotify"),d=$("content-with-heading");return x(),T("div",null,[y(d,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,sD)]),"heading-right":P(()=>[c("div",iD,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,aD)])])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,lD),y(a,{items:o.albums},null,8,["items"]),o.offset<o.total?(x(),Ce(l,{key:0,load:s.load_next},{loading:P(()=>[c("div",cD,[c("div",uD,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":P(()=>[wt(" ")]),_:1},8,["load"])):Z("",!0),y(u,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const mD=ne(oD,[["render",dD]]),bp={load(e){return Promise.all([F.library_artist(e.params.id),F.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},fD={name:"PageArtistTracks",components:{ContentWithHeading:Xe,ControlDropdown:So,IndexButtonList:Yn,ListTracks:dn,ModalDialogArtist:Ll},beforeRouteEnter(e,t,n){bp.load(e).then(r=>{n(o=>bp.set(o,r))})},data(){return{artist:{},grouping_options:[{id:1,name:this.$t("page.artist.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.artist.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(_i,e)}},selected_grouping_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(ah,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},track_uris(){return this.tracks_list.items.map(e=>e.uri).join()},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.tracks_list.group(e.options),this.tracks_list}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},play(){F.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},pD={class:"columns"},hD={class:"column"},_D=["textContent"],gD={key:0,class:"field"},yD={class:"control"},vD=["textContent"],bD=["textContent"],zD={class:"column"},CD=["textContent"],wD=["textContent"],xD={class:"buttons is-centered"},kD=["textContent"],SD={class:"heading has-text-centered-mobile"},ED=["textContent"],$D=c("span",null," | ",-1),TD=["textContent"];function AD(e,t,n,r,o,s){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),u=$("list-tracks"),d=$("modal-dialog-artist"),m=$("content-with-heading");return x(),T("div",null,[y(m,null,{options:P(()=>[y(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",pD,[c("div",hD,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,_D),s.spotify_enabled?(x(),T("div",gD,[c("div",yD,[ft(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[On,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,vD)]),c("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,bD)])):Z("",!0)]),c("div",zD,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,CD),y(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[1]||(t[1]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,wD)]),"heading-right":P(()=>[c("div",xD,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>s.play&&s.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,kD)])])]),content:P(()=>[c("p",SD,[c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:g(e.$t("page.artist.album-count",{count:s.album_count}))},null,8,ED),$D,c("span",{textContent:g(e.$t("page.artist.track-count",{count:s.tracks.count}))},null,8,TD)]),y(u,{items:s.tracks,uris:s.track_uris},null,8,["items","uris"]),y(d,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const OD=ne(fD,[["render",AD]]),PD={name:"ListArtists",components:{ModalDialogArtist:Ll},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=e;const t=e.media_kind==="audiobook"?"audiobooks-artist":"music-artist";this.$router.push({name:t,params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},ID={key:0,class:"mt-6 mb-5 py-2"},DD={class:"media-content is-clipped"},RD=["id","textContent"],LD=["onClick"],ND={class:"media-content is-clickable is-clipped"},MD=["textContent"],FD={class:"media-right"},VD=["onClick"];function HD(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-artist");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T(be,{key:l.itemId},[l.isItem?(x(),T("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",ND,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,MD)]),c("div",FD,[c("a",{onClick:ht(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,VD)])],8,LD)):(x(),T("div",ID,[c("div",DD,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,RD)])]))],64))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Wa=ne(PD,[["render",HD]]),zp={load(e){return F.library_artists("music")},set(e,t){e.artists_list=new Ee(t.data)}},UD={name:"PageArtists",components:{ContentWithHeading:Xe,ControlDropdown:So,IndexButtonList:Yn,ListArtists:Wa,TabsMusic:lr},beforeRouteEnter(e,t,n){zp.load(e).then(r=>{n(o=>zp.set(o,r))})},data(){return{artists_list:new Ee,grouping_options:[{id:1,name:this.$t("page.artists.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.artists.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]}},computed:{artists(){if(!this.artists_list)return[];const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e.options),this.artists_list},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(Qa,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(_i,e)}},selected_grouping_option_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(sh,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},jD={class:"fd-page-with-tabs"},BD={class:"columns"},WD={class:"column"},qD=["textContent"],GD={class:"field"},KD={class:"control"},ZD=["textContent"],YD=["textContent"],JD={key:0,class:"field"},XD={class:"control"},QD=["textContent"],eR=["textContent"],tR={class:"column"},nR=["textContent"],rR=["textContent"],oR=["textContent"];function sR(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),u=$("list-artists"),d=$("content-with-heading");return x(),T("div",jD,[y(i),y(d,null,{options:P(()=>[y(a,{indices:s.artists.indices},null,8,["indices"]),c("div",BD,[c("div",WD,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,qD),c("div",GD,[c("div",KD,[ft(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,ZD)]),c("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,YD)]),s.spotify_enabled?(x(),T("div",JD,[c("div",XD,[ft(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,QD)]),c("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,eR)])):Z("",!0)]),c("div",tR,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort.title"))},null,8,nR),y(l,{value:s.selected_grouping_option_id,"onUpdate:value":t[2]||(t[2]=m=>s.selected_grouping_option_id=m),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,rR),c("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:s.artists.count}))},null,8,oR)]),"heading-right":P(()=>[]),content:P(()=>[y(u,{items:s.artists},null,8,["items"])]),_:1})])}const iR=ne(UD,[["render",sR]]),Cp={load(e){return Promise.all([F.library_album(e.params.id),F.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data)}},aR={name:"PageAudiobooksAlbum",components:{ContentWithHero:Dl,CoverArtwork:zr,ListTracks:dn,ModalDialogAlbum:Rl},beforeRouteEnter(e,t,n){Cp.load(e).then(r=>{n(o=>Cp.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){F.player_play_uri(this.album.uri,!1)}}},lR=["textContent"],cR={class:"subtitle is-6 has-text-link"},uR=["textContent"],dR={class:"buttons fd-is-centered-mobile mt-5"},mR=["textContent"],fR=["textContent"];function pR(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),u=$("modal-dialog-album"),d=$("content-with-hero");return x(),T("div",null,[y(d,null,{"heading-left":P(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,lR),c("h2",cR,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(o.album.artist)},null,8,uR)]),c("div",dR,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,mR)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[y(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,fR),y(l,{items:o.tracks,show_progress:!0,uris:o.album.uri},null,8,["items","uris"]),y(u,{item:o.album,show:o.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const hR=ne(aR,[["render",pR]]),_R={name:"TabsAudiobooks"},gR={class:"section fd-tabs-section"},yR={class:"container"},vR={class:"columns is-centered"},bR={class:"column is-four-fifths"},zR={class:"tabs is-centered is-small"},CR=["onClick","onKeypress"],wR=["textContent"],xR=["onClick","onKeypress"],kR=["textContent"],SR=["onClick","onKeypress"],ER=["textContent"];function $R(e,t,n,r,o,s){const i=$("mdicon"),a=$("router-link");return x(),T("section",gR,[c("div",yR,[c("div",vR,[c("div",bR,[c("div",zR,[c("ul",null,[y(a,{to:{name:"audiobooks-artists"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,wR)],40,CR)],2)]),_:1}),y(a,{to:{name:"audiobooks-albums"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,kR)],40,xR)],2)]),_:1}),y(a,{to:{name:"audiobooks-genres"},custom:""},{default:P(({navigate:l,isActive:u})=>[c("li",{class:we({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.audiobooks.tabs.genres"))},null,8,ER)],40,SR)],2)]),_:1})])])])])])])}const Vd=ne(_R,[["render",$R]]),wp={load(e){return F.library_albums("audiobook")},set(e,t){e.albums=new Ee(t.data,{index:{field:"name_sort",type:String}})}},TR={name:"PageAudiobooksAlbums",components:{ContentWithHeading:Xe,IndexButtonList:Yn,ListAlbums:vn,TabsAudiobooks:Vd},beforeRouteEnter(e,t,n){wp.load(e).then(r=>{n(o=>wp.set(o,r))})},data(){return{albums:new Ee}}},AR={class:"fd-page-with-tabs"},OR=["textContent"],PR=["textContent"];function IR(e,t,n,r,o,s){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-albums"),u=$("content-with-heading");return x(),T("div",AR,[y(i),y(u,null,{options:P(()=>[y(a,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.albums.title"))},null,8,OR),c("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,PR)]),content:P(()=>[y(l,{items:o.albums},null,8,["items"])]),_:1})])}const DR=ne(TR,[["render",IR]]),xp={load(e){return Promise.all([F.library_artist(e.params.id),F.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new Ee(t[1].data)}},RR={name:"PageAudiobooksArtist",components:{ContentWithHeading:Xe,ListAlbums:vn,ModalDialogArtist:Ll},beforeRouteEnter(e,t,n){xp.load(e).then(r=>{n(o=>xp.set(o,r))})},data(){return{albums:new Ee,artist:{},show_details_modal:!1}},methods:{play(){F.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},LR=["textContent"],NR={class:"buttons is-centered"},MR=["textContent"],FR=["textContent"];function VR(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-artist"),u=$("content-with-heading");return x(),T("div",null,[y(u,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,LR)]),"heading-right":P(()=>[c("div",NR,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,MR)])])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,FR),y(a,{items:o.albums},null,8,["items"]),y(l,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const HR=ne(RR,[["render",VR]]),kp={load(e){return F.library_artists("audiobook")},set(e,t){e.artists=new Ee(t.data,{index:{field:"name_sort",type:String}})}},UR={name:"PageAudiobooksArtists",components:{ContentWithHeading:Xe,IndexButtonList:Yn,ListArtists:Wa,TabsAudiobooks:Vd},beforeRouteEnter(e,t,n){kp.load(e).then(r=>{n(o=>kp.set(o,r))})},data(){return{artists:new Ee}}},jR={class:"fd-page-with-tabs"},BR=["textContent"],WR=["textContent"];function qR(e,t,n,r,o,s){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-artists"),u=$("content-with-heading");return x(),T("div",jR,[y(i),y(u,null,{options:P(()=>[y(a,{indices:o.artists.indices},null,8,["indices"])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.artists.title"))},null,8,BR),c("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,WR)]),"heading-right":P(()=>[]),content:P(()=>[y(l,{items:o.artists},null,8,["items"])]),_:1})])}const GR=ne(UR,[["render",qR]]),KR={name:"ModalDialogGenre",props:{item:{required:!0,type:Object},media_kind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{expression(){return`genre is "${this.item.name}" and media_kind is ${this.media_kind}`}},methods:{open(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.name},query:{media_kind:this.media_kind}})},play(){this.$emit("close"),F.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),F.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),F.queue_expression_add_next(this.expression)}}},ZR={key:0,class:"modal is-active"},YR={class:"modal-content"},JR={class:"card"},XR={class:"card-content"},QR={class:"title is-4"},eL=["textContent"],tL={class:"content is-small"},nL=["textContent"],rL=["textContent"],oL=["textContent"],sL=["textContent"],iL=["textContent"],aL=["textContent"],lL={class:"card-footer"},cL=["textContent"],uL=["textContent"],dL=["textContent"];function mL(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",ZR,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",YR,[c("div",JR,[c("div",XR,[c("p",QR,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,eL)]),c("div",tL,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,nL),c("span",{class:"title is-6",textContent:g(n.item.album_count)},null,8,rL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,oL),c("span",{class:"title is-6",textContent:g(n.item.track_count)},null,8,sL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,iL),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,aL)])])]),c("footer",lL,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,cL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,uL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,dL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const Hd=ne(KR,[["render",mL]]),fL={name:"ListGenres",components:{ModalDialogGenre:Hd},props:{items:{required:!0,type:Object},media_kind:{required:!0,type:String}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"genre-albums",params:{name:e.name},query:{media_kind:this.media_kind}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},pL={key:0,class:"mt-6 mb-5 py-2"},hL={class:"media-content is-clipped"},_L=["id","textContent"],gL=["onClick"],yL={class:"media-content is-clickable is-clipped"},vL=["textContent"],bL={class:"media-right"},zL=["onClick"];function CL(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-genre");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T(be,{key:l.itemId},[l.isItem?(x(),T("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",yL,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,vL)]),c("div",bL,[c("a",{onClick:ht(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,zL)])],8,gL)):(x(),T("div",pL,[c("div",hL,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,_L)])]))],64))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]))],64)}const $1=ne(fL,[["render",CL]]),Sp={load(e){return F.library_genres("audiobook")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},wL={name:"PageAudiobooksGenres",components:{ContentWithHeading:Xe,IndexButtonList:Yn,ListGenres:$1,TabsAudiobooks:Vd},beforeRouteEnter(e,t,n){Sp.load(e).then(r=>{n(o=>Sp.set(o,r))})},data(){return{genres:new Ee}}},xL={class:"fd-page-with-tabs"},kL=["textContent"],SL=["textContent"];function EL(e,t,n,r,o,s){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-genres"),u=$("content-with-heading");return x(),T("div",xL,[y(i),y(u,null,{options:P(()=>[y(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,kL),c("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:o.genres.total}))},null,8,SL)]),content:P(()=>[y(l,{items:o.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const $L=ne(wL,[["render",EL]]),TL={name:"ModalDialogComposer",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_albums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})},play(){this.$emit("close"),F.player_play_expression(`composer is "${this.item.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),F.queue_expression_add(`composer is "${this.item.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),F.queue_expression_add_next(`composer is "${this.item.name}" and media_kind is music`)}}},AL={key:0,class:"modal is-active"},OL={class:"modal-content"},PL={class:"card"},IL={class:"card-content"},DL={class:"title is-4"},RL=["textContent"],LL=["textContent"],NL=["textContent"],ML=["textContent"],FL=["textContent"],VL=["textContent"],HL=["textContent"],UL={class:"card-footer"},jL=["textContent"],BL=["textContent"],WL=["textContent"];function qL(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",AL,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",OL,[c("div",PL,[c("div",IL,[c("p",DL,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:g(n.item.name)},null,8,RL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,LL),c("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:g(n.item.album_count)},null,8,NL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,ML),c("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>s.open_tracks&&s.open_tracks(...a)),textContent:g(n.item.track_count)},null,8,FL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,VL),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,HL)])]),c("footer",UL,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,jL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,BL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,WL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const Ud=ne(TL,[["render",qL]]),Ep={load(e){return Promise.all([F.library_composer(e.params.name),F.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums=new Ee(t[1].data.albums)}},GL={name:"PageComposerAlbums",components:{ContentWithHeading:Xe,ListAlbums:vn,ModalDialogComposer:Ud},beforeRouteEnter(e,t,n){Ep.load(e).then(r=>{n(o=>Ep.set(o,r))})},data(){return{albums:new Ee,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){F.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},KL=["textContent"],ZL={class:"buttons is-centered"},YL=["textContent"],JL={class:"heading has-text-centered-mobile"},XL=["textContent"],QL=c("span",null," | ",-1),eN=["textContent"];function tN(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-composer"),u=$("content-with-heading");return x(),T("div",null,[y(u,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,KL)]),"heading-right":P(()=>[c("div",ZL,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,YL)])])]),content:P(()=>[c("p",JL,[c("span",{textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,XL),QL,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,eN)]),y(a,{items:o.albums},null,8,["items"]),y(l,{item:o.composer,show:o.show_details_modal,onClose:t[3]||(t[3]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const nN=ne(GL,[["render",tN]]),$p={load(e){return Promise.all([F.library_composer(e.params.name),F.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},rN={name:"PageComposerTracks",components:{ContentWithHeading:Xe,ControlDropdown:So,IndexButtonList:Yn,ListTracks:dn,ModalDialogComposer:Ud},beforeRouteEnter(e,t,n){$p.load(e).then(r=>{n(o=>$p.set(o,r))})},data(){return{composer:{},grouping_options:[{id:1,name:this.$t("page.composer.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.composer.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},selected_grouping_option_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(lh,e)}},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},play(){F.player_play_expression(this.expression,!0)}}},oN={class:"columns"},sN={class:"column"},iN=["textContent"],aN=["textContent"],lN={class:"buttons is-centered"},cN=["textContent"],uN={class:"heading has-text-centered-mobile"},dN=["textContent"],mN=c("span",null," | ",-1),fN=["textContent"];function pN(e,t,n,r,o,s){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),u=$("list-tracks"),d=$("modal-dialog-composer"),m=$("content-with-heading");return x(),T("div",null,[y(m,null,{options:P(()=>[y(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",oN,[c("div",sN,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,iN),y(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,aN)]),"heading-right":P(()=>[c("div",lN,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,cN)])])]),content:P(()=>[c("p",uN,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_albums&&s.open_albums(...f)),textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,dN),mN,c("span",{textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,fN)]),y(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),y(d,{item:o.composer,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const hN=ne(rN,[["render",pN]]),_N={name:"ListComposers",components:{ModalDialogComposer:Ud},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=e,this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},gN={key:0,class:"mt-6 mb-5 py-2"},yN={class:"media-content is-clipped"},vN=["id","textContent"],bN=["onClick"],zN={class:"media-content is-clickable is-clipped"},CN=["textContent"],wN={class:"media-right"},xN=["onClick"];function kN(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-composer");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T(be,{key:l.itemId},[l.isItem?(x(),T("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",zN,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,CN)]),c("div",wN,[c("a",{onClick:ht(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,xN)])],8,bN)):(x(),T("div",gN,[c("div",yN,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,vN)])]))],64))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const wu=ne(_N,[["render",kN]]),Tp={load(e){return F.library_composers("music")},set(e,t){e.composers=new Ee(t.data,{index:{field:"name_sort",type:String}})}},SN={name:"PageComposers",components:{ContentWithHeading:Xe,IndexButtonList:Yn,ListComposers:wu,TabsMusic:lr},beforeRouteEnter(e,t,n){Tp.load(e).then(r=>{n(o=>Tp.set(o,r))})},data(){return{composers:new Ee}}},EN={class:"fd-page-with-tabs"},$N=["textContent"],TN=["textContent"];function AN(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-composers"),u=$("content-with-heading");return x(),T("div",EN,[y(i),y(u,null,{options:P(()=>[y(a,{indices:o.composers.indices},null,8,["indices"])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.composers.title"))},null,8,$N),c("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:o.composers.total}))},null,8,TN)]),content:P(()=>[y(l,{items:o.composers},null,8,["items"])]),_:1})])}const ON=ne(SN,[["render",AN]]),PN={name:"ModalDialogDirectory",props:{item:{required:!0,type:String},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),F.player_play_expression(`path starts with "${this.item}" order by path asc`,!1)},queue_add(){this.$emit("close"),F.queue_expression_add(`path starts with "${this.item}" order by path asc`)},queue_add_next(){this.$emit("close"),F.queue_expression_add_next(`path starts with "${this.item}" order by path asc`)}}},IN={key:0,class:"modal is-active"},DN={class:"modal-content"},RN={class:"card"},LN={class:"card-content"},NN=["textContent"],MN={class:"card-footer"},FN=["textContent"],VN=["textContent"],HN=["textContent"];function UN(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",IN,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",DN,[c("div",RN,[c("div",LN,[c("p",{class:"title is-4",textContent:g(n.item)},null,8,NN)]),c("footer",MN,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,FN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,VN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,HN)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const T1=ne(PN,[["render",UN]]),jN={name:"ListDirectories",components:{ModalDialogDirectory:T1},props:{items:{required:!0,type:Array}},data(){return{selected_item:"",show_details_modal:!1}},computed:{current(){var e;return((e=this.$route.query)==null?void 0:e.directory)||"/"}},methods:{open(e){this.$router.push({name:"files",query:{directory:e.path}})},open_dialog(e){this.selected_item=e.path,this.show_details_modal=!0},open_parent(){this.current.slice(0,this.current.lastIndexOf("/"))===""||this.$store.state.config.directories.includes(this.current)?this.$router.push({name:"files"}):this.$router.push({name:"files",query:{directory:this.current.slice(0,this.current.lastIndexOf("/"))}})}}},BN={class:"media-left is-clickable"},WN=c("div",{class:"media-content is-clickable is-clipped"},[c("h1",{class:"title is-6"},"..")],-1),qN={class:"media-right"},GN=["onClick"],KN={class:"media-left is-clickable"},ZN={class:"media-content is-clickable is-clipped"},YN=["textContent"],JN=["textContent"],XN={class:"media-right"},QN=["onClick"];function eM(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-directory");return x(),T(be,null,[e.$route.query.directory?(x(),T("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>s.open_parent())},[c("figure",BN,[y(i,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),WN,c("div",qN,[yt(e.$slots,"actions")])])):Z("",!0),(x(!0),T(be,null,zt(n.items,l=>(x(),T("div",{key:l.path,class:"media is-align-items-center",onClick:u=>s.open(l)},[c("figure",KN,[y(i,{class:"icon",name:"folder",size:"16"})]),c("div",ZN,[c("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,YN),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.path)},null,8,JN)]),c("div",XN,[c("a",{onClick:ht(u=>s.open_dialog(l),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,QN)])],8,GN))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[1]||(t[1]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const tM=ne(jN,[["render",eM]]),nM={name:"ModalDialogPlaylist",props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist",params:{id:this.item.id}})},play(){this.$emit("close"),F.player_play_uri(this.uris||this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.uris||this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.uris||this.item.uri)}}},rM={key:0,class:"modal is-active"},oM={class:"modal-content"},sM={class:"card"},iM={class:"card-content"},aM={class:"title is-4"},lM=["textContent"],cM={class:"content is-small"},uM=["textContent"],dM=["textContent"],mM=["textContent"],fM=["textContent"],pM={key:0},hM=["textContent"],_M=["textContent"],gM={key:0,class:"card-footer"},yM=["textContent"],vM=["textContent"],bM=["textContent"];function zM(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",rM,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",oM,[c("div",sM,[c("div",iM,[c("p",aM,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,lM)]),c("div",cM,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,uM),c("span",{class:"title is-6",textContent:g(n.item.path)},null,8,dM)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,mM),c("span",{class:"title is-6",textContent:g(e.$t(`playlist.type.${n.item.type}`))},null,8,fM)]),n.item.folder?Z("",!0):(x(),T("p",pM,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.tracks"))},null,8,hM),c("span",{class:"title is-6",textContent:g(n.item.item_count)},null,8,_M)]))])]),n.item.folder?Z("",!0):(x(),T("footer",gM,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,yM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,vM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,bM)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const A1=ne(nM,[["render",zM]]),CM={name:"ListPlaylists",components:{ModalDialogPlaylist:A1},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{icon_name(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"},open(e){e.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:e.id}}):this.$router.push({name:"playlist",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},wM=["onClick"],xM={class:"media-left is-clickable"},kM={class:"media-content is-clickable is-clipped"},SM=["textContent"],EM={class:"media-right"},$M=["onClick"];function TM(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-playlist");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T("div",{key:l.itemId,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("figure",xM,[y(i,{class:"icon",name:s.icon_name(l.item),size:"16"},null,8,["name"])]),c("div",kM,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,SM)]),c("div",EM,[c("a",{onClick:ht(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,$M)])],8,wM))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const qa=ne(CM,[["render",TM]]),ea={load(e){return e.query.directory?F.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new Ee(t.data.playlists),e.tracks=new Ee(t.data.tracks)):(e.$store.state.config.directories?e.dirs=e.$store.state.config.directories.map(n=>({path:n})):F.config().then(n=>{e.dirs=n.data.directories.map(r=>({path:r}))}),e.playlists=new Ee,e.tracks=new Ee)}},AM={name:"PageFiles",components:{ContentWithHeading:Xe,ListDirectories:tM,ListPlaylists:qa,ListTracks:dn,ModalDialogDirectory:T1},beforeRouteEnter(e,t,n){ea.load(e).then(r=>{n(o=>ea.set(o,r))})},beforeRouteUpdate(e,t,n){ea.load(e).then(r=>{ea.set(this,r),n()})},data(){return{dirs:[],playlists:new Ee,show_details_modal:!1,tracks:new Ee}},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(){F.player_play_expression(this.play_expression,!1)}}},OM=["textContent"],PM=["textContent"],IM={class:"buttons is-centered"},DM=["textContent"];function RM(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-directories"),l=$("list-playlists"),u=$("list-tracks"),d=$("modal-dialog-directory"),m=$("content-with-heading");return x(),T("div",null,[y(m,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,OM),c("p",{class:"title is-7 has-text-grey",textContent:g(s.current_directory)},null,8,PM)]),"heading-right":P(()=>[c("div",IM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.files.play"))},null,8,DM)])])]),content:P(()=>[y(a,{items:o.dirs},null,8,["items"]),y(l,{items:o.playlists},null,8,["items"]),y(u,{expression:s.play_expression,items:o.tracks,show_icon:!0},null,8,["expression","items"]),y(d,{item:s.current_directory,show:o.show_details_modal,onClose:t[2]||(t[2]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const LM=ne(AM,[["render",RM]]),Ap={load(e){return Promise.all([F.library_genre(e.params.name,e.query.media_kind),F.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items[0],e.albums=new Ee(t[1].data.albums,{index:{field:"name_sort",type:String}})}},NM={name:"PageGenreAlbums",components:{ContentWithHeading:Xe,IndexButtonList:Yn,ListAlbums:vn,ModalDialogGenre:Hd},beforeRouteEnter(e,t,n){Ap.load(e).then(r=>{n(o=>Ap.set(o,r))})},data(){return{albums:new Ee,genre:{},media_kind:this.$route.query.media_kind,show_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){F.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},MM=["textContent"],FM={class:"buttons is-centered"},VM=["textContent"],HM={class:"heading has-text-centered-mobile"},UM=["textContent"],jM=c("span",null," | ",-1),BM=["textContent"];function WM(e,t,n,r,o,s){const i=$("index-button-list"),a=$("mdicon"),l=$("list-albums"),u=$("modal-dialog-genre"),d=$("content-with-heading");return x(),T("div",null,[y(d,null,{options:P(()=>[y(i,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,MM)]),"heading-right":P(()=>[c("div",FM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,VM)])])]),content:P(()=>[c("p",HM,[c("span",{textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,UM),jM,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,BM)]),y(l,{items:o.albums},null,8,["items"]),y(u,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[3]||(t[3]=m=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const qM=ne(NM,[["render",WM]]),Op={load(e){return Promise.all([F.library_genre(e.params.name,e.query.media_kind),F.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items[0],e.tracks_list=new Ee(t[1].data.tracks)}},GM={name:"PageGenreTracks",components:{ContentWithHeading:Xe,ControlDropdown:So,IndexButtonList:Yn,ListTracks:dn,ModalDialogGenre:Hd},beforeRouteEnter(e,t,n){Op.load(e).then(r=>{n(o=>Op.set(o,r))})},data(){return{genre:{},grouping_options:[{id:1,name:this.$t("page.genre.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.genre.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_grouping_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(ch,e)}},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){F.player_play_expression(this.expression,!0)}}},KM={class:"columns"},ZM={class:"column"},YM=["textContent"],JM=["textContent"],XM={class:"buttons is-centered"},QM=["textContent"],e7={class:"heading has-text-centered-mobile"},t7=["textContent"],n7=c("span",null," | ",-1),r7=["textContent"];function o7(e,t,n,r,o,s){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),u=$("list-tracks"),d=$("modal-dialog-genre"),m=$("content-with-heading");return x(),T("div",null,[y(m,null,{options:P(()=>[y(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",KM,[c("div",ZM,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort.title"))},null,8,YM),y(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,JM)]),"heading-right":P(()=>[c("div",XM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,QM)])])]),content:P(()=>[c("p",e7,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_genre&&s.open_genre(...f)),textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,t7),n7,c("span",{textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,r7)]),y(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),y(d,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const s7=ne(GM,[["render",o7]]),Pp={load(e){return F.library_genres("music")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},i7={name:"PageGenres",components:{ContentWithHeading:Xe,IndexButtonList:Yn,ListGenres:$1,TabsMusic:lr},beforeRouteEnter(e,t,n){Pp.load(e).then(r=>{n(o=>Pp.set(o,r))})},data(){return{genres:new Ee}}},a7={class:"fd-page-with-tabs"},l7=["textContent"],c7=["textContent"];function u7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-genres"),u=$("content-with-heading");return x(),T("div",a7,[y(i),y(u,null,{options:P(()=>[y(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,l7),c("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:o.genres.total}))},null,8,c7)]),content:P(()=>[y(l,{items:o.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const d7=ne(i7,[["render",u7]]),Ip={load(e){return Promise.all([F.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),F.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})])},set(e,t){e.recently_added=new Ee(t[0].data.albums),e.recently_played=new Ee(t[1].data.tracks)}},m7={name:"PageMusic",components:{ContentWithHeading:Xe,ListAlbums:vn,ListTracks:dn,TabsMusic:lr},beforeRouteEnter(e,t,n){Ip.load(e).then(r=>{n(o=>Ip.set(o,r))})},data(){return{recently_added:[],recently_played:{items:[]},selected_track:{}}}},f7={class:"fd-page-with-tabs"},p7=["textContent"],h7={class:"level"},_7={class:"level-item"},g7=["textContent"],y7={class:"level"},v7={class:"level-item"};function b7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-albums"),l=$("router-link"),u=$("content-with-heading"),d=$("list-tracks");return x(),T("div",f7,[y(i),y(u,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,p7)]),content:P(()=>[y(a,{items:o.recently_added},null,8,["items"])]),footer:P(()=>[c("nav",h7,[c("p",_7,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:P(()=>[wt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),y(u,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,g7)]),content:P(()=>[y(d,{items:o.recently_played},null,8,["items"])]),footer:P(()=>[c("nav",y7,[c("p",v7,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:P(()=>[wt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const z7=ne(m7,[["render",b7]]),Dp={load(e){const t=pt.getters.settings_option_recently_added_limit;return F.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t,type:"album"})},set(e,t){e.recently_added=new Ee(t.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},C7={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:Xe,ListAlbums:vn,TabsMusic:lr},beforeRouteEnter(e,t,n){Dp.load(e).then(r=>{n(o=>Dp.set(o,r))})},data(){return{recently_added:new Ee}}},w7={class:"fd-page-with-tabs"},x7=["textContent"];function k7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-albums"),l=$("content-with-heading");return x(),T("div",w7,[y(i),y(l,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,x7)]),content:P(()=>[y(a,{items:o.recently_added},null,8,["items"])]),_:1})])}const S7=ne(C7,[["render",k7]]),Rp={load(e){return F.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"})},set(e,t){e.recently_played=new Ee(t.data.tracks)}},E7={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:Xe,ListTracks:dn,TabsMusic:lr},beforeRouteEnter(e,t,n){Rp.load(e).then(r=>{n(o=>Rp.set(o,r))})},data(){return{recently_played:{}}}},$7={class:"fd-page-with-tabs"},T7=["textContent"];function A7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-tracks"),l=$("content-with-heading");return x(),T("div",$7,[y(i),y(l,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,T7)]),content:P(()=>[y(a,{items:o.recently_played},null,8,["items"])]),_:1})])}const O7=ne(E7,[["render",A7]]),P7={name:"ModalDialogPlaylistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.item.id}})},play(){this.$emit("close"),F.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),F.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),F.queue_add_next(this.item.uri)}}},I7={key:0,class:"modal is-active"},D7={class:"modal-content"},R7={class:"card"},L7={class:"card-content"},N7={class:"title is-4"},M7=["textContent"],F7={class:"content is-small"},V7=["textContent"],H7=["textContent"],U7=["textContent"],j7=["textContent"],B7=["textContent"],W7=["textContent"],q7={class:"card-footer"},G7=["textContent"],K7=["textContent"],Z7=["textContent"];function Y7(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",I7,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",D7,[c("div",R7,[c("div",L7,[c("p",N7,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,M7)]),c("div",F7,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,V7),c("span",{class:"title is-6",textContent:g(n.item.owner.display_name)},null,8,H7)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,U7),c("span",{class:"title is-6",textContent:g(n.item.tracks.total)},null,8,j7)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,B7),c("span",{class:"title is-6",textContent:g(n.item.uri)},null,8,W7)])])]),c("footer",q7,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,G7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add-next"))},null,8,K7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,Z7)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const O1=ne(P7,[["render",Y7]]),J7={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:O1},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"playlist-spotify",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},X7=["onClick"],Q7=["textContent"],eF=["textContent"],tF={class:"media-right"},nF=["onClick"];function rF(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-playlist-spotify");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:"media-content is-clickable is-clipped",onClick:u=>s.open(l)},[c("h1",{class:"title is-6",textContent:g(l.name)},null,8,Q7),c("h2",{class:"subtitle is-7",textContent:g(l.owner.display_name)},null,8,eF)],8,X7),c("div",tF,[c("a",{onClick:ht(u=>s.open_dialog(l),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,nF)])]))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Ga=ne(J7,[["render",rF]]),Lp={load(e){return F.spotify().then(({data:t})=>{const n=new Zn;return n.setAccessToken(t.webapi_token),Promise.all([n.getNewReleases({country:t.webapi_country,limit:3}),n.getFeaturedPlaylists({country:t.webapi_country,limit:3})])})},set(e,t){e.new_releases=t[0].albums.items,e.featured_playlists=t[1].playlists.items}},oF={name:"PageMusicSpotify",components:{ContentWithHeading:Xe,ListAlbumsSpotify:hi,ListPlaylistsSpotify:Ga,TabsMusic:lr},beforeRouteEnter(e,t,n){Lp.load(e).then(r=>{n(o=>Lp.set(o,r))})},data(){return{featured_playlists:[],new_releases:[]}}},sF={class:"fd-page-with-tabs"},iF=["textContent"],aF={class:"level"},lF={class:"level-item"},cF=["textContent"],uF={class:"level"},dF={class:"level-item"};function mF(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-albums-spotify"),l=$("router-link"),u=$("content-with-heading"),d=$("list-playlists-spotify");return x(),T("div",sF,[y(i),y(u,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,iF)]),content:P(()=>[y(a,{items:o.new_releases},null,8,["items"])]),footer:P(()=>[c("nav",aF,[c("p",lF,[y(l,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:P(()=>[wt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),y(u,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,cF)]),content:P(()=>[y(d,{items:o.featured_playlists},null,8,["items"])]),footer:P(()=>[c("nav",uF,[c("p",dF,[y(l,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:P(()=>[wt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const fF=ne(oF,[["render",mF]]),Np={load(e){return F.spotify().then(({data:t})=>{const n=new Zn;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.featured_playlists=t.playlists.items}},pF={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:Xe,ListPlaylistsSpotify:Ga,TabsMusic:lr},beforeRouteEnter(e,t,n){Np.load(e).then(r=>{n(o=>Np.set(o,r))})},data(){return{featured_playlists:[]}}},hF={class:"fd-page-with-tabs"},_F=["textContent"];function gF(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-playlists-spotify"),l=$("content-with-heading");return x(),T("div",hF,[y(i),y(l,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,_F)]),content:P(()=>[y(a,{items:o.featured_playlists},null,8,["items"])]),_:1})])}const yF=ne(pF,[["render",gF]]),Mp={load(e){return F.spotify().then(({data:t})=>{const n=new Zn;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.new_releases=t.albums.items}},vF={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:Xe,ListAlbumsSpotify:hi,TabsMusic:lr},beforeRouteEnter(e,t,n){Mp.load(e).then(r=>{n(o=>Mp.set(o,r))})},data(){return{new_releases:[]}}},bF={class:"fd-page-with-tabs"},zF=["textContent"];function CF(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-albums-spotify"),l=$("content-with-heading");return x(),T("div",bF,[y(i),y(l,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,zF)]),content:P(()=>[y(a,{items:o.new_releases},null,8,["items"])]),_:1})])}const wF=ne(vF,[["render",CF]]),xF={name:"LyricsPane",data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.player.state==="play"},verse_index(){if(this.lyrics.length&&this.lyrics[0].time){const e=this.player.item_progress_ms/1e3,t=this.lyrics,n=this.player.item_id!==this.lastItemId,r=this.lastIndex>=0&&this.lastIndex<t.length&&t[this.lastIndex].time>e;if((n||r)&&this.reset_scrolling(),this.lastIndex<t.length-1&&t[this.lastIndex+1].time>e||this.lastIndex===t.length-1)return this.lastIndex;if(this.lastIndex<t.length-2&&t[this.lastIndex+2].time>e)return this.lastIndex+1;let o=0,s=t.length-1,i;for(;o<=s;){i=o+s>>1;const a=t[i],l=t[i+1];if(a.time<=e&&((l==null?void 0:l.time)>e||!l))return i;a.time<e?o=i+1:s=i-1}return-1}return this.reset_scrolling(),-1},lyrics(){const e=this.$store.state.lyrics.content,t=[];if(e){const n=/(\[(\d+):(\d+)(?:\.\d+)?\] ?)?(.*)/;e.split(`
|
||
`).forEach((r,o)=>{const s=n.exec(r);if(s&&s[4]){const i={text:s[4],time:s[2]*60+Number(s[3])};t.push(i)}}),t.forEach((r,o,s)=>{const a=(o<s.length-1?s[o+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(u=>{const d=u.length*a;return l+=d,{duration:d,delay:l,text:u}})})}return t},player(){return this.$store.state.player}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},start_scrolling(e){(e.screenX||e.screenX!==0||e.screenY||e.screenY!==0)&&(this.autoScrolling=!1,this.scrollingTimer&&clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})}}},kF=["textContent"],SF={key:1};function EF(e,t,n,r,o,s){return x(),T("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>o.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>o.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>s.start_scrolling&&s.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>s.start_scrolling&&s.start_scrolling(...i))},[(x(!0),T(be,null,zt(s.lyrics,(i,a)=>(x(),T(be,{key:a},[a===s.verse_index?(x(),T("div",{key:0,class:we({"is-highlighted":s.is_playing})},[(x(!0),T(be,null,zt(i.words,l=>(x(),T("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:Yr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,kF)]))),128))],2)):(x(),T("div",SF,g(i.text),1))],64))),128))],544)}const $F=ne(xF,[["render",EF],["__scopeId","data-v-b7725cdd"]]),TF={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Zn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),F.player_play({item_id:this.item.id})},remove(){this.$emit("close"),F.queue_remove(this.item.id)}}},AF={key:0,class:"modal is-active"},OF={class:"modal-content"},PF={class:"card"},IF={class:"card-content"},DF=["textContent"],RF=["textContent"],LF={class:"content is-small"},NF={key:0},MF=["textContent"],FF=["textContent"],VF={key:1},HF=["textContent"],UF=["textContent"],jF={key:2},BF=["textContent"],WF=["textContent"],qF={key:3},GF=["textContent"],KF=["textContent"],ZF={key:4},YF=["textContent"],JF=["textContent"],XF={key:5},QF=["textContent"],eV=["textContent"],tV={key:6},nV=["textContent"],rV=["textContent"],oV=["textContent"],sV=["textContent"],iV=["textContent"],aV={class:"title is-6"},lV=["textContent"],cV={key:7},uV=["textContent"],dV={class:"title is-6"},mV=["textContent"],fV=["textContent"],pV=["textContent"],hV=["textContent"],_V={class:"card-footer"},gV=["textContent"],yV=["textContent"];function vV(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",AF,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",OF,[c("div",PF,[c("div",IF,[c("p",{class:"title is-4",textContent:g(n.item.title)},null,8,DF),c("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,RF),c("div",LF,[n.item.album?(x(),T("p",NF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,MF),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.item.album)},null,8,FF)])):Z("",!0),n.item.album_artist?(x(),T("p",VF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,HF),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:g(n.item.album_artist)},null,8,UF)])):Z("",!0),n.item.composer?(x(),T("p",jF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,BF),c("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,WF)])):Z("",!0),n.item.year?(x(),T("p",qF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,GF),c("span",{class:"title is-6",textContent:g(n.item.year)},null,8,KF)])):Z("",!0),n.item.genre?(x(),T("p",ZF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,YF),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:g(n.item.genre)},null,8,JF)])):Z("",!0),n.item.disc_number?(x(),T("p",XF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,QF),c("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,eV)])):Z("",!0),n.item.length_ms?(x(),T("p",tV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,nV),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,rV)])):Z("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,oV),c("span",{class:"title is-6",textContent:g(n.item.path)},null,8,sV)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,iV),c("span",aV,[c("span",{textContent:g(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,lV)])]),n.item.samplerate?(x(),T("p",cV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,uV),c("span",dV,[c("span",{textContent:g(n.item.type)},null,8,mV),n.item.samplerate?(x(),T("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,fV)):Z("",!0),n.item.channels?(x(),T("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,pV)):Z("",!0),n.item.bitrate?(x(),T("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,hV)):Z("",!0)])])):Z("",!0)])]),c("footer",_V,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.remove&&s.remove(...a))},[y(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,gV)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,yV)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const P1=ne(TF,[["render",vV]]),Ar=1e3,bV={name:"PageNowPlaying",components:{ControlSlider:$d,CoverArtwork:zr,LyricsPane:$F,ModalDialogQueueItem:P1},data(){return{cursor:Sl,INTERVAL:Ar,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{is_live(){return this.track.length_ms===0},lyrics_visible(){return this.$store.state.lyrics.pane},player(){return this.$store.state.player},track(){return this.$store.getters.now_playing},track_progress:{get(){return Math.floor(this.player.item_progress_ms/Ar)},set(e){this.player.item_progress_ms=e*Ar}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Ar)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Ar)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_composer_for_genre(){return this.$store.getters.settings_option_show_composer_for_genre},composer(){return this.settings_option_show_composer_now_playing&&(!this.settings_option_show_composer_for_genre||this.track.genre&&this.settings_option_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.track.composer:null},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing},filepath(){return this.settings_option_show_filepath_now_playing?this.track.path:null}},watch:{player(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Ar))}},created(){F.player_status().then(({data:e})=>{this.$store.commit(Iu,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Ar))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{tick(){this.is_dragged||(this.track_progress+=1)},start_dragging(){this.is_dragged=!0},end_dragging(){this.is_dragged=!1},seek(){this.is_live||F.player_seek_to_pos(this.track_progress*Ar)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},zV={class:"hero is-full-height"},CV={key:0,class:"hero-body is-flex is-align-items-center"},wV={class:"container has-text-centered",style:{"max-width":"500px"}},xV={class:"is-flex is-justify-content-space-between"},kV=["textContent"],SV=["textContent"],EV=["textContent"],$V=["textContent"],TV=["textContent"],AV=["textContent"],OV=["textContent"],PV={key:1,class:"hero-body is-flex is-align-items-center"},IV={class:"container has-text-centered"},DV=["textContent"],RV=["textContent"];function LV(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("lyrics-pane"),l=$("control-slider"),u=$("modal-dialog-queue-item");return x(),T("div",zV,[s.track.id>0?(x(),T("div",CV,[c("div",wV,[y(i,{artwork_url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:we(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":s.lyrics_visible}]),onClick:t[0]||(t[0]=d=>s.open_dialog(s.track))},null,8,["artwork_url","artist","album","class"]),s.lyrics_visible?(x(),Ce(a,{key:0})):Z("",!0),y(l,{value:s.track_progress,"onUpdate:value":t[1]||(t[1]=d=>s.track_progress=d),class:"mt-5",disabled:s.is_live,max:s.track_progress_max,cursor:o.cursor,onChange:s.seek,onMousedown:s.start_dragging,onMouseup:s.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),c("div",xV,[c("p",{class:"subtitle is-7",textContent:g(s.track_elapsed_time)},null,8,kV),c("p",{class:"subtitle is-7",textContent:g(s.track_total_time)},null,8,SV)]),c("p",{class:"title is-5",textContent:g(s.track.title)},null,8,EV),c("p",{class:"title is-6",textContent:g(s.track.artist)},null,8,$V),s.composer?(x(),T("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(s.composer)},null,8,TV)):Z("",!0),s.track.album?(x(),T("p",{key:2,class:"subtitle is-6",textContent:g(s.track.album)},null,8,AV)):Z("",!0),s.filepath?(x(),T("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:g(s.filepath)},null,8,OV)):Z("",!0)])])):(x(),T("div",PV,[c("div",IV,[c("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,DV),c("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,RV)])])),y(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["show","item"])])}const NV=ne(bV,[["render",LV]]),ta={load(e){return Promise.all([F.library_playlist(e.params.id),F.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new Ee(t[1].data)}},MV={name:"PagePlaylistFolder",components:{ContentWithHeading:Xe,ListPlaylists:qa},beforeRouteEnter(e,t,n){ta.load(e).then(r=>{n(o=>ta.set(o,r))})},beforeRouteUpdate(e,t,n){ta.load(e).then(r=>{ta.set(this,r),n()})},data(){return{playlist:{},playlists_list:new Ee}},computed:{playlists(){return this.playlists_list.group({filters:[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]}),this.playlists_list},radio_playlists(){return this.$store.state.config.radio_playlists}}},FV=["textContent"],VV=["textContent"];function HV(e,t,n,r,o,s){const i=$("list-playlists"),a=$("content-with-heading");return x(),T("div",null,[y(a,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(o.playlist.id===0?e.$t("page.playlists.title"):o.playlist.name)},null,8,FV),c("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,VV)]),content:P(()=>[y(i,{items:s.playlists},null,8,["items"])]),_:1})])}const UV=ne(MV,[["render",HV]]),Fp={load(e){return Promise.all([F.library_playlist(e.params.id),F.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new Ee(t[1].data)}},jV={name:"PagePlaylistTracks",components:{ContentWithHeading:Xe,ListTracks:dn,ModalDialogPlaylist:A1},beforeRouteEnter(e,t,n){Fp.load(e).then(r=>{n(o=>Fp.set(o,r))})},data(){return{playlist:{},show_details_modal:!1,tracks:new Ee}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join():this.playlist.uri}},methods:{play(){F.player_play_uri(this.uris,!0)}}},BV=["textContent"],WV={class:"buttons is-centered"},qV=["textContent"],GV=["textContent"];function KV(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-tracks"),l=$("modal-dialog-playlist"),u=$("content-with-heading");return x(),T("div",null,[y(u,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,BV)]),"heading-right":P(()=>[c("div",WV,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,qV)])])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,GV),y(a,{items:o.tracks,uris:s.uris},null,8,["items","uris"]),y(l,{item:o.playlist,show:o.show_details_modal,uris:s.uris,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const ZV=ne(jV,[["render",KV]]),xu=50,Vp={load(e){const t=new Zn;return t.setAccessToken(pt.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:xu,market:pt.state.spotify.webapi_country,offset:0})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},YV={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:Xe,ListTracksSpotify:Ba,ModalDialogPlaylistSpotify:O1,VueEternalLoading:Fd},beforeRouteEnter(e,t,n){Vp.load(e).then(r=>{n(o=>Vp.set(o,r))})},data(){return{offset:0,playlist:{tracks:{}},show_playlist_details_modal:!1,total:0,tracks:[]}},methods:{append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const{track:r}=n;r&&(r.is_playable&&(r.position=++t),this.tracks.push(r))}),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new Zn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:xu,market:pt.state.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,xu)})},play(){this.show_details_modal=!1,F.player_play_uri(this.playlist.uri,!0)}}},JV=["textContent"],XV={class:"buttons is-centered"},QV=["textContent"],e9=["textContent"],t9={class:"columns is-centered"},n9={class:"column has-text-centered"};function r9(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-tracks-spotify"),l=$("VueEternalLoading"),u=$("modal-dialog-playlist-spotify"),d=$("content-with-heading");return x(),T("div",null,[y(d,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,JV)]),"heading-right":P(()=>[c("div",XV,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_playlist_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,QV)])])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,e9),y(a,{items:o.tracks,context_uri:o.playlist.uri},null,8,["items","context_uri"]),o.offset<o.total?(x(),Ce(l,{key:0,load:s.load_next},{loading:P(()=>[c("div",t9,[c("div",n9,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":P(()=>[wt(" ")]),_:1},8,["load"])):Z("",!0),y(u,{item:o.playlist,show:o.show_playlist_details_modal,onClose:t[2]||(t[2]=m=>o.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const o9=ne(YV,[["render",r9]]),Hp={load(e){return Promise.all([F.library_album(e.params.id),F.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data.tracks)}},s9={name:"PagePodcast",components:{ContentWithHero:Dl,CoverArtwork:zr,ListTracks:dn,ModalDialog:Ed,ModalDialogAlbum:Rl},beforeRouteEnter(e,t,n){Hp.load(e).then(r=>{n(o=>Hp.set(o,r))})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new Ee}},methods:{open_remove_podcast_dialog(){F.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{[this.rss_playlist_to_remove]=e.items.filter(t=>t.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},play(){F.player_play_uri(this.album.uri,!1)},reload_tracks(){F.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new Ee(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,F.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},i9=["textContent"],a9=c("h2",{class:"subtitle is-6"}," ",-1),l9={class:"buttons fd-is-centered-mobile mt-5"},c9=["textContent"],u9=["textContent"],d9=["textContent"],m9={class:"is-size-7"},f9=["textContent"],p9=["textContent"];function h9(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),u=$("modal-dialog-album"),d=$("modal-dialog"),m=$("content-with-hero");return x(),T("div",null,[y(m,null,{"heading-left":P(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,i9),a9,c("div",l9,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.podcast.play"))},null,8,c9)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[y(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:P(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,u9),y(l,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["items","onPlayCountChanged"]),y(u,{item:o.album,show:o.show_details_modal,media_kind:"podcast",onClose:t[3]||(t[3]=f=>o.show_details_modal=!1),onPlayCountChanged:s.reload_tracks,onRemovePodcast:s.open_remove_podcast_dialog},null,8,["item","show","onPlayCountChanged","onRemovePodcast"]),y(d,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=f=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":P(()=>[c("p",{textContent:g(e.$t("page.podcast.remove-info-1"))},null,8,d9),c("p",m9,[wt(" ("),c("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,f9),c("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,p9),wt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const _9=ne(s9,[["render",h9]]),g9={name:"ModalDialogAddRss",props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,F.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing}}},y9={key:0,class:"modal is-active"},v9={class:"modal-content"},b9={class:"card-content"},z9=["textContent"],C9={class:"field"},w9={class:"control has-icons-left"},x9=["placeholder","disabled"],k9=["textContent"],S9={key:0,class:"card-footer"},E9={class:"card-footer-item has-text-dark"},$9=["textContent"],T9={key:1,class:"card-footer is-clipped"},A9=["textContent"],O9=["textContent"];function P9(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",y9,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",v9,[c("form",{class:"card",onSubmit:t[5]||(t[5]=ht((...a)=>s.add_stream&&s.add_stream(...a),["prevent"]))},[c("div",b9,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,z9),c("div",C9,[c("p",w9,[ft(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,x9),[[un,o.url]]),y(i,{class:"icon is-left",name:"rss",size:"16"})]),c("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,k9)])]),o.loading?(x(),T("footer",S9,[c("a",E9,[y(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,$9)])])):(x(),T("footer",T9,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.cancel"))},null,8,A9)]),c("a",{class:we([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,O9)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const I9=ne(g9,[["render",P9]]),Up={load(e){return Promise.all([F.library_albums("podcast"),F.library_podcasts_new_episodes()])},set(e,t){e.albums=new Ee(t[0].data),e.new_episodes=new Ee(t[1].data.tracks)}},D9={name:"PagePodcasts",components:{ContentWithHeading:Xe,ListAlbums:vn,ListTracks:dn,ModalDialogAddRss:I9},beforeRouteEnter(e,t,n){Up.load(e).then(r=>{n(o=>Up.set(o,r))})},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=>{F.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(){F.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new Ee(e.tracks)})},reload_podcasts(){F.library_albums("podcast").then(({data:e})=>{this.albums=new Ee(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(Pu,"rss"),this.$store.commit(gi,!0)}}},R9=["textContent"],L9={class:"buttons is-centered"},N9=["textContent"],M9=["textContent"],F9=["textContent"],V9={class:"buttons is-centered"},H9=["textContent"],U9=["textContent"];function j9(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-tracks"),l=$("content-with-heading"),u=$("list-albums"),d=$("modal-dialog-add-rss");return x(),T("div",null,[o.new_episodes.items.length>0?(x(),Ce(l,{key:0},{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,R9)]),"heading-right":P(()=>[c("div",L9,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=(...m)=>s.mark_all_played&&s.mark_all_played(...m))},[y(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,N9)])])]),content:P(()=>[y(a,{items:o.new_episodes,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):Z("",!0),y(l,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,M9),c("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,F9)]),"heading-right":P(()=>[c("div",V9,[s.rss.tracks>0?(x(),T("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...m)=>s.update_rss&&s.update_rss(...m))},[y(i,{class:"icon",name:"refresh",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,H9)])):Z("",!0),c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...m)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...m))},[y(i,{class:"icon",name:"rss",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,U9)])])]),content:P(()=>[y(u,{items:o.albums,onPlayCountChanged:t[3]||(t[3]=m=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=m=>s.reload_podcasts())},null,8,["items"]),y(d,{show:o.show_url_modal,onClose:t[5]||(t[5]=m=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=m=>s.reload_podcasts())},null,8,["show"])]),_:1})])}const B9=ne(D9,[["render",j9]]),W9={name:"ListItemQueueItem",props:{current_position:{required:!0,type:Number},edit_mode:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number},show_only_next_items:Boolean},computed:{is_next(){return this.current_position<0||this.position>=this.current_position},state(){return this.$store.state.player}},methods:{play(){F.player_play({item_id:this.item.id})}}},q9={key:0,class:"media is-align-items-center"},G9={key:0,class:"media-left"},K9=["textContent"],Z9=["textContent"],Y9=["textContent"],J9={class:"media-right"};function X9(e,t,n,r,o,s){const i=$("mdicon");return s.is_next||!n.show_only_next_items?(x(),T("div",q9,[n.edit_mode?(x(),T("div",G9,[y(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):Z("",!0),c("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[c("h1",{class:we(["title is-6",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next}]),textContent:g(n.item.title)},null,10,K9),c("h2",{class:we(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:g(n.item.artist)},null,10,Z9),c("h2",{class:we(["subtitle is-7",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:g(n.item.album)},null,10,Y9)]),c("div",J9,[yt(e.$slots,"actions")])])):Z("",!0)}const Q9=ne(W9,[["render",X9]]),eH={name:"ModalDialogAddUrlStream",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,F.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},play(){this.loading=!0,F.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},tH={key:0,class:"modal is-active"},nH={class:"modal-content"},rH={class:"card-content"},oH=["textContent"],sH={class:"field"},iH={class:"control has-icons-left"},aH=["placeholder","disabled"],lH={key:0,class:"card-footer"},cH={class:"card-footer-item has-text-dark"},uH=["textContent"],dH={key:1,class:"card-footer is-clipped"},mH=["textContent"],fH=["textContent"],pH=["textContent"];function hH(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",tH,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",nH,[c("form",{class:"card",onSubmit:t[6]||(t[6]=ht((...a)=>s.play&&s.play(...a),["prevent"]))},[c("div",rH,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,oH),c("div",sH,[c("p",iH,[ft(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,aH),[[un,o.url]]),y(i,{class:"icon is-left",name:"web",size:"16"})])])]),o.loading?(x(),T("footer",lH,[c("a",cH,[y(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,uH)])])):(x(),T("footer",dH,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.cancel"))},null,8,mH)]),c("a",{class:we([{"is-disabled":o.disabled},"card-footer-item has-text-dark"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.add"))},null,8,fH)],2),c("a",{class:we([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,pH)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const _H=ne(eH,[["render",hH]]),gH={name:"ModalDialogPlaylistSave",props:{show:Boolean},emits:["close"],data(){return{playlist_name:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{save(){this.playlist_name.length<1||(this.loading=!0,F.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},yH={key:0,class:"modal is-active"},vH={class:"modal-content"},bH={class:"card"},zH={class:"card-content"},CH=["textContent"],wH={class:"field"},xH={class:"control has-icons-left"},kH=["placeholder","disabled"],SH={key:0,class:"card-footer"},EH={class:"card-footer-item has-text-dark"},$H=["textContent"],TH={key:1,class:"card-footer is-clipped"},AH=["textContent"],OH=["textContent"];function PH(e,t,n,r,o,s){const i=$("mdicon");return x(),Ce(Dt,{name:"fade"},{default:P(()=>[n.show?(x(),T("div",yH,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",vH,[c("div",bH,[c("div",zH,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,CH),c("form",{class:"mb-5",onSubmit:t[2]||(t[2]=ht((...a)=>s.save&&s.save(...a),["prevent"]))},[c("div",wH,[c("p",xH,[ft(c("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading},null,8,kH),[[un,o.playlist_name]]),y(i,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),o.loading?(x(),T("footer",SH,[c("a",EH,[y(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,$H)])])):(x(),T("footer",TH,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.cancel"))},null,8,AH)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.save&&s.save(...a))},[y(i,{class:"icon",name:"content-save",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,OH)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})}const IH=ne(gH,[["render",PH]]);var I1={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function jp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jp(Object(n),!0).forEach(function(r){DH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ga(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ga=function(t){return typeof t}:ga=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ga(e)}function DH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(){return In=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},In.apply(this,arguments)}function RH(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function LH(e,t){if(e==null)return{};var n=RH(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function NH(e){return MH(e)||FH(e)||VH(e)||HH()}function MH(e){if(Array.isArray(e))return ku(e)}function FH(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VH(e,t){if(e){if(typeof e=="string")return ku(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 ku(e,t)}}function ku(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function HH(){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 UH="1.14.0";function gr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Cr=gr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ai=gr(/Edge/i),Bp=gr(/firefox/i),Zs=gr(/safari/i)&&!gr(/chrome/i)&&!gr(/android/i),D1=gr(/iP(ad|od|hone)/i),jH=gr(/chrome/i)&&gr(/android/i),R1={capture:!1,passive:!1};function qe(e,t,n){e.addEventListener(t,n,!Cr&&R1)}function Be(e,t,n){e.removeEventListener(t,n,!Cr&&R1)}function Ka(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function BH(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Vn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Ka(e,t):Ka(e,t))||r&&e===n)return e;if(e===n)break}while(e=BH(e))}return null}var Wp=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Wp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Wp," ")}}function ze(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function ho(e,t){var n="";if(typeof e=="string")n=e;else do{var r=ze(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function L1(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function or(){var e=document.scrollingElement;return e||document.documentElement}function gt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,d,m;if(e!==window&&e.parentNode&&e!==or()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,u=s.right,d=s.height,m=s.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!Cr))do if(o&&o.getBoundingClientRect&&(ze(o,"transform")!=="none"||n&&ze(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(ze(o,"border-top-width")),a-=f.left+parseInt(ze(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=ho(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,u=a+m)}return{top:i,left:a,bottom:l,right:u,width:m,height:d}}}function qp(e,t,n){for(var r=Hr(e,!0),o=gt(e)[t];r;){var s=gt(r)[n],i=void 0;if(n==="top"||n==="left"?i=o>=s:i=o<=s,!i)return r;if(r===or())break;r=Hr(r,!1)}return!1}function cs(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Oe.ghost&&(r||i[s]!==Oe.dragged)&&Vn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function jd(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||ze(n,"display")==="none"||t&&!Ka(n,t));)n=n.previousElementSibling;return n||null}function Et(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||Ka(e,t))&&n++;return n}function Gp(e){var t=0,n=0,r=or();if(e)do{var o=ho(e),s=o.a,i=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function WH(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Hr(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=ze(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return or();if(r||t)return n;r=!0}}while(n=n.parentNode);return or()}function qH(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function _c(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 Ys;function N1(e,t){return function(){if(!Ys){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Ys=setTimeout(function(){Ys=void 0},t)}}}function GH(){clearTimeout(Ys),Ys=void 0}function M1(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Bd(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 Kp(e,t){ze(e,"position","absolute"),ze(e,"top",t.top),ze(e,"left",t.left),ze(e,"width",t.width),ze(e,"height",t.height)}function gc(e){ze(e,"position",""),ze(e,"top",""),ze(e,"left",""),ze(e,"width",""),ze(e,"height","")}var qt="Sortable"+new Date().getTime();function KH(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(ze(o,"display")==="none"||o===Oe.ghost)){e.push({target:o,rect:gt(o)});var s=ir({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=ho(o,!0);i&&(s.top-=i.f,s.left-=i.e)}o.fromRect=s}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(WH(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var s=!1,i=0;e.forEach(function(a){var l=0,u=a.target,d=u.fromRect,m=gt(u),f=u.prevFromRect,p=u.prevToRect,h=a.rect,_=ho(u,!0);_&&(m.top-=_.f,m.left-=_.e),u.toRect=m,u.thisAnimationDuration&&_c(f,m)&&!_c(d,m)&&(h.top-m.top)/(h.left-m.left)===(d.top-m.top)/(d.left-m.left)&&(l=YH(h,f,p,o.options)),_c(m,d)||(u.prevFromRect=d,u.prevToRect=m,l||(l=o.options.animation),o.animate(u,h,m,l)),l&&(s=!0,i=Math.max(i,l),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},l),u.thisAnimationDuration=l)}),clearTimeout(t),s?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,o,s,i){if(i){ze(r,"transition",""),ze(r,"transform","");var a=ho(this.el),l=a&&a.a,u=a&&a.d,d=(o.left-s.left)/(l||1),m=(o.top-s.top)/(u||1);r.animatingX=!!d,r.animatingY=!!m,ze(r,"transform","translate3d("+d+"px,"+m+"px,0)"),this.forRepaintDummy=ZH(r),ze(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),ze(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){ze(r,"transition",""),ze(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function ZH(e){return e.offsetWidth}function YH(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var Po=[],yc={initializeByDefault:!0},Oi={mount:function(t){for(var n in yc)yc.hasOwnProperty(n)&&!(n in t)&&(t[n]=yc[n]);Po.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Po.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";Po.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][s]&&n[i.pluginName][s](ir({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](ir({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Po.forEach(function(a){var l=a.pluginName;if(!(!t.options[l]&&!a.initializeByDefault)){var u=new a(t,n,t.options);u.sortable=t,u.options=t.options,t[l]=u,In(r,u.defaults)}});for(var s in t.options)if(t.options.hasOwnProperty(s)){var i=this.modifyOption(t,s,t.options[s]);typeof i<"u"&&(t.options[s]=i)}},getEventProperties:function(t,n){var r={};return Po.forEach(function(o){typeof o.eventProperties=="function"&&In(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Po.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function Rs(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,s=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,m=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[qt],!!t){var _,b=t.options,z="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Cr&&!Ai?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=o||n,_.clone=s,_.oldIndex=l,_.newIndex=u,_.oldDraggableIndex=d,_.newDraggableIndex=m,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var C=ir(ir({},h),Oi.getEventProperties(r,t));for(var v in C)_[v]=C[v];n&&n.dispatchEvent(_),b[z]&&b[z].call(t,_)}}var JH=["evt"],tn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=LH(r,JH);Oi.pluginEvent.bind(Oe)(t,n,ir({dragEl:ue,parentEl:xt,ghostEl:Fe,rootEl:_t,nextEl:oo,lastDownEl:ya,cloneEl:kt,cloneHidden:Vr,dragStarted:Ls,putSortable:Ht,activeSortable:Oe.active,originalEvent:o,oldIndex:Ho,oldDraggableIndex:Js,newIndex:pn,newDraggableIndex:Mr,hideGhostForTarget:U1,unhideGhostForTarget:j1,cloneNowHidden:function(){Vr=!0},cloneNowShown:function(){Vr=!1},dispatchSortableEvent:function(a){Yt({sortable:n,name:a,originalEvent:o})}},s))};function Yt(e){Rs(ir({putSortable:Ht,cloneEl:kt,targetEl:ue,rootEl:_t,oldIndex:Ho,oldDraggableIndex:Js,newIndex:pn,newDraggableIndex:Mr},e))}var ue,xt,Fe,_t,oo,ya,kt,Vr,Ho,pn,Js,Mr,na,Ht,Mo=!1,Za=!1,Ya=[],no,Mn,vc,bc,Zp,Yp,Ls,Io,Xs,Qs=!1,ra=!1,va,jt,zc=[],Su=!1,Ja=[],Nl=typeof document<"u",oa=D1,Jp=Ai||Cr?"cssFloat":"float",XH=Nl&&!jH&&!D1&&"draggable"in document.createElement("div"),F1=function(){if(Nl){if(Cr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),V1=function(t,n){var r=ze(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=cs(t,0,n),i=cs(t,1,n),a=s&&ze(s),l=i&&ze(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+gt(s).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+gt(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=o&&r[Jp]==="none"||i&&r[Jp]==="none"&&u+d>o)?"vertical":"horizontal"},QH=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,u=r?n.width:n.height;return o===a||s===l||o+i/2===a+u/2},eU=function(t,n){var r;return Ya.some(function(o){var s=o[qt].options.emptyInsertThreshold;if(!(!s||jd(o))){var i=gt(o),a=t>=i.left-s&&t<=i.right+s,l=n>=i.top-s&&n<=i.bottom+s;if(a&&l)return r=o}}),r},H1=function(t){function n(s,i){return function(a,l,u,d){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(i||m))return!0;if(s==null||s===!1)return!1;if(i&&s==="clone")return s;if(typeof s=="function")return n(s(a,l,u,d),i)(a,l,u,d);var f=(i?a:l).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var r={},o=t.group;(!o||ga(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},U1=function(){!F1&&Fe&&ze(Fe,"display","none")},j1=function(){!F1&&Fe&&ze(Fe,"display","")};Nl&&document.addEventListener("click",function(e){if(Za)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Za=!1,!1},!0);var ro=function(t){if(ue){t=t.touches?t.touches[0]:t;var n=eU(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[qt]._onDragOver(r)}}},tU=function(t){ue&&ue.parentNode[qt]._isOutsideThisEl(t.target)};function Oe(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=In({},t),e[qt]=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 V1(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,a){i.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Oe.supportPointer!==!1&&"PointerEvent"in window&&!Zs,emptyInsertThreshold:5};Oi.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);H1(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:XH,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?qe(e,"pointerdown",this._onTapStart):(qe(e,"mousedown",this._onTapStart),qe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(qe(e,"dragover",this),qe(e,"dragenter",this)),Ya.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),In(this,KH())}Oe.prototype={constructor:Oe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Io=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ue):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,s=o.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=o.filter;if(cU(r),!ue&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Zs&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Vn(l,o.draggable,r,!1),!(l&&l.animated)&&ya!==l)){if(Ho=Et(l),Js=Et(l,o.draggable),typeof d=="function"){if(d.call(this,t,l,this)){Yt({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),tn("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(m){if(m=Vn(u,m.trim(),r,!1),m)return Yt({sortable:n,rootEl:m,name:"filter",targetEl:l,fromEl:r,toEl:r}),tn("filter",n,{evt:t}),!0}),d)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Vn(u,o.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,i=o.options,a=s.ownerDocument,l;if(r&&!ue&&r.parentNode===s){var u=gt(r);if(_t=s,ue=r,xt=ue.parentNode,oo=ue.nextSibling,ya=r,na=i.group,Oe.dragged=ue,no={target:ue,clientX:(n||t).clientX,clientY:(n||t).clientY},Zp=no.clientX-u.left,Yp=no.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ue.style["will-change"]="all",l=function(){if(tn("delayEnded",o,{evt:t}),Oe.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Bp&&o.nativeDraggable&&(ue.draggable=!0),o._triggerDragStart(t,n),Yt({sortable:o,name:"choose",originalEvent:t}),Ct(ue,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){L1(ue,d.trim(),Cc)}),qe(a,"dragover",ro),qe(a,"mousemove",ro),qe(a,"touchmove",ro),qe(a,"mouseup",o._onDrop),qe(a,"touchend",o._onDrop),qe(a,"touchcancel",o._onDrop),Bp&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ue.draggable=!0),tn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ai||Cr))){if(Oe.eventCanceled){this._onDrop();return}qe(a,"mouseup",o._disableDelayedDrag),qe(a,"touchend",o._disableDelayedDrag),qe(a,"touchcancel",o._disableDelayedDrag),qe(a,"mousemove",o._delayedDragTouchMoveHandler),qe(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&qe(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ue&&Cc(ue),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Be(t,"mouseup",this._disableDelayedDrag),Be(t,"touchend",this._disableDelayedDrag),Be(t,"touchcancel",this._disableDelayedDrag),Be(t,"mousemove",this._delayedDragTouchMoveHandler),Be(t,"touchmove",this._delayedDragTouchMoveHandler),Be(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?qe(document,"pointermove",this._onTouchMove):n?qe(document,"touchmove",this._onTouchMove):qe(document,"mousemove",this._onTouchMove):(qe(ue,"dragend",this),qe(_t,"dragstart",this._onDragStart));try{document.selection?ba(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Mo=!1,_t&&ue){tn("dragStarted",this,{evt:n}),this.nativeDraggable&&qe(document,"dragover",tU);var r=this.options;!t&&Ct(ue,r.dragClass,!1),Ct(ue,r.ghostClass,!0),Oe.active=this,t&&this._appendGhost(),Yt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Mn){this._lastX=Mn.clientX,this._lastY=Mn.clientY,U1();for(var t=document.elementFromPoint(Mn.clientX,Mn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Mn.clientX,Mn.clientY),t!==n);)n=t;if(ue.parentNode[qt]._isOutsideThisEl(t),n)do{if(n[qt]){var r=void 0;if(r=n[qt]._onDragOver({clientX:Mn.clientX,clientY:Mn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);j1()}},_onTouchMove:function(t){if(no){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=Fe&&ho(Fe,!0),a=Fe&&i&&i.a,l=Fe&&i&&i.d,u=oa&&jt&&Gp(jt),d=(s.clientX-no.clientX+o.x)/(a||1)+(u?u[0]-zc[0]:0)/(a||1),m=(s.clientY-no.clientY+o.y)/(l||1)+(u?u[1]-zc[1]:0)/(l||1);if(!Oe.active&&!Mo){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(Fe){i?(i.e+=d-(vc||0),i.f+=m-(bc||0)):i={a:1,b:0,c:0,d:1,e:d,f:m};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");ze(Fe,"webkitTransform",f),ze(Fe,"mozTransform",f),ze(Fe,"msTransform",f),ze(Fe,"transform",f),vc=d,bc=m,Mn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Fe){var t=this.options.fallbackOnBody?document.body:_t,n=gt(ue,!0,oa,!0,t),r=this.options;if(oa){for(jt=t;ze(jt,"position")==="static"&&ze(jt,"transform")==="none"&&jt!==document;)jt=jt.parentNode;jt!==document.body&&jt!==document.documentElement?(jt===document&&(jt=or()),n.top+=jt.scrollTop,n.left+=jt.scrollLeft):jt=or(),zc=Gp(jt)}Fe=ue.cloneNode(!0),Ct(Fe,r.ghostClass,!1),Ct(Fe,r.fallbackClass,!0),Ct(Fe,r.dragClass,!0),ze(Fe,"transition",""),ze(Fe,"transform",""),ze(Fe,"box-sizing","border-box"),ze(Fe,"margin",0),ze(Fe,"top",n.top),ze(Fe,"left",n.left),ze(Fe,"width",n.width),ze(Fe,"height",n.height),ze(Fe,"opacity","0.8"),ze(Fe,"position",oa?"absolute":"fixed"),ze(Fe,"zIndex","100000"),ze(Fe,"pointerEvents","none"),Oe.ghost=Fe,t.appendChild(Fe),ze(Fe,"transform-origin",Zp/parseInt(Fe.style.width)*100+"% "+Yp/parseInt(Fe.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(tn("dragStart",this,{evt:t}),Oe.eventCanceled){this._onDrop();return}tn("setupClone",this),Oe.eventCanceled||(kt=Bd(ue),kt.draggable=!1,kt.style["will-change"]="",this._hideClone(),Ct(kt,this.options.chosenClass,!1),Oe.clone=kt),r.cloneId=ba(function(){tn("clone",r),!Oe.eventCanceled&&(r.options.removeCloneOnHide||_t.insertBefore(kt,ue),r._hideClone(),Yt({sortable:r,name:"clone"}))}),!n&&Ct(ue,s.dragClass,!0),n?(Za=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Be(document,"mouseup",r._onDrop),Be(document,"touchend",r._onDrop),Be(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",s.setData&&s.setData.call(r,o,ue)),qe(document,"drop",r),ze(ue,"transform","translateZ(0)")),Mo=!0,r._dragStartId=ba(r._dragStarted.bind(r,n,t)),qe(document,"selectstart",r),Ls=!0,Zs&&ze(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,a=this.options,l=a.group,u=Oe.active,d=na===l,m=a.sort,f=Ht||u,p,h=this,_=!1;if(Su)return;function b(oe,je){tn(oe,h,ir({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:m,fromSortable:f,target:r,completed:C,onMove:function(Ve,He){return sa(_t,n,ue,o,Ve,gt(Ve),t,He)},changed:v},je))}function z(){b("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function C(oe){return b("dragOverCompleted",{insertion:oe}),oe&&(d?u._hideClone():u._showClone(h),h!==f&&(Ct(ue,Ht?Ht.options.ghostClass:u.options.ghostClass,!1),Ct(ue,a.ghostClass,!0)),Ht!==h&&h!==Oe.active?Ht=h:h===Oe.active&&Ht&&(Ht=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){b("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===ue&&!ue.animated||r===n&&!r.animated)&&(Io=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(ue.parentNode[qt]._isOutsideThisEl(t.target),!oe&&ro(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function v(){pn=Et(ue),Mr=Et(ue,a.draggable),Yt({sortable:h,name:"change",toEl:n,newIndex:pn,newDraggableIndex:Mr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Vn(r,a.draggable,n,!0),b("dragOver"),Oe.eventCanceled)return _;if(ue.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return C(!1);if(Za=!1,u&&!a.disabled&&(d?m||(i=xt!==_t):Ht===this||(this.lastPutMode=na.checkPull(this,u,ue,t))&&l.checkPut(this,u,ue,t))){if(p=this._getDirection(t,r)==="vertical",o=gt(ue),b("dragOverValid"),Oe.eventCanceled)return _;if(i)return xt=_t,z(),this._hideClone(),b("revert"),Oe.eventCanceled||(oo?_t.insertBefore(ue,oo):_t.appendChild(ue)),C(!0);var w=jd(n,a.draggable);if(!w||sU(t,p,this)&&!w.animated){if(w===ue)return C(!1);if(w&&n===t.target&&(r=w),r&&(s=gt(r)),sa(_t,n,ue,o,r,s,t,!!r)!==!1)return z(),n.appendChild(ue),xt=n,v(),C(!0)}else if(w&&oU(t,p,this)){var S=cs(n,0,a,!0);if(S===ue)return C(!1);if(r=S,s=gt(r),sa(_t,n,ue,o,r,s,t,!1)!==!1)return z(),n.insertBefore(ue,S),xt=n,v(),C(!0)}else if(r.parentNode===n){s=gt(r);var k=0,M,R=ue.parentNode!==n,O=!QH(ue.animated&&ue.toRect||o,r.animated&&r.toRect||s,p),N=p?"top":"left",K=qp(r,"top","top")||qp(ue,"top","top"),U=K?K.scrollTop:void 0;Io!==r&&(M=s[N],Qs=!1,ra=!O&&a.invertSwap||R),k=iU(t,r,s,p,O?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,ra,Io===r);var j;if(k!==0){var Q=Et(ue);do Q-=k,j=xt.children[Q];while(j&&(ze(j,"display")==="none"||j===Fe))}if(k===0||j===r)return C(!1);Io=r,Xs=k;var pe=r.nextElementSibling,W=!1;W=k===1;var re=sa(_t,n,ue,o,r,s,t,W);if(re!==!1)return(re===1||re===-1)&&(W=re===1),Su=!0,setTimeout(rU,30),z(),W&&!pe?n.appendChild(ue):r.parentNode.insertBefore(ue,W?pe:r),K&&M1(K,0,U-K.scrollTop),xt=ue.parentNode,M!==void 0&&!ra&&(va=Math.abs(M-gt(r)[N])),v(),C(!0)}if(n.contains(ue))return C(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Be(document,"mousemove",this._onTouchMove),Be(document,"touchmove",this._onTouchMove),Be(document,"pointermove",this._onTouchMove),Be(document,"dragover",ro),Be(document,"mousemove",ro),Be(document,"touchmove",ro)},_offUpEvents:function(){var t=this.el.ownerDocument;Be(t,"mouseup",this._onDrop),Be(t,"touchend",this._onDrop),Be(t,"pointerup",this._onDrop),Be(t,"touchcancel",this._onDrop),Be(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(pn=Et(ue),Mr=Et(ue,r.draggable),tn("drop",this,{evt:t}),xt=ue&&ue.parentNode,pn=Et(ue),Mr=Et(ue,r.draggable),Oe.eventCanceled){this._nulling();return}Mo=!1,ra=!1,Qs=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Eu(this.cloneId),Eu(this._dragStartId),this.nativeDraggable&&(Be(document,"drop",this),Be(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Zs&&ze(document.body,"user-select",""),ze(ue,"transform",""),t&&(Ls&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),Fe&&Fe.parentNode&&Fe.parentNode.removeChild(Fe),(_t===xt||Ht&&Ht.lastPutMode!=="clone")&&kt&&kt.parentNode&&kt.parentNode.removeChild(kt),ue&&(this.nativeDraggable&&Be(ue,"dragend",this),Cc(ue),ue.style["will-change"]="",Ls&&!Mo&&Ct(ue,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),Ct(ue,this.options.chosenClass,!1),Yt({sortable:this,name:"unchoose",toEl:xt,newIndex:null,newDraggableIndex:null,originalEvent:t}),_t!==xt?(pn>=0&&(Yt({rootEl:xt,name:"add",toEl:xt,fromEl:_t,originalEvent:t}),Yt({sortable:this,name:"remove",toEl:xt,originalEvent:t}),Yt({rootEl:xt,name:"sort",toEl:xt,fromEl:_t,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:xt,originalEvent:t})),Ht&&Ht.save()):pn!==Ho&&pn>=0&&(Yt({sortable:this,name:"update",toEl:xt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:xt,originalEvent:t})),Oe.active&&((pn==null||pn===-1)&&(pn=Ho,Mr=Js),Yt({sortable:this,name:"end",toEl:xt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){tn("nulling",this),_t=ue=xt=Fe=oo=kt=ya=Vr=no=Mn=Ls=pn=Mr=Ho=Js=Io=Xs=Ht=na=Oe.dragged=Oe.ghost=Oe.clone=Oe.active=null,Ja.forEach(function(t){t.checked=!0}),Ja.length=vc=bc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ue&&(this._onDragOver(t),nU(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,s=r.length,i=this.options;o<s;o++)n=r[o],Vn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||lU(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var a=o.children[i];Vn(a,this.options.draggable,o,!1)&&(r[s]=a)},this),n&&this.captureAnimationState(),t.forEach(function(s){r[s]&&(o.removeChild(r[s]),o.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Vn(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=Oi.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&H1(r)},destroy:function(){tn("destroy",this);var t=this.el;t[qt]=null,Be(t,"mousedown",this._onTapStart),Be(t,"touchstart",this._onTapStart),Be(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Be(t,"dragover",this),Be(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ya.splice(Ya.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Vr){if(tn("hideClone",this),Oe.eventCanceled)return;ze(kt,"display","none"),this.options.removeCloneOnHide&&kt.parentNode&&kt.parentNode.removeChild(kt),Vr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Vr){if(tn("showClone",this),Oe.eventCanceled)return;ue.parentNode==_t&&!this.options.group.revertClone?_t.insertBefore(kt,ue):oo?_t.insertBefore(kt,oo):_t.appendChild(kt),this.options.group.revertClone&&this.animate(ue,kt),ze(kt,"display",""),Vr=!1}}};function nU(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function sa(e,t,n,r,o,s,i,a){var l,u=e[qt],d=u.options.onMove,m;return window.CustomEvent&&!Cr&&!Ai?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=s||gt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(m=d.call(u,l,i)),m}function Cc(e){e.draggable=!1}function rU(){Su=!1}function oU(e,t,n){var r=gt(cs(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function sU(e,t,n){var r=gt(jd(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function iU(e,t,n,r,o,s,i,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,d=r?n.top:n.left,m=r?n.bottom:n.right,f=!1;if(!i){if(a&&va<u*o){if(!Qs&&(Xs===1?l>d+u*s/2:l<m-u*s/2)&&(Qs=!0),Qs)f=!0;else if(Xs===1?l<d+va:l>m-va)return-Xs}else if(l>d+u*(1-o)/2&&l<m-u*(1-o)/2)return aU(t)}return f=f||i,f&&(l<d+u*s/2||l>m-u*s/2)?l>d+u/2?1:-1:0}function aU(e){return Et(ue)<Et(e)?1:-1}function lU(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function cU(e){Ja.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Ja.push(r)}}function ba(e){return setTimeout(e,0)}function Eu(e){return clearTimeout(e)}Nl&&qe(document,"touchmove",function(e){(Oe.active||Mo)&&e.cancelable&&e.preventDefault()});Oe.utils={on:qe,off:Be,css:ze,find:L1,is:function(t,n){return!!Vn(t,n,t,!1)},extend:qH,throttle:N1,closest:Vn,toggleClass:Ct,clone:Bd,index:Et,nextTick:ba,cancelNextTick:Eu,detectDirection:V1,getChild:cs};Oe.get=function(e){return e[qt]};Oe.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Oe.utils=ir(ir({},Oe.utils),r.utils)),Oi.mount(r)})};Oe.create=function(e,t){return new Oe(e,t)};Oe.version=UH;var Ot=[],Ns,$u,Tu=!1,wc,xc,Xa,Ms;function uU(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?qe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?qe(document,"pointermove",this._handleFallbackAutoScroll):r.touches?qe(document,"touchmove",this._handleFallbackAutoScroll):qe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Be(document,"dragover",this._handleAutoScroll):(Be(document,"pointermove",this._handleFallbackAutoScroll),Be(document,"touchmove",this._handleFallbackAutoScroll),Be(document,"mousemove",this._handleFallbackAutoScroll)),Xp(),za(),GH()},nulling:function(){Xa=$u=Ns=Tu=Ms=wc=xc=null,Ot.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,s=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(s,i);if(Xa=n,r||this.options.forceAutoScrollFallback||Ai||Cr||Zs){kc(n,this.options,a,r);var l=Hr(a,!0);Tu&&(!Ms||s!==wc||i!==xc)&&(Ms&&Xp(),Ms=setInterval(function(){var u=Hr(document.elementFromPoint(s,i),!0);u!==l&&(l=u,za()),kc(n,o.options,u,r)},10),wc=s,xc=i)}else{if(!this.options.bubbleScroll||Hr(a,!0)===or()){za();return}kc(n,this.options,Hr(a,!1),!1)}}},In(e,{pluginName:"scroll",initializeByDefault:!0})}function za(){Ot.forEach(function(e){clearInterval(e.pid)}),Ot=[]}function Xp(){clearInterval(Ms)}var kc=N1(function(e,t,n,r){if(t.scroll){var o=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=or(),u=!1,d;$u!==n&&($u=n,za(),Ns=t.scroll,d=t.scrollFn,Ns===!0&&(Ns=Hr(n,!0)));var m=0,f=Ns;do{var p=f,h=gt(p),_=h.top,b=h.bottom,z=h.left,C=h.right,v=h.width,w=h.height,S=void 0,k=void 0,M=p.scrollWidth,R=p.scrollHeight,O=ze(p),N=p.scrollLeft,K=p.scrollTop;p===l?(S=v<M&&(O.overflowX==="auto"||O.overflowX==="scroll"||O.overflowX==="visible"),k=w<R&&(O.overflowY==="auto"||O.overflowY==="scroll"||O.overflowY==="visible")):(S=v<M&&(O.overflowX==="auto"||O.overflowX==="scroll"),k=w<R&&(O.overflowY==="auto"||O.overflowY==="scroll"));var U=S&&(Math.abs(C-o)<=i&&N+v<M)-(Math.abs(z-o)<=i&&!!N),j=k&&(Math.abs(b-s)<=i&&K+w<R)-(Math.abs(_-s)<=i&&!!K);if(!Ot[m])for(var Q=0;Q<=m;Q++)Ot[Q]||(Ot[Q]={});(Ot[m].vx!=U||Ot[m].vy!=j||Ot[m].el!==p)&&(Ot[m].el=p,Ot[m].vx=U,Ot[m].vy=j,clearInterval(Ot[m].pid),(U!=0||j!=0)&&(u=!0,Ot[m].pid=setInterval((function(){r&&this.layer===0&&Oe.active._onTouchMove(Xa);var pe=Ot[this.layer].vy?Ot[this.layer].vy*a:0,W=Ot[this.layer].vx?Ot[this.layer].vx*a:0;typeof d=="function"&&d.call(Oe.dragged.parentNode[qt],W,pe,e,Xa,Ot[this.layer].el)!=="continue"||M1(Ot[this.layer].el,W,pe)}).bind({layer:m}),24))),m++}while(t.bubbleScroll&&f!==l&&(f=Hr(f,!1)));Tu=u}},30),B1=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,s=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var u=r||s;a();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,m=document.elementFromPoint(d.clientX,d.clientY);l(),u&&!u.el.contains(m)&&(i("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function Wd(){}Wd.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=cs(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:B1};In(Wd,{pluginName:"revertOnSpill"});function qd(){}qd.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:B1};In(qd,{pluginName:"removeOnSpill"});var kn;function dU(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;kn=r},dragOverValid:function(n){var r=n.completed,o=n.target,s=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(i.options.swap){var u=this.sortable.el,d=this.options;if(o&&o!==u){var m=kn;s(o)!==!1?(Ct(o,d.swapClass,!0),kn=o):kn=null,m&&m!==kn&&Ct(m,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,s=n.dragEl,i=o||this.sortable,a=this.options;kn&&Ct(kn,a.swapClass,!1),kn&&(a.swap||o&&o.options.swap)&&s!==kn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),mU(s,kn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){kn=null}},In(e,{pluginName:"swap",eventProperties:function(){return{swapItem:kn}}})}function mU(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Et(e),s=Et(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var Le=[],fn=[],$s,Fn,Ts=!1,nn=!1,Do=!1,mt,As,ia;function fU(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?qe(document,"pointerup",this._deselectMultiDrag):(qe(document,"mouseup",this._deselectMultiDrag),qe(document,"touchend",this._deselectMultiDrag)),qe(document,"keydown",this._checkKeyDown),qe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,s){var i="";Le.length&&Fn===t?Le.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=s.textContent,o.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;mt=r},delayEnded:function(){this.isMultiDrag=~Le.indexOf(mt)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<Le.length;s++)fn.push(Bd(Le[s])),fn[s].sortableIndex=Le[s].sortableIndex,fn[s].draggable=!1,fn[s].style["will-change"]="",Ct(fn[s],this.options.selectedClass,!1),Le[s]===mt&&Ct(fn[s],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,s=n.dispatchSortableEvent,i=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Le.length&&Fn===r&&(Qp(!0,o),s("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(Qp(!1,o),fn.forEach(function(i){ze(i,"display","")}),r(),ia=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;this.isMultiDrag&&(fn.forEach(function(i){ze(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),o(),ia=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Fn&&Fn.multiDrag._deselectMultiDrag(),Le.forEach(function(r){r.sortableIndex=Et(r)}),Le=Le.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Do=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){Le.forEach(function(i){i!==mt&&ze(i,"position","absolute")});var s=gt(mt,!1,!0,!0);Le.forEach(function(i){i!==mt&&Kp(i,s)}),nn=!0,Ts=!0}o.animateAll(function(){nn=!1,Ts=!1,r.options.animation&&Le.forEach(function(i){gc(i)}),r.options.sort&&aa()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;nn&&~Le.indexOf(r)&&(o(!1),s())},revert:function(n){var r=n.fromSortable,o=n.rootEl,s=n.sortable,i=n.dragRect;Le.length>1&&(Le.forEach(function(a){s.addAnimationState({target:a,rect:nn?gt(a):i}),gc(a),a.fromRect=i,r.removeAnimationState(a)}),nn=!1,pU(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,u=this.options;if(s){if(o&&i._hideClone(),Ts=!1,u.animation&&Le.length>1&&(nn||!o&&!i.options.sort&&!l)){var d=gt(mt,!1,!0,!0);Le.forEach(function(f){f!==mt&&(Kp(f,d),a.appendChild(f))}),nn=!0}if(!o)if(nn||aa(),Le.length>1){var m=ia;i._showClone(r),i.options.animation&&!ia&&m&&fn.forEach(function(f){i.addAnimationState({target:f,rect:As}),f.fromRect=As,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(Le.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){As=In({},r);var i=ho(mt,!0);As.top-=i.f,As.left-=i.e}},dragOverAnimationComplete:function(){nn&&(nn=!1,aa())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,u=n.putSortable,d=u||this.sortable;if(r){var m=this.options,f=s.children;if(!Do)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(mt,m.selectedClass,!~Le.indexOf(mt)),~Le.indexOf(mt))Le.splice(Le.indexOf(mt),1),$s=null,Rs({sortable:i,rootEl:o,name:"deselect",targetEl:mt,originalEvt:r});else{if(Le.push(mt),Rs({sortable:i,rootEl:o,name:"select",targetEl:mt,originalEvt:r}),r.shiftKey&&$s&&i.el.contains($s)){var p=Et($s),h=Et(mt);if(~p&&~h&&p!==h){var _,b;for(h>p?(b=p,_=h):(b=h,_=p+1);b<_;b++)~Le.indexOf(f[b])||(Ct(f[b],m.selectedClass,!0),Le.push(f[b]),Rs({sortable:i,rootEl:o,name:"select",targetEl:f[b],originalEvt:r}))}}else $s=mt;Fn=d}if(Do&&this.isMultiDrag){if(nn=!1,(s[qt].options.sort||s!==o)&&Le.length>1){var z=gt(mt),C=Et(mt,":not(."+this.options.selectedClass+")");if(!Ts&&m.animation&&(mt.thisAnimationDuration=null),d.captureAnimationState(),!Ts&&(m.animation&&(mt.fromRect=z,Le.forEach(function(w){if(w.thisAnimationDuration=null,w!==mt){var S=nn?gt(w):z;w.fromRect=S,d.addAnimationState({target:w,rect:S})}})),aa(),Le.forEach(function(w){f[C]?s.insertBefore(w,f[C]):s.appendChild(w),C++}),l===Et(mt))){var v=!1;Le.forEach(function(w){if(w.sortableIndex!==Et(w)){v=!0;return}}),v&&a("update")}Le.forEach(function(w){gc(w)}),d.animateAll()}Fn=d}(o===s||u&&u.lastPutMode!=="clone")&&fn.forEach(function(w){w.parentNode&&w.parentNode.removeChild(w)})}},nullingGlobal:function(){this.isMultiDrag=Do=!1,fn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Be(document,"pointerup",this._deselectMultiDrag),Be(document,"mouseup",this._deselectMultiDrag),Be(document,"touchend",this._deselectMultiDrag),Be(document,"keydown",this._checkKeyDown),Be(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Do<"u"&&Do)&&Fn===this.sortable&&!(n&&Vn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Le.length;){var r=Le[0];Ct(r,this.options.selectedClass,!1),Le.shift(),Rs({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},In(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[qt];!r||!r.options.multiDrag||~Le.indexOf(n)||(Fn&&Fn!==r&&(Fn.multiDrag._deselectMultiDrag(),Fn=r),Ct(n,r.options.selectedClass,!0),Le.push(n))},deselect:function(n){var r=n.parentNode[qt],o=Le.indexOf(n);!r||!r.options.multiDrag||!~o||(Ct(n,r.options.selectedClass,!1),Le.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return Le.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var i;nn&&s!==mt?i=-1:nn?i=Et(s,":not(."+n.options.selectedClass+")"):i=Et(s),o.push({multiDragElement:s,index:i})}),{items:NH(Le),clones:[].concat(fn),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function pU(e,t){Le.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Qp(e,t){fn.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function aa(){Le.forEach(function(e){e!==mt&&e.parentNode&&e.parentNode.removeChild(e)})}Oe.mount(new uU);Oe.mount(qd,Wd);const hU=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:fU,Sortable:Oe,Swap:dU,default:Oe},Symbol.toStringTag,{value:"Module"})),_U=iy(hU);(function(e,t){(function(r,o){e.exports=o(fy,_U)})(typeof self<"u"?self:sy,function(n,r){return function(o){var s={};function i(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return o[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=o,i.c=s,i.d=function(a,l,u){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:u})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(i.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var d in a)i.d(u,d,(function(m){return a[m]}).bind(null,d));return u},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(o,s,i){var a=i("b622"),l=a("toStringTag"),u={};u[l]="z",o.exports=String(u)==="[object z]"},"0366":function(o,s,i){var a=i("1c0b");o.exports=function(l,u,d){if(a(l),u===void 0)return l;switch(d){case 0:return function(){return l.call(u)};case 1:return function(m){return l.call(u,m)};case 2:return function(m,f){return l.call(u,m,f)};case 3:return function(m,f,p){return l.call(u,m,f,p)}}return function(){return l.apply(u,arguments)}}},"057f":function(o,s,i){var a=i("fc6a"),l=i("241c").f,u={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(f){try{return l(f)}catch{return d.slice()}};o.exports.f=function(p){return d&&u.call(p)=="[object Window]"?m(p):l(a(p))}},"06cf":function(o,s,i){var a=i("83ab"),l=i("d1e7"),u=i("5c6c"),d=i("fc6a"),m=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=a?h:function(b,z){if(b=d(b),z=m(z,!0),p)try{return h(b,z)}catch{}if(f(b,z))return u(!l.f.call(b,z),b[z])}},"0cfb":function(o,s,i){var a=i("83ab"),l=i("d039"),u=i("cc12");o.exports=!a&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,i){var a=i("23e7"),l=i("d58f").left,u=i("a640"),d=i("ae40"),m=u("reduce"),f=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!f},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,s,i){var a=i("c6b6"),l=i("9263");o.exports=function(u,d){var m=u.exec;if(typeof m=="function"){var f=m.call(u,d);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,d)}},"159b":function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("17c2"),d=i("9112");for(var m in l){var f=a[m],p=f&&f.prototype;if(p&&p.forEach!==u)try{d(p,"forEach",u)}catch{p.forEach=u}}},"17c2":function(o,s,i){var a=i("b727").forEach,l=i("a640"),u=i("ae40"),d=l("forEach"),m=u("forEach");o.exports=!d||!m?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,i){var a=i("d066");o.exports=a("document","documentElement")},"1c0b":function(o,s){o.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(o,s,i){var a=i("b622"),l=a("iterator"),u=!1;try{var d=0,m={next:function(){return{done:!!d++}},return:function(){u=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}o.exports=function(f,p){if(!p&&!u)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},f(_)}catch{}return h}},"1d80":function(o,s){o.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(o,s,i){var a=i("d039"),l=i("b622"),u=i("2d00"),d=l("species");o.exports=function(m){return u>=51||!a(function(){var f=[],p=f.constructor={};return p[d]=function(){return{foo:1}},f[m](Boolean).foo!==1})}},"23cb":function(o,s,i){var a=i("a691"),l=Math.max,u=Math.min;o.exports=function(d,m){var f=a(d);return f<0?l(f+m,0):u(f,m)}},"23e7":function(o,s,i){var a=i("da84"),l=i("06cf").f,u=i("9112"),d=i("6eeb"),m=i("ce4e"),f=i("e893"),p=i("94ca");o.exports=function(h,_){var b=h.target,z=h.global,C=h.stat,v,w,S,k,M,R;if(z?w=a:C?w=a[b]||m(b,{}):w=(a[b]||{}).prototype,w)for(S in _){if(M=_[S],h.noTargetGet?(R=l(w,S),k=R&&R.value):k=w[S],v=p(z?S:b+(C?".":"#")+S,h.forced),!v&&k!==void 0){if(typeof M==typeof k)continue;f(M,k)}(h.sham||k&&k.sham)&&u(M,"sham",!0),d(w,S,M,h)}}},"241c":function(o,s,i){var a=i("ca84"),l=i("7839"),u=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(m){return a(m,u)}},"25f0":function(o,s,i){var a=i("6eeb"),l=i("825a"),u=i("d039"),d=i("ad6d"),m="toString",f=RegExp.prototype,p=f[m],h=u(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=m;(h||_)&&a(RegExp.prototype,m,function(){var z=l(this),C=String(z.source),v=z.flags,w=String(v===void 0&&z instanceof RegExp&&!("flags"in f)?d.call(z):v);return"/"+C+"/"+w},{unsafe:!0})},"2ca0":function(o,s,i){var a=i("23e7"),l=i("06cf").f,u=i("50c4"),d=i("5a34"),m=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,b=f("startsWith"),z=!p&&!b&&!!function(){var C=l(String.prototype,"startsWith");return C&&!C.writable}();a({target:"String",proto:!0,forced:!z&&!b},{startsWith:function(v){var w=String(m(this));d(v);var S=u(_(arguments.length>1?arguments[1]:void 0,w.length)),k=String(v);return h?h.call(w,k,S):w.slice(S,S+k.length)===k}})},"2d00":function(o,s,i){var a=i("da84"),l=i("342f"),u=a.process,d=u&&u.versions,m=d&&d.v8,f,p;m?(f=m.split("."),p=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(p=f[1]))),o.exports=p&&+p},"342f":function(o,s,i){var a=i("d066");o.exports=a("navigator","userAgent")||""},"35a1":function(o,s,i){var a=i("f5df"),l=i("3f8c"),u=i("b622"),d=u("iterator");o.exports=function(m){if(m!=null)return m[d]||m["@@iterator"]||l[a(m)]}},"37e8":function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("825a"),d=i("df75");o.exports=a?Object.defineProperties:function(f,p){u(f);for(var h=d(p),_=h.length,b=0,z;_>b;)l.f(f,z=h[b++],p[z]);return f}},"3bbe":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,s,i){var a=i("6547").charAt,l=i("69f3"),u=i("7dd0"),d="String Iterator",m=l.set,f=l.getterFor(d);u(String,"String",function(p){m(this,{type:d,string:String(p),index:0})},function(){var h=f(this),_=h.string,b=h.index,z;return b>=_.length?{value:void 0,done:!0}:(z=a(_,b),h.index+=z.length,{value:z,done:!1})})},"3f8c":function(o,s){o.exports={}},4160:function(o,s,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,s,i){var a=i("da84");o.exports=a},"44ad":function(o,s,i){var a=i("d039"),l=i("c6b6"),u="".split;o.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?u.call(d,""):Object(d)}:Object},"44d2":function(o,s,i){var a=i("b622"),l=i("7c73"),u=i("9bf2"),d=a("unscopables"),m=Array.prototype;m[d]==null&&u.f(m,d,{configurable:!0,value:l(null)}),o.exports=function(f){m[d][f]=!0}},"44e7":function(o,s,i){var a=i("861d"),l=i("c6b6"),u=i("b622"),d=u("match");o.exports=function(m){var f;return a(m)&&((f=m[d])!==void 0?!!f:l(m)=="RegExp")}},4930:function(o,s,i){var a=i("d039");o.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(o,s,i){var a=i("fc6a"),l=i("50c4"),u=i("23cb"),d=function(m){return function(f,p,h){var _=a(f),b=l(_.length),z=u(h,b),C;if(m&&p!=p){for(;b>z;)if(C=_[z++],C!=C)return!0}else for(;b>z;z++)if((m||z in _)&&_[z]===p)return m||z||0;return!m&&-1}};o.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(o,s,i){var a=i("23e7"),l=i("b727").filter,u=i("1dde"),d=i("ae40"),m=u("filter"),f=d("filter");a({target:"Array",proto:!0,forced:!m||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,i){var a=i("0366"),l=i("7b0b"),u=i("9bdd"),d=i("e95a"),m=i("50c4"),f=i("8418"),p=i("35a1");o.exports=function(_){var b=l(_),z=typeof this=="function"?this:Array,C=arguments.length,v=C>1?arguments[1]:void 0,w=v!==void 0,S=p(b),k=0,M,R,O,N,K,U;if(w&&(v=a(v,C>2?arguments[2]:void 0,2)),S!=null&&!(z==Array&&d(S)))for(N=S.call(b),K=N.next,R=new z;!(O=K.call(N)).done;k++)U=w?u(N,v,[O.value,k],!0):O.value,f(R,k,U);else for(M=m(b.length),R=new z(M);M>k;k++)U=w?v(b[k],k):b[k],f(R,k,U);return R.length=k,R}},"4fad":function(o,s,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(o,s,i){var a=i("a691"),l=Math.min;o.exports=function(u){return u>0?l(a(u),9007199254740991):0}},5135:function(o,s){var i={}.hasOwnProperty;o.exports=function(a,l){return i.call(a,l)}},5319:function(o,s,i){var a=i("d784"),l=i("825a"),u=i("7b0b"),d=i("50c4"),m=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,b=Math.min,z=Math.floor,C=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,w=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,k,M,R){var O=R.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,N=R.REPLACE_KEEPS_$0,K=O?"$":"$0";return[function(Q,pe){var W=f(this),re=Q==null?void 0:Q[S];return re!==void 0?re.call(Q,W,pe):k.call(String(W),Q,pe)},function(j,Q){if(!O&&N||typeof Q=="string"&&Q.indexOf(K)===-1){var pe=M(k,j,this,Q);if(pe.done)return pe.value}var W=l(j),re=String(this),oe=typeof Q=="function";oe||(Q=String(Q));var je=W.global;if(je){var it=W.unicode;W.lastIndex=0}for(var Ve=[];;){var He=h(W,re);if(He===null||(Ve.push(He),!je))break;var at=String(He[0]);at===""&&(W.lastIndex=p(re,d(W.lastIndex),it))}for(var ut="",dt=0,Me=0;Me<Ve.length;Me++){He=Ve[Me];for(var B=String(He[0]),ce=_(b(m(He.index),re.length),0),se=[],_e=1;_e<He.length;_e++)se.push(w(He[_e]));var Ue=He.groups;if(oe){var Ge=[B].concat(se,ce,re);Ue!==void 0&&Ge.push(Ue);var E=String(Q.apply(void 0,Ge))}else E=U(B,re,ce,se,Ue,Q);ce>=dt&&(ut+=re.slice(dt,ce)+E,dt=ce+B.length)}return ut+re.slice(dt)}];function U(j,Q,pe,W,re,oe){var je=pe+j.length,it=W.length,Ve=v;return re!==void 0&&(re=u(re),Ve=C),k.call(oe,Ve,function(He,at){var ut;switch(at.charAt(0)){case"$":return"$";case"&":return j;case"`":return Q.slice(0,pe);case"'":return Q.slice(je);case"<":ut=re[at.slice(1,-1)];break;default:var dt=+at;if(dt===0)return He;if(dt>it){var Me=z(dt/10);return Me===0?He:Me<=it?W[Me-1]===void 0?at.charAt(1):W[Me-1]+at.charAt(1):He}ut=W[dt-1]}return ut===void 0?"":ut})}})},5692:function(o,s,i){var a=i("c430"),l=i("c6cd");(o.exports=function(u,d){return l[u]||(l[u]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,i){var a=i("d066"),l=i("241c"),u=i("7418"),d=i("825a");o.exports=a("Reflect","ownKeys")||function(f){var p=l.f(d(f)),h=u.f;return h?p.concat(h(f)):p}},"5a34":function(o,s,i){var a=i("44e7");o.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,s){o.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(o,s,i){var a=i("23e7"),l=i("a2bf"),u=i("7b0b"),d=i("50c4"),m=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=u(this),b=d(_.length),z;return m(h),z=f(_,0),z.length=l(z,_,_,b,0,1,h,arguments.length>1?arguments[1]:void 0),z}})},6547:function(o,s,i){var a=i("a691"),l=i("1d80"),u=function(d){return function(m,f){var p=String(l(m)),h=a(f),_=p.length,b,z;return h<0||h>=_?d?"":void 0:(b=p.charCodeAt(h),b<55296||b>56319||h+1===_||(z=p.charCodeAt(h+1))<56320||z>57343?d?p.charAt(h):b:d?p.slice(h,h+2):(b-55296<<10)+(z-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(o,s,i){var a=i("861d"),l=i("e8b5"),u=i("b622"),d=u("species");o.exports=function(m,f){var p;return l(m)&&(p=m.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(o,s,i){var a=i("7f9a"),l=i("da84"),u=i("861d"),d=i("9112"),m=i("5135"),f=i("f772"),p=i("d012"),h=l.WeakMap,_,b,z,C=function(O){return z(O)?b(O):_(O,{})},v=function(O){return function(N){var K;if(!u(N)||(K=b(N)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return K}};if(a){var w=new h,S=w.get,k=w.has,M=w.set;_=function(O,N){return M.call(w,O,N),N},b=function(O){return S.call(w,O)||{}},z=function(O){return k.call(w,O)}}else{var R=f("state");p[R]=!0,_=function(O,N){return d(O,R,N),N},b=function(O){return m(O,R)?O[R]:{}},z=function(O){return m(O,R)}}o.exports={set:_,get:b,has:z,enforce:C,getterFor:v}},"6eeb":function(o,s,i){var a=i("da84"),l=i("9112"),u=i("5135"),d=i("ce4e"),m=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(o.exports=function(b,z,C,v){var w=v?!!v.unsafe:!1,S=v?!!v.enumerable:!1,k=v?!!v.noTargetGet:!1;if(typeof C=="function"&&(typeof z=="string"&&!u(C,"name")&&l(C,"name",z),h(C).source=_.join(typeof z=="string"?z:"")),b===a){S?b[z]=C:d(z,C);return}else w?!k&&b[z]&&(S=!0):delete b[z];S?b[z]=C:l(b,z,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||m(this)})},"6f53":function(o,s,i){var a=i("83ab"),l=i("df75"),u=i("fc6a"),d=i("d1e7").f,m=function(f){return function(p){for(var h=u(p),_=l(h),b=_.length,z=0,C=[],v;b>z;)v=_[z++],(!a||d.call(h,v))&&C.push(f?[v,h[v]]:h[v]);return C}};o.exports={entries:m(!0),values:m(!1)}},"73d9":function(o,s,i){var a=i("44d2");a("flatMap")},7418:function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,i){var a=i("428f"),l=i("5135"),u=i("e538"),d=i("9bf2").f;o.exports=function(m){var f=a.Symbol||(a.Symbol={});l(f,m)||d(f,m,{value:u.f(m)})}},7839:function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,i){var a=i("1d80");o.exports=function(l){return Object(a(l))}},"7c73":function(o,s,i){var a=i("825a"),l=i("37e8"),u=i("7839"),d=i("d012"),m=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",b="prototype",z="script",C=p("IE_PROTO"),v=function(){},w=function(O){return _+z+h+O+_+"/"+z+h},S=function(O){O.write(w("")),O.close();var N=O.parentWindow.Object;return O=null,N},k=function(){var O=f("iframe"),N="java"+z+":",K;return O.style.display="none",m.appendChild(O),O.src=String(N),K=O.contentWindow.document,K.open(),K.write(w("document.F=Object")),K.close(),K.F},M,R=function(){try{M=document.domain&&new ActiveXObject("htmlfile")}catch{}R=M?S(M):k();for(var O=u.length;O--;)delete R[b][u[O]];return R()};d[C]=!0,o.exports=Object.create||function(N,K){var U;return N!==null?(v[b]=a(N),U=new v,v[b]=null,U[C]=N):U=R(),K===void 0?U:l(U,K)}},"7dd0":function(o,s,i){var a=i("23e7"),l=i("9ed3"),u=i("e163"),d=i("d2bb"),m=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),b=i("3f8c"),z=i("ae93"),C=z.IteratorPrototype,v=z.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S="keys",k="values",M="entries",R=function(){return this};o.exports=function(O,N,K,U,j,Q,pe){l(K,N,U);var W=function(Me){if(Me===j&&Ve)return Ve;if(!v&&Me in je)return je[Me];switch(Me){case S:return function(){return new K(this,Me)};case k:return function(){return new K(this,Me)};case M:return function(){return new K(this,Me)}}return function(){return new K(this)}},re=N+" Iterator",oe=!1,je=O.prototype,it=je[w]||je["@@iterator"]||j&&je[j],Ve=!v&&it||W(j),He=N=="Array"&&je.entries||it,at,ut,dt;if(He&&(at=u(He.call(new O)),C!==Object.prototype&&at.next&&(!_&&u(at)!==C&&(d?d(at,C):typeof at[w]!="function"&&f(at,w,R)),m(at,re,!0,!0),_&&(b[re]=R))),j==k&&it&&it.name!==k&&(oe=!0,Ve=function(){return it.call(this)}),(!_||pe)&&je[w]!==Ve&&f(je,w,Ve),b[N]=Ve,j)if(ut={values:W(k),keys:Q?Ve:W(S),entries:W(M)},pe)for(dt in ut)(v||oe||!(dt in je))&&p(je,dt,ut[dt]);else a({target:N,proto:!0,forced:v||oe},ut);return ut}},"7f9a":function(o,s,i){var a=i("da84"),l=i("8925"),u=a.WeakMap;o.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,s,i){var a=i("d039");o.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,s,i){var a=i("c04e"),l=i("9bf2"),u=i("5c6c");o.exports=function(d,m,f){var p=a(m);p in d?l.f(d,p,u(0,f)):d[p]=f}},"861d":function(o,s){o.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(o,s,i){var a,l,u;(function(d,m){l=[],a=m,u=typeof a=="function"?a.apply(s,l):a,u!==void 0&&(o.exports=u)})(typeof self<"u"?self:this,function(){function d(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(M){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(M.stack)||p.exec(M.stack),_=h&&h[1]||!1,b=h&&h[2]||!1,z=document.location.href.replace(document.location.hash,""),C,v,w,S=document.getElementsByTagName("script");_===z&&(C=document.documentElement.outerHTML,v=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),w=C.replace(v,"$1").trim());for(var k=0;k<S.length;k++)if(S[k].readyState==="interactive"||S[k].src===_||_===z&&S[k].innerHTML&&S[k].innerHTML.trim()===w)return S[k];return null}}return d})},8925:function(o,s,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return l.call(u)}),o.exports=a.inspectSource},"8aa5":function(o,s,i){var a=i("6547").charAt;o.exports=function(l,u,d){return u+(d?a(l,u).length:1)}},"8bbf":function(o,s){o.exports=n},"90e3":function(o,s){var i=0,a=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},9112:function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("5c6c");o.exports=a?function(d,m,f){return l.f(d,m,u(1,f))}:function(d,m,f){return d[m]=f,d}},9263:function(o,s,i){var a=i("ad6d"),l=i("9f7f"),u=RegExp.prototype.exec,d=String.prototype.replace,m=u,f=function(){var b=/a/,z=/b*/g;return u.call(b,"a"),u.call(z,"a"),b.lastIndex!==0||z.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(m=function(z){var C=this,v,w,S,k,M=p&&C.sticky,R=a.call(C),O=C.source,N=0,K=z;return M&&(R=R.replace("y",""),R.indexOf("g")===-1&&(R+="g"),K=String(z).slice(C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&z[C.lastIndex-1]!==`
|
||
`)&&(O="(?: "+O+")",K=" "+K,N++),w=new RegExp("^(?:"+O+")",R)),h&&(w=new RegExp("^"+O+"$(?!\\s)",R)),f&&(v=C.lastIndex),S=u.call(M?w:C,K),M?S?(S.input=S.input.slice(N),S[0]=S[0].slice(N),S.index=C.lastIndex,C.lastIndex+=S[0].length):C.lastIndex=0:f&&S&&(C.lastIndex=C.global?S.index+S[0].length:v),h&&S&&S.length>1&&d.call(S[0],w,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(S[k]=void 0)}),S}),o.exports=m},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=u.data={},f=u.NATIVE="N",p=u.POLYFILL="P";o.exports=u},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),z=i("2d00"),C=b("isConcatSpreadable"),v=9007199254740991,w="Maximum allowed index exceeded",S=z>=51||!l(function(){var O=[];return O[C]=!1,O.concat()[0]!==O}),k=_("concat"),M=function(O){if(!d(O))return!1;var N=O[C];return N!==void 0?!!N:u(O)},R=!S||!k;a({target:"Array",proto:!0,forced:R},{concat:function(N){var K=m(this),U=h(K,0),j=0,Q,pe,W,re,oe;for(Q=-1,W=arguments.length;Q<W;Q++)if(oe=Q===-1?K:arguments[Q],M(oe)){if(re=f(oe.length),j+re>v)throw TypeError(w);for(pe=0;pe<re;pe++,j++)pe in oe&&p(U,j,oe[pe])}else{if(j>=v)throw TypeError(w);p(U,j++,oe)}return U.length=j,U}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,u,d,m){try{return m?u(a(d)[0],d[1]):u(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),d=i("c04e"),m=Object.defineProperty;s.f=a?m:function(p,h,_){if(u(p),h=d(h,!0),u(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(o,s,i){var a=i("d039");function l(u,d){return RegExp(u,d)}s.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(o,s,i){var a=i("e8b5"),l=i("50c4"),u=i("0366"),d=function(m,f,p,h,_,b,z,C){for(var v=_,w=0,S=z?u(z,C,3):!1,k;w<h;){if(w in p){if(k=S?S(p[w],w,f):p[w],b>0&&a(k))v=d(m,f,k,l(k.length),v,b-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[v]=k}v++}w++}return v};o.exports=d},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),z=_("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,v=Math.min,w=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!z},{splice:function(M,R){var O=m(this),N=d(O.length),K=l(M,N),U=arguments.length,j,Q,pe,W,re,oe;if(U===0?j=Q=0:U===1?(j=0,Q=N-K):(j=U-2,Q=v(C(u(R),0),N-K)),N+j-Q>w)throw TypeError(S);for(pe=f(O,Q),W=0;W<Q;W++)re=K+W,re in O&&p(pe,W,O[re]);if(pe.length=Q,j<Q){for(W=K;W<N-Q;W++)re=W+Q,oe=W+j,re in O?O[oe]=O[re]:delete O[oe];for(W=N;W>N-Q+j;W--)delete O[W-1]}else if(j>Q)for(W=N-Q;W>K;W--)re=W+Q-1,oe=W+j-1,re in O?O[oe]=O[re]:delete O[oe];for(W=0;W<j;W++)O[W+K]=arguments[W+2];return O.length=N-Q+j,pe}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),u=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),z=i("861d"),C=i("825a"),v=i("7b0b"),w=i("fc6a"),S=i("c04e"),k=i("5c6c"),M=i("7c73"),R=i("df75"),O=i("241c"),N=i("057f"),K=i("7418"),U=i("06cf"),j=i("9bf2"),Q=i("d1e7"),pe=i("9112"),W=i("6eeb"),re=i("5692"),oe=i("f772"),je=i("d012"),it=i("90e3"),Ve=i("b622"),He=i("e538"),at=i("746f"),ut=i("d44e"),dt=i("69f3"),Me=i("b727").forEach,B=oe("hidden"),ce="Symbol",se="prototype",_e=Ve("toPrimitive"),Ue=dt.set,Ge=dt.getterFor(ce),E=Object[se],A=l.Symbol,V=u("JSON","stringify"),Y=U.f,G=j.f,ie=N.f,me=Q.f,te=re("symbols"),le=re("op-symbols"),ee=re("string-to-symbol-registry"),he=re("symbol-to-string-registry"),ke=re("wks"),de=l.QObject,L=!de||!de[se]||!de[se].findChild,q=m&&h(function(){return M(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a!=7})?function(Ae,Se,Te){var Ke=Y(E,Se);Ke&&delete E[Se],G(Ae,Se,Te),Ke&&Ae!==E&&G(E,Se,Ke)}:G,ve=function(Ae,Se){var Te=te[Ae]=M(A[se]);return Ue(Te,{type:ce,tag:Ae,description:Se}),m||(Te.description=Se),Te},I=p?function(Ae){return typeof Ae=="symbol"}:function(Ae){return Object(Ae)instanceof A},D=function(Se,Te,Ke){Se===E&&D(le,Te,Ke),C(Se);var Qe=S(Te,!0);return C(Ke),_(te,Qe)?(Ke.enumerable?(_(Se,B)&&Se[B][Qe]&&(Se[B][Qe]=!1),Ke=M(Ke,{enumerable:k(0,!1)})):(_(Se,B)||G(Se,B,k(1,{})),Se[B][Qe]=!0),q(Se,Qe,Ke)):G(Se,Qe,Ke)},H=function(Se,Te){C(Se);var Ke=w(Te),Qe=R(Ke).concat(De(Ke));return Me(Qe,function(Qt){(!m||ge.call(Ke,Qt))&&D(Se,Qt,Ke[Qt])}),Se},X=function(Se,Te){return Te===void 0?M(Se):H(M(Se),Te)},ge=function(Se){var Te=S(Se,!0),Ke=me.call(this,Te);return this===E&&_(te,Te)&&!_(le,Te)?!1:Ke||!_(this,Te)||!_(te,Te)||_(this,B)&&this[B][Te]?Ke:!0},$e=function(Se,Te){var Ke=w(Se),Qe=S(Te,!0);if(!(Ke===E&&_(te,Qe)&&!_(le,Qe))){var Qt=Y(Ke,Qe);return Qt&&_(te,Qe)&&!(_(Ke,B)&&Ke[B][Qe])&&(Qt.enumerable=!0),Qt}},Re=function(Se){var Te=ie(w(Se)),Ke=[];return Me(Te,function(Qe){!_(te,Qe)&&!_(je,Qe)&&Ke.push(Qe)}),Ke},De=function(Se){var Te=Se===E,Ke=ie(Te?le:w(Se)),Qe=[];return Me(Ke,function(Qt){_(te,Qt)&&(!Te||_(E,Qt))&&Qe.push(te[Qt])}),Qe};if(f||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor");var Se=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Te=it(Se),Ke=function(Qe){this===E&&Ke.call(le,Qe),_(this,B)&&_(this[B],Te)&&(this[B][Te]=!1),q(this,Te,k(1,Qe))};return m&&L&&q(E,Te,{configurable:!0,set:Ke}),ve(Te,Se)},W(A[se],"toString",function(){return Ge(this).tag}),W(A,"withoutSetter",function(Ae){return ve(it(Ae),Ae)}),Q.f=ge,j.f=D,U.f=$e,O.f=N.f=Re,K.f=De,He.f=function(Ae){return ve(Ve(Ae),Ae)},m&&(G(A[se],"description",{configurable:!0,get:function(){return Ge(this).description}}),d||W(E,"propertyIsEnumerable",ge,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:A}),Me(R(ke),function(Ae){at(Ae)}),a({target:ce,stat:!0,forced:!f},{for:function(Ae){var Se=String(Ae);if(_(ee,Se))return ee[Se];var Te=A(Se);return ee[Se]=Te,he[Te]=Se,Te},keyFor:function(Se){if(!I(Se))throw TypeError(Se+" is not a symbol");if(_(he,Se))return he[Se]},useSetter:function(){L=!0},useSimple:function(){L=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!m},{create:X,defineProperty:D,defineProperties:H,getOwnPropertyDescriptor:$e}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Re,getOwnPropertySymbols:De}),a({target:"Object",stat:!0,forced:h(function(){K.f(1)})},{getOwnPropertySymbols:function(Se){return K.f(v(Se))}}),V){var tt=!f||h(function(){var Ae=A();return V([Ae])!="[null]"||V({a:Ae})!="{}"||V(Object(Ae))!="{}"});a({target:"JSON",stat:!0,forced:tt},{stringify:function(Se,Te,Ke){for(var Qe=[Se],Qt=1,Fl;arguments.length>Qt;)Qe.push(arguments[Qt++]);if(Fl=Te,!(!z(Te)&&Se===void 0||I(Se)))return b(Te)||(Te=function(Z1,Pi){if(typeof Fl=="function"&&(Pi=Fl.call(this,Z1,Pi)),!I(Pi))return Pi}),Qe[1]=Te,V.apply(null,Qe)}})}A[se][_e]||pe(A[se],_e,A[se].valueOf),ut(A,ce),je[B]=!0},a630:function(o,s,i){var a=i("23e7"),l=i("4df4"),u=i("1c7e"),d=!u(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:d},{from:l})},a640:function(o,s,i){var a=i("d039");o.exports=function(l,u){var d=[][l];return!!d&&a(function(){d.call(null,u||function(){throw 1},1)})}},a691:function(o,s){var i=Math.ceil,a=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(o,s,i){var a=i("b622"),l=a("match");o.exports=function(u){var d=/./;try{"/./"[u](d)}catch{try{return d[l]=!1,"/./"[u](d)}catch{}}return!1}},ac1f:function(o,s,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,s,i){var a=i("825a");o.exports=function(){var l=a(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}},ae40:function(o,s,i){var a=i("83ab"),l=i("d039"),u=i("5135"),d=Object.defineProperty,m={},f=function(p){throw p};o.exports=function(p,h){if(u(m,p))return m[p];h||(h={});var _=[][p],b=u(h,"ACCESSORS")?h.ACCESSORS:!1,z=u(h,0)?h[0]:f,C=u(h,1)?h[1]:void 0;return m[p]=!!_&&!l(function(){if(b&&!a)return!0;var v={length:-1};b?d(v,1,{enumerable:!0,get:f}):v[1]=1,_.call(v,z,C)})}},ae93:function(o,s,i){var a=i("e163"),l=i("9112"),u=i("5135"),d=i("b622"),m=i("c430"),f=d("iterator"),p=!1,h=function(){return this},_,b,z;[].keys&&(z=[].keys(),"next"in z?(b=a(a(z)),b!==Object.prototype&&(_=b)):p=!0),_==null&&(_={}),!m&&!u(_,f)&&l(_,f,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(o,s,i){var a=i("00ee"),l=i("f5df");o.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,s,i){var a=i("83ab"),l=i("9bf2").f,u=Function.prototype,d=u.toString,m=/^\s*function ([^ (]*)/,f="name";a&&!(f in u)&&l(u,f,{configurable:!0,get:function(){try{return d.call(this).match(m)[1]}catch{return""}}})},b622:function(o,s,i){var a=i("da84"),l=i("5692"),u=i("5135"),d=i("90e3"),m=i("4930"),f=i("fdbf"),p=l("wks"),h=a.Symbol,_=f?h:h&&h.withoutSetter||d;o.exports=function(b){return u(p,b)||(m&&u(h,b)?p[b]=h[b]:p[b]=_("Symbol."+b)),p[b]}},b64b:function(o,s,i){var a=i("23e7"),l=i("7b0b"),u=i("df75"),d=i("d039"),m=d(function(){u(1)});a({target:"Object",stat:!0,forced:m},{keys:function(p){return u(l(p))}})},b727:function(o,s,i){var a=i("0366"),l=i("44ad"),u=i("7b0b"),d=i("50c4"),m=i("65f0"),f=[].push,p=function(h){var _=h==1,b=h==2,z=h==3,C=h==4,v=h==6,w=h==5||v;return function(S,k,M,R){for(var O=u(S),N=l(O),K=a(k,M,3),U=d(N.length),j=0,Q=R||m,pe=_?Q(S,U):b?Q(S,0):void 0,W,re;U>j;j++)if((w||j in N)&&(W=N[j],re=K(W,j,O),h)){if(_)pe[j]=re;else if(re)switch(h){case 3:return!0;case 5:return W;case 6:return j;case 2:f.call(pe,W)}else if(C)return!1}return v?-1:z||C?C:pe}};o.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(o,s,i){var a=i("861d");o.exports=function(l,u){if(!a(l))return l;var d,m;if(u&&typeof(d=l.toString)=="function"&&!a(m=d.call(l))||typeof(d=l.valueOf)=="function"&&!a(m=d.call(l))||!u&&typeof(d=l.toString)=="function"&&!a(m=d.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(o,s){o.exports=!1},c6b6:function(o,s){var i={}.toString;o.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(o,s,i){var a=i("da84"),l=i("ce4e"),u="__core-js_shared__",d=a[u]||l(u,{});o.exports=d},c740:function(o,s,i){var a=i("23e7"),l=i("b727").findIndex,u=i("44d2"),d=i("ae40"),m="findIndex",f=!0,p=d(m);m in[]&&Array(1)[m](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),u(m)},c8ba:function(o,s){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}o.exports=i},c975:function(o,s,i){var a=i("23e7"),l=i("4d64").indexOf,u=i("a640"),d=i("ae40"),m=[].indexOf,f=!!m&&1/[1].indexOf(1,-0)<0,p=u("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!p||!h},{indexOf:function(b){return f?m.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,s,i){var a=i("5135"),l=i("fc6a"),u=i("4d64").indexOf,d=i("d012");o.exports=function(m,f){var p=l(m),h=0,_=[],b;for(b in p)!a(d,b)&&a(p,b)&&_.push(b);for(;f.length>h;)a(p,b=f[h++])&&(~u(_,b)||_.push(b));return _}},caad:function(o,s,i){var a=i("23e7"),l=i("4d64").includes,u=i("44d2"),d=i("ae40"),m=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(o,s,i){var a=i("da84"),l=i("861d"),u=a.document,d=l(u)&&l(u.createElement);o.exports=function(m){return d?u.createElement(m):{}}},ce4e:function(o,s,i){var a=i("da84"),l=i("9112");o.exports=function(u,d){try{l(a,u,d)}catch{a[u]=d}return d}},d012:function(o,s){o.exports={}},d039:function(o,s){o.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(o,s,i){var a=i("428f"),l=i("da84"),u=function(d){return typeof d=="function"?d:void 0};o.exports=function(d,m){return arguments.length<2?u(a[d])||u(l[d]):a[d]&&a[d][m]||l[d]&&l[d][m]}},d1e7:function(o,s,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,u=l&&!a.call({1:2},1);s.f=u?function(m){var f=l(this,m);return!!f&&f.enumerable}:a},d28b:function(o,s,i){var a=i("746f");a("iterator")},d2bb:function(o,s,i){var a=i("825a"),l=i("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,d={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(d,[]),u=d instanceof Array}catch{}return function(p,h){return a(p),l(h),u?m.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(o,s,i){var a=i("00ee"),l=i("6eeb"),u=i("b041");a||l(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(o,s,i){var a=i("9bf2").f,l=i("5135"),u=i("b622"),d=u("toStringTag");o.exports=function(m,f,p){m&&!l(m=p?m:m.prototype,d)&&a(m,d,{configurable:!0,value:f})}},d58f:function(o,s,i){var a=i("1c0b"),l=i("7b0b"),u=i("44ad"),d=i("50c4"),m=function(f){return function(p,h,_,b){a(h);var z=l(p),C=u(z),v=d(z.length),w=f?v-1:0,S=f?-1:1;if(_<2)for(;;){if(w in C){b=C[w],w+=S;break}if(w+=S,f?w<0:v<=w)throw TypeError("Reduce of empty array with no initial value")}for(;f?w>=0:v>w;w+=S)w in C&&(b=h(b,C[w],w,z));return b}};o.exports={left:m(!1),right:m(!0)}},d784:function(o,s,i){i("ac1f");var a=i("6eeb"),l=i("d039"),u=i("b622"),d=i("9263"),m=i("9112"),f=u("species"),p=!l(function(){var C=/./;return C.exec=function(){var v=[];return v.groups={a:"7"},v},"".replace(C,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=u("replace"),b=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),z=!l(function(){var C=/(?:)/,v=C.exec;C.exec=function(){return v.apply(this,arguments)};var w="ab".split(C);return w.length!==2||w[0]!=="a"||w[1]!=="b"});o.exports=function(C,v,w,S){var k=u(C),M=!l(function(){var j={};return j[k]=function(){return 7},""[C](j)!=7}),R=M&&!l(function(){var j=!1,Q=/a/;return C==="split"&&(Q={},Q.constructor={},Q.constructor[f]=function(){return Q},Q.flags="",Q[k]=/./[k]),Q.exec=function(){return j=!0,null},Q[k](""),!j});if(!M||!R||C==="replace"&&!(p&&h&&!b)||C==="split"&&!z){var O=/./[k],N=w(k,""[C],function(j,Q,pe,W,re){return Q.exec===d?M&&!re?{done:!0,value:O.call(Q,pe,W)}:{done:!0,value:j.call(pe,Q,W)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),K=N[0],U=N[1];a(String.prototype,C,K),a(RegExp.prototype,k,v==2?function(j,Q){return U.call(j,this,Q)}:function(j){return U.call(j,this)})}S&&m(RegExp.prototype[k],"sham",!0)}},d81d:function(o,s,i){var a=i("23e7"),l=i("b727").map,u=i("1dde"),d=i("ae40"),m=u("map"),f=d("map");a({target:"Array",proto:!0,forced:!m||!f},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,s,i){(function(a){var l=function(u){return u&&u.Math==Math&&u};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(o,s,i){var a=i("23e7"),l=i("83ab"),u=i("56ef"),d=i("fc6a"),m=i("06cf"),f=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),b=m.f,z=u(_),C={},v=0,w,S;z.length>v;)S=b(_,w=z[v++]),S!==void 0&&f(C,w,S);return C}})},dbf1:function(o,s,i){(function(a){i.d(s,"a",function(){return u});function l(){return typeof window<"u"?window.console:a.console}var u=l()}).call(this,i("c8ba"))},ddb0:function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("e260"),d=i("9112"),m=i("b622"),f=m("iterator"),p=m("toStringTag"),h=u.values;for(var _ in l){var b=a[_],z=b&&b.prototype;if(z){if(z[f]!==h)try{d(z,f,h)}catch{z[f]=h}if(z[p]||d(z,p,_),l[_]){for(var C in u)if(z[C]!==u[C])try{d(z,C,u[C])}catch{z[C]=u[C]}}}}},df75:function(o,s,i){var a=i("ca84"),l=i("7839");o.exports=Object.keys||function(d){return a(d,l)}},e01a:function(o,s,i){var a=i("23e7"),l=i("83ab"),u=i("da84"),d=i("5135"),m=i("861d"),f=i("9bf2").f,p=i("e893"),h=u.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},b=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),M=this instanceof b?new h(k):k===void 0?h():h(k);return k===""&&(_[M]=!0),M};p(b,h);var z=b.prototype=h.prototype;z.constructor=b;var C=z.toString,v=String(h("test"))=="Symbol(test)",w=/^Symbol\((.*)\)[^)]+$/;f(z,"description",{configurable:!0,get:function(){var k=m(this)?this.valueOf():this,M=C.call(k);if(d(_,k))return"";var R=v?M.slice(7,-1):M.replace(w,"$1");return R===""?void 0:R}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(o,s,i){var a=i("5135"),l=i("7b0b"),u=i("f772"),d=i("e177"),m=u("IE_PROTO"),f=Object.prototype;o.exports=d?Object.getPrototypeOf:function(p){return p=l(p),a(p,m)?p[m]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(o,s,i){var a=i("d039");o.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,s,i){var a=i("fc6a"),l=i("44d2"),u=i("3f8c"),d=i("69f3"),m=i("7dd0"),f="Array Iterator",p=d.set,h=d.getterFor(f);o.exports=m(Array,"Array",function(_,b){p(this,{type:f,target:a(_),index:0,kind:b})},function(){var _=h(this),b=_.target,z=_.kind,C=_.index++;return!b||C>=b.length?(_.target=void 0,{value:void 0,done:!0}):z=="keys"?{value:C,done:!1}:z=="values"?{value:b[C],done:!1}:{value:[C,b[C]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},e439:function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("fc6a"),d=i("06cf").f,m=i("83ab"),f=l(function(){d(1)}),p=!m||f;a({target:"Object",stat:!0,forced:p,sham:!m},{getOwnPropertyDescriptor:function(_,b){return d(u(_),b)}})},e538:function(o,s,i){var a=i("b622");s.f=a},e893:function(o,s,i){var a=i("5135"),l=i("56ef"),u=i("06cf"),d=i("9bf2");o.exports=function(m,f){for(var p=l(f),h=d.f,_=u.f,b=0;b<p.length;b++){var z=p[b];a(m,z)||h(m,z,_(f,z))}}},e8b5:function(o,s,i){var a=i("c6b6");o.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(o,s,i){var a=i("b622"),l=i("3f8c"),u=a("iterator"),d=Array.prototype;o.exports=function(m){return m!==void 0&&(l.Array===m||d[u]===m)}},f5df:function(o,s,i){var a=i("00ee"),l=i("c6b6"),u=i("b622"),d=u("toStringTag"),m=l(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};o.exports=a?l:function(p){var h,_,b;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),d))=="string"?_:m?l(h):(b=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":b}},f772:function(o,s,i){var a=i("5692"),l=i("90e3"),u=a("keys");o.exports=function(d){return u[d]||(u[d]=l(d))}},fb15:function(o,s,i){if(i.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=i("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var u=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(i.p=u[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function d(I,D,H){return D in I?Object.defineProperty(I,D,{value:H,enumerable:!0,configurable:!0,writable:!0}):I[D]=H,I}function m(I,D){var H=Object.keys(I);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(I);D&&(X=X.filter(function(ge){return Object.getOwnPropertyDescriptor(I,ge).enumerable})),H.push.apply(H,X)}return H}function f(I){for(var D=1;D<arguments.length;D++){var H=arguments[D]!=null?arguments[D]:{};D%2?m(Object(H),!0).forEach(function(X){d(I,X,H[X])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(H)):m(Object(H)).forEach(function(X){Object.defineProperty(I,X,Object.getOwnPropertyDescriptor(H,X))})}return I}function p(I){if(Array.isArray(I))return I}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(I,D){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(I)))){var H=[],X=!0,ge=!1,$e=void 0;try{for(var Re=I[Symbol.iterator](),De;!(X=(De=Re.next()).done)&&(H.push(De.value),!(D&&H.length===D));X=!0);}catch(tt){ge=!0,$e=tt}finally{try{!X&&Re.return!=null&&Re.return()}finally{if(ge)throw $e}}return H}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(I,D){(D==null||D>I.length)&&(D=I.length);for(var H=0,X=new Array(D);H<D;H++)X[H]=I[H];return X}function b(I,D){if(I){if(typeof I=="string")return _(I,D);var H=Object.prototype.toString.call(I).slice(8,-1);if(H==="Object"&&I.constructor&&(H=I.constructor.name),H==="Map"||H==="Set")return Array.from(I);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return _(I,D)}}function z(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(I,D){return p(I)||h(I,D)||b(I,D)||z()}function v(I){if(Array.isArray(I))return _(I)}function w(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(I){return v(I)||w(I)||b(I)||S()}var M=i("a352"),R=i.n(M);function O(I){I.parentElement!==null&&I.parentElement.removeChild(I)}function N(I,D,H){var X=H===0?I.children[0]:I.children[H-1].nextSibling;I.insertBefore(D,X)}var K=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(I){var D=Object.create(null);return function(X){var ge=D[X];return ge||(D[X]=I(X))}}var j=/-(\w)/g,Q=U(function(I){return I.replace(j,function(D,H){return H.toUpperCase()})});i("5db7"),i("73d9");var pe=["Start","Add","Remove","Update","End"],W=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],oe=[re,pe,W].flatMap(function(I){return I}).map(function(I){return"on".concat(I)}),je={manage:re,manageAndEmit:pe,emit:W};function it(I){return oe.indexOf(I)!==-1}i("caad"),i("2ca0");var Ve=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function He(I){return Ve.includes(I)}function at(I){return["transition-group","TransitionGroup"].includes(I)}function ut(I){return["id","class","role","style"].includes(I)||I.startsWith("data-")||I.startsWith("aria-")||I.startsWith("on")}function dt(I){return I.reduce(function(D,H){var X=C(H,2),ge=X[0],$e=X[1];return D[ge]=$e,D},{})}function Me(I){var D=I.$attrs,H=I.componentData,X=H===void 0?{}:H,ge=dt(Object.entries(D).filter(function($e){var Re=C($e,2),De=Re[0];return Re[1],ut(De)}));return f(f({},ge),X)}function B(I){var D=I.$attrs,H=I.callBackBuilder,X=dt(ce(D));Object.entries(H).forEach(function($e){var Re=C($e,2),De=Re[0],tt=Re[1];je[De].forEach(function(Ae){X["on".concat(Ae)]=tt(Ae)})});var ge="[data-draggable]".concat(X.draggable||"");return f(f({},X),{},{draggable:ge})}function ce(I){return Object.entries(I).filter(function(D){var H=C(D,2),X=H[0];return H[1],!ut(X)}).map(function(D){var H=C(D,2),X=H[0],ge=H[1];return[Q(X),ge]}).filter(function(D){var H=C(D,2),X=H[0];return H[1],!it(X)})}i("c740");function se(I,D){if(!(I instanceof D))throw new TypeError("Cannot call a class as a function")}function _e(I,D){for(var H=0;H<D.length;H++){var X=D[H];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(I,X.key,X)}}function Ue(I,D,H){return D&&_e(I.prototype,D),H&&_e(I,H),I}var Ge=function(D){var H=D.el;return H},E=function(D,H){return D.__draggable_context=H},A=function(D){return D.__draggable_context},V=function(){function I(D){var H=D.nodes,X=H.header,ge=H.default,$e=H.footer,Re=D.root,De=D.realList;se(this,I),this.defaultNodes=ge,this.children=[].concat(k(X),k(ge),k($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(I,[{key:"render",value:function(H,X){var ge=this.tag,$e=this.children,Re=this._isRootComponent,De=Re?{default:function(){return $e}}:$e;return H(ge,X,De)}},{key:"updated",value:function(){var H=this.defaultNodes,X=this.realList;H.forEach(function(ge,$e){E(Ge(ge),{element:X[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(H){return A(H)}},{key:"getVmIndexFromDomIndex",value:function(H,X){var ge=this.defaultNodes,$e=ge.length,Re=X.children,De=Re.item(H);if(De===null)return $e;var tt=A(De);if(tt)return tt.index;if($e===0)return 0;var Ae=Ge(ge[0]),Se=k(Re).findIndex(function(Te){return Te===Ae});return H<Se?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),I}(),Y=i("8bbf");function G(I,D){var H=I[D];return H?H():[]}function ie(I){var D=I.$slots,H=I.realList,X=I.getKey,ge=H||[],$e=["header","footer"].map(function(Te){return G(D,Te)}),Re=C($e,2),De=Re[0],tt=Re[1],Ae=D.item;if(!Ae)throw new Error("draggable element must have an item slot");var Se=ge.flatMap(function(Te,Ke){return Ae({element:Te,index:Ke}).map(function(Qe){return Qe.key=X(Te),Qe.props=f(f({},Qe.props||{}),{},{"data-draggable":!0}),Qe})});if(Se.length!==ge.length)throw new Error("Item slot must have only one child");return{header:De,footer:tt,default:Se}}function me(I){var D=at(I),H=!He(I)&&!D;return{transition:D,externalComponent:H,tag:H?Object(Y.resolveComponent)(I):D?Y.TransitionGroup:I}}function te(I){var D=I.$slots,H=I.tag,X=I.realList,ge=I.getKey,$e=ie({$slots:D,realList:X,getKey:ge}),Re=me(H);return new V({nodes:$e,root:Re,realList:X})}function le(I,D){var H=this;Object(Y.nextTick)(function(){return H.$emit(I.toLowerCase(),D)})}function ee(I){var D=this;return function(H,X){if(D.realList!==null)return D["onDrag".concat(I)](H,X)}}function he(I){var D=this,H=ee.call(this,I);return function(X,ge){H.call(D,X,ge),le.call(D,I,X)}}var ke=null,de={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(D){return D}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},L=["update:modelValue","change"].concat(k([].concat(k(je.manageAndEmit),k(je.emit)).map(function(I){return I.toLowerCase()}))),q=Object(Y.defineComponent)({name:"draggable",inheritAttrs:!1,props:de,emits:L,data:function(){return{error:!1}},render:function(){try{this.error=!1;var D=this.$slots,H=this.$attrs,X=this.tag,ge=this.componentData,$e=this.realList,Re=this.getKey,De=te({$slots:D,tag:X,realList:$e,getKey:Re});this.componentStructure=De;var tt=Me({$attrs:H,componentData:ge});return De.render(Y.h,tt)}catch(Ae){return this.error=!0,Object(Y.h)("pre",{style:{color:"red"}},Ae.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&K.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var D=this;if(!this.error){var H=this.$attrs,X=this.$el,ge=this.componentStructure;ge.updated();var $e=B({$attrs:H,callBackBuilder:{manageAndEmit:function(tt){return he.call(D,tt)},emit:function(tt){return le.bind(D,tt)},manage:function(tt){return ee.call(D,tt)}}}),Re=X.nodeType===1?X:X.parentElement;this._sortable=new R.a(Re,$e),this.targetDomElement=Re,Re.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var D=this.list;return D||this.modelValue},getKey:function(){var D=this.itemKey;return typeof D=="function"?D:function(H){return H[D]}}},watch:{$attrs:{handler:function(D){var H=this._sortable;H&&ce(D).forEach(function(X){var ge=C(X,2),$e=ge[0],Re=ge[1];H.option($e,Re)})},deep:!0}},methods:{getUnderlyingVm:function(D){return this.componentStructure.getUnderlyingVm(D)||null},getUnderlyingPotencialDraggableComponent:function(D){return D.__draggable_component__},emitChanges:function(D){var H=this;Object(Y.nextTick)(function(){return H.$emit("change",D)})},alterList:function(D){if(this.list){D(this.list);return}var H=k(this.modelValue);D(H),this.$emit("update:modelValue",H)},spliceList:function(){var D=arguments,H=function(ge){return ge.splice.apply(ge,k(D))};this.alterList(H)},updatePosition:function(D,H){var X=function($e){return $e.splice(H,0,$e.splice(D,1)[0])};this.alterList(X)},getRelatedContextFromMoveEvent:function(D){var H=D.to,X=D.related,ge=this.getUnderlyingPotencialDraggableComponent(H);if(!ge)return{component:ge};var $e=ge.realList,Re={list:$e,component:ge};if(H!==X&&$e){var De=ge.getUnderlyingVm(X)||{};return f(f({},De),Re)}return Re},getVmIndexFromDomIndex:function(D){return this.componentStructure.getVmIndexFromDomIndex(D,this.targetDomElement)},onDragStart:function(D){this.context=this.getUnderlyingVm(D.item),D.item._underlying_vm_=this.clone(this.context.element),ke=D.item},onDragAdd:function(D){var H=D.item._underlying_vm_;if(H!==void 0){O(D.item);var X=this.getVmIndexFromDomIndex(D.newIndex);this.spliceList(X,0,H);var ge={element:H,newIndex:X};this.emitChanges({added:ge})}},onDragRemove:function(D){if(N(this.$el,D.item,D.oldIndex),D.pullMode==="clone"){O(D.clone);return}var H=this.context,X=H.index,ge=H.element;this.spliceList(X,1);var $e={element:ge,oldIndex:X};this.emitChanges({removed:$e})},onDragUpdate:function(D){O(D.item),N(D.from,D.item,D.oldIndex);var H=this.context.index,X=this.getVmIndexFromDomIndex(D.newIndex);this.updatePosition(H,X);var ge={element:this.context.element,oldIndex:H,newIndex:X};this.emitChanges({moved:ge})},computeFutureIndex:function(D,H){if(!D.element)return 0;var X=k(H.to.children).filter(function(De){return De.style.display!=="none"}),ge=X.indexOf(H.related),$e=D.component.getVmIndexFromDomIndex(ge),Re=X.indexOf(ke)!==-1;return Re||!H.willInsertAfter?$e:$e+1},onDragMove:function(D,H){var X=this.move,ge=this.realList;if(!X||!ge)return!0;var $e=this.getRelatedContextFromMoveEvent(D),Re=this.computeFutureIndex($e,D),De=f(f({},this.context),{},{futureIndex:Re}),tt=f(f({},D),{},{relatedContext:$e,draggedContext:De});return X(tt,H)},onDragEnd:function(){ke=null}}}),ve=q;s.default=ve},fb6a:function(o,s,i){var a=i("23e7"),l=i("861d"),u=i("e8b5"),d=i("23cb"),m=i("50c4"),f=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),b=i("ae40"),z=_("slice"),C=b("slice",{ACCESSORS:!0,0:0,1:2}),v=h("species"),w=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!z||!C},{slice:function(M,R){var O=f(this),N=m(O.length),K=d(M,N),U=d(R===void 0?N:R,N),j,Q,pe;if(u(O)&&(j=O.constructor,typeof j=="function"&&(j===Array||u(j.prototype))?j=void 0:l(j)&&(j=j[v],j===null&&(j=void 0)),j===Array||j===void 0))return w.call(O,K,U);for(Q=new(j===void 0?Array:j)(S(U-K,0)),pe=0;K<U;K++,pe++)K in O&&p(Q,pe,O[K]);return Q.length=pe,Q}})},fc6a:function(o,s,i){var a=i("44ad"),l=i("1d80");o.exports=function(u){return a(l(u))}},fdbc:function(o,s){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,s,i){var a=i("4930");o.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(I1);var gU=I1.exports;const yU=El(gU),vU={name:"PageQueue",components:{ContentWithHeading:Xe,ListItemQueueItem:Q9,ModalDialogAddUrlStream:_H,ModalDialogPlaylistSave:IH,ModalDialogQueueItem:P1,draggable:yU},data(){return{edit_mode:!1,selected_item:{},show_details_modal:!1,show_pls_save_modal:!1,show_url_modal:!1}},computed:{current_position(){var e;return((e=this.$store.getters.now_playing)==null?void 0:e.position)??-1},is_queue_save_allowed(){return this.$store.state.config.allow_modifying_stored_playlists&&this.$store.state.config.default_playlist_directory},queue(){return this.$store.state.queue},queue_items:{get(){return this.$store.state.queue.items},set(e){}},show_only_next_items(){return this.$store.state.show_only_next_items},state(){return this.$store.state.player}},methods:{move_item(e){const t=e.oldIndex+(this.show_only_next_items&&this.current_position),n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&F.queue_move(n.id,r)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog(){this.show_url_modal=!0},queue_clear(){F.queue_clear()},remove(e){F.queue_remove(e.id)},update_show_next_items(){this.$store.commit(uh,!this.show_only_next_items)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},bU=["textContent"],zU=["textContent"],CU={class:"buttons is-centered"},wU=["textContent"],xU=["textContent"],kU=["disabled"],SU=["textContent"],EU=["disabled"],$U=["textContent"],TU=["disabled"],AU=["textContent"],OU=["onClick"],PU=["onClick"];function IU(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-item-queue-item"),l=$("draggable"),u=$("modal-dialog-queue-item"),d=$("modal-dialog-add-url-stream"),m=$("modal-dialog-playlist-save"),f=$("content-with-heading");return x(),T("div",null,[y(f,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,bU),c("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:s.queue.count}))},null,8,zU)]),"heading-right":P(()=>[c("div",CU,[c("button",{class:we(["button is-small",{"is-info":s.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>s.update_show_next_items&&s.update_show_next_items(...p))},[y(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),c("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,wU)],2),c("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[y(i,{class:"icon",name:"web",size:"16"}),c("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,xU)]),c("button",{class:we(["button is-small",{"is-info":o.edit_mode}]),disabled:s.queue_items.length===0,onClick:t[2]||(t[2]=p=>o.edit_mode=!o.edit_mode)},[y(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:g(e.$t("page.queue.edit"))},null,8,SU)],10,kU),c("button",{class:"button is-small",disabled:s.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>s.queue_clear&&s.queue_clear(...p))},[y(i,{class:"icon",name:"delete-empty",size:"16"}),c("span",{textContent:g(e.$t("page.queue.clear"))},null,8,$U)],8,EU),s.is_queue_save_allowed?(x(),T("button",{key:0,class:"button is-small",disabled:s.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>s.save_dialog&&s.save_dialog(...p))},[y(i,{class:"icon",name:"content-save",size:"16"}),c("span",{textContent:g(e.$t("page.queue.save"))},null,8,AU)],8,TU)):Z("",!0)])]),content:P(()=>[y(l,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>s.queue_items=p),handle:".handle","item-key":"id",onEnd:s.move_item},{item:P(({element:p,index:h})=>[y(a,{item:p,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:P(()=>[o.edit_mode?Z("",!0):(x(),T("a",{key:0,onClick:ht(_=>s.open_dialog(p),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,OU)),p.id!==s.state.item_id&&o.edit_mode?(x(),T("a",{key:1,onClick:ht(_=>s.remove(p),["prevent","stop"])},[y(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,PU)):Z("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),y(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=p=>o.show_details_modal=!1)},null,8,["show","item"]),y(d,{show:o.show_url_modal,onClose:t[7]||(t[7]=p=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?(x(),Ce(m,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):Z("",!0)]),_:1})])}const DU=ne(vU,[["render",IU]]),eh={load(e){return F.library_radio_streams()},set(e,t){e.tracks=new Ee(t.data.tracks)}},RU={name:"PageRadioStreams",components:{ContentWithHeading:Xe,ListTracks:dn},beforeRouteEnter(e,t,n){eh.load(e).then(r=>{n(o=>eh.set(o,r))})},data(){return{tracks:new Ee}}},LU=["textContent"],NU=["textContent"];function MU(e,t,n,r,o,s){const i=$("list-tracks"),a=$("content-with-heading");return x(),T("div",null,[y(a,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,LU),c("p",{class:"heading",textContent:g(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,NU)]),content:P(()=>[y(i,{items:o.tracks},null,8,["items"])]),_:1})])}const FU=ne(RU,[["render",MU]]),VU={name:"TabsSearch",emits:["search-library","search-spotify"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},HU={key:0,class:"section"},UU={class:"container"},jU={class:"columns is-centered"},BU={class:"column is-four-fifths"},WU={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},qU=["textContent"],GU=["textContent"];function KU(e,t,n,r,o,s){const i=$("mdicon");return s.spotify_enabled?(x(),T("section",HU,[c("div",UU,[c("div",jU,[c("div",BU,[c("div",WU,[c("ul",null,[c("li",{class:we({"is-active":e.$route.name==="search-library"})},[c("a",{onClick:t[0]||(t[0]=a=>e.$emit("search-library"))},[y(i,{class:"icon is-small",name:"bookshelf",size:"16"}),c("span",{textContent:g(e.$t("page.search.tabs.library"))},null,8,qU)])],2),c("li",{class:we({"is-active":e.$route.name==="search-spotify"})},[c("a",{onClick:t[1]||(t[1]=a=>e.$emit("search-spotify"))},[y(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{textContent:g(e.$t("page.search.tabs.spotify"))},null,8,GU)])],2)])])])])])])):Z("",!0)}const W1=ne(VU,[["render",KU]]),Sc=3,Ec=["track","artist","album","composer","playlist","audiobook","podcast"],ZU={name:"PageSearchLibrary",components:{ContentWithHeading:Xe,ListAlbums:vn,ListArtists:Wa,ListComposers:wu,ListPlaylists:qa,ListTracks:dn,TabsSearch:W1},data(){return{components:{album:vn.name,artist:Wa.name,audiobook:vn.name,composer:wu.name,playlist:qa.name,podcast:vn.name,track:dn.name},results:new Map,search_limit:{},search_query:"",search_types:Ec}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.$store.state.recent_searches}},watch:{search_query(){this.$store.commit(Au,this.search_query)}},mounted(){this.$store.commit(Ou,this.$route.name),this.search_query=this.$store.state.search_query,this.search_limit=Sc,this.search()},methods:{expand(e){this.search_query=this.$store.state.search_query,this.search_types=[e],this.search_limit=-1,this.search()},open_search(e){this.search_query=e,this.search_types=Ec,this.search_limit=Sc,this.search()},remove_search(e){this.$store.dispatch("remove_recent_search",e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,new Ee)})},search(e){if(e&&(this.search_types=Ec,this.search_limit=Sc),!this.search_query||!this.search_query.replace(/^query:/u,"")){this.$refs.search_field.focus();return}this.reset(),this.search_types.forEach(t=>{this.search_items(t)}),this.$store.dispatch("add_recent_search",this.search_query)},search_items(e){const t=e!=="audiobook"&&e!=="podcast",n=t?"music":e,r={type:t?e:"album",limit:this.search_limit};this.search_query.startsWith("query:")?r.expression=`(${this.search_query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:t?(r.query=this.search_query,r.media_kind=n):r.expression=`(album includes "${this.search_query}" or artist includes "${this.search_query}") and media_kind is ${n}`,F.search(r).then(({data:o})=>{this.results.set(e,new Ee(o[`${r.type}s`]))})},search_spotify(){this.$router.push({name:"search-spotify"})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},YU={class:"section pb-0"},JU={class:"container"},XU={class:"columns is-centered"},QU={class:"column is-four-fifths"},ej={class:"field"},tj={class:"control has-icons-left"},nj=["placeholder"],rj=c("code",null,"query:",-1),oj=["textContent"],sj={class:"field is-grouped is-grouped-multiline mt-4"},ij={class:"tags has-addons"},aj=["onClick","textContent"],lj=["onClick"],cj=["textContent"],uj={key:0,class:"level"},dj={class:"level-item"},mj=["onClick","textContent"],fj={key:1,class:"has-text-centered-mobile"},pj=["textContent"];function hj(e,t,n,r,o,s){const i=$("mdicon"),a=$("i18n-t"),l=$("tabs-search"),u=$("content-with-heading");return x(),T(be,null,[c("section",YU,[c("div",JU,[c("div",XU,[c("div",QU,[c("form",{onSubmit:t[1]||(t[1]=ht((...d)=>s.search&&s.search(...d),["prevent"]))},[c("div",ej,[c("p",tj,[ft(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>o.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,nj),[[un,o.search_query]]),y(i,{class:"icon is-left",name:"magnify",size:"16"})]),y(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:P(()=>[rj]),help:P(()=>[c("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,oj)]),_:1})])],32),c("div",sj,[(x(!0),T(be,null,zt(s.recent_searches,d=>(x(),T("div",{key:d,class:"control"},[c("div",ij,[c("a",{class:"tag",onClick:m=>s.open_search(d),textContent:g(d)},null,8,aj),c("a",{class:"tag is-delete",onClick:m=>s.remove_search(d)},null,8,lj)])]))),128))])])])])]),y(l,{onSearchLibrary:s.search,onSearchSpotify:s.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),T(be,null,zt(o.results,([d,m])=>(x(),Ce(u,{key:d,class:"pt-0"},hd({"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t(`page.search.${d}s`))},null,8,cj)]),content:P(()=>[(x(),Ce(_l(o.components[d]),{items:m},null,8,["items"]))]),_:2},[s.expanded?void 0:{name:"footer",fn:P(()=>[s.show_all_button(m)?(x(),T("nav",uj,[c("p",dj,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(d),textContent:g(e.$t(`page.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,mj)])])):Z("",!0),m.total?Z("",!0):(x(),T("p",fj,[c("i",{textContent:g(e.$t("page.search.no-results"))},null,8,pj)]))]),key:"0"}]),1024))),128))],64)}const _j=ne(ZU,[["render",hj]]),gj={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:E1},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"music-spotify-artist",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},yj=["onClick"],vj=["textContent"],bj={class:"media-right"},zj=["onClick"];function Cj(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-artist-spotify");return x(),T(be,null,[(x(!0),T(be,null,zt(n.items,l=>(x(),T("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:"media-content is-clickable is-clipped",onClick:u=>s.open(l)},[c("h1",{class:"title is-6",textContent:g(l.name)},null,8,vj)],8,yj),c("div",bj,[c("a",{onClick:ht(u=>s.open_dialog(l),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,zj)])]))),128)),(x(),Ce(Dn,{to:"#app"},[y(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const th=ne(gj,[["render",Cj]]),$c=3,Tc=50,Ac=["track","artist","album","playlist"],wj={name:"PageSearchSpotify",components:{ContentWithHeading:Xe,ListAlbumsSpotify:hi,ListArtistsSpotify:th,ListPlaylistsSpotify:Ga,ListTracksSpotify:Ba,TabsSearch:W1,VueEternalLoading:Fd},data(){return{components:{album:hi.name,artist:th.name,playlist:Ga.name,track:Ba.name},results:new Map,search_parameters:{},search_query:"",search_types:Ac}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.$store.state.recent_searches.filter(e=>!e.startsWith("query:"))}},watch:{search_query(){this.$store.commit(Au,this.search_query)}},mounted(){this.$store.commit(Ou,this.$route.name),this.search_query=this.$store.state.search_query,this.search_parameters.limit=$c,this.search()},methods:{expand(e){this.search_query=this.$store.state.search_query,this.search_types=[e],this.search_parameters.limit=Tc,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=Ac,this.search_parameters.limit=$c,this.search_parameters.offset=0,this.search()},remove_search(e){this.$store.dispatch("remove_recent_search",e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,{items:[],total:0})})},search(e){if(e&&(this.search_types=Ac,this.search_parameters.limit=$c),!this.search_query){this.$refs.search_field.focus();return}this.reset(),this.search_items().then(t=>{this.search_types.forEach(n=>{this.results.set(n,t[`${n}s`])})}),this.$store.dispatch("add_recent_search",this.search_query)},search_items(){return F.spotify().then(({data:e})=>{this.search_parameters.market=e.webapi_country;const t=new Zn;return t.setAccessToken(e.webapi_token),t.search(this.search_query,this.search_types,this.search_parameters)})},search_library(){this.$router.push({name:"search-library"})},search_next({loaded:e}){const[t]=this.search_types,n=this.results.get(t);this.search_parameters.limit=Tc,this.search_items().then(r=>{const[o]=Object.values(r);n.items.push(...o.items),n.total=o.total,this.search_parameters.offset||(this.search_parameters.offset=0),this.search_parameters.offset+=o.limit,e(o.items.length,Tc)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},xj={class:"section pb-0"},kj={class:"container"},Sj={class:"columns is-centered"},Ej={class:"column is-four-fifths"},$j={class:"field"},Tj={class:"control has-icons-left"},Aj=["placeholder"],Oj={class:"field is-grouped is-grouped-multiline mt-4"},Pj={class:"tags has-addons"},Ij=["onClick","textContent"],Dj=["onClick"],Rj=["textContent"],Lj={class:"columns is-centered"},Nj={class:"column has-text-centered"},Mj={key:0,class:"level"},Fj={class:"level-item"},Vj=["onClick","textContent"],Hj={key:1,class:"has-text-centered-mobile"},Uj=["textContent"];function jj(e,t,n,r,o,s){const i=$("mdicon"),a=$("tabs-search"),l=$("VueEternalLoading"),u=$("content-with-heading");return x(),T(be,null,[c("section",xj,[c("div",kj,[c("div",Sj,[c("div",Ej,[c("form",{onSubmit:t[1]||(t[1]=ht((...d)=>s.search&&s.search(...d),["prevent"]))},[c("div",$j,[c("p",Tj,[ft(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>o.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,Aj),[[un,o.search_query]]),y(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),c("div",Oj,[(x(!0),T(be,null,zt(s.recent_searches,d=>(x(),T("div",{key:d,class:"control"},[c("div",Pj,[c("a",{class:"tag",onClick:m=>s.open_search(d),textContent:g(d)},null,8,Ij),c("a",{class:"tag is-delete",onClick:m=>s.remove_search(d)},null,8,Dj)])]))),128))])])])])]),y(a,{onSearchLibrary:s.search_library,onSearchSpotify:s.search},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),T(be,null,zt(o.results,([d,m])=>(x(),Ce(u,{key:d,class:"pt-0"},hd({"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t(`page.spotify.search.${d}s`))},null,8,Rj)]),content:P(()=>[(x(),Ce(_l(o.components[d]),{items:m.items},null,8,["items"])),s.expanded?(x(),Ce(l,{key:0,load:s.search_next},{loading:P(()=>[c("div",Lj,[c("div",Nj,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":P(()=>[wt(" ")]),_:1},8,["load"])):Z("",!0)]),_:2},[s.expanded?void 0:{name:"footer",fn:P(()=>[s.show_all_button(m)?(x(),T("nav",Mj,[c("p",Fj,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(d),textContent:g(e.$t(`page.spotify.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,Vj)])])):Z("",!0),m.total?Z("",!0):(x(),T("p",Hj,[c("i",{textContent:g(e.$t("page.spotify.search.no-results"))},null,8,Uj)]))]),key:"0"}]),1024))),128))],64)}const Bj=ne(wj,[["render",jj]]),Wj={name:"SettingsCheckbox",props:{category_name:{required:!0,type:String},option_name:{required:!0,type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.is_success?this.$t("setting.saved"):this.is_error?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},option(){const e=this.$store.getters.settings_option(this.category_name,this.option_name);return e||{category:this.category_name,name:this.option_name,value:!1}}},methods:{clear_status(){this.is_error&&(this.option.value=!this.option.value),this.statusUpdate=""},update_setting(){this.timerId=-1;const e={category:this.category_name,name:this.option_name,value:this.option.value};F.settings_update(this.category_name,e).then(()=>{this.$store.dispatch("update_settings_option",e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},qj={class:"field"},Gj=["id"],Kj=["for"],Zj=["textContent"],Yj={key:0,class:"help"};function Jj(e,t,n,r,o,s){return x(),T("div",qj,[ft(c("input",{id:s.option.name,"onUpdate:modelValue":t[0]||(t[0]=i=>s.option.value=i),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...i)=>s.update_setting&&s.update_setting(...i))},null,40,Gj),[[On,s.option.value]]),c("label",{class:"pt-0",for:s.option.name},[yt(e.$slots,"label")],8,Kj),c("i",{class:we(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,Zj),e.$slots.info?(x(),T("p",Yj,[yt(e.$slots,"info")])):Z("",!0)])}const q1=ne(Wj,[["render",Jj]]),Xj={name:"TabsSettings"},Qj={class:"section fd-tabs-section"},eB={class:"container"},tB={class:"columns is-centered"},nB={class:"column is-four-fifths"},rB={class:"tabs is-centered is-small"},oB=["onClick","onKeypress"],sB=["textContent"],iB=["onClick","onKeypress"],aB=["textContent"],lB=["onClick","onKeypress"],cB=["textContent"],uB=["onClick","onKeypress"],dB=["textContent"];function mB(e,t,n,r,o,s){const i=$("router-link");return x(),T("section",Qj,[c("div",eB,[c("div",tB,[c("div",nB,[c("div",rB,[c("ul",null,[y(i,{to:{name:"settings-webinterface"},custom:""},{default:P(({navigate:a,isActive:l})=>[c("li",{class:we({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,sB)],40,oB)],2)]),_:1}),y(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:P(({navigate:a,isActive:l})=>[c("li",{class:we({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,aB)],40,iB)],2)]),_:1}),y(i,{to:{name:"settings-artwork"},custom:""},{default:P(({navigate:a,isActive:l})=>[c("li",{class:we({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,cB)],40,lB)],2)]),_:1}),y(i,{to:{name:"settings-online-services"},custom:""},{default:P(({navigate:a,isActive:l})=>[c("li",{class:we({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,dB)],40,uB)],2)]),_:1})])])])])])])}const Ml=ne(Xj,[["render",mB]]),fB={name:"PageSettingsArtwork",components:{ContentWithHeading:Xe,SettingsCheckbox:q1,TabsSettings:Ml},computed:{spotify(){return this.$store.state.spotify}}},pB={class:"fd-page-with-tabs"},hB=["textContent"],_B=["textContent"],gB=["textContent"],yB=["textContent"],vB={href:"https://www.spotify.com/",target:"_blank"},bB={class:"icon"},zB=["textContent"],CB={href:"https://www.discogs.com/",target:"_blank"},wB={class:"icon"},xB=["textContent"],kB={href:"https://coverartarchive.org/",target:"_blank"},SB={class:"icon"};function EB(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("mdicon"),l=$("settings-checkbox"),u=$("content-with-heading");return x(),T("div",pB,[y(i),y(u,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,hB)]),content:P(()=>[c("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,_B),c("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,gB),s.spotify.spotify_logged_in?(x(),Ce(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.spotify"))},null,8,yB),c("a",vB,[c("span",bB,[y(a,{name:"open-in-new",size:"16"})])])]),_:1})):Z("",!0),y(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,zB),c("a",CB,[c("span",wB,[y(a,{name:"open-in-new",size:"16"})])])]),_:1}),y(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,xB),c("a",kB,[c("span",SB,[y(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const $B=ne(fB,[["render",EB]]),TB={name:"PageSettingsOnlineServices",components:{ContentWithHeading:Xe,TabsSettings:Ml},data(){return{lastfm_login:{errors:{error:"",password:"",user:""},password:"",user:""}}},computed:{lastfm(){return this.$store.state.lastfm},spotify(){return this.$store.state.spotify},spotify_missing_scope(){return this.spotify.webapi_token_valid&&this.spotify.webapi_granted_scope&&this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" ").filter(e=>!this.spotify.webapi_granted_scope.includes(e)):[]},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]}},methods:{login_lastfm(){F.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(){F.lastfm_logout()},logout_spotify(){F.spotify_logout()}}},AB={class:"fd-page-with-tabs"},OB=["textContent"],PB={key:0,class:"notification is-size-7"},IB=["textContent"],DB={key:1},RB={class:"notification is-size-7"},LB=["textContent"],NB={class:"mt-5"},MB=["textContent"],FB={key:0},VB=["textContent"],HB=["textContent"],UB={key:1,class:"help is-danger"},jB=["textContent"],BB=["textContent"],WB={class:"field mt-5"},qB={class:"control"},GB=["href","textContent"],KB={class:"help"},ZB=["textContent"],YB=["textContent"],JB={key:2,class:"field mt-5"},XB={class:"control"},QB=["textContent"],eW=["textContent"],tW={key:0,class:"notification is-size-7"},nW=["textContent"],rW={key:1},oW=["textContent"],sW={key:0},iW=["textContent"],aW={key:1},lW={class:"field is-grouped"},cW={class:"control"},uW=["placeholder"],dW=["textContent"],mW={class:"control"},fW=["placeholder"],pW=["textContent"],hW={class:"control"},_W=["textContent"],gW=["textContent"],yW=["textContent"];function vW(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("content-with-heading");return x(),T("div",AB,[y(i),y(a,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,OB)]),content:P(()=>[s.spotify.spotify_installed?Z("",!0):(x(),T("div",PB,[c("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,IB)])),s.spotify.spotify_installed?(x(),T("div",DB,[c("div",RB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,LB)]),c("div",NB,[c("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,MB),s.spotify.webapi_token_valid?(x(),T("p",FB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,VB),c("code",{textContent:g(s.spotify.webapi_user)},null,8,HB)])):Z("",!0),s.spotify_missing_scope.length>0?(x(),T("p",UB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,jB),c("code",{textContent:g(s.spotify_missing_scope.join())},null,8,BB)])):Z("",!0),c("div",WB,[c("div",qB,[c("a",{class:we(["button",{"is-info":!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0}]),href:s.spotify.oauth_uri,textContent:g(e.$t("page.settings.services.spotify.authorize"))},null,10,GB)])]),c("p",KB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,ZB),c("code",{textContent:g(s.spotify_required_scope.join(", "))},null,8,YB)]),s.spotify.webapi_token_valid?(x(),T("div",JB,[c("div",XB,[c("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,QB)])])):Z("",!0)])])):Z("",!0)]),_:1}),y(a,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,eW)]),content:P(()=>[s.lastfm.enabled?Z("",!0):(x(),T("div",tW,[c("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,nW)])),s.lastfm.enabled?(x(),T("div",rW,[c("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,oW),s.lastfm.scrobbling_enabled?(x(),T("div",sW,[c("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,iW)])):Z("",!0),s.lastfm.scrobbling_enabled?Z("",!0):(x(),T("div",aW,[c("form",{onSubmit:t[4]||(t[4]=ht((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[c("div",lW,[c("div",cW,[ft(c("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,uW),[[un,o.lastfm_login.user]]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.user)},null,8,dW)]),c("div",mW,[ft(c("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>o.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,fW),[[un,o.lastfm_login.password]]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.password)},null,8,pW)]),c("div",hW,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,_W)])]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.error)},null,8,gW),c("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,yW)],32)]))])):Z("",!0)]),_:1})])}const bW=ne(TB,[["render",vW]]),zW={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:Xe,TabsSettings:Ml},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.$store.state.outputs},pairing(){return this.$store.state.pairing}},methods:{kickoff_pairing(){F.pairing_kickoff(this.pairing_req)},kickoff_verification(e){F.output_update(e,this.verification_req)},output_toggle(e){F.output_toggle(e)}}},CW={class:"fd-page-with-tabs"},wW=["textContent"],xW={key:0,class:"notification"},kW={class:"label has-text-weight-normal"},SW=["textContent"],EW=["textContent"],$W={class:"field is-grouped"},TW={class:"control"},AW=["placeholder"],OW={class:"control"},PW=["textContent"],IW={key:1,class:"content"},DW=["textContent"],RW=["textContent"],LW=["textContent"],NW={class:"field"},MW={class:"control"},FW=["id","onUpdate:modelValue","onChange"],VW=["for","textContent"],HW=["onSubmit"],UW={class:"field is-grouped"},jW={class:"control"},BW=["placeholder"],WW={class:"control"},qW=["textContent"];function GW(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("content-with-heading");return x(),T("div",CW,[y(i),y(a,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,wW)]),content:P(()=>[s.pairing.active?(x(),T("div",xW,[c("form",{onSubmit:t[1]||(t[1]=ht((...l)=>s.kickoff_pairing&&s.kickoff_pairing(...l),["prevent"]))},[c("label",kW,[c("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,SW),c("b",{textContent:g(s.pairing.remote)},null,8,EW)]),c("div",$W,[c("div",TW,[ft(c("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o.pairing_req.pin=l),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,AW),[[un,o.pairing_req.pin]])]),c("div",OW,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,PW)])])],32)])):Z("",!0),s.pairing.active?Z("",!0):(x(),T("div",IW,[c("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,DW)]))]),_:1}),y(a,null,{"heading-left":P(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,RW)]),content:P(()=>[c("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,LW),(x(!0),T(be,null,zt(s.outputs,l=>(x(),T("div",{key:l.id},[c("div",NW,[c("div",MW,[ft(c("input",{id:l.id,"onUpdate:modelValue":u=>l.selected=u,type:"checkbox",class:"switch is-rounded mr-2",onChange:u=>s.output_toggle(l.id)},null,40,FW),[[On,l.selected]]),c("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,VW)])]),l.needs_auth_key?(x(),T("form",{key:0,class:"mb-5",onSubmit:ht(u=>s.kickoff_verification(l.id),["prevent"])},[c("div",UW,[c("div",jW,[ft(c("input",{"onUpdate:modelValue":t[2]||(t[2]=u=>o.verification_req.pin=u),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,BW),[[un,o.verification_req.pin]])]),c("div",WW,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,qW)])])],40,HW)):Z("",!0)]))),128))]),_:1})])}const KW=ne(zW,[["render",GW]]),ZW={name:"SettingsIntfield",props:{category_name:{required:!0,type:String},disabled:Boolean,option_name:{required:!0,type:String},placeholder:{default:"",type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:parseInt(e,10)};F.settings_update(this.category.name,t).then(()=>{this.$store.dispatch("update_settings_option",t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},YW=["disabled"],JW={class:"field"},XW={class:"label has-text-weight-normal"},QW=["textContent"],eq={class:"control"},tq=["placeholder","value"],nq={key:0,class:"help"};function rq(e,t,n,r,o,s){return x(),T("fieldset",{disabled:n.disabled},[c("div",JW,[c("label",XW,[yt(e.$slots,"label"),c("i",{class:we(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,QW)]),c("div",eq,[c("input",{ref:"setting",class:"column input is-one-fifth",type:"number",min:"0",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,tq)]),e.$slots.info?(x(),T("p",nq,[yt(e.$slots,"info")])):Z("",!0)])],8,YW)}const oq=ne(ZW,[["render",rq]]),sq={name:"SettingsTextfield",props:{category_name:{required:!0,type:String},disabled:Boolean,option_name:{required:!0,type:String},placeholder:{default:"",type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};F.settings_update(this.category.name,t).then(()=>{this.$store.dispatch("update_settings_option",t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},iq=["disabled"],aq={class:"field"},lq={class:"label has-text-weight-normal"},cq=["textContent"],uq={class:"control"},dq=["placeholder","value"],mq={key:0,class:"help"};function fq(e,t,n,r,o,s){return x(),T("fieldset",{disabled:n.disabled},[c("div",aq,[c("label",lq,[yt(e.$slots,"label"),c("i",{class:we(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,cq)]),c("div",uq,[c("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,dq)]),e.$slots.info?(x(),T("p",mq,[yt(e.$slots,"info")])):Z("",!0)])],8,iq)}const pq=ne(sq,[["render",fq]]),hq={name:"PageSettingsWebinterface",components:{ContentWithHeading:Xe,ControlDropdown:So,SettingsCheckbox:q1,SettingsIntfield:oq,SettingsTextfield:pq,TabsSettings:Ml},computed:{locale:{get(){const e=this.$i18n.availableLocales;let t=e.find(r=>r===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t||(t=this.$i18n.fallbackLocale),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t(`language.${e}`)}))}},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing}}},_q={class:"fd-page-with-tabs"},gq=["textContent"],yq=["textContent"],vq=["textContent"],bq=["textContent"],zq=["textContent"],Cq=["textContent"],wq=["textContent"],xq=["textContent"],kq=["textContent"],Sq=["textContent"],Eq=["textContent"],$q=["textContent"],Tq=["textContent"],Aq=["textContent"],Oq=["textContent"],Pq=["textContent"],Iq=["textContent"],Dq=["textContent"],Rq=["textContent"],Lq=["textContent"],Nq=["textContent"],Mq=["textContent"],Fq=["textContent"];function Vq(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("control-dropdown"),l=$("content-with-heading"),u=$("settings-checkbox"),d=$("settings-textfield"),m=$("settings-intfield");return x(),T("div",_q,[y(i),y(l,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,gq)]),content:P(()=>[y(a,{value:s.locale,"onUpdate:value":t[0]||(t[0]=f=>s.locale=f),options:s.locales},null,8,["value","options"])]),_:1}),y(l,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,yq)]),content:P(()=>[c("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,vq),c("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,bq),y(u,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,zq)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,Cq)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,wq)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,xq)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,kq)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,Sq)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,Eq)]),_:1})]),_:1}),y(l,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,$q)]),content:P(()=>[y(u,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-coverart"))},null,8,Tq)]),_:1})]),_:1}),y(l,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,Aq)]),content:P(()=>[y(u,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer"))},null,8,Oq)]),info:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,Pq)]),_:1}),y(d,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!s.settings_option_show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer-genres"))},null,8,Iq)]),info:P(()=>[c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,Dq),c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,Rq),c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,Lq)]),_:1},8,["disabled","placeholder"]),y(u,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-path"))},null,8,Nq)]),_:1})]),_:1}),y(l,null,{"heading-left":P(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,Mq)]),content:P(()=>[y(m,{category_name:"webinterface",option_name:"recently_added_limit"},{label:P(()=>[c("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,Fq)]),_:1})]),_:1})])}const Hq=ne(hq,[["render",Vq]]),nh=140,rh=110,G1=bO({history:ZA(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:y8,name:"about",path:"/about"},{component:t6,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:m4,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:L5,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:C3,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:mD,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:iR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:OD,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:hR,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:DR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:HR,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:GR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:$L,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-genres",path:"/audiobooks/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobooks-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:z7,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:S7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:O7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:fF,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:yF,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:wF,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:nN,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:hN,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:ON,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:LM,meta:{show_progress:!0},name:"files",path:"/files"},{component:qM,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:s7,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:d7,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:NV,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:UV,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:ZV,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:o9,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:_9,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:B9,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:FU,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:DU,name:"queue",path:"/"},{component:_j,name:"search-library",path:"/search/library"},{component:Bj,name:"search-spotify",path:"/search/spotify"},{component:Hq,name:"settings-webinterface",path:"/settings/webinterface"},{component:$B,name:"settings-artwork",path:"/settings/artwork"},{component:bW,name:"settings-online-services",path:"/settings/online-services"},{component:KW,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((o,s)=>{setTimeout(()=>{o(n)},0)});if(e.path===t.path&&e.hash){const o=e.meta.has_tabs?nh:rh;return{behavior:"smooth",el:e.hash,top:o}}return e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((o,s)=>{const i=e.meta.has_tabs?nh:rh;setTimeout(()=>{o({el:"#top",top:i})},0)}):{left:0,top:0}}});G1.beforeEach((e,t,n)=>{if(pt.state.show_burger_menu){pt.commit(Xo,!1),n(!1);return}if(pt.state.show_player_menu){pt.commit(Qo,!1),n(!1);return}n(!0)});const K1=Mg(qE).use(pt).use(G1).use(l$).use(KE).use(i$,{log:!1}).use(gA,{icons:cA}).use(xl);K1.config.globalProperties.$filters=lA;K1.mount("#app");
|