mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
72 lines
797 KiB
JavaScript
72 lines
797 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const $h="ALBUMS_SORT",Th="ARTISTS_SORT",Ah="ARTIST_ALBUMS_SORT",Oh="ARTIST_TRACKS_SORT",Ph="COMPOSER_TRACKS_SORT",Ih="GENRE_TRACKS_SORT",fl="HIDE_SINGLES",wi="HIDE_SPOTIFY",Gu="SEARCH_QUERY",Ku="SEARCH_SOURCE",ki="SHOW_BURGER_MENU",Lh="SHOW_ONLY_NEXT_ITEMS",xi="SHOW_PLAYER_MENU",Si="SHOW_UPDATE_DIALOG",Nh="UPDATE_CONFIG",Zu="UPDATE_DIALOG_SCAN_KIND",Dh="UPDATE_LASTFM",Rh="UPDATE_LIBRARY_RSS_COUNT",Mh="UPDATE_LIBRARY_STATS",Bc="UPDATE_LYRICS",Fh="UPDATE_OUTPUTS",Vh="UPDATE_PAIRING",Yu="UPDATE_PLAYER_STATUS",Hh="UPDATE_QUEUE",Uh="UPDATE_SETTINGS",jh="UPDATE_SPOTIFY";function Bh(e,t){return function(){return e.apply(t,arguments)}}const{toString:Iv}=Object.prototype,{getPrototypeOf:Xu}=Object,pl=(e=>t=>{const n=Iv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jn=e=>(e=e.toLowerCase(),t=>pl(t)===e),hl=e=>t=>typeof t===e,{isArray:_o}=Array,li=hl("undefined");function Lv(e){return e!==null&&!li(e)&&e.constructor!==null&&!li(e.constructor)&&On(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Wh=Jn("ArrayBuffer");function Nv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Wh(e.buffer),t}const Dv=hl("string"),On=hl("function"),qh=hl("number"),_l=e=>e!==null&&typeof e=="object",Rv=e=>e===!0||e===!1,ba=e=>{if(pl(e)!=="object")return!1;const t=Xu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Mv=Jn("Date"),Fv=Jn("File"),Vv=Jn("Blob"),Hv=Jn("FileList"),Uv=e=>_l(e)&&On(e.pipe),jv=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||On(e.append)&&((t=pl(e))==="formdata"||t==="object"&&On(e.toString)&&e.toString()==="[object FormData]"))},Bv=Jn("URLSearchParams"),[Wv,qv,Gv,Kv]=["ReadableStream","Request","Response","Headers"].map(Jn),Zv=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ei(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),_o(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Gh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Kh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zh=e=>!li(e)&&e!==Kh;function Wc(){const{caseless:e}=Zh(this)&&this||{},t={},n=(r,s)=>{const o=e&&Gh(t,s)||s;ba(t[o])&&ba(r)?t[o]=Wc(t[o],r):ba(r)?t[o]=Wc({},r):_o(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Ei(arguments[r],n);return t}const Yv=(e,t,n,{allOwnKeys:r}={})=>(Ei(t,(s,o)=>{n&&On(s)?e[o]=Bh(s,n):e[o]=s},{allOwnKeys:r}),e),Xv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Jv=(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)},Qv=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Xu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eb=(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},tb=e=>{if(!e)return null;if(_o(e))return e;let t=e.length;if(!qh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},nb=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xu(Uint8Array)),rb=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},sb=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ob=Jn("HTMLFormElement"),ib=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),lm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ab=Jn("RegExp"),Yh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ei(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},lb=e=>{Yh(e,(t,n)=>{if(On(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(On(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+"'")})}})},cb=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return _o(e)?r(e):r(String(e).split(t)),n},ub=()=>{},db=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ql="abcdefghijklmnopqrstuvwxyz",cm="0123456789",Xh={DIGIT:cm,ALPHA:Ql,ALPHA_DIGIT:Ql+Ql.toUpperCase()+cm},mb=(e=16,t=Xh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function fb(e){return!!(e&&On(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const pb=e=>{const t=new Array(10),n=(r,s)=>{if(_l(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=_o(r)?[]:{};return Ei(r,(i,a)=>{const l=n(i,s+1);!li(l)&&(o[a]=l)}),t[s]=void 0,o}}return r};return n(e,0)},hb=Jn("AsyncFunction"),_b=e=>e&&(_l(e)||On(e))&&On(e.then)&&On(e.catch),J={isArray:_o,isArrayBuffer:Wh,isBuffer:Lv,isFormData:jv,isArrayBufferView:Nv,isString:Dv,isNumber:qh,isBoolean:Rv,isObject:_l,isPlainObject:ba,isReadableStream:Wv,isRequest:qv,isResponse:Gv,isHeaders:Kv,isUndefined:li,isDate:Mv,isFile:Fv,isBlob:Vv,isRegExp:ab,isFunction:On,isStream:Uv,isURLSearchParams:Bv,isTypedArray:nb,isFileList:Hv,forEach:Ei,merge:Wc,extend:Yv,trim:Zv,stripBOM:Xv,inherits:Jv,toFlatObject:Qv,kindOf:pl,kindOfTest:Jn,endsWith:eb,toArray:tb,forEachEntry:rb,matchAll:sb,isHTMLForm:ob,hasOwnProperty:lm,hasOwnProp:lm,reduceDescriptors:Yh,freezeMethods:lb,toObjectSet:cb,toCamelCase:ib,noop:ub,toFiniteNumber:db,findKey:Gh,global:Kh,isContextDefined:Zh,ALPHABET:Xh,generateString:mb,isSpecCompliantForm:fb,toJSONObject:pb,isAsyncFn:hb,isThenable:_b};function Be(e,t,n,r,s){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),s&&(this.response=s)}J.inherits(Be,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Jh=Be.prototype,Qh={};["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=>{Qh[e]={value:e}});Object.defineProperties(Be,Qh);Object.defineProperty(Jh,"isAxiosError",{value:!0});Be.from=(e,t,n,r,s,o)=>{const i=Object.create(Jh);return J.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Be.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const gb=null;function qc(e){return J.isPlainObject(e)||J.isArray(e)}function e_(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function um(e,t,n){return e?e.concat(t).map(function(s,o){return s=e_(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function yb(e){return J.isArray(e)&&!e.some(qc)}const vb=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function gl(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(_,z){return!J.isUndefined(z[_])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(s))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(J.isDate(h))return h.toISOString();if(!l&&J.isBlob(h))throw new Be("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(h)||J.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,z){let k=h;if(h&&!z&&typeof h=="object"){if(J.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&yb(h)||(J.isFileList(h)||J.endsWith(_,"[]"))&&(k=J.toArray(h)))return _=e_(_),k.forEach(function(g,b){!(J.isUndefined(g)||g===null)&&t.append(i===!0?um([_],b,o):i===null?_:_+"[]",u(g))}),!1}return qc(h)?!0:(t.append(um(z,_,o),u(h)),!1)}const m=[],f=Object.assign(vb,{defaultVisitor:d,convertValue:u,isVisitable:qc});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(k,w){(!(J.isUndefined(k)||k===null)&&s.call(t,k,J.isString(w)?w.trim():w,_,f))===!0&&p(k,_?_.concat(w):[w])}),m.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function dm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ju(e,t){this._pairs=[],e&&gl(e,this,t)}const t_=Ju.prototype;t_.append=function(t,n){this._pairs.push([t,n])};t_.toString=function(t){const n=t?function(r){return t.call(this,r,dm)}:dm;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function bb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function n_(e,t,n){if(!t)return e;const r=n&&n.encode||bb,s=n&&n.serialize;let o;if(s?o=s(t,n):o=J.isURLSearchParams(t)?t.toString():new Ju(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class mm{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 r_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zb=typeof URLSearchParams<"u"?URLSearchParams:Ju,Cb=typeof FormData<"u"?FormData:null,wb=typeof Blob<"u"?Blob:null,kb={isBrowser:!0,classes:{URLSearchParams:zb,FormData:Cb,Blob:wb},protocols:["http","https","file","blob","url","data"]},Qu=typeof window<"u"&&typeof document<"u",xb=(e=>Qu&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Sb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Eb=Qu&&window.location.href||"http://localhost",$b=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qu,hasStandardBrowserEnv:xb,hasStandardBrowserWebWorkerEnv:Sb,origin:Eb},Symbol.toStringTag,{value:"Module"})),qn={...$b,...kb};function Tb(e,t){return gl(e,new qn.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return qn.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ab(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ob(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function s_(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=o>=n.length;return i=!i&&J.isArray(s)?s.length:i,l?(J.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!J.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&J.isArray(s[i])&&(s[i]=Ob(s[i])),!a)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,s)=>{t(Ab(r),s,n,0)}),n}return null}function Pb(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 $i={transitional:r_,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=J.isObject(t);if(o&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return s?JSON.stringify(s_(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Tb(t,this.formSerializer).toString();if((a=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return gl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Pb(t)):t}],transformResponse:[function(t){const n=this.transitional||$i.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(J.isResponse(t)||J.isReadableStream(t))return t;if(t&&J.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Be.from(a,Be.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qn.classes.FormData,Blob:qn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{$i.headers[e]={}});const Ib=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"]),Lb=e=>{const t={};let n,r,s;return e&&e.split(`
|
||
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Ib[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},fm=Symbol("internals");function $o(e){return e&&String(e).trim().toLowerCase()}function za(e){return e===!1||e==null?e:J.isArray(e)?e.map(za):String(e)}function Nb(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 Db=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ec(e,t,n,r,s){if(J.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function Rb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Mb(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class un{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,u){const d=$o(l);if(!d)throw new Error("header name must be a non-empty string");const m=J.findKey(s,d);(!m||s[m]===void 0||u===!0||u===void 0&&s[m]!==!1)&&(s[m||l]=za(a))}const i=(a,l)=>J.forEach(a,(u,d)=>o(u,d,l));if(J.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(J.isString(t)&&(t=t.trim())&&!Db(t))i(Lb(t),n);else if(J.isHeaders(t))for(const[a,l]of t.entries())o(l,a,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=$o(t),t){const r=J.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Nb(s);if(J.isFunction(n))return n.call(this,s,r);if(J.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$o(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ec(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=$o(i),i){const a=J.findKey(r,i);a&&(!n||ec(r,r[a],a,n))&&(delete r[a],s=!0)}}return J.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||ec(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return J.forEach(this,(s,o)=>{const i=J.findKey(r,o);if(i){n[i]=za(s),delete n[o];return}const a=t?Rb(o):String(o).trim();a!==o&&delete n[o],n[a]=za(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=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(s=>r.set(s)),r}static accessor(t){const r=(this[fm]=this[fm]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=$o(i);r[a]||(Mb(s,i),r[a]=!0)}return J.isArray(t)?t.forEach(o):o(t),this}}un.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(un.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(un);function tc(e,t){const n=this||$i,r=t||n,s=un.from(r.headers);let o=r.data;return J.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function o_(e){return!!(e&&e.__CANCEL__)}function go(e,t,n){Be.call(this,e??"canceled",Be.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(go,Be,{__CANCEL__:!0});function i_(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Be("Request failed with status code "+n.status,[Be.ERR_BAD_REQUEST,Be.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Fb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Vb(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[o];i||(i=u),n[s]=l,r[s]=u;let m=o,f=0;for(;m!==s;)f+=n[m++],m=m%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function Hb(e,t){let n=0;const r=1e3/t;let s=null;return function(){const i=this===!0,a=Date.now();if(i||a-n>r)return s&&(clearTimeout(s),s=null),n=a,e.apply(null,arguments);s||(s=setTimeout(()=>(s=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Ia=(e,t,n=3)=>{let r=0;const s=Vb(50,250);return Hb(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-r,u=s(l),d=i<=a;r=i;const m={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&d?(a-i)/u:void 0,event:o,lengthComputable:a!=null};m[t?"download":"upload"]=!0,e(m)},n)},Ub=qn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const a=J.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),jb=qn.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(s)&&i.push("domain="+s),o===!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 Bb(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Wb(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function a_(e,t){return e&&!Bb(t)?Wb(e,t):t}const pm=e=>e instanceof un?{...e}:e;function Cs(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 s(u,d,m){if(J.isUndefined(d)){if(!J.isUndefined(u))return r(void 0,u,m)}else return r(u,d,m)}function o(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:o,method:o,data:o,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)=>s(pm(u),pm(d),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||s,f=m(e[d],t[d],d);J.isUndefined(f)&&m!==a||(n[d]=f)}),n}const l_=e=>{const t=Cs({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=un.from(i),t.url=n_(a_(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(J.isFormData(n)){if(qn.hasStandardBrowserEnv||qn.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[u,...d]=l?l.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...d].join("; "))}}if(qn.hasStandardBrowserEnv&&(r&&J.isFunction(r)&&(r=r(t)),r||r!==!1&&Ub(t.url))){const u=s&&o&&jb.read(o);u&&i.set(s,u)}return t},qb=typeof XMLHttpRequest<"u",Gb=qb&&function(e){return new Promise(function(n,r){const s=l_(e);let o=s.data;const i=un.from(s.headers).normalize();let{responseType:a}=s,l;function u(){s.cancelToken&&s.cancelToken.unsubscribe(l),s.signal&&s.signal.removeEventListener("abort",l)}let d=new XMLHttpRequest;d.open(s.method.toUpperCase(),s.url,!0),d.timeout=s.timeout;function m(){if(!d)return;const p=un.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),_={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:p,config:e,request:d};i_(function(k){n(k),u()},function(k){r(k),u()},_),d=null}"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){d&&(r(new Be("Request aborted",Be.ECONNABORTED,s,d)),d=null)},d.onerror=function(){r(new Be("Network Error",Be.ERR_NETWORK,s,d)),d=null},d.ontimeout=function(){let h=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const _=s.transitional||r_;s.timeoutErrorMessage&&(h=s.timeoutErrorMessage),r(new Be(h,_.clarifyTimeoutError?Be.ETIMEDOUT:Be.ECONNABORTED,s,d)),d=null},o===void 0&&i.setContentType(null),"setRequestHeader"in d&&J.forEach(i.toJSON(),function(h,_){d.setRequestHeader(_,h)}),J.isUndefined(s.withCredentials)||(d.withCredentials=!!s.withCredentials),a&&a!=="json"&&(d.responseType=s.responseType),typeof s.onDownloadProgress=="function"&&d.addEventListener("progress",Ia(s.onDownloadProgress,!0)),typeof s.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ia(s.onUploadProgress)),(s.cancelToken||s.signal)&&(l=p=>{d&&(r(!p||p.type?new go(null,e,d):p),d.abort(),d=null)},s.cancelToken&&s.cancelToken.subscribe(l),s.signal&&(s.signal.aborted?l():s.signal.addEventListener("abort",l)));const f=Fb(s.url);if(f&&qn.protocols.indexOf(f)===-1){r(new Be("Unsupported protocol "+f+":",Be.ERR_BAD_REQUEST,e));return}d.send(o||null)})},Kb=(e,t)=>{let n=new AbortController,r;const s=function(l){if(!r){r=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof Be?u:new go(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{s(new Be(`timeout ${t} of ms exceeded`,Be.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",s):l.unsubscribe(s))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",s));const{signal:a}=n;return a.unsubscribe=i,[a,()=>{o&&clearTimeout(o),o=null}]},Zb=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},Yb=async function*(e,t,n){for await(const r of e)yield*Zb(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hm=(e,t,n,r,s)=>{const o=Yb(e,t,s);let i=0;return new ReadableStream({type:"bytes",async pull(a){const{done:l,value:u}=await o.next();if(l){a.close(),r();return}let d=u.byteLength;n&&n(i+=d),a.enqueue(new Uint8Array(u))},cancel(a){return r(a),o.return()}},{highWaterMark:2})},_m=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},yl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",c_=yl&&typeof ReadableStream=="function",Gc=yl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Xb=c_&&(()=>{let e=!1;const t=new Request(qn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),gm=64*1024,Kc=c_&&!!(()=>{try{return J.isReadableStream(new Response("").body)}catch{}})(),La={stream:Kc&&(e=>e.body)};yl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!La[t]&&(La[t]=J.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Be(`Response type '${t}' is not supported`,Be.ERR_NOT_SUPPORT,r)})})})(new Response);const Jb=async e=>{if(e==null)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(J.isArrayBufferView(e))return e.byteLength;if(J.isURLSearchParams(e)&&(e=e+""),J.isString(e))return(await Gc(e)).byteLength},Qb=async(e,t)=>{const n=J.toFiniteNumber(e.getContentLength());return n??Jb(t)},ez=yl&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:d,withCredentials:m="same-origin",fetchOptions:f}=l_(e);u=u?(u+"").toLowerCase():"text";let[p,h]=s||o||i?Kb([s,o],i):[],_,z;const k=()=>{!_&&setTimeout(()=>{p&&p.unsubscribe()}),_=!0};let w;try{if(l&&Xb&&n!=="get"&&n!=="head"&&(w=await Qb(d,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),L;J.isFormData(r)&&(L=C.headers.get("content-type"))&&d.setContentType(L),C.body&&(r=hm(C.body,gm,_m(w,Ia(l)),null,Gc))}J.isString(m)||(m=m?"cors":"omit"),z=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let g=await fetch(z);const b=Kc&&(u==="stream"||u==="response");if(Kc&&(a||b)){const C={};["status","statusText","headers"].forEach(M=>{C[M]=g[M]});const L=J.toFiniteNumber(g.headers.get("content-length"));g=new Response(hm(g.body,gm,a&&_m(L,Ia(a,!0)),b&&k,Gc),C)}u=u||"text";let x=await La[J.findKey(La,u)||"text"](g,e);return!b&&k(),h&&h(),await new Promise((C,L)=>{i_(C,L,{data:x,headers:un.from(g.headers),status:g.status,statusText:g.statusText,config:e,request:z})})}catch(g){throw k(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new Be("Network Error",Be.ERR_NETWORK,e,z),{cause:g.cause||g}):Be.from(g,g&&g.code,e,z)}}),Zc={http:gb,xhr:Gb,fetch:ez};J.forEach(Zc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ym=e=>`- ${e}`,tz=e=>J.isFunction(e)||e===null||e===!1,u_={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!tz(n)&&(r=Zc[(i=String(n)).toLowerCase()],r===void 0))throw new Be(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
|
||
`+o.map(ym).join(`
|
||
`):" "+ym(o[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Zc};function nc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new go(null,e)}function vm(e){return nc(e),e.headers=un.from(e.headers),e.data=tc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),u_.getAdapter(e.adapter||$i.adapter)(e).then(function(r){return nc(e),r.data=tc.call(e,e.transformResponse,r),r.headers=un.from(r.headers),r},function(r){return o_(r)||(nc(e),r&&r.response&&(r.response.data=tc.call(e,e.transformResponse,r.response),r.response.headers=un.from(r.response.headers))),Promise.reject(r)})}const d_="1.7.2",ed={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ed[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const bm={};ed.transitional=function(t,n,r){function s(o,i){return"[Axios v"+d_+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new Be(s(i," has been removed"+(n?" in "+n:"")),Be.ERR_DEPRECATED);return n&&!bm[i]&&(bm[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function nz(e,t,n){if(typeof e!="object")throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new Be("option "+o+" must be "+l,Be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Be("Unknown option "+o,Be.ERR_BAD_OPTION)}}const Yc={assertOptions:nz,validators:ed},Tr=Yc.validators;class hs{constructor(t){this.defaults=t,this.interceptors={request:new mm,response:new mm}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Cs(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Yc.assertOptions(r,{silentJSONParsing:Tr.transitional(Tr.boolean),forcedJSONParsing:Tr.transitional(Tr.boolean),clarifyTimeoutError:Tr.transitional(Tr.boolean)},!1),s!=null&&(J.isFunction(s)?n.paramsSerializer={serialize:s}:Yc.assertOptions(s,{encode:Tr.function,serialize:Tr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&J.merge(o.common,o[n.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=un.concat(i,o);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=[vm.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(z){_.call(this,z);break}}try{d=vm.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=Cs(this.defaults,t);const n=a_(t.baseURL,t.url);return n_(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){hs.prototype[t]=function(n,r){return this.request(Cs(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(Cs(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}hs.prototype[t]=n(),hs.prototype[t+"Form"]=n(!0)});class td{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new go(o,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 td(function(s){t=s}),cancel:t}}}function rz(e){return function(n){return e.apply(null,n)}}function sz(e){return J.isObject(e)&&e.isAxiosError===!0}const Xc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xc).forEach(([e,t])=>{Xc[t]=e});function m_(e){const t=new hs(e),n=Bh(hs.prototype.request,t);return J.extend(n,hs.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return m_(Cs(e,s))},n}const ue=m_($i);ue.Axios=hs;ue.CanceledError=go;ue.CancelToken=td;ue.isCancel=o_;ue.VERSION=d_;ue.toFormData=gl;ue.AxiosError=Be;ue.Cancel=ue.CanceledError;ue.all=function(t){return Promise.all(t)};ue.spread=rz;ue.isAxiosError=sz;ue.mergeConfig=Cs;ue.AxiosHeaders=un;ue.formToJSON=e=>s_(J.isHTMLForm(e)?new FormData(e):e);ue.getAdapter=u_.getAdapter;ue.HttpStatusCode=Xc;ue.default=ue;/*!
|
||
* shared v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Na=typeof window<"u",es=(e,t=!1)=>t?Symbol.for(e):Symbol(e),oz=(e,t,n)=>iz({l:e,k:t,s:n}),iz=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ft=e=>typeof e=="number"&&isFinite(e),az=e=>p_(e)==="[object Date]",Da=e=>p_(e)==="[object RegExp]",vl=e=>Xe(e)&&Object.keys(e).length===0,Kt=Object.assign;let zm;const nd=()=>zm||(zm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cm(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const lz=Object.prototype.hasOwnProperty;function Ra(e,t){return lz.call(e,t)}const Dt=Array.isArray,Tt=e=>typeof e=="function",Ce=e=>typeof e=="string",kt=e=>typeof e=="boolean",at=e=>e!==null&&typeof e=="object",cz=e=>at(e)&&Tt(e.then)&&Tt(e.catch),f_=Object.prototype.toString,p_=e=>f_.call(e),Xe=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},uz=e=>e==null?"":Dt(e)||Xe(e)&&e.toString===f_?JSON.stringify(e,null,2):String(e);function dz(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function bl(e){let t=e;return()=>++t}function mz(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ji=e=>!at(e)||Dt(e);function Ca(e,t){if(ji(e)||ji(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{ji(r[o])||ji(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*!
|
||
* message-compiler v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function fz(e,t,n){return{line:e,column:t,offset:n}}function Ma(e,t,n){return{start:e,end:t}}const pz=/\{([0-9a-zA-Z]+)\}/g;function h_(e,...t){return t.length===1&&hz(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(pz,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const __=Object.assign,wm=e=>typeof e=="string",hz=e=>e!==null&&typeof e=="object";function g_(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const rd={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},_z={[rd.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function gz(e,t,...n){const r=h_(_z[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const Pe={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},yz={[Pe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Pe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Pe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Pe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Pe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Pe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Pe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Pe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Pe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Pe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Pe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Pe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Pe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Pe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function yo(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=h_((s||yz)[e]||"",...o||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function vz(e){throw e}const fr=" ",bz="\r",Xt=`
|
||
`,zz="\u2028",Cz="\u2029";function wz(e){const t=e;let n=0,r=1,s=1,o=0;const i=L=>t[L]===bz&&t[L+1]===Xt,a=L=>t[L]===Xt,l=L=>t[L]===Cz,u=L=>t[L]===zz,d=L=>i(L)||a(L)||l(L)||u(L),m=()=>n,f=()=>r,p=()=>s,h=()=>o,_=L=>i(L)||l(L)||u(L)?Xt:t[L],z=()=>_(n),k=()=>_(n+o);function w(){return o=0,d(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function g(){return i(n+o)&&o++,o++,t[n+o]}function b(){n=0,r=1,s=1,o=0}function x(L=0){o=L}function C(){const L=n+o;for(;L!==n;)w();o=0}return{index:m,line:f,column:p,peekOffset:h,charAt:_,currentChar:z,currentPeek:k,next:w,peek:g,reset:b,resetPeek:x,skipToPeek:C}}const Ar=void 0,kz=".",km="'",xz="tokenizer";function Sz(e,t={}){const n=t.location!==!1,r=wz(e),s=()=>r.index(),o=()=>fz(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:d}=t;function m(S,$,D,...Q){const me=u();if($.column+=D,$.offset+=D,d){const se=n?Ma(me.startLoc,$):null,H=yo(S,se,{domain:xz,args:Q});d(H)}}function f(S,$,D){S.endLoc=o(),S.currentType=$;const Q={type:$};return n&&(Q.loc=Ma(S.startLoc,S.endLoc)),D!=null&&(Q.value=D),Q}const p=S=>f(S,14);function h(S,$){return S.currentChar()===$?(S.next(),$):(m(Pe.EXPECTED_TOKEN,o(),0,$),"")}function _(S){let $="";for(;S.currentPeek()===fr||S.currentPeek()===Xt;)$+=S.currentPeek(),S.peek();return $}function z(S){const $=_(S);return S.skipToPeek(),$}function k(S){if(S===Ar)return!1;const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$===95}function w(S){if(S===Ar)return!1;const $=S.charCodeAt(0);return $>=48&&$<=57}function g(S,$){const{currentType:D}=$;if(D!==2)return!1;_(S);const Q=k(S.currentPeek());return S.resetPeek(),Q}function b(S,$){const{currentType:D}=$;if(D!==2)return!1;_(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),me=w(Q);return S.resetPeek(),me}function x(S,$){const{currentType:D}=$;if(D!==2)return!1;_(S);const Q=S.currentPeek()===km;return S.resetPeek(),Q}function C(S,$){const{currentType:D}=$;if(D!==8)return!1;_(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function L(S,$){const{currentType:D}=$;if(D!==9)return!1;_(S);const Q=k(S.currentPeek());return S.resetPeek(),Q}function M(S,$){const{currentType:D}=$;if(!(D===8||D===12))return!1;_(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function A(S,$){const{currentType:D}=$;if(D!==10)return!1;const Q=()=>{const se=S.currentPeek();return se==="{"?k(S.peek()):se==="@"||se==="%"||se==="|"||se===":"||se==="."||se===fr||!se?!1:se===Xt?(S.peek(),Q()):U(S,!1)},me=Q();return S.resetPeek(),me}function F(S){_(S);const $=S.currentPeek()==="|";return S.resetPeek(),$}function Z(S){const $=_(S),D=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:D,hasSpace:$.length>0}}function U(S,$=!0){const D=(me=!1,se="",H=!1)=>{const G=S.currentPeek();return G==="{"?se==="%"?!1:me:G==="@"||!G?se==="%"?!0:me:G==="%"?(S.peek(),D(me,"%",!0)):G==="|"?se==="%"||H?!0:!(se===fr||se===Xt):G===fr?(S.peek(),D(!0,fr,H)):G===Xt?(S.peek(),D(!0,Xt,H)):!0},Q=D();return $&&S.resetPeek(),Q}function W(S,$){const D=S.currentChar();return D===Ar?Ar:$(D)?(S.next(),D):null}function ne(S){const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36}function he(S){return W(S,ne)}function Y(S){const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36||$===45}function oe(S){return W(S,Y)}function ae(S){const $=S.charCodeAt(0);return $>=48&&$<=57}function We(S){return W(S,ae)}function st(S){const $=S.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102}function Ve(S){return W(S,st)}function He(S){let $="",D="";for(;$=We(S);)D+=$;return D}function ot(S){z(S);const $=S.currentChar();return $!=="%"&&m(Pe.EXPECTED_TOKEN,o(),0,$),S.next(),"%"}function it(S){let $="";for(;;){const D=S.currentChar();if(D==="{"||D==="}"||D==="@"||D==="|"||!D)break;if(D==="%")if(U(S))$+=D,S.next();else break;else if(D===fr||D===Xt)if(U(S))$+=D,S.next();else{if(F(S))break;$+=D,S.next()}else $+=D,S.next()}return $}function lt(S){z(S);let $="",D="";for(;$=oe(S);)D+=$;return S.currentChar()===Ar&&m(Pe.UNTERMINATED_CLOSING_BRACE,o(),0),D}function Ne(S){z(S);let $="";return S.currentChar()==="-"?(S.next(),$+=`-${He(S)}`):$+=He(S),S.currentChar()===Ar&&m(Pe.UNTERMINATED_CLOSING_BRACE,o(),0),$}function K(S){return S!==km&&S!==Xt}function de(S){z(S),h(S,"'");let $="",D="";for(;$=W(S,K);)$==="\\"?D+=ce(S):D+=$;const Q=S.currentChar();return Q===Xt||Q===Ar?(m(Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),Q===Xt&&(S.next(),h(S,"'")),D):(h(S,"'"),D)}function ce(S){const $=S.currentChar();switch($){case"\\":case"'":return S.next(),`\\${$}`;case"u":return ge(S,$,4);case"U":return ge(S,$,6);default:return m(Pe.UNKNOWN_ESCAPE_SEQUENCE,o(),0,$),""}}function ge(S,$,D){h(S,$);let Q="";for(let me=0;me<D;me++){const se=Ve(S);if(!se){m(Pe.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${$}${Q}${S.currentChar()}`);break}Q+=se}return`\\${$}${Q}`}function Ue(S){return S!=="{"&&S!=="}"&&S!==fr&&S!==Xt}function Ge(S){z(S);let $="",D="";for(;$=W(S,Ue);)D+=$;return D}function T(S){let $="",D="";for(;$=he(S);)D+=$;return D}function I(S){const $=D=>{const Q=S.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===fr?D:(D+=Q,S.next(),$(D))};return $("")}function B(S){z(S);const $=h(S,"|");return z(S),$}function ee(S,$){let D=null;switch(S.currentChar()){case"{":return $.braceNest>=1&&m(Pe.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),S.next(),D=f($,2,"{"),z(S),$.braceNest++,D;case"}":return $.braceNest>0&&$.currentType===2&&m(Pe.EMPTY_PLACEHOLDER,o(),0),S.next(),D=f($,3,"}"),$.braceNest--,$.braceNest>0&&z(S),$.inLinked&&$.braceNest===0&&($.inLinked=!1),D;case"@":return $.braceNest>0&&m(Pe.UNTERMINATED_CLOSING_BRACE,o(),0),D=X(S,$)||p($),$.braceNest=0,D;default:{let me=!0,se=!0,H=!0;if(F(S))return $.braceNest>0&&m(Pe.UNTERMINATED_CLOSING_BRACE,o(),0),D=f($,1,B(S)),$.braceNest=0,$.inLinked=!1,D;if($.braceNest>0&&($.currentType===5||$.currentType===6||$.currentType===7))return m(Pe.UNTERMINATED_CLOSING_BRACE,o(),0),$.braceNest=0,le(S,$);if(me=g(S,$))return D=f($,5,lt(S)),z(S),D;if(se=b(S,$))return D=f($,6,Ne(S)),z(S),D;if(H=x(S,$))return D=f($,7,de(S)),z(S),D;if(!me&&!se&&!H)return D=f($,13,Ge(S)),m(Pe.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,D.value),z(S),D;break}}return D}function X(S,$){const{currentType:D}=$;let Q=null;const me=S.currentChar();switch((D===8||D===9||D===12||D===10)&&(me===Xt||me===fr)&&m(Pe.INVALID_LINKED_FORMAT,o(),0),me){case"@":return S.next(),Q=f($,8,"@"),$.inLinked=!0,Q;case".":return z(S),S.next(),f($,9,".");case":":return z(S),S.next(),f($,10,":");default:return F(S)?(Q=f($,1,B(S)),$.braceNest=0,$.inLinked=!1,Q):C(S,$)||M(S,$)?(z(S),X(S,$)):L(S,$)?(z(S),f($,12,T(S))):A(S,$)?(z(S),me==="{"?ee(S,$)||Q:f($,11,I(S))):(D===8&&m(Pe.INVALID_LINKED_FORMAT,o(),0),$.braceNest=0,$.inLinked=!1,le(S,$))}}function le(S,$){let D={type:14};if($.braceNest>0)return ee(S,$)||p($);if($.inLinked)return X(S,$)||p($);switch(S.currentChar()){case"{":return ee(S,$)||p($);case"}":return m(Pe.UNBALANCED_CLOSING_BRACE,o(),0),S.next(),f($,3,"}");case"@":return X(S,$)||p($);default:{if(F(S))return D=f($,1,B(S)),$.braceNest=0,$.inLinked=!1,D;const{isModulo:me,hasSpace:se}=Z(S);if(me)return se?f($,0,it(S)):f($,4,ot(S));if(U(S))return f($,0,it(S));break}}return D}function fe(){const{currentType:S,offset:$,startLoc:D,endLoc:Q}=l;return l.lastType=S,l.lastOffset=$,l.lastStartLoc=D,l.lastEndLoc=Q,l.offset=s(),l.startLoc=o(),r.currentChar()===Ar?f(l,14):le(r,l)}return{nextToken:fe,currentOffset:s,currentPosition:o,context:u}}const Ez="parser",$z=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Tz(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"<22>"}}}function Az(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(g,b,x,C,...L){const M=g.currentPosition();if(M.offset+=C,M.column+=C,n){const A=t?Ma(x,M):null,F=yo(b,A,{domain:Ez,args:L});n(F)}}function o(g,b,x,C,...L){const M=g.currentPosition();if(M.offset+=C,M.column+=C,r){const A=t?Ma(x,M):null;r(gz(b,A,L))}}function i(g,b,x){const C={type:g};return t&&(C.start=b,C.end=b,C.loc={start:x,end:x}),C}function a(g,b,x,C){t&&(g.end=b,g.loc&&(g.loc.end=x))}function l(g,b){const x=g.context(),C=i(3,x.offset,x.startLoc);return C.value=b,a(C,g.currentOffset(),g.currentPosition()),C}function u(g,b){const x=g.context(),{lastOffset:C,lastStartLoc:L}=x,M=i(5,C,L);return M.index=parseInt(b,10),g.nextToken(),a(M,g.currentOffset(),g.currentPosition()),M}function d(g,b,x){const C=g.context(),{lastOffset:L,lastStartLoc:M}=C,A=i(4,L,M);return A.key=b,x===!0&&(A.modulo=!0),g.nextToken(),a(A,g.currentOffset(),g.currentPosition()),A}function m(g,b){const x=g.context(),{lastOffset:C,lastStartLoc:L}=x,M=i(9,C,L);return M.value=b.replace($z,Tz),g.nextToken(),a(M,g.currentOffset(),g.currentPosition()),M}function f(g){const b=g.nextToken(),x=g.context(),{lastOffset:C,lastStartLoc:L}=x,M=i(8,C,L);return b.type!==12?(s(g,Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),M.value="",a(M,C,L),{nextConsumeToken:b,node:M}):(b.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Mn(b)),M.value=b.value||"",a(M,g.currentOffset(),g.currentPosition()),{node:M})}function p(g,b){const x=g.context(),C=i(7,x.offset,x.startLoc);return C.value=b,a(C,g.currentOffset(),g.currentPosition()),C}function h(g){const b=g.context(),x=i(6,b.offset,b.startLoc);let C=g.nextToken();if(C.type===9){const L=f(g);x.modifier=L.node,C=L.nextConsumeToken||g.nextToken()}switch(C.type!==10&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(C)),C=g.nextToken(),C.type===2&&(C=g.nextToken()),C.type){case 11:C.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(C)),x.key=p(g,C.value||"");break;case 5:C.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(C)),x.key=d(g,C.value||"");break;case 6:C.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(C)),x.key=u(g,C.value||"");break;case 7:C.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(C)),x.key=m(g,C.value||"");break;default:{s(g,Pe.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const L=g.context(),M=i(7,L.offset,L.startLoc);return M.value="",a(M,L.offset,L.startLoc),x.key=M,a(x,L.offset,L.startLoc),{nextConsumeToken:C,node:x}}}return a(x,g.currentOffset(),g.currentPosition()),{node:x}}function _(g){const b=g.context(),x=b.currentType===1?g.currentOffset():b.offset,C=b.currentType===1?b.endLoc:b.startLoc,L=i(2,x,C);L.items=[];let M=null,A=null;do{const U=M||g.nextToken();switch(M=null,U.type){case 0:U.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(U)),L.items.push(l(g,U.value||""));break;case 6:U.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(U)),L.items.push(u(g,U.value||""));break;case 4:A=!0;break;case 5:U.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(U)),L.items.push(d(g,U.value||"",!!A)),A&&(o(g,rd.USE_MODULO_SYNTAX,b.lastStartLoc,0,Mn(U)),A=null);break;case 7:U.value==null&&s(g,Pe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Mn(U)),L.items.push(m(g,U.value||""));break;case 8:{const W=h(g);L.items.push(W.node),M=W.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const F=b.currentType===1?b.lastOffset:g.currentOffset(),Z=b.currentType===1?b.lastEndLoc:g.currentPosition();return a(L,F,Z),L}function z(g,b,x,C){const L=g.context();let M=C.items.length===0;const A=i(1,b,x);A.cases=[],A.cases.push(C);do{const F=_(g);M||(M=F.items.length===0),A.cases.push(F)}while(L.currentType!==14);return M&&s(g,Pe.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),a(A,g.currentOffset(),g.currentPosition()),A}function k(g){const b=g.context(),{offset:x,startLoc:C}=b,L=_(g);return b.currentType===14?L:z(g,x,C,L)}function w(g){const b=Sz(g,__({},e)),x=b.context(),C=i(0,x.offset,x.startLoc);return t&&C.loc&&(C.loc.source=g),C.body=k(b),e.onCacheKey&&(C.cacheKey=e.onCacheKey(g)),x.currentType!==14&&s(b,Pe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,g[x.offset]||""),a(C,b.currentOffset(),b.currentPosition()),C}return{parse:w}}function Mn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Oz(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function xm(e,t){for(let n=0;n<e.length;n++)sd(e[n],t)}function sd(e,t){switch(e.type){case 1:xm(e.cases,t),t.helper("plural");break;case 2:xm(e.items,t);break;case 6:{sd(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Pz(e,t={}){const n=Oz(e);n.helper("normalize"),e.body&&sd(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Iz(e){const t=e.body;return t.type===2?Sm(t):t.cases.forEach(n=>Sm(n)),e}function Sm(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=g_(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Lz="minifier";function Fs(e){switch(e.t=e.type,e.type){case 0:{const t=e;Fs(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Fs(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Fs(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Fs(t.key),t.k=t.key,delete t.key,t.modifier&&(Fs(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw yo(Pe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Lz,args:[e.type]})}delete e.type}const Nz="parser";function Dz(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:o}=t,i=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function u(z,k){a.code+=z}function d(z,k=!0){const w=k?s:"";u(o?w+" ".repeat(z):w)}function m(z=!0){const k=++a.indentLevel;z&&d(k)}function f(z=!0){const k=--a.indentLevel;z&&d(k)}function p(){d(a.indentLevel)}return{context:l,push:u,indent:m,deindent:f,newline:p,helper:z=>`_${z}`,needIndent:()=>a.needIndent}}function Rz(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),so(e,t.key),t.modifier?(e.push(", "),so(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Mz(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(so(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function Fz(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(so(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Vz(e,t){t.body?so(e,t.body):e.push("null")}function so(e,t){const{helper:n}=e;switch(t.type){case 0:Vz(e,t);break;case 1:Fz(e,t);break;case 2:Mz(e,t);break;case 6:Rz(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw yo(Pe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Nz,args:[t.type]})}}const Hz=(e,t={})=>{const n=wm(t.mode)?t.mode:"normal",r=wm(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
||
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=Dz(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${g_(a.map(m=>`${m}: _${m}`),", ")} } = ctx`),l.newline()),l.push("return "),so(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:u,map:d}=l.context();return{ast:e,code:u,map:d?d.toJSON():void 0}};function Uz(e,t={}){const n=__({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=Az(n).parse(e);return r?(o&&Iz(a),s&&Fs(a),{ast:a,code:""}):(Pz(a,n),Hz(a,n))}/*!
|
||
* core-base v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function jz(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nd().__INTLIFY_PROD_DEVTOOLS__=!1)}const ts=[];ts[0]={w:[0],i:[3,0],"[":[4],o:[7]};ts[1]={w:[1],".":[2],"[":[4],o:[7]};ts[2]={w:[2],i:[3,0],0:[3,0]};ts[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ts[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ts[5]={"'":[4,0],o:8,l:[5,0]};ts[6]={'"':[4,0],o:8,l:[6,0]};const Bz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Wz(e){return Bz.test(e)}function qz(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 Gz(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 Kz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Wz(t)?qz(t):"*"+t}function Zz(e){const t=[];let n=-1,r=0,s=0,o,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](),s++},f[3]=()=>{if(s>0)s--,r=4,f[0]();else{if(s=0,i===void 0||(i=Kz(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++,o=e[n],!(o==="\\"&&p())){if(l=Gz(o),m=ts[r],u=m[l]||m.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=f[u[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const Em=new Map;function Yz(e,t){return at(e)?e[t]:null}function Xz(e,t){if(!at(e))return null;let n=Em.get(t);if(n||(n=Zz(t),n&&Em.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0||Tt(s))return null;s=i,o++}return s}const Jz=e=>e,Qz=e=>"",e0="text",t0=e=>e.length===0?"":dz(e),n0=uz;function $m(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function r0(e){const t=Ft(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ft(e.named.count)||Ft(e.named.n))?Ft(e.named.count)?e.named.count:Ft(e.named.n)?e.named.n:t:t}function s0(e,t){t.count||(t.count=e),t.n||(t.n=e)}function o0(e={}){const t=e.locale,n=r0(e),r=at(e.pluralRules)&&Ce(t)&&Tt(e.pluralRules[t])?e.pluralRules[t]:$m,s=at(e.pluralRules)&&Ce(t)&&Tt(e.pluralRules[t])?$m:void 0,o=k=>k[r(n,k.length,s)],i=e.list||[],a=k=>i[k],l=e.named||{};Ft(e.pluralIndex)&&s0(n,l);const u=k=>l[k];function d(k){const w=Tt(e.messages)?e.messages(k):at(e.messages)?e.messages[k]:!1;return w||(e.parent?e.parent.message(k):Qz)}const m=k=>e.modifiers?e.modifiers[k]:Jz,f=Xe(e.processor)&&Tt(e.processor.normalize)?e.processor.normalize:t0,p=Xe(e.processor)&&Tt(e.processor.interpolate)?e.processor.interpolate:n0,h=Xe(e.processor)&&Ce(e.processor.type)?e.processor.type:e0,z={list:a,named:u,plural:o,linked:(k,...w)=>{const[g,b]=w;let x="text",C="";w.length===1?at(g)?(C=g.modifier||C,x=g.type||x):Ce(g)&&(C=g||C):w.length===2&&(Ce(g)&&(C=g||C),Ce(b)&&(x=b||x));const L=d(k)(z),M=x==="vnode"&&Dt(L)&&C?L[0]:L;return C?m(C)(M,x):M},message:d,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return z}let ci=null;function i0(e){ci=e}function a0(e,t,n){ci&&ci.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const l0=c0("function:translate");function c0(e){return t=>ci&&ci.emit(e,t)}const y_=rd.__EXTEND_POINT__,ss=bl(y_),u0={NOT_FOUND_KEY:y_,FALLBACK_TO_TRANSLATE:ss(),CANNOT_FORMAT_NUMBER:ss(),FALLBACK_TO_NUMBER_FORMAT:ss(),CANNOT_FORMAT_DATE:ss(),FALLBACK_TO_DATE_FORMAT:ss(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ss(),__EXTEND_POINT__:ss()},v_=Pe.__EXTEND_POINT__,os=bl(v_),or={INVALID_ARGUMENT:v_,INVALID_DATE_ARGUMENT:os(),INVALID_ISO_DATE_ARGUMENT:os(),NOT_SUPPORT_NON_STRING_MESSAGE:os(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:os(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:os(),NOT_SUPPORT_LOCALE_TYPE:os(),__EXTEND_POINT__:os()};function vr(e){return yo(e,null,void 0)}function od(e,t){return t.locale!=null?Tm(t.locale):Tm(e.locale)}let rc;function Tm(e){if(Ce(e))return e;if(Tt(e)){if(e.resolvedOnce&&rc!=null)return rc;if(e.constructor.name==="Function"){const t=e();if(cz(t))throw vr(or.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return rc=t}else throw vr(or.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw vr(or.NOT_SUPPORT_LOCALE_TYPE)}function d0(e,t,n){return[...new Set([n,...Dt(t)?t:at(t)?Object.keys(t):Ce(t)?[t]:[n]])]}function b_(e,t,n){const r=Ce(n)?n:Fa,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Dt(i);)i=Am(o,i,t);const a=Dt(t)||!Xe(t)?t:t.default?t.default:null;i=Ce(a)?[a]:a,Dt(i)&&Am(o,i,!1),s.__localeChainCache.set(r,o)}return o}function Am(e,t,n){let r=!0;for(let s=0;s<t.length&&kt(r);s++){const o=t[s];Ce(o)&&(r=m0(e,t[s],n))}return r}function m0(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=f0(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function f0(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Dt(n)||Xe(n))&&n[s]&&(r=n[s])}return r}const p0="9.13.1",zl=-1,Fa="en-US",Om="",Pm=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function h0(){return{upper:(e,t)=>t==="text"&&Ce(e)?e.toUpperCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ce(e)?e.toLowerCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ce(e)?Pm(e):t==="vnode"&&at(e)&&"__v_isVNode"in e?Pm(e.children):e}}let z_;function _0(e){z_=e}let C_;function g0(e){C_=e}let w_;function y0(e){w_=e}let k_=null;const v0=e=>{k_=e},b0=()=>k_;let x_=null;const Im=e=>{x_=e},z0=()=>x_;let Lm=0;function C0(e={}){const t=Tt(e.onWarn)?e.onWarn:mz,n=Ce(e.version)?e.version:p0,r=Ce(e.locale)||Tt(e.locale)?e.locale:Fa,s=Tt(r)?Fa:r,o=Dt(e.fallbackLocale)||Xe(e.fallbackLocale)||Ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=Xe(e.messages)?e.messages:{[s]:{}},a=Xe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},l=Xe(e.numberFormats)?e.numberFormats:{[s]:{}},u=Kt({},e.modifiers||{},h0()),d=e.pluralRules||{},m=Tt(e.missing)?e.missing:null,f=kt(e.missingWarn)||Da(e.missingWarn)?e.missingWarn:!0,p=kt(e.fallbackWarn)||Da(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,z=Tt(e.postTranslation)?e.postTranslation:null,k=Xe(e.processor)?e.processor:null,w=kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,b=Tt(e.messageCompiler)?e.messageCompiler:z_,x=Tt(e.messageResolver)?e.messageResolver:C_||Yz,C=Tt(e.localeFallbacker)?e.localeFallbacker:w_||d0,L=at(e.fallbackContext)?e.fallbackContext:void 0,M=e,A=at(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,F=at(M.__numberFormatters)?M.__numberFormatters:new Map,Z=at(M.__meta)?M.__meta:{};Lm++;const U={version:n,cid:Lm,locale:r,fallbackLocale:o,messages:i,modifiers:u,pluralRules:d,missing:m,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:z,processor:k,warnHtmlMessage:w,escapeParameter:g,messageCompiler:b,messageResolver:x,localeFallbacker:C,fallbackContext:L,onWarn:t,__meta:Z};return U.datetimeFormats=a,U.numberFormats=l,U.__datetimeFormatters=A,U.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&a0(U,n,Z),U}function id(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return Ce(a)?a:t}else return t}function To(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function w0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function k0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(w0(e,t[r]))return!0;return!1}function sc(e){return n=>x0(n,e)}function x0(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((o,i)=>[...o,Nm(e,i)],[]))}else return Nm(e,n)}function Nm(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,Jc(e,o)],[]);return e.normalize(r)}}function Jc(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(Jc(e,r.k||r.key),s?Jc(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const S0=e=>e;let Bi=Object.create(null);const oo=e=>at(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function E0(e,t={}){let n=!1;const r=t.onError||vz;return t.onError=s=>{n=!0,r(s)},{...Uz(e,t),detectError:n}}function $0(e,t){if(Ce(e)){kt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||S0)(e),s=Bi[r];if(s)return s;const{ast:o,detectError:i}=E0(e,{...t,location:!1,jit:!0}),a=sc(o);return i?a:Bi[r]=a}else{const n=e.cacheKey;if(n){const r=Bi[n];return r||(Bi[n]=sc(e))}else return sc(e)}}const Dm=()=>"",$n=e=>Tt(e);function Rm(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,u]=Qc(...t),d=kt(u.missingWarn)?u.missingWarn:e.missingWarn,m=kt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=kt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=Ce(u.default)||kt(u.default)?kt(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:"",_=n||h!=="",z=od(e,u);f&&T0(u);let[k,w,g]=p?[l,z,a[z]||{}]:S_(e,l,z,i,m,d),b=k,x=l;if(!p&&!(Ce(b)||oo(b)||$n(b))&&_&&(b=h,x=b),!p&&(!(Ce(b)||oo(b)||$n(b))||!Ce(w)))return s?zl:l;let C=!1;const L=()=>{C=!0},M=$n(b)?b:E_(e,l,w,b,x,L);if(C)return b;const A=P0(e,w,g,u),F=o0(A),Z=A0(e,M,F),U=r?r(Z,l):Z;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Ce(l)?l:$n(b)?b.key:"",locale:w||($n(b)?b.locale:""),format:Ce(b)?b:$n(b)?b.source:"",message:U};W.meta=Kt({},e.__meta,b0()||{}),l0(W)}return U}function T0(e){Dt(e.list)?e.list=e.list.map(t=>Ce(t)?Cm(t):t):at(e.named)&&Object.keys(e.named).forEach(t=>{Ce(e.named[t])&&(e.named[t]=Cm(e.named[t]))})}function S_(e,t,n,r,s,o){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]),!(Ce(p)||oo(p)||$n(p)));_++)if(!k0(f,d)){const z=id(e,t,f,o,h);z!==t&&(p=z)}return[p,f,m]}function E_(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if($n(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,O0(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function A0(e,t,n){return t(n)}function Qc(...e){const[t,n,r]=e,s={};if(!Ce(t)&&!Ft(t)&&!$n(t)&&!oo(t))throw vr(or.INVALID_ARGUMENT);const o=Ft(t)?String(t):($n(t),t);return Ft(n)?s.plural=n:Ce(n)?s.default=n:Xe(n)&&!vl(n)?s.named=n:Dt(n)&&(s.list=n),Ft(r)?s.plural=r:Ce(r)?s.default=r:Xe(r)&&Kt(s,r),[o,s]}function O0(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>oz(t,n,i)}}function P0(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:d}=e,f={locale:t,modifiers:s,pluralRules:o,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=S_(d,p,t,a,l,u);h=i(_,p)}if(Ce(h)||oo(h)){let _=!1;const k=E_(e,p,t,h,p,()=>{_=!0});return _?Dm:k}else return $n(h)?h:Dm}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Ft(r.plural)&&(f.pluralIndex=r.plural),f}function Mm(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,d,m]=eu(...t),f=kt(d.missingWarn)?d.missingWarn:e.missingWarn;kt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=od(e,d),_=i(e,s,h);if(!Ce(l)||l==="")return new Intl.DateTimeFormat(h,m).format(u);let z={},k,w=null;const g="datetime format";for(let C=0;C<_.length&&(k=_[C],z=n[k]||{},w=z[l],!Xe(w));C++)id(e,l,k,f,g);if(!Xe(w)||!Ce(k))return r?zl:l;let b=`${k}__${l}`;vl(m)||(b=`${b}__${JSON.stringify(m)}`);let x=a.get(b);return x||(x=new Intl.DateTimeFormat(k,Kt({},w,m)),a.set(b,x)),p?x.formatToParts(u):x.format(u)}const $_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eu(...e){const[t,n,r,s]=e,o={};let i={},a;if(Ce(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw vr(or.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 vr(or.INVALID_ISO_DATE_ARGUMENT)}}else if(az(t)){if(isNaN(t.getTime()))throw vr(or.INVALID_DATE_ARGUMENT);a=t}else if(Ft(t))a=t;else throw vr(or.INVALID_ARGUMENT);return Ce(n)?o.key=n:Xe(n)&&Object.keys(n).forEach(l=>{$_.includes(l)?i[l]=n[l]:o[l]=n[l]}),Ce(r)?o.locale=r:Xe(r)&&(i=r),Xe(s)&&(i=s),[o.key||"",a,o,i]}function Fm(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Vm(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,d,m]=tu(...t),f=kt(d.missingWarn)?d.missingWarn:e.missingWarn;kt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=od(e,d),_=i(e,s,h);if(!Ce(l)||l==="")return new Intl.NumberFormat(h,m).format(u);let z={},k,w=null;const g="number format";for(let C=0;C<_.length&&(k=_[C],z=n[k]||{},w=z[l],!Xe(w));C++)id(e,l,k,f,g);if(!Xe(w)||!Ce(k))return r?zl:l;let b=`${k}__${l}`;vl(m)||(b=`${b}__${JSON.stringify(m)}`);let x=a.get(b);return x||(x=new Intl.NumberFormat(k,Kt({},w,m)),a.set(b,x)),p?x.formatToParts(u):x.format(u)}const T_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function tu(...e){const[t,n,r,s]=e,o={};let i={};if(!Ft(t))throw vr(or.INVALID_ARGUMENT);const a=t;return Ce(n)?o.key=n:Xe(n)&&Object.keys(n).forEach(l=>{T_.includes(l)?i[l]=n[l]:o[l]=n[l]}),Ce(r)?o.locale=r:Xe(r)&&(i=r),Xe(s)&&(i=s),[o.key||"",a,o,i]}function Hm(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}jz();/**
|
||
* @vue/shared v3.4.30
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function Cl(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ut={},Gs=[],ln=()=>{},I0=()=>!1,Ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ad=e=>e.startsWith("onUpdate:"),_t=Object.assign,ld=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},L0=Object.prototype.hasOwnProperty,tt=(e,t)=>L0.call(e,t),ve=Array.isArray,Ks=e=>vo(e)==="[object Map]",xs=e=>vo(e)==="[object Set]",Um=e=>vo(e)==="[object Date]",N0=e=>vo(e)==="[object RegExp]",Ie=e=>typeof e=="function",Ct=e=>typeof e=="string",cr=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",cd=e=>(mt(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),A_=Object.prototype.toString,vo=e=>A_.call(e),D0=e=>vo(e).slice(8,-1),O_=e=>vo(e)==="[object Object]",ud=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zs=Cl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},R0=/-(\w)/g,Qt=wl(e=>e.replace(R0,(t,n)=>n?n.toUpperCase():"")),M0=/\B([A-Z])/g,vn=wl(e=>e.replace(M0,"-$1").toLowerCase()),Ai=wl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Go=wl(e=>e?`on${Ai(e)}`:""),Kn=(e,t)=>!Object.is(e,t),Ys=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},P_=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Va=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ha=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let jm;const I_=()=>jm||(jm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),F0="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",V0=Cl(F0);function ns(e){if(ve(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ct(r)?B0(r):ns(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ct(e)||mt(e))return e}const H0=/;(?![^(]*\))/g,U0=/:([^]+)/,j0=/\/\*[^]*?\*\//g;function B0(e){const t={};return e.replace(j0,"").split(H0).forEach(n=>{if(n){const r=n.split(U0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ke(e){let t="";if(Ct(e))t=e;else if(ve(e))for(let n=0;n<e.length;n++){const r=ke(e[n]);r&&(t+=r+" ")}else if(mt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fo(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=ke(t)),n&&(e.style=ns(n)),e}const W0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",q0=Cl(W0);function L_(e){return!!e||e===""}function G0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Zr(e[r],t[r]);return n}function Zr(e,t){if(e===t)return!0;let n=Um(e),r=Um(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=cr(e),r=cr(t),n||r)return e===t;if(n=ve(e),r=ve(t),n||r)return n&&r?G0(e,t):!1;if(n=mt(e),r=mt(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Zr(e[i],t[i]))return!1}}return String(e)===String(t)}function kl(e,t){return e.findIndex(n=>Zr(n,t))}const y=e=>Ct(e)?e:e==null?"":ve(e)||mt(e)&&(e.toString===A_||!Ie(e.toString))?JSON.stringify(e,N_,2):String(e),N_=(e,t)=>t&&t.__v_isRef?N_(e,t.value):Ks(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[oc(r,o)+" =>"]=s,n),{})}:xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>oc(n))}:cr(t)?oc(t):mt(t)&&!ve(t)&&!O_(t)?String(t):t,oc=(e,t="")=>{var n;return cr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.30
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let gn;class dd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=gn,!t&&gn&&(this.index=(gn.scopes||(gn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=gn;try{return gn=this,t()}finally{gn=n}}}on(){gn=this}off(){gn=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 s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function md(e){return new dd(e)}function D_(e,t=gn){t&&t.active&&t.effects.push(e)}function R_(){return gn}function K0(e){gn&&gn.cleanups.push(e)}let _s;class io{constructor(t,n,r,s){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=5,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,D_(this,s)}get dirty(){if(this._dirtyLevel===2)return!1;if(this._dirtyLevel===3||this._dirtyLevel===4){this._dirtyLevel=1,rs();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed){if(n.computed.effect._dirtyLevel===2)return wr(),!0;if(Z0(n.computed),this._dirtyLevel>=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),wr()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Kr,n=_s;try{return Kr=!0,_s=this,this._runnings++,Bm(this),this.fn()}finally{Wm(this),this._runnings--,_s=n,Kr=t}}stop(){this.active&&(Bm(this),Wm(this),this.onStop&&this.onStop(),this.active=!1)}}function Z0(e){return e.value}function Bm(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++)M_(e.deps[t],e);e.deps.length=e._depsLength}}function M_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function Y0(e,t){e.effect instanceof io&&(e=e.effect.fn);const n=new io(e,ln,()=>{n.dirty&&n.run()});t&&(_t(n,t),t.scope&&D_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function X0(e){e.effect.stop()}let Kr=!0,nu=0;const F_=[];function rs(){F_.push(Kr),Kr=!1}function wr(){const e=F_.pop();Kr=e===void 0?!0:e}function fd(){nu++}function pd(){for(nu--;!nu&&ru.length;)ru.shift()()}function V_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&M_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ru=[];function H_(e,t,n){fd();for(const r of e.keys()){let s;if(!e.computed&&r.computed&&r._runnings>0&&(s??(s=e.get(r)===r._trackId))){r._dirtyLevel=2;continue}r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r.computed&&r._dirtyLevel===2&&(r._shouldSchedule=!0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==3&&(r._shouldSchedule=!1,r.scheduler&&ru.push(r.scheduler)))}pd()}const U_=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ua=new WeakMap,gs=Symbol(""),su=Symbol("");function dn(e,t,n){if(Kr&&_s){let r=Ua.get(e);r||Ua.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=U_(()=>r.delete(n))),V_(_s,s)}}function br(e,t,n,r,s,o){const i=Ua.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ve(e)){const l=Number(r);i.forEach((u,d)=>{(d==="length"||!cr(d)&&d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ve(e)?ud(n)&&a.push(i.get("length")):(a.push(i.get(gs)),Ks(e)&&a.push(i.get(su)));break;case"delete":ve(e)||(a.push(i.get(gs)),Ks(e)&&a.push(i.get(su)));break;case"set":Ks(e)&&a.push(i.get(gs));break}fd();for(const l of a)l&&H_(l,5);pd()}function J0(e,t){const n=Ua.get(e);return n&&n.get(t)}const Q0=Cl("__proto__,__v_isRef,__isVue"),j_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cr)),qm=eC();function eC(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Je(this);for(let o=0,i=this.length;o<i;o++)dn(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Je)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){rs(),fd();const r=Je(this)[t].apply(this,n);return pd(),wr(),r}}),e}function tC(e){cr(e)||(e=String(e));const t=Je(this);return dn(t,"has",e),t.hasOwnProperty(e)}class B_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Y_:Z_:o?K_:G_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ve(t);if(!s){if(i&&tt(qm,n))return Reflect.get(qm,n,r);if(n==="hasOwnProperty")return tC}const a=Reflect.get(t,n,r);return(cr(n)?j_.has(n):Q0(n))||(s||dn(t,"get",n),o)?a:Ut(a)?i&&ud(n)?a:a.value:mt(a)?s?gd(a):bo(a):a}}class W_ extends B_{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=ao(o);if(!ui(r)&&!ao(r)&&(o=Je(o),r=Je(r)),!ve(t)&&Ut(o)&&!Ut(r))return l?!1:(o.value=r,!0)}const i=ve(t)&&ud(n)?Number(n)<t.length:tt(t,n),a=Reflect.set(t,n,r,s);return t===Je(s)&&(i?Kn(r,o)&&br(t,"set",n,r):br(t,"add",n,r)),a}deleteProperty(t,n){const r=tt(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&br(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!cr(n)||!j_.has(n))&&dn(t,"has",n),r}ownKeys(t){return dn(t,"iterate",ve(t)?"length":gs),Reflect.ownKeys(t)}}class q_ extends B_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const nC=new W_,rC=new q_,sC=new W_(!0),oC=new q_(!0),hd=e=>e,xl=e=>Reflect.getPrototypeOf(e);function Wi(e,t,n=!1,r=!1){e=e.__v_raw;const s=Je(e),o=Je(t);n||(Kn(t,o)&&dn(s,"get",t),dn(s,"get",o));const{has:i}=xl(s),a=r?hd:n?vd:di;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function qi(e,t=!1){const n=this.__v_raw,r=Je(n),s=Je(e);return t||(Kn(e,s)&&dn(r,"has",e),dn(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Gi(e,t=!1){return e=e.__v_raw,!t&&dn(Je(e),"iterate",gs),Reflect.get(e,"size",e)}function Gm(e){e=Je(e);const t=Je(this);return xl(t).has.call(t,e)||(t.add(e),br(t,"add",e,e)),this}function Km(e,t){t=Je(t);const n=Je(this),{has:r,get:s}=xl(n);let o=r.call(n,e);o||(e=Je(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Kn(t,i)&&br(n,"set",e,t):br(n,"add",e,t),this}function Zm(e){const t=Je(this),{has:n,get:r}=xl(t);let s=n.call(t,e);s||(e=Je(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&br(t,"delete",e,void 0),o}function Ym(){const e=Je(this),t=e.size!==0,n=e.clear();return t&&br(e,"clear",void 0,void 0),n}function Ki(e,t){return function(r,s){const o=this,i=o.__v_raw,a=Je(i),l=t?hd:e?vd:di;return!e&&dn(a,"iterate",gs),i.forEach((u,d)=>r.call(s,l(u),l(d),o))}}function Zi(e,t,n){return function(...r){const s=this.__v_raw,o=Je(s),i=Ks(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),d=n?hd:t?vd:di;return!t&&dn(o,"iterate",l?su:gs),{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 Or(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function iC(){const e={get(o){return Wi(this,o)},get size(){return Gi(this)},has:qi,add:Gm,set:Km,delete:Zm,clear:Ym,forEach:Ki(!1,!1)},t={get(o){return Wi(this,o,!1,!0)},get size(){return Gi(this)},has:qi,add:Gm,set:Km,delete:Zm,clear:Ym,forEach:Ki(!1,!0)},n={get(o){return Wi(this,o,!0)},get size(){return Gi(this,!0)},has(o){return qi.call(this,o,!0)},add:Or("add"),set:Or("set"),delete:Or("delete"),clear:Or("clear"),forEach:Ki(!0,!1)},r={get(o){return Wi(this,o,!0,!0)},get size(){return Gi(this,!0)},has(o){return qi.call(this,o,!0)},add:Or("add"),set:Or("set"),delete:Or("delete"),clear:Or("clear"),forEach:Ki(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Zi(o,!1,!1),n[o]=Zi(o,!0,!1),t[o]=Zi(o,!1,!0),r[o]=Zi(o,!0,!0)}),[e,n,t,r]}const[aC,lC,cC,uC]=iC();function Sl(e,t){const n=t?e?uC:cC:e?lC:aC;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(tt(n,s)&&s in r?n:r,s,o)}const dC={get:Sl(!1,!1)},mC={get:Sl(!1,!0)},fC={get:Sl(!0,!1)},pC={get:Sl(!0,!0)},G_=new WeakMap,K_=new WeakMap,Z_=new WeakMap,Y_=new WeakMap;function hC(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _C(e){return e.__v_skip||!Object.isExtensible(e)?0:hC(D0(e))}function bo(e){return ao(e)?e:El(e,!1,nC,dC,G_)}function _d(e){return El(e,!1,sC,mC,K_)}function gd(e){return El(e,!0,rC,fC,Z_)}function gC(e){return El(e,!0,oC,pC,Y_)}function El(e,t,n,r,s){if(!mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=_C(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Xs(e){return ao(e)?Xs(e.__v_raw):!!(e&&e.__v_isReactive)}function ao(e){return!!(e&&e.__v_isReadonly)}function ui(e){return!!(e&&e.__v_isShallow)}function yd(e){return e?!!e.__v_raw:!1}function Je(e){const t=e&&e.__v_raw;return t?Je(t):e}function X_(e){return Object.isExtensible(e)&&P_(e,"__v_skip",!0),e}const di=e=>mt(e)?bo(e):e,vd=e=>mt(e)?gd(e):e;class J_{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new io(()=>t(this._value),()=>Js(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Je(this),n=t.effect._dirtyLevel;return(!t._cacheable||t.effect.dirty)&&Kn(t._value,t._value=t.effect.run())&&n!==3&&Js(t,5),bd(t),t.effect._dirtyLevel>=2&&Js(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function yC(e,t,n=!1){let r,s;const o=Ie(e);return o?(r=e,s=ln):(r=e.get,s=e.set),new J_(r,s,o||!s,n)}function bd(e){var t;Kr&&_s&&(e=Je(e),V_(_s,(t=e.dep)!=null?t:e.dep=U_(()=>e.dep=void 0,e instanceof J_?e:void 0)))}function Js(e,t=5,n,r){e=Je(e);const s=e.dep;s&&H_(s,t)}function Ut(e){return!!(e&&e.__v_isRef===!0)}function ar(e){return Q_(e,!1)}function zd(e){return Q_(e,!0)}function Q_(e,t){return Ut(e)?e:new vC(e,t)}class vC{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Je(t),this._value=n?t:di(t)}get value(){return bd(this),this._value}set value(t){const n=this.__v_isShallow||ui(t)||ao(t);t=n?t:Je(t),Kn(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:di(t),Js(this,5))}}function bC(e){Js(e,5)}function bn(e){return Ut(e)?e.value:e}function zC(e){return Ie(e)?e():bn(e)}const CC={get:(e,t,n)=>bn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ut(s)&&!Ut(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Cd(e){return Xs(e)?e:new Proxy(e,CC)}class wC{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>bd(this),()=>Js(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function eg(e){return new wC(e)}function kC(e){const t=ve(e)?new Array(e.length):{};for(const n in e)t[n]=tg(e,n);return t}class xC{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 J0(Je(this._object),this._key)}}class SC{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function EC(e,t,n){return Ut(e)?e:Ie(e)?new SC(e):mt(e)&&arguments.length>1?tg(e,t,n):ar(e)}function tg(e,t,n){const r=e[t];return Ut(r)?r:new xC(e,t,n)}const $C={GET:"get",HAS:"has",ITERATE:"iterate"},TC={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
|
||
* @vue/runtime-core v3.4.30
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function AC(e,t){}const OC={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"},PC={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 zr(e,t,n,r){try{return r?e(...r):e()}catch(s){Ss(s,t,n)}}function Cn(e,t,n,r){if(Ie(e)){const s=zr(e,t,n,r);return s&&cd(s)&&s.catch(o=>{Ss(o,t,n)}),s}if(ve(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Cn(e[o],t,n,r));return s}}function Ss(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const u=o.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){rs(),zr(l,null,10,[e,i,a]),wr();return}}IC(e,n,s,r)}function IC(e,t,n,r=!0){console.error(e)}let mi=!1,ou=!1;const Wt=[];let sr=0;const Qs=[];let Mr=null,fs=0;const ng=Promise.resolve();let wd=null;function zo(e){const t=wd||ng;return e?t.then(this?e.bind(this):e):t}function LC(e){let t=sr+1,n=Wt.length;for(;t<n;){const r=t+n>>>1,s=Wt[r],o=fi(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function $l(e){(!Wt.length||!Wt.includes(e,mi&&e.allowRecurse?sr+1:sr))&&(e.id==null?Wt.push(e):Wt.splice(LC(e.id),0,e),rg())}function rg(){!mi&&!ou&&(ou=!0,wd=ng.then(sg))}function NC(e){const t=Wt.indexOf(e);t>sr&&Wt.splice(t,1)}function ja(e){ve(e)?Qs.push(...e):(!Mr||!Mr.includes(e,e.allowRecurse?fs+1:fs))&&Qs.push(e),rg()}function Xm(e,t,n=mi?sr+1:0){for(;n<Wt.length;n++){const r=Wt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Wt.splice(n,1),n--,r()}}}function Ba(e){if(Qs.length){const t=[...new Set(Qs)].sort((n,r)=>fi(n)-fi(r));if(Qs.length=0,Mr){Mr.push(...t);return}for(Mr=t,fs=0;fs<Mr.length;fs++){const n=Mr[fs];n.active!==!1&&n()}Mr=null,fs=0}}const fi=e=>e.id==null?1/0:e.id,DC=(e,t)=>{const n=fi(e)-fi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function sg(e){ou=!1,mi=!0,Wt.sort(DC);try{for(sr=0;sr<Wt.length;sr++){const t=Wt[sr];t&&t.active!==!1&&zr(t,null,14)}}finally{sr=0,Wt.length=0,Ba(),mi=!1,wd=null,(Wt.length||Qs.length)&&sg()}}let Vs,Yi=[];function og(e,t){var n,r;Vs=e,Vs?(Vs.enabled=!0,Yi.forEach(({event:s,args:o})=>Vs.emit(s,...o)),Yi=[]):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(o=>{og(o,t)}),setTimeout(()=>{Vs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Yi=[])},3e3)):Yi=[]}function RC(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ut;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||ut;f&&(s=n.map(p=>Ct(p)?p.trim():p)),m&&(s=n.map(Va))}let a,l=r[a=Go(t)]||r[a=Go(Qt(t))];!l&&o&&(l=r[a=Go(vn(t))]),l&&Cn(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Cn(u,e,6,s)}}function ig(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!Ie(e)){const l=u=>{const d=ig(u,t,!0);d&&(a=!0,_t(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(mt(e)&&r.set(e,null),null):(ve(o)?o.forEach(l=>i[l]=null):_t(i,o),mt(e)&&r.set(e,i),i)}function Tl(e,t){return!e||!Ti(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,vn(t))||tt(e,t))}let Rt=null,Al=null;function pi(e){const t=Rt;return Rt=e,Al=e&&e.type.__scopeId||null,t}function MC(e){Al=e}function FC(){Al=null}const VC=e=>N;function N(e,t=Rt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&pu(-1);const o=pi(t);let i;try{i=e(...s)}finally{pi(o),r._d&&pu(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function wa(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:d,props:m,data:f,setupState:p,ctx:h,inheritAttrs:_}=e,z=pi(e);let k,w;try{if(n.shapeFlag&4){const b=s||r,x=b;k=yn(u.call(x,b,d,m,p,f,h)),w=a}else{const b=t;k=yn(b.length>1?b(m,{attrs:a,slots:i,emit:l}):b(m,null)),w=t.props?a:UC(a)}}catch(b){Xo.length=0,Ss(b,e,1),k=v(Vt)}let g=k;if(w&&_!==!1){const b=Object.keys(w),{shapeFlag:x}=g;b.length&&x&7&&(o&&b.some(ad)&&(w=jC(w,o)),g=ur(g,w,!1,!0))}return n.dirs&&(g=ur(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),k=g,pi(z),k}function HC(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(Jr(s)){if(s.type!==Vt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const UC=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ti(n))&&((t||(t={}))[n]=e[n]);return t},jC=(e,t)=>{const n={};for(const r in e)(!ad(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function BC(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Jm(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]&&!Tl(u,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Jm(r,i,u):!0:!!i;return!1}function Jm(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Tl(n,o))return!0}return!1}function kd({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 xd="components",WC="directives";function O(e,t){return Ed(xd,e,!0,t)||e}const ag=Symbol.for("v-ndc");function Ol(e){return Ct(e)?Ed(xd,e,!1)||e:e||ag}function Sd(e){return Ed(WC,e)}function Ed(e,t,n=!0,r=!1){const s=Rt||Nt;if(s){const o=s.type;if(e===xd){const a=vu(o,!1);if(a&&(a===t||a===Qt(t)||a===Ai(Qt(t))))return o}const i=Qm(s[e]||o[e],t)||Qm(s.appContext[e],t);return!i&&r?o:i}}function Qm(e,t){return e&&(e[t]||e[Qt(t)]||e[Ai(Qt(t))])}const iu=e=>e.__isSuspense;let au=0;const qC={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)KC(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ZC(e,t,n,r,s,i,a,l,u)}},hydrate:YC,normalize:XC},GC=qC;function hi(e,t){const n=e.props&&e.props[t];Ie(n)&&n()}function KC(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:d}}=l,m=d("div"),f=e.suspense=lg(e,s,r,t,m,n,o,i,a,l);u(null,f.pendingBranch=e.ssContent,m,null,r,f,o,i),f.deps>0?(hi(e,"onPending"),hi(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),eo(f,e.ssFallback)):f.resolve(!1,!0)}function ZC(e,t,n,r,s,o,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:z,isHydrating:k}=m;if(_)m.pendingBranch=f,Bn(f,_)?(l(_,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():z&&(k||(l(h,p,n,r,s,null,o,i,a),eo(m,p)))):(m.pendingId=au++,k?(m.isHydrating=!1,m.activeBranch=_):u(_,s,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),z?(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():(l(h,p,n,r,s,null,o,i,a),eo(m,p))):h&&Bn(f,h)?(l(h,f,n,r,s,m,o,i,a),m.resolve(!0)):(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0&&m.resolve()));else if(h&&Bn(f,h))l(h,f,n,r,s,m,o,i,a),eo(m,f);else if(hi(t,"onPending"),m.pendingBranch=f,f.shapeFlag&512?m.pendingId=f.component.suspenseId:m.pendingId=au++,l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0)m.resolve();else{const{timeout:w,pendingId:g}=m;w>0?setTimeout(()=>{m.pendingId===g&&m.fallback(p)},w):w===0&&m.fallback(p)}}function lg(e,t,n,r,s,o,i,a,l,u,d=!1){const{p:m,m:f,um:p,n:h,o:{parentNode:_,remove:z}}=u;let k;const w=JC(e);w&&t&&t.pendingBranch&&(k=t.pendingId,t.deps++);const g=e.props?Ha(e.props.timeout):void 0,b=o,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:au++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(C=!1,L=!1){const{vnode:M,activeBranch:A,pendingBranch:F,pendingId:Z,effects:U,parentComponent:W,container:ne}=x;let he=!1;x.isHydrating?x.isHydrating=!1:C||(he=A&&F.transition&&F.transition.mode==="out-in",he&&(A.transition.afterLeave=()=>{Z===x.pendingId&&(f(F,ne,o===b?h(A):o,0),ja(U))}),A&&(_(A.el)!==x.hiddenContainer&&(o=h(A)),p(A,W,x,!0)),he||f(F,ne,o,0)),eo(x,F),x.pendingBranch=null,x.isInFallback=!1;let Y=x.parent,oe=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...U),oe=!0;break}Y=Y.parent}!oe&&!he&&ja(U),x.effects=[],w&&t&&t.pendingBranch&&k===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),hi(M,"onResolve")},fallback(C){if(!x.pendingBranch)return;const{vnode:L,activeBranch:M,parentComponent:A,container:F,namespace:Z}=x;hi(L,"onFallback");const U=h(M),W=()=>{x.isInFallback&&(m(null,C,F,U,A,null,Z,a,l),eo(x,C))},ne=C.transition&&C.transition.mode==="out-in";ne&&(M.transition.afterLeave=W),x.isInFallback=!0,p(M,A,null,!0),ne||W()},move(C,L,M){x.activeBranch&&f(x.activeBranch,C,L,M),x.container=C},next(){return x.activeBranch&&h(x.activeBranch)},registerDep(C,L,M){const A=!!x.pendingBranch;A&&x.deps++;const F=C.vnode.el;C.asyncDep.catch(Z=>{Ss(Z,C,0)}).then(Z=>{if(C.isUnmounted||x.isUnmounted||x.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:U}=C;gu(C,Z,!1),F&&(U.el=F);const W=!F&&C.subTree.el;L(C,U,_(F||C.subTree.el),F?null:h(C.subTree),x,i,M),W&&z(W),kd(C,U.el),A&&--x.deps===0&&x.resolve()})},unmount(C,L){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,C,L),x.pendingBranch&&p(x.pendingBranch,n,C,L)}};return x}function YC(e,t,n,r,s,o,i,a,l){const u=t.suspense=lg(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),d}function XC(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ef(r?n.default:n),e.ssFallback=r?ef(n.fallback):v(Vt)}function ef(e){let t;if(Ie(e)){const n=ws&&e._c;n&&(e._d=!1,E()),e=e(),n&&(e._d=!0,t=cn,qg())}return ve(e)&&(e=HC(e)),e=yn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function cg(e,t){t&&t.pendingBranch?ve(e)?t.effects.push(...e):t.effects.push(e):ja(e)}function eo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,kd(r,s))}function JC(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function Pl(e,t,n=Nt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{rs();const a=ks(n),l=Cn(t,n,e,i);return a(),wr(),l});return r?s.unshift(o):s.push(o),o}}const xr=e=>(t,n=Nt)=>{(!Li||e==="sp")&&Pl(e,(...r)=>t(...r),n)},ug=xr("bm"),Co=xr("m"),dg=xr("bu"),Il=xr("u"),Ll=xr("bum"),Oi=xr("um"),mg=xr("sp"),fg=xr("rtg"),pg=xr("rtc");function hg(e,t=Nt){Pl("ec",e,t)}function pt(e,t){if(Rt===null)return e;const n=Ni(Rt),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=ut]=t[s];o&&(Ie(o)&&(o={mounted:o,updated:o}),o.deep&&Br(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function rr(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(rs(),Cn(l,n,8,[e.el,a,e,t]),wr())}}function gt(e,t,n,r){let s;const o=n&&n[r];if(ve(e)||Ct(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(mt(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const u=i[a];s[a]=t(e[u],u,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function $d(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ve(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}/*! #__NO_SIDE_EFFECTS__ */function Sr(e,t){return Ie(e)?_t({name:e.name},t,{setup:e}):e}const ys=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function QC(e){Ie(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,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((_,z)=>{a(h,()=>_(m()),()=>z(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 Sr({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=Nt;if(u)return()=>ic(u,p);const h=w=>{l=null,Ss(w,p,13,!r)};if(i&&p.suspense||Li)return f().then(w=>()=>ic(w,p)).catch(w=>(h(w),()=>r?v(r,{error:w}):null));const _=ar(!1),z=ar(),k=ar(!!s);return s&&setTimeout(()=>{k.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!z.value){const w=new Error(`Async component timed out after ${o}ms.`);h(w),z.value=w}},o),f().then(()=>{_.value=!0,p.parent&&Ii(p.parent.vnode)&&(p.parent.effect.dirty=!0,$l(p.parent.update))}).catch(w=>{h(w),z.value=w}),()=>{if(_.value&&u)return ic(u,p);if(z.value&&r)return v(r,{error:z.value});if(n&&!k.value)return v(n)}}})}function ic(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=v(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}function zt(e,t,n={},r,s){if(Rt.isCE||Rt.parent&&ys(Rt.parent)&&Rt.parent.isCE)return t!=="default"&&(n.name=t),v("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),E();const i=o&&_g(o(n)),a=we(be,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function _g(e){return e.some(t=>Jr(t)?!(t.type===Vt||t.type===be&&!_g(t.children)):!0)?e:null}function ew(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Go(r)]=e[r];return n}const lu=e=>e?Xg(e)?Ni(e):lu(e.parent):null,Ko=_t(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=>lu(e.parent),$root:e=>lu(e.root),$emit:e=>e.emit,$options:e=>Td(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,$l(e.update)}),$nextTick:e=>e.n||(e.n=zo.bind(e.proxy)),$watch:e=>Pw.bind(e)}),ac=(e,t)=>e!==ut&&!e.__isScriptSetup&&tt(e,t),cu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,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 s[t];case 4:return n[t];case 3:return o[t]}else{if(ac(r,t))return i[t]=1,r[t];if(s!==ut&&tt(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&tt(u,t))return i[t]=3,o[t];if(n!==ut&&tt(n,t))return i[t]=4,n[t];uu&&(i[t]=0)}}const d=Ko[t];let m,f;if(d)return t==="$attrs"&&dn(e.attrs,"get",""),d(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==ut&&tt(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,tt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ac(s,t)?(s[t]=n,!0):r!==ut&&tt(r,t)?(r[t]=n,!0):tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==ut&&tt(e,i)||ac(t,i)||(a=o[0])&&tt(a,i)||tt(r,i)||tt(Ko,i)||tt(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:tt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},tw=_t({},cu,{get(e,t){if(t!==Symbol.unscopables)return cu.get(e,t,e)},has(e,t){return t[0]!=="_"&&!V0(t)}});function nw(){return null}function rw(){return null}function sw(e){}function ow(e){}function iw(){return null}function aw(){}function lw(e,t){return null}function cw(){return gg().slots}function uw(){return gg().attrs}function gg(){const e=Rn();return e.setupContext||(e.setupContext=ey(e))}function _i(e){return ve(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function dw(e,t){const n=_i(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?ve(s)||Ie(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function mw(e,t){return!e||!t?e||t:ve(e)&&ve(t)?e.concat(t):_t({},_i(e),_i(t))}function fw(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function pw(e){const t=Rn();let n=e();return _u(),cd(n)&&(n=n.catch(r=>{throw ks(t),r})),[n,()=>ks(t)]}let uu=!0;function hw(e){const t=Td(e),n=e.proxy,r=e.ctx;uu=!1,t.beforeCreate&&tf(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:d,beforeMount:m,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:z,beforeDestroy:k,beforeUnmount:w,destroyed:g,unmounted:b,render:x,renderTracked:C,renderTriggered:L,errorCaptured:M,serverPrefetch:A,expose:F,inheritAttrs:Z,components:U,directives:W,filters:ne}=t;if(u&&_w(u,r,null),i)for(const oe in i){const ae=i[oe];Ie(ae)&&(r[oe]=ae.bind(n))}if(s){const oe=s.call(n,n);mt(oe)&&(e.data=bo(oe))}if(uu=!0,o)for(const oe in o){const ae=o[oe],We=Ie(ae)?ae.bind(n,n):Ie(ae.get)?ae.get.bind(n,n):ln,st=!Ie(ae)&&Ie(ae.set)?ae.set.bind(n):ln,Ve=Ht({get:We,set:st});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:He=>Ve.value=He})}if(a)for(const oe in a)yg(a[oe],r,n,oe);if(l){const oe=Ie(l)?l.call(n):l;Reflect.ownKeys(oe).forEach(ae=>{Zo(ae,oe[ae])})}d&&tf(d,e,"c");function Y(oe,ae){ve(ae)?ae.forEach(We=>oe(We.bind(n))):ae&&oe(ae.bind(n))}if(Y(ug,m),Y(Co,f),Y(dg,p),Y(Il,h),Y(Fg,_),Y(Vg,z),Y(hg,M),Y(pg,C),Y(fg,L),Y(Ll,w),Y(Oi,b),Y(mg,A),ve(F))if(F.length){const oe=e.exposed||(e.exposed={});F.forEach(ae=>{Object.defineProperty(oe,ae,{get:()=>n[ae],set:We=>n[ae]=We})})}else e.exposed||(e.exposed={});x&&e.render===ln&&(e.render=x),Z!=null&&(e.inheritAttrs=Z),U&&(e.components=U),W&&(e.directives=W)}function _w(e,t,n=ln){ve(e)&&(e=du(e));for(const r in e){const s=e[r];let o;mt(s)?"default"in s?o=Gn(s.from||r,s.default,!0):o=Gn(s.from||r):o=Gn(s),Ut(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function tf(e,t,n){Cn(ve(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yg(e,t,n,r){const s=r.includes(".")?Mg(n,r):()=>n[r];if(Ct(e)){const o=t[e];Ie(o)&&wn(s,o)}else if(Ie(e))wn(s,e.bind(n));else if(mt(e))if(ve(e))e.forEach(o=>yg(o,t,n,r));else{const o=Ie(e.handler)?e.handler.bind(n):t[e.handler];Ie(o)&&wn(s,o,e)}}function Td(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Wa(l,u,i,!0)),Wa(l,t,i)),mt(t)&&o.set(t,l),l}function Wa(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Wa(e,o,n,!0),s&&s.forEach(i=>Wa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=gw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const gw={data:nf,props:rf,emits:rf,methods:Vo,computed:Vo,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:Vo,directives:Vo,watch:vw,provide:nf,inject:yw};function nf(e,t){return t?e?function(){return _t(Ie(e)?e.call(this,this):e,Ie(t)?t.call(this,this):t)}:t:e}function yw(e,t){return Vo(du(e),du(t))}function du(e){if(ve(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 Vo(e,t){return e?_t(Object.create(null),e,t):t}function rf(e,t){return e?ve(e)&&ve(t)?[...new Set([...e,...t])]:_t(Object.create(null),_i(e),_i(t??{})):t}function vw(e,t){if(!e)return t;if(!t)return e;const n=_t(Object.create(null),e);for(const r in t)n[r]=Zt(e[r],t[r]);return n}function vg(){return{app:null,config:{isNativeTag:I0,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 bw=0;function zw(e,t){return function(r,s=null){Ie(r)||(r=_t({},r)),s!=null&&!mt(s)&&(s=null);const o=vg(),i=new WeakSet;let a=!1;const l=o.app={_uid:bw++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:ny,get config(){return o.config},set config(u){},use(u,...d){return i.has(u)||(u&&Ie(u.install)?(i.add(u),u.install(l,...d)):Ie(u)&&(i.add(u),u(l,...d))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,d){return d?(o.components[u]=d,l):o.components[u]},directive(u,d){return d?(o.directives[u]=d,l):o.directives[u]},mount(u,d,m){if(!a){const f=v(r,s);return f.appContext=o,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,Ni(f.component)}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,d){return o.provides[u]=d,l},runWithContext(u){const d=to;to=l;try{return u()}finally{to=d}}};return l}}let to=null;function Zo(e,t){if(Nt){let n=Nt.provides;const r=Nt.parent&&Nt.parent.provides;r===n&&(n=Nt.provides=Object.create(r)),n[e]=t}}function Gn(e,t,n=!1){const r=Nt||Rt;if(r||to){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:to._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Ie(t)?t.call(r&&r.proxy):t}}function Cw(){return!!(Nt||Rt||to)}const bg={},zg=()=>Object.create(bg),Cg=e=>Object.getPrototypeOf(e)===bg;function ww(e,t,n,r=!1){const s={},o=zg();e.propsDefaults=Object.create(null),wg(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:_d(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function kw(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Je(s),[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(Tl(e.emitsOptions,f))continue;const p=t[f];if(l)if(tt(o,f))p!==o[f]&&(o[f]=p,u=!0);else{const h=Qt(f);s[h]=mu(l,a,h,p,e,!1)}else p!==o[f]&&(o[f]=p,u=!0)}}}else{wg(e,t,s,o)&&(u=!0);let d;for(const m in a)(!t||!tt(t,m)&&((d=vn(m))===m||!tt(t,d)))&&(l?n&&(n[m]!==void 0||n[d]!==void 0)&&(s[m]=mu(l,a,m,void 0,e,!0)):delete s[m]);if(o!==a)for(const m in o)(!t||!tt(t,m))&&(delete o[m],u=!0)}u&&br(e.attrs,"set","")}function wg(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Zs(l))continue;const u=t[l];let d;s&&tt(s,d=Qt(l))?!o||!o.includes(d)?n[d]=u:(a||(a={}))[d]=u:Tl(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=Je(n),u=a||ut;for(let d=0;d<o.length;d++){const m=o[d];n[m]=mu(s,l,m,u[m],e,!tt(u,m))}}return i}function mu(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=tt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Ie(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const d=ks(s);r=u[n]=l.call(null,t),d()}}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===vn(n))&&(r=!0))}return r}function kg(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!Ie(e)){const d=m=>{l=!0;const[f,p]=kg(m,t,!0);_t(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(!o&&!l)return mt(e)&&r.set(e,Gs),Gs;if(ve(o))for(let d=0;d<o.length;d++){const m=Qt(o[d]);sf(m)&&(i[m]=ut)}else if(o)for(const d in o){const m=Qt(d);if(sf(m)){const f=o[d],p=i[m]=ve(f)||Ie(f)?{type:f}:_t({},f);if(p){const h=lf(Boolean,p.type),_=lf(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||tt(p,"default"))&&a.push(m)}}}const u=[i,a];return mt(e)&&r.set(e,u),u}function sf(e){return e[0]!=="$"&&!Zs(e)}function of(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function af(e,t){return of(e)===of(t)}function lf(e,t){return ve(t)?t.findIndex(n=>af(n,e)):Ie(t)&&af(t,e)?0:-1}const xg=e=>e[0]==="_"||e==="$stable",Ad=e=>ve(e)?e.map(yn):[yn(e)],xw=(e,t,n)=>{if(t._n)return t;const r=N((...s)=>Ad(t(...s)),n);return r._c=!1,r},Sg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(xg(s))continue;const o=e[s];if(Ie(o))t[s]=xw(s,o,r);else if(o!=null){const i=Ad(o);t[s]=()=>i}}},Eg=(e,t)=>{const n=Ad(t);e.slots.default=()=>n},Sw=(e,t)=>{const n=e.slots=zg();if(e.vnode.shapeFlag&32){const r=t._;r?(_t(n,t),P_(n,"_",r,!0)):Sg(t,n)}else t&&Eg(e,t)},Ew=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ut;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(_t(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Sg(t,s)),i=t}else t&&(Eg(e,t),i={default:1});if(o)for(const a in s)!xg(a)&&i[a]==null&&delete s[a]};function qa(e,t,n,r,s=!1){if(ve(e)){e.forEach((f,p)=>qa(f,t&&(ve(t)?t[p]:t),n,r,s));return}if(ys(r)&&!s)return;const o=r.shapeFlag&4?Ni(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,d=a.refs===ut?a.refs={}:a.refs,m=a.setupState;if(u!=null&&u!==l&&(Ct(u)?(d[u]=null,tt(m,u)&&(m[u]=null)):Ut(u)&&(u.value=null)),Ie(l))zr(l,a,12,[i,d]);else{const f=Ct(l),p=Ut(l);if(f||p){const h=()=>{if(e.f){const _=f?tt(m,l)?m[l]:d[l]:l.value;s?ve(_)&&ld(_,o):ve(_)?_.includes(o)||_.push(o):f?(d[l]=[o],tt(m,l)&&(m[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,tt(m,l)&&(m[l]=i)):p&&(l.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,Mt(h,n)):h()}}}let cf=!1;const As=()=>{cf||(console.error("Hydration completed but contains mismatches."),cf=!0)},$w=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Tw=e=>e.namespaceURI.includes("MathML"),Xi=e=>{if($w(e))return"svg";if(Tw(e))return"mathml"},Ji=e=>e.nodeType===8;function Aw(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:u}}=e,d=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),Ba(),b._vnode=g;return}m(b.firstChild,g,null,null,null),Ba(),b._vnode=g},m=(g,b,x,C,L,M=!1)=>{M=M||!!b.dynamicChildren;const A=Ji(g)&&g.data==="[",F=()=>_(g,b,x,C,L,A),{type:Z,ref:U,shapeFlag:W,patchFlag:ne}=b;let he=g.nodeType;b.el=g,ne===-2&&(M=!1,b.dynamicChildren=null);let Y=null;switch(Z){case Xr:he!==3?b.children===""?(l(b.el=s(""),i(g),g),Y=g):Y=F():(g.data!==b.children&&(As(),g.data=b.children),Y=o(g));break;case Vt:w(g)?(Y=o(g),k(b.el=g.content.firstChild,g,x)):he!==8||A?Y=F():Y=o(g);break;case vs:if(A&&(g=o(g),he=g.nodeType),he===1||he===3){Y=g;const oe=!b.children.length;for(let ae=0;ae<b.staticCount;ae++)oe&&(b.children+=Y.nodeType===1?Y.outerHTML:Y.data),ae===b.staticCount-1&&(b.anchor=Y),Y=o(Y);return A?o(Y):Y}else F();break;case be:A?Y=h(g,b,x,C,L,M):Y=F();break;default:if(W&1)(he!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!w(g)?Y=F():Y=f(g,b,x,C,L,M);else if(W&6){b.slotScopeIds=L;const oe=i(g);if(A?Y=z(g):Ji(g)&&g.data==="teleport start"?Y=z(g,g.data,"teleport end"):Y=o(g),t(b,oe,null,x,C,Xi(oe),M),ys(b)){let ae;A?(ae=v(be),ae.anchor=Y?Y.previousSibling:oe.lastChild):ae=g.nodeType===3?It(""):v("div"),ae.el=g,b.component.subTree=ae}}else W&64?he!==8?Y=F():Y=b.type.hydrate(g,b,x,C,L,M,e,p):W&128&&(Y=b.type.hydrate(g,b,x,C,Xi(i(g)),L,M,e,m))}return U!=null&&qa(U,null,C,b),Y},f=(g,b,x,C,L,M)=>{M=M||!!b.dynamicChildren;const{type:A,props:F,patchFlag:Z,shapeFlag:U,dirs:W,transition:ne}=b,he=A==="input"||A==="option";if(he||Z!==-1){W&&rr(b,null,x,"created");let Y=!1;if(w(g)){Y=Og(C,ne)&&x&&x.vnode.props&&x.vnode.props.appear;const ae=g.content.firstChild;Y&&ne.beforeEnter(ae),k(ae,g,x),b.el=g=ae}if(U&16&&!(F&&(F.innerHTML||F.textContent))){let ae=p(g.firstChild,b,g,x,C,L,M);for(;ae;){As();const We=ae;ae=ae.nextSibling,a(We)}}else U&8&&g.textContent!==b.children&&(As(),g.textContent=b.children);if(F)if(he||!M||Z&48)for(const ae in F)(he&&(ae.endsWith("value")||ae==="indeterminate")||Ti(ae)&&!Zs(ae)||ae[0]===".")&&r(g,ae,null,F[ae],void 0,void 0,x);else F.onClick&&r(g,"onClick",null,F.onClick,void 0,void 0,x);let oe;(oe=F&&F.onVnodeBeforeMount)&&sn(oe,x,b),W&&rr(b,null,x,"beforeMount"),((oe=F&&F.onVnodeMounted)||W||Y)&&cg(()=>{oe&&sn(oe,x,b),Y&&ne.enter(g),W&&rr(b,null,x,"mounted")},C)}return g.nextSibling},p=(g,b,x,C,L,M,A)=>{A=A||!!b.dynamicChildren;const F=b.children,Z=F.length;for(let U=0;U<Z;U++){const W=A?F[U]:F[U]=yn(F[U]);g?g=m(g,W,C,L,M,A):W.type===Xr&&!W.children?l(W.el=s(""),x):(As(),n(null,W,x,null,C,L,Xi(x),M))}return g},h=(g,b,x,C,L,M)=>{const{slotScopeIds:A}=b;A&&(L=L?L.concat(A):A);const F=i(g),Z=p(o(g),b,F,x,C,L,M);return Z&&Ji(Z)&&Z.data==="]"?o(b.anchor=Z):(As(),l(b.anchor=u("]"),F,Z),Z)},_=(g,b,x,C,L,M)=>{if(As(),b.el=null,M){const Z=z(g);for(;;){const U=o(g);if(U&&U!==Z)a(U);else break}}const A=o(g),F=i(g);return a(g),n(null,b,F,A,x,C,Xi(F),L),A},z=(g,b="[",x="]")=>{let C=0;for(;g;)if(g=o(g),g&&Ji(g)&&(g.data===b&&C++,g.data===x)){if(C===0)return o(g);C--}return g},k=(g,b,x)=>{const C=b.parentNode;C&&C.replaceChild(g,b);let L=x;for(;L;)L.vnode.el===b&&(L.vnode.el=L.subTree.el=g),L=L.parent},w=g=>g.nodeType===1&&g.tagName.toLowerCase()==="template";return[d,m]}const Mt=cg;function $g(e){return Ag(e)}function Tg(e){return Ag(e,Aw)}function Ag(e,t){const n=I_();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:d,parentNode:m,nextSibling:f,setScopeId:p=ln,insertStaticContent:h}=e,_=(T,I,B,ee=null,X=null,le=null,fe=void 0,S=null,$=!!I.dynamicChildren)=>{if(T===I)return;T&&!Bn(T,I)&&(ee=K(T),He(T,X,le,!0),T=null),I.patchFlag===-2&&($=!1,I.dynamicChildren=null);const{type:D,ref:Q,shapeFlag:me}=I;switch(D){case Xr:z(T,I,B,ee);break;case Vt:k(T,I,B,ee);break;case vs:T==null&&w(I,B,ee,fe);break;case be:U(T,I,B,ee,X,le,fe,S,$);break;default:me&1?x(T,I,B,ee,X,le,fe,S,$):me&6?W(T,I,B,ee,X,le,fe,S,$):(me&64||me&128)&&D.process(T,I,B,ee,X,le,fe,S,$,ge)}Q!=null&&X&&qa(Q,T&&T.ref,le,I||T,!I)},z=(T,I,B,ee)=>{if(T==null)r(I.el=a(I.children),B,ee);else{const X=I.el=T.el;I.children!==T.children&&u(X,I.children)}},k=(T,I,B,ee)=>{T==null?r(I.el=l(I.children||""),B,ee):I.el=T.el},w=(T,I,B,ee)=>{[T.el,T.anchor]=h(T.children,I,B,ee,T.el,T.anchor)},g=({el:T,anchor:I},B,ee)=>{let X;for(;T&&T!==I;)X=f(T),r(T,B,ee),T=X;r(I,B,ee)},b=({el:T,anchor:I})=>{let B;for(;T&&T!==I;)B=f(T),s(T),T=B;s(I)},x=(T,I,B,ee,X,le,fe,S,$)=>{I.type==="svg"?fe="svg":I.type==="math"&&(fe="mathml"),T==null?C(I,B,ee,X,le,fe,S,$):A(T,I,X,le,fe,S,$)},C=(T,I,B,ee,X,le,fe,S)=>{let $,D;const{props:Q,shapeFlag:me,transition:se,dirs:H}=T;if($=T.el=i(T.type,le,Q&&Q.is,Q),me&8?d($,T.children):me&16&&M(T.children,$,null,ee,X,lc(T,le),fe,S),H&&rr(T,null,ee,"created"),L($,T,T.scopeId,fe,ee),Q){for(const xe in Q)xe!=="value"&&!Zs(xe)&&o($,xe,null,Q[xe],le,T.children,ee,X,Ne);"value"in Q&&o($,"value",null,Q.value,le),(D=Q.onVnodeBeforeMount)&&sn(D,ee,T)}H&&rr(T,null,ee,"beforeMount");const G=Og(X,se);G&&se.beforeEnter($),r($,I,B),((D=Q&&Q.onVnodeMounted)||G||H)&&Mt(()=>{D&&sn(D,ee,T),G&&se.enter($),H&&rr(T,null,ee,"mounted")},X)},L=(T,I,B,ee,X)=>{if(B&&p(T,B),ee)for(let le=0;le<ee.length;le++)p(T,ee[le]);if(X){let le=X.subTree;if(I===le){const fe=X.vnode;L(T,fe,fe.scopeId,fe.slotScopeIds,X.parent)}}},M=(T,I,B,ee,X,le,fe,S,$=0)=>{for(let D=$;D<T.length;D++){const Q=T[D]=S?Vr(T[D]):yn(T[D]);_(null,Q,I,B,ee,X,le,fe,S)}},A=(T,I,B,ee,X,le,fe)=>{const S=I.el=T.el;let{patchFlag:$,dynamicChildren:D,dirs:Q}=I;$|=T.patchFlag&16;const me=T.props||ut,se=I.props||ut;let H;if(B&&is(B,!1),(H=se.onVnodeBeforeUpdate)&&sn(H,B,I,T),Q&&rr(I,T,B,"beforeUpdate"),B&&is(B,!0),D?F(T.dynamicChildren,D,S,B,ee,lc(I,X),le):fe||ae(T,I,S,null,B,ee,lc(I,X),le,!1),$>0){if($&16)Z(S,I,me,se,B,ee,X);else if($&2&&me.class!==se.class&&o(S,"class",null,se.class,X),$&4&&o(S,"style",me.style,se.style,X),$&8){const G=I.dynamicProps;for(let xe=0;xe<G.length;xe++){const R=G[xe],V=me[R],q=se[R];(q!==V||R==="value")&&o(S,R,V,q,X,T.children,B,ee,Ne)}}$&1&&T.children!==I.children&&d(S,I.children)}else!fe&&D==null&&Z(S,I,me,se,B,ee,X);((H=se.onVnodeUpdated)||Q)&&Mt(()=>{H&&sn(H,B,I,T),Q&&rr(I,T,B,"updated")},ee)},F=(T,I,B,ee,X,le,fe)=>{for(let S=0;S<I.length;S++){const $=T[S],D=I[S],Q=$.el&&($.type===be||!Bn($,D)||$.shapeFlag&70)?m($.el):B;_($,D,Q,null,ee,X,le,fe,!0)}},Z=(T,I,B,ee,X,le,fe)=>{if(B!==ee){if(B!==ut)for(const S in B)!Zs(S)&&!(S in ee)&&o(T,S,B[S],null,fe,I.children,X,le,Ne);for(const S in ee){if(Zs(S))continue;const $=ee[S],D=B[S];$!==D&&S!=="value"&&o(T,S,D,$,fe,I.children,X,le,Ne)}"value"in ee&&o(T,"value",B.value,ee.value,fe)}},U=(T,I,B,ee,X,le,fe,S,$)=>{const D=I.el=T?T.el:a(""),Q=I.anchor=T?T.anchor:a("");let{patchFlag:me,dynamicChildren:se,slotScopeIds:H}=I;H&&(S=S?S.concat(H):H),T==null?(r(D,B,ee),r(Q,B,ee),M(I.children||[],B,Q,X,le,fe,S,$)):me>0&&me&64&&se&&T.dynamicChildren?(F(T.dynamicChildren,se,B,X,le,fe,S),(I.key!=null||X&&I===X.subTree)&&Od(T,I,!0)):ae(T,I,B,Q,X,le,fe,S,$)},W=(T,I,B,ee,X,le,fe,S,$)=>{I.slotScopeIds=S,T==null?I.shapeFlag&512?X.ctx.activate(I,B,ee,fe,$):ne(I,B,ee,X,le,fe,$):he(T,I,$)},ne=(T,I,B,ee,X,le,fe)=>{const S=T.component=Yg(T,ee,X);if(Ii(T)&&(S.ctx.renderer=ge),Jg(S),S.asyncDep){if(X&&X.registerDep(S,Y,fe),!T.el){const $=S.subTree=v(Vt);k(null,$,I,B)}}else Y(S,T,I,B,X,le,fe)},he=(T,I,B)=>{const ee=I.component=T.component;if(BC(T,I,B))if(ee.asyncDep&&!ee.asyncResolved){oe(ee,I,B);return}else ee.next=I,NC(ee.update),ee.effect.dirty=!0,ee.update();else I.el=T.el,ee.vnode=I},Y=(T,I,B,ee,X,le,fe)=>{const S=()=>{if(T.isMounted){let{next:Q,bu:me,u:se,parent:H,vnode:G}=T;{const re=Pg(T);if(re){Q&&(Q.el=G.el,oe(T,Q,fe)),re.asyncDep.then(()=>{T.isUnmounted||S()});return}}let xe=Q,R;is(T,!1),Q?(Q.el=G.el,oe(T,Q,fe)):Q=G,me&&Ys(me),(R=Q.props&&Q.props.onVnodeBeforeUpdate)&&sn(R,H,Q,G),is(T,!0);const V=wa(T),q=T.subTree;T.subTree=V,_(q,V,m(q.el),K(q),T,X,le),Q.el=V.el,xe===null&&kd(T,V.el),se&&Mt(se,X),(R=Q.props&&Q.props.onVnodeUpdated)&&Mt(()=>sn(R,H,Q,G),X)}else{let Q;const{el:me,props:se}=I,{bm:H,m:G,parent:xe}=T,R=ys(I);if(is(T,!1),H&&Ys(H),!R&&(Q=se&&se.onVnodeBeforeMount)&&sn(Q,xe,I),is(T,!0),me&&Ge){const V=()=>{T.subTree=wa(T),Ge(me,T.subTree,T,X,null)};R?I.type.__asyncLoader().then(()=>!T.isUnmounted&&V()):V()}else{const V=T.subTree=wa(T);_(null,V,B,ee,T,X,le),I.el=V.el}if(G&&Mt(G,X),!R&&(Q=se&&se.onVnodeMounted)){const V=I;Mt(()=>sn(Q,xe,V),X)}(I.shapeFlag&256||xe&&ys(xe.vnode)&&xe.vnode.shapeFlag&256)&&T.a&&Mt(T.a,X),T.isMounted=!0,I=B=ee=null}},$=T.effect=new io(S,ln,()=>$l(D),T.scope),D=T.update=()=>{$.dirty&&$.run()};D.id=T.uid,is(T,!0),D()},oe=(T,I,B)=>{I.component=T;const ee=T.vnode.props;T.vnode=I,T.next=null,kw(T,I.props,ee,B),Ew(T,I.children,B),rs(),Xm(T),wr()},ae=(T,I,B,ee,X,le,fe,S,$=!1)=>{const D=T&&T.children,Q=T?T.shapeFlag:0,me=I.children,{patchFlag:se,shapeFlag:H}=I;if(se>0){if(se&128){st(D,me,B,ee,X,le,fe,S,$);return}else if(se&256){We(D,me,B,ee,X,le,fe,S,$);return}}H&8?(Q&16&&Ne(D,X,le),me!==D&&d(B,me)):Q&16?H&16?st(D,me,B,ee,X,le,fe,S,$):Ne(D,X,le,!0):(Q&8&&d(B,""),H&16&&M(me,B,ee,X,le,fe,S,$))},We=(T,I,B,ee,X,le,fe,S,$)=>{T=T||Gs,I=I||Gs;const D=T.length,Q=I.length,me=Math.min(D,Q);let se;for(se=0;se<me;se++){const H=I[se]=$?Vr(I[se]):yn(I[se]);_(T[se],H,B,null,X,le,fe,S,$)}D>Q?Ne(T,X,le,!0,!1,me):M(I,B,ee,X,le,fe,S,$,me)},st=(T,I,B,ee,X,le,fe,S,$)=>{let D=0;const Q=I.length;let me=T.length-1,se=Q-1;for(;D<=me&&D<=se;){const H=T[D],G=I[D]=$?Vr(I[D]):yn(I[D]);if(Bn(H,G))_(H,G,B,null,X,le,fe,S,$);else break;D++}for(;D<=me&&D<=se;){const H=T[me],G=I[se]=$?Vr(I[se]):yn(I[se]);if(Bn(H,G))_(H,G,B,null,X,le,fe,S,$);else break;me--,se--}if(D>me){if(D<=se){const H=se+1,G=H<Q?I[H].el:ee;for(;D<=se;)_(null,I[D]=$?Vr(I[D]):yn(I[D]),B,G,X,le,fe,S,$),D++}}else if(D>se)for(;D<=me;)He(T[D],X,le,!0),D++;else{const H=D,G=D,xe=new Map;for(D=G;D<=se;D++){const De=I[D]=$?Vr(I[D]):yn(I[D]);De.key!=null&&xe.set(De.key,D)}let R,V=0;const q=se-G+1;let re=!1,ye=0;const $e=new Array(q);for(D=0;D<q;D++)$e[D]=0;for(D=H;D<=me;D++){const De=T[D];if(V>=q){He(De,X,le,!0);continue}let nt;if(De.key!=null)nt=xe.get(De.key);else for(R=G;R<=se;R++)if($e[R-G]===0&&Bn(De,I[R])){nt=R;break}nt===void 0?He(De,X,le,!0):($e[nt-G]=D+1,nt>=ye?ye=nt:re=!0,_(De,I[nt],B,null,X,le,fe,S,$),V++)}const Re=re?Ow($e):Gs;for(R=Re.length-1,D=q-1;D>=0;D--){const De=G+D,nt=I[De],Ae=De+1<Q?I[De+1].el:ee;$e[D]===0?_(null,nt,B,Ae,X,le,fe,S,$):re&&(R<0||D!==Re[R]?Ve(nt,B,Ae,2):R--)}}},Ve=(T,I,B,ee,X=null)=>{const{el:le,type:fe,transition:S,children:$,shapeFlag:D}=T;if(D&6){Ve(T.component.subTree,I,B,ee);return}if(D&128){T.suspense.move(I,B,ee);return}if(D&64){fe.move(T,I,B,ge);return}if(fe===be){r(le,I,B);for(let me=0;me<$.length;me++)Ve($[me],I,B,ee);r(T.anchor,I,B);return}if(fe===vs){g(T,I,B);return}if(ee!==2&&D&1&&S)if(ee===0)S.beforeEnter(le),r(le,I,B),Mt(()=>S.enter(le),X);else{const{leave:me,delayLeave:se,afterLeave:H}=S,G=()=>r(le,I,B),xe=()=>{me(le,()=>{G(),H&&H()})};se?se(le,G,xe):xe()}else r(le,I,B)},He=(T,I,B,ee=!1,X=!1)=>{const{type:le,props:fe,ref:S,children:$,dynamicChildren:D,shapeFlag:Q,patchFlag:me,dirs:se,memoIndex:H}=T;if(me===-2&&(X=!1),S!=null&&qa(S,null,B,T,!0),H!=null&&(I.renderCache[H]=void 0),Q&256){I.ctx.deactivate(T);return}const G=Q&1&&se,xe=!ys(T);let R;if(xe&&(R=fe&&fe.onVnodeBeforeUnmount)&&sn(R,I,T),Q&6)lt(T.component,B,ee);else{if(Q&128){T.suspense.unmount(B,ee);return}G&&rr(T,null,I,"beforeUnmount"),Q&64?T.type.remove(T,I,B,ge,ee):D&&(le!==be||me>0&&me&64)?Ne(D,I,B,!1,!0):(le===be&&me&384||!X&&Q&16)&&Ne($,I,B),ee&&ot(T)}(xe&&(R=fe&&fe.onVnodeUnmounted)||G)&&Mt(()=>{R&&sn(R,I,T),G&&rr(T,null,I,"unmounted")},B)},ot=T=>{const{type:I,el:B,anchor:ee,transition:X}=T;if(I===be){it(B,ee);return}if(I===vs){b(T);return}const le=()=>{s(B),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(T.shapeFlag&1&&X&&!X.persisted){const{leave:fe,delayLeave:S}=X,$=()=>fe(B,le);S?S(T.el,le,$):$()}else le()},it=(T,I)=>{let B;for(;T!==I;)B=f(T),s(T),T=B;s(I)},lt=(T,I,B)=>{const{bum:ee,scope:X,update:le,subTree:fe,um:S,m:$,a:D}=T;Ga($),Ga(D),ee&&Ys(ee),X.stop(),le&&(le.active=!1,He(fe,T,I,B)),S&&Mt(S,I),Mt(()=>{T.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},Ne=(T,I,B,ee=!1,X=!1,le=0)=>{for(let fe=le;fe<T.length;fe++)He(T[fe],I,B,ee,X)},K=T=>T.shapeFlag&6?K(T.component.subTree):T.shapeFlag&128?T.suspense.next():f(T.anchor||T.el);let de=!1;const ce=(T,I,B)=>{T==null?I._vnode&&He(I._vnode,null,null,!0):_(I._vnode||null,T,I,null,null,null,B),de||(de=!0,Xm(),Ba(),de=!1),I._vnode=T},ge={p:_,um:He,m:Ve,r:ot,mt:ne,mc:M,pc:ae,pbc:F,n:K,o:e};let Ue,Ge;return t&&([Ue,Ge]=t(ge)),{render:ce,hydrate:Ue,createApp:zw(ce,Ue)}}function lc({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 is({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Og(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Od(e,t,n=!1){const r=e.children,s=t.children;if(ve(r)&&ve(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Vr(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Od(i,a)),a.type===Xr&&(a.el=i.el)}}function Ow(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Pg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pg(t)}function Ga(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const Ig=Symbol.for("v-scx"),Lg=()=>Gn(Ig);function Ng(e,t){return Pi(e,null,t)}function Dg(e,t){return Pi(e,null,{flush:"post"})}function Rg(e,t){return Pi(e,null,{flush:"sync"})}const Qi={};function wn(e,t,n){return Pi(e,t,n)}function Pi(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:a}=ut){if(t&&o){const C=t;t=(...L)=>{C(...L),x()}}const l=Nt,u=C=>r===!0?C:Br(C,r===!1?1:void 0);let d,m=!1,f=!1;if(Ut(e)?(d=()=>e.value,m=ui(e)):Xs(e)?(d=()=>u(e),m=!0):ve(e)?(f=!0,m=e.some(C=>Xs(C)||ui(C)),d=()=>e.map(C=>{if(Ut(C))return C.value;if(Xs(C))return u(C);if(Ie(C))return zr(C,l,2)})):Ie(e)?t?d=()=>zr(e,l,2):d=()=>(p&&p(),Cn(e,l,3,[h])):d=ln,t&&r){const C=d;d=()=>Br(C())}let p,h=C=>{p=g.onStop=()=>{zr(C,l,4),p=g.onStop=void 0}},_;if(Li)if(h=ln,t?n&&Cn(t,l,3,[d(),f?[]:void 0,h]):d(),s==="sync"){const C=Lg();_=C.__watcherHandles||(C.__watcherHandles=[])}else return ln;let z=f?new Array(e.length).fill(Qi):Qi;const k=()=>{if(!(!g.active||!g.dirty))if(t){const C=g.run();(r||m||(f?C.some((L,M)=>Kn(L,z[M])):Kn(C,z)))&&(p&&p(),Cn(t,l,3,[C,z===Qi?void 0:f&&z[0]===Qi?[]:z,h]),z=C)}else g.run()};k.allowRecurse=!!t;let w;s==="sync"?w=k:s==="post"?w=()=>Mt(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),w=()=>$l(k));const g=new io(d,ln,w),b=R_(),x=()=>{g.stop(),b&&ld(b.effects,g)};return t?n?k():z=g.run():s==="post"?Mt(g.run.bind(g),l&&l.suspense):g.run(),_&&_.push(x),x}function Pw(e,t,n){const r=this.proxy,s=Ct(e)?e.includes(".")?Mg(r,e):()=>r[e]:e.bind(r,r);let o;Ie(t)?o=t:(o=t.handler,n=t);const i=ks(this),a=Pi(s,o.bind(r),n);return i(),a}function Mg(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Br(e,t=1/0,n){if(t<=0||!mt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ut(e))Br(e.value,t,n);else if(ve(e))for(let r=0;r<e.length;r++)Br(e[r],t,n);else if(xs(e)||Ks(e))e.forEach(r=>{Br(r,t,n)});else if(O_(e)){for(const r in e)Br(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Br(e[r],t,n)}return e}const Ii=e=>e.type.__isKeepAlive,Iw={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 w=t.default&&t.default();return w&&w.length===1?w[0]:w};const s=new Map,o=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=(w,g,b,x,C)=>{const L=w.component;u(w,g,b,0,a),l(L.vnode,w,g,b,L,a,x,w.slotScopeIds,C),Mt(()=>{L.isDeactivated=!1,L.a&&Ys(L.a);const M=w.props&&w.props.onVnodeMounted;M&&sn(M,L.parent,w)},a)},r.deactivate=w=>{const g=w.component;Ga(g.m),Ga(g.a),u(w,f,null,1,a),Mt(()=>{g.da&&Ys(g.da);const b=w.props&&w.props.onVnodeUnmounted;b&&sn(b,g.parent,w),g.isDeactivated=!0},a)};function p(w){cc(w),d(w,n,a,!0)}function h(w){s.forEach((g,b)=>{const x=vu(g.type);x&&(!w||!w(x))&&_(b)})}function _(w){const g=s.get(w);!i||!Bn(g,i)?p(g):i&&cc(i),s.delete(w),o.delete(w)}wn(()=>[e.include,e.exclude],([w,g])=>{w&&h(b=>Ho(w,b)),g&&h(b=>!Ho(g,b))},{flush:"post",deep:!0});let z=null;const k=()=>{z!=null&&(iu(n.subTree.type)?Mt(()=>{s.set(z,ea(n.subTree))},n.subTree.suspense):s.set(z,ea(n.subTree)))};return Co(k),Il(k),Ll(()=>{s.forEach(w=>{const{subTree:g,suspense:b}=n,x=ea(g);if(w.type===x.type&&w.key===x.key){cc(x);const C=x.component.da;C&&Mt(C,b);return}p(w)})}),()=>{if(z=null,!t.default)return null;const w=t.default(),g=w[0];if(w.length>1)return i=null,w;if(!Jr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let b=ea(g);const x=b.type,C=vu(ys(b)?b.type.__asyncResolved||{}:x),{include:L,exclude:M,max:A}=e;if(L&&(!C||!Ho(L,C))||M&&C&&Ho(M,C))return i=b,g;const F=b.key==null?x:b.key,Z=s.get(F);return b.el&&(b=ur(b),g.shapeFlag&128&&(g.ssContent=b)),z=F,Z?(b.el=Z.el,b.component=Z.component,b.transition&&Yr(b,b.transition),b.shapeFlag|=512,o.delete(F),o.add(F)):(o.add(F),A&&o.size>parseInt(A,10)&&_(o.values().next().value)),b.shapeFlag|=256,i=b,iu(g.type)?g:b}}},Lw=Iw;function Ho(e,t){return ve(e)?e.some(n=>Ho(n,t)):Ct(e)?e.split(",").includes(t):N0(e)?e.test(t):!1}function Fg(e,t){Hg(e,"a",t)}function Vg(e,t){Hg(e,"da",t)}function Hg(e,t,n=Nt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Pl(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ii(s.parent.vnode)&&Nw(r,t,n,s),s=s.parent}}function Nw(e,t,n,r){const s=Pl(t,e,r,!0);Oi(()=>{ld(r[t],s)},n)}function cc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ea(e){return e.shapeFlag&128?e.ssContent:e}const Fr=Symbol("_leaveCb"),ta=Symbol("_enterCb");function Pd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Co(()=>{e.isMounted=!0}),Ll(()=>{e.isUnmounting=!0}),e}const xn=[Function,Array],Id={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xn,onEnter:xn,onAfterEnter:xn,onEnterCancelled:xn,onBeforeLeave:xn,onLeave:xn,onAfterLeave:xn,onLeaveCancelled:xn,onBeforeAppear:xn,onAppear:xn,onAfterAppear:xn,onAppearCancelled:xn},Ug=e=>{const t=e.subTree;return t.component?Ug(t.component):t},Dw={name:"BaseTransition",props:Id,setup(e,{slots:t}){const n=Rn(),r=Pd();return()=>{const s=t.default&&Nl(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const f of s)if(f.type!==Vt){o=f;break}}const i=Je(e),{mode:a}=i;if(r.isLeaving)return uc(o);const l=uf(o);if(!l)return uc(o);let u=lo(l,i,r,n,f=>u=f);Yr(l,u);const d=n.subTree,m=d&&uf(d);if(m&&m.type!==Vt&&!Bn(l,m)&&Ug(n).type!==Vt){const f=lo(m,i,r,n);if(Yr(m,f),a==="out-in"&&l.type!==Vt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},uc(o);a==="in-out"&&l.type!==Vt&&(f.delayLeave=(p,h,_)=>{const z=Bg(r,m);z[String(m.key)]=m,p[Fr]=()=>{h(),p[Fr]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return o}}},jg=Dw;function Bg(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 lo(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:d,onEnterCancelled:m,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:_,onBeforeAppear:z,onAppear:k,onAfterAppear:w,onAppearCancelled:g}=t,b=String(e.key),x=Bg(n,e),C=(A,F)=>{A&&Cn(A,r,9,F)},L=(A,F)=>{const Z=F[1];C(A,F),ve(A)?A.every(U=>U.length<=1)&&Z():A.length<=1&&Z()},M={mode:i,persisted:a,beforeEnter(A){let F=l;if(!n.isMounted)if(o)F=z||l;else return;A[Fr]&&A[Fr](!0);const Z=x[b];Z&&Bn(e,Z)&&Z.el[Fr]&&Z.el[Fr](),C(F,[A])},enter(A){let F=u,Z=d,U=m;if(!n.isMounted)if(o)F=k||u,Z=w||d,U=g||m;else return;let W=!1;const ne=A[ta]=he=>{W||(W=!0,he?C(U,[A]):C(Z,[A]),M.delayedLeave&&M.delayedLeave(),A[ta]=void 0)};F?L(F,[A,ne]):ne()},leave(A,F){const Z=String(e.key);if(A[ta]&&A[ta](!0),n.isUnmounting)return F();C(f,[A]);let U=!1;const W=A[Fr]=ne=>{U||(U=!0,F(),ne?C(_,[A]):C(h,[A]),A[Fr]=void 0,x[Z]===e&&delete x[Z])};x[Z]=e,p?L(p,[A,W]):W()},clone(A){const F=lo(A,t,n,r,s);return s&&s(F),F}};return M}function uc(e){if(Ii(e))return e=ur(e),e.children=null,e}function uf(e){if(!Ii(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ie(n.default))return n.default()}}function Yr(e,t){e.shapeFlag&6&&e.component?Yr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Nl(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===be?(i.patchFlag&128&&s++,r=r.concat(Nl(i.children,t,a))):(t||i.type!==Vt)&&r.push(a!=null?ur(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}const Rw=e=>e.__isTeleport,Yo=e=>e&&(e.disabled||e.disabled===""),df=e=>typeof SVGElement<"u"&&e instanceof SVGElement,mf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fu=(e,t)=>{const n=e&&e.to;return Ct(n)?t?t(n):null:n},Mw={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:d,pc:m,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:z}}=u,k=Yo(t.props);let{shapeFlag:w,children:g,dynamicChildren:b}=t;if(e==null){const x=t.el=_(""),C=t.anchor=_("");p(x,n,r),p(C,n,r);const L=t.target=fu(t.props,h),M=t.targetAnchor=_("");L&&(p(M,L),i==="svg"||df(L)?i="svg":(i==="mathml"||mf(L))&&(i="mathml"));const A=(F,Z)=>{w&16&&d(g,F,Z,s,o,i,a,l)};k?A(n,C):L&&A(L,M)}else{t.el=e.el;const x=t.anchor=e.anchor,C=t.target=e.target,L=t.targetAnchor=e.targetAnchor,M=Yo(e.props),A=M?n:C,F=M?x:L;if(i==="svg"||df(C)?i="svg":(i==="mathml"||mf(C))&&(i="mathml"),b?(f(e.dynamicChildren,b,A,s,o,i,a),Od(e,t,!0)):l||m(e,t,A,F,s,o,i,a,!1),k)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):na(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=fu(t.props,h);Z&&na(t,Z,null,u,0)}else M&&na(t,C,L,u,1)}Wg(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetAnchor:u,target:d,props:m}=e;if(d&&s(u),o&&s(l),i&16){const f=o||!Yo(m);for(let p=0;p<a.length;p++){const h=a[p];r(h,t,n,f,!!h.dynamicChildren)}}},move:na,hydrate:Fw};function na(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:d}=e,m=o===2;if(m&&r(i,t,n),(!m||Yo(d))&&l&16)for(let f=0;f<u.length;f++)s(u[f],t,n,2);m&&r(a,t,n)}function Fw(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},u){const d=t.target=fu(t.props,l);if(d){const m=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Yo(t.props))t.anchor=u(i(e),t,a(e),n,r,s,o),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,s,o)}Wg(t)}return t.anchor&&i(t.anchor)}const Dn=Mw;function Wg(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"),Xr=Symbol.for("v-txt"),Vt=Symbol.for("v-cmt"),vs=Symbol.for("v-stc"),Xo=[];let cn=null;function E(e=!1){Xo.push(cn=e?null:[])}function qg(){Xo.pop(),cn=Xo[Xo.length-1]||null}let ws=1;function pu(e){ws+=e}function Gg(e){return e.dynamicChildren=ws>0?cn||Gs:null,qg(),ws>0&&cn&&cn.push(e),e}function P(e,t,n,r,s,o){return Gg(c(e,t,n,r,s,o,!0))}function we(e,t,n,r,s){return Gg(v(e,t,n,r,s,!0))}function Jr(e){return e?e.__v_isVNode===!0:!1}function Bn(e,t){return e.type===t.type&&e.key===t.key}function Vw(e){}const Kg=({key:e})=>e??null,ka=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ct(e)||Ut(e)||Ie(e)?{i:Rt,r:e,k:t,f:!!n}:e:null);function c(e,t=null,n=null,r=0,s=null,o=e===be?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Kg(t),ref:t&&ka(t),scopeId:Al,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Rt};return a?(Ld(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ct(n)?8:16),ws>0&&!i&&cn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&cn.push(l),l}const v=Hw;function Hw(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===ag)&&(e=Vt),Jr(e)){const a=ur(e,t,!0);return n&&Ld(a,n),ws>0&&!o&&cn&&(a.shapeFlag&6?cn[cn.indexOf(e)]=a:cn.push(a)),a.patchFlag=-2,a}if(Zw(e)&&(e=e.__vccOpts),t){t=Zg(t);let{class:a,style:l}=t;a&&!Ct(a)&&(t.class=ke(a)),mt(l)&&(yd(l)&&!ve(l)&&(l=_t({},l)),t.style=ns(l))}const i=Ct(e)?1:iu(e)?128:Rw(e)?64:mt(e)?4:Ie(e)?2:0;return c(e,t,n,r,s,i,o,!0)}function Zg(e){return e?yd(e)||Cg(e)?_t({},e):e:null}function ur(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?Bs(s||{},t):s,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Kg(u),ref:t&&t.ref?n&&o?ve(o)?o.concat(ka(t)):[o,ka(t)]:ka(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==be?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ur(e.ssContent),ssFallback:e.ssFallback&&ur(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Yr(d,l.clone(d)),d}function It(e=" ",t=0){return v(Xr,null,e,t)}function Uw(e,t){const n=v(vs,null,e);return n.staticCount=t,n}function te(e="",t=!1){return t?(E(),we(Vt,null,e)):v(Vt,null,e)}function yn(e){return e==null||typeof e=="boolean"?v(Vt):ve(e)?v(be,null,e.slice()):typeof e=="object"?Vr(e):v(Xr,null,String(e))}function Vr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ur(e)}function Ld(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ve(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ld(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Cg(t)?t._ctx=Rt:s===3&&Rt&&(Rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ie(t)?(t={default:t,_ctx:Rt},n=32):(t=String(t),r&64?(n=16,t=[It(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bs(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ke([t.class,r.class]));else if(s==="style")t.style=ns([t.style,r.style]);else if(Ti(s)){const o=t[s],i=r[s];i&&o!==i&&!(ve(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function sn(e,t,n,r=null){Cn(e,t,7,[n,r])}const jw=vg();let Bw=0;function Yg(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||jw,o={uid:Bw++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new dd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kg(r,s),emitsOptions:ig(r,s),emit:null,emitted:null,propsDefaults:ut,inheritAttrs:r.inheritAttrs,ctx:ut,data:ut,props:ut,attrs:ut,slots:ut,refs:ut,setupState:ut,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=RC.bind(null,o),e.ce&&e.ce(o),o}let Nt=null;const Rn=()=>Nt||Rt;let Ka,hu;{const e=I_(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Ka=t("__VUE_INSTANCE_SETTERS__",n=>Nt=n),hu=t("__VUE_SSR_SETTERS__",n=>Li=n)}const ks=e=>{const t=Nt;return Ka(e),e.scope.on(),()=>{e.scope.off(),Ka(t)}},_u=()=>{Nt&&Nt.scope.off(),Ka(null)};function Xg(e){return e.vnode.shapeFlag&4}let Li=!1;function Jg(e,t=!1){t&&hu(t);const{props:n,children:r}=e.vnode,s=Xg(e);ww(e,n,s,t),Sw(e,r);const o=s?Ww(e,t):void 0;return t&&hu(!1),o}function Ww(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cu);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ey(e):null,o=ks(e);rs();const i=zr(r,e,0,[e.props,s]);if(wr(),o(),cd(i)){if(i.then(_u,_u),t)return i.then(a=>{gu(e,a,t)}).catch(a=>{Ss(a,e,0)});e.asyncDep=i}else gu(e,i,t)}else Qg(e,t)}function gu(e,t,n){Ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mt(t)&&(e.setupState=Cd(t)),Qg(e,n)}let Za,yu;function qw(e){Za=e,yu=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,tw))}}const Gw=()=>!Za;function Qg(e,t,n){const r=e.type;if(!e.render){if(!t&&Za&&!r.render){const s=r.template||Td(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=_t(_t({isCustomElement:o,delimiters:a},i),l);r.render=Za(s,u)}}e.render=r.render||ln,yu&&yu(e)}{const s=ks(e);rs();try{hw(e)}finally{wr(),s()}}}const Kw={get(e,t){return dn(e,"get",""),e[t]}};function ey(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Kw),slots:e.slots,emit:e.emit,expose:t}}function Ni(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Cd(X_(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ko)return Ko[n](e)},has(t,n){return n in t||n in Ko}})):e.proxy}function vu(e,t=!0){return Ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Zw(e){return Ie(e)&&"__vccOpts"in e}const Ht=(e,t)=>yC(e,t,Li);function Yw(e,t,n=ut){const r=Rn(),s=Qt(t),o=vn(t),i=eg((l,u)=>{let d;return Rg(()=>{const m=e[t];Kn(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||s in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${s}`in f||`onUpdate:${o}`in f))&&Kn(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 ir(e,t,n){const r=arguments.length;return r===2?mt(t)&&!ve(t)?Jr(t)?v(e,null,[t]):v(e,t):v(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Jr(n)&&(n=[n]),v(e,t,n))}function Xw(){}function Jw(e,t,n,r){const s=n[r];if(s&&ty(s,e))return s;const o=t();return o.memo=e.slice(),o.memoIndex=r,n[r]=o}function ty(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Kn(n[r],t[r]))return!1;return ws>0&&cn&&cn.push(e),!0}const ny="3.4.30",Qw=ln,ek=PC,tk=Vs,nk=og,rk={createComponentInstance:Yg,setupComponent:Jg,renderComponentRoot:wa,setCurrentRenderingInstance:pi,isVNode:Jr,normalizeVNode:yn,getComponentPublicInstance:Ni},sk=rk,ok=null,ik=null,ak=null;/**
|
||
* @vue/runtime-dom v3.4.30
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const lk="http://www.w3.org/2000/svg",ck="http://www.w3.org/1998/Math/MathML",gr=typeof document<"u"?document:null,ff=gr&&gr.createElement("template"),uk={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 s=t==="svg"?gr.createElementNS(lk,e):t==="mathml"?gr.createElementNS(ck,e):n?gr.createElement(e,{is:n}):gr.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>gr.createTextNode(e),createComment:e=>gr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{ff.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=ff.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]}},Pr="transition",Ao="animation",co=Symbol("_vtc"),Lt=(e,{slots:t})=>ir(jg,sy(e),t);Lt.displayName="Transition";const ry={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},dk=Lt.props=_t({},Id,ry),as=(e,t=[])=>{ve(e)?e.forEach(n=>n(...t)):e&&e(...t)},pf=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function sy(e){const t={};for(const U in e)U in ry||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=mk(s),_=h&&h[0],z=h&&h[1],{onBeforeEnter:k,onEnter:w,onEnterCancelled:g,onLeave:b,onLeaveCancelled:x,onBeforeAppear:C=k,onAppear:L=w,onAppearCancelled:M=g}=t,A=(U,W,ne)=>{Rr(U,W?d:a),Rr(U,W?u:i),ne&&ne()},F=(U,W)=>{U._isLeaving=!1,Rr(U,m),Rr(U,p),Rr(U,f),W&&W()},Z=U=>(W,ne)=>{const he=U?L:w,Y=()=>A(W,U,ne);as(he,[W,Y]),hf(()=>{Rr(W,U?l:o),_r(W,U?d:a),pf(he)||_f(W,r,_,Y)})};return _t(t,{onBeforeEnter(U){as(k,[U]),_r(U,o),_r(U,i)},onBeforeAppear(U){as(C,[U]),_r(U,l),_r(U,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(U,W){U._isLeaving=!0;const ne=()=>F(U,W);_r(U,m),_r(U,f),iy(),hf(()=>{U._isLeaving&&(Rr(U,m),_r(U,p),pf(b)||_f(U,r,z,ne))}),as(b,[U,ne])},onEnterCancelled(U){A(U,!1),as(g,[U])},onAppearCancelled(U){A(U,!0),as(M,[U])},onLeaveCancelled(U){F(U),as(x,[U])}})}function mk(e){if(e==null)return null;if(mt(e))return[dc(e.enter),dc(e.leave)];{const t=dc(e);return[t,t]}}function dc(e){return Ha(e)}function _r(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[co]||(e[co]=new Set)).add(t)}function Rr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[co];n&&(n.delete(t),n.size||(e[co]=void 0))}function hf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let fk=0;function _f(e,t,n,r){const s=e._endId=++fk,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=oy(e,t);if(!i)return r();const u=i+"end";let d=0;const m=()=>{e.removeEventListener(u,f),o()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(u,f)}function oy(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Pr}Delay`),o=r(`${Pr}Duration`),i=gf(s,o),a=r(`${Ao}Delay`),l=r(`${Ao}Duration`),u=gf(a,l);let d=null,m=0,f=0;t===Pr?i>0&&(d=Pr,m=i,f=o.length):t===Ao?u>0&&(d=Ao,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?Pr:Ao:null,f=d?d===Pr?o.length:l.length:0);const p=d===Pr&&/\b(transform|all)(,|$)/.test(r(`${Pr}Property`).toString());return{type:d,timeout:m,propCount:f,hasTransform:p}}function gf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>yf(n)+yf(e[r])))}function yf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function iy(){return document.body.offsetHeight}function pk(e,t,n){const r=e[co];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ya=Symbol("_vod"),ay=Symbol("_vsh"),gi={beforeMount(e,{value:t},{transition:n}){e[Ya]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Oo(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),Oo(e,!0),r.enter(e)):r.leave(e,()=>{Oo(e,!1)}):Oo(e,t))},beforeUnmount(e,{value:t}){Oo(e,t)}};function Oo(e,t){e.style.display=t?e[Ya]:"none",e[ay]=!t}function hk(){gi.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const ly=Symbol("");function _k(e){const t=Rn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>zu(o,s))},r=()=>{const s=e(t.proxy);bu(t.subTree,s),n(s)};Co(()=>{Dg(r);const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Oi(()=>s.disconnect())})}function bu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{bu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)zu(e.el,t);else if(e.type===be)e.children.forEach(n=>bu(n,t));else if(e.type===vs){let{el:n,anchor:r}=e;for(;n&&(zu(n,t),n!==r);)n=n.nextSibling}}function zu(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t)n.setProperty(`--${s}`,t[s]),r+=`--${s}: ${t[s]};`;n[ly]=r}}const gk=/(^|;)\s*display\s*:/;function yk(e,t,n){const r=e.style,s=Ct(n);let o=!1;if(n&&!s){if(t)if(Ct(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&xa(r,a,"")}else for(const i in t)n[i]==null&&xa(r,i,"");for(const i in n)i==="display"&&(o=!0),xa(r,i,n[i])}else if(s){if(t!==n){const i=r[ly];i&&(n+=";"+i),r.cssText=n,o=gk.test(n)}}else t&&e.removeAttribute("style");Ya in e&&(e[Ya]=o?r.display:"",e[ay]&&(r.display="none"))}const vf=/\s*!important$/;function xa(e,t,n){if(ve(n))n.forEach(r=>xa(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=vk(e,t);vf.test(n)?e.setProperty(vn(r),n.replace(vf,""),"important"):e[r]=n}}const bf=["Webkit","Moz","ms"],mc={};function vk(e,t){const n=mc[t];if(n)return n;let r=Qt(t);if(r!=="filter"&&r in e)return mc[t]=r;r=Ai(r);for(let s=0;s<bf.length;s++){const o=bf[s]+r;if(o in e)return mc[t]=o}return t}const zf="http://www.w3.org/1999/xlink";function Cf(e,t,n,r,s,o=q0(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(zf,t.slice(6,t.length)):e.setAttributeNS(zf,t,n):n==null||o&&!L_(n)?e.removeAttribute(t):e.setAttribute(t,o?"":cr(n)?String(n):n)}function bk(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),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==null?"":String(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=L_(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function yr(e,t,n,r){e.addEventListener(t,n,r)}function zk(e,t,n,r){e.removeEventListener(t,n,r)}const wf=Symbol("_vei");function Ck(e,t,n,r,s=null){const o=e[wf]||(e[wf]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=wk(t);if(r){const u=o[t]=Sk(r,s);yr(e,a,u,l)}else i&&(zk(e,a,i,l),o[t]=void 0)}}const kf=/(?:Once|Passive|Capture)$/;function wk(e){let t;if(kf.test(e)){t={};let r;for(;r=e.match(kf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):vn(e.slice(2)),t]}let fc=0;const kk=Promise.resolve(),xk=()=>fc||(kk.then(()=>fc=0),fc=Date.now());function Sk(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Cn(Ek(r,n.value),t,5,[r])};return n.value=e,n.attached=xk(),n}function Ek(e,t){if(ve(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const xf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,$k=(e,t,n,r,s,o,i,a,l)=>{const u=s==="svg";t==="class"?pk(e,r,u):t==="style"?yk(e,n,r):Ti(t)?ad(t)||Ck(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tk(e,t,r,u))?(bk(e,t,r,o,i,a,l),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Cf(e,t,r,u,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Cf(e,t,r,u))};function Tk(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xf(t)&&Ie(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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return xf(t)&&Ct(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function cy(e,t,n){const r=Sr(e,t);class s extends Dl{constructor(i){super(r,i,n)}}return s.def=r,s}/*! #__NO_SIDE_EFFECTS__ */const Ak=(e,t)=>cy(e,t,vy),Ok=typeof HTMLElement<"u"?HTMLElement:class{};class Dl extends Ok{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,zo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),Cu(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,s=!1)=>{const{props:o,styles:i}=r;let a;if(o&&!ve(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Ha(this._props[l])),(a||(a=Object.create(null)))[Qt(l)]=!0)}this._numberProps=a,s&&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=ve(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&r.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of r.map(Qt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=Qt(t);this._numberProps&&this._numberProps[r]&&(n=Ha(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(vn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(vn(t),n+""):n||this.removeAttribute(vn(t))))}_update(){Cu(this._createVNode(),this.shadowRoot)}_createVNode(){const t=v(this._def,_t({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,i)=>{this.dispatchEvent(new CustomEvent(o,{detail:i}))};n.emit=(o,...i)=>{r(o,i),vn(o)!==o&&r(vn(o),i)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof Dl){n.parent=s._instance,n.provides=s._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function Pk(e="$style"){{const t=Rn();if(!t)return ut;const n=t.type.__cssModules;if(!n)return ut;const r=n[e];return r||ut}}const uy=new WeakMap,dy=new WeakMap,Xa=Symbol("_moveCb"),Sf=Symbol("_enterCb"),my={name:"TransitionGroup",props:_t({},dk,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Rn(),r=Pd();let s,o;return Il(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Mk(s[0].el,n.vnode.el,i))return;s.forEach(Nk),s.forEach(Dk);const a=s.filter(Rk);iy(),a.forEach(l=>{const u=l.el,d=u.style;_r(u,i),d.transform=d.webkitTransform=d.transitionDuration="";const m=u[Xa]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",m),u[Xa]=null,Rr(u,i))};u.addEventListener("transitionend",m)})}),()=>{const i=Je(e),a=sy(i);let l=i.tag||be;if(s=[],o)for(let u=0;u<o.length;u++){const d=o[u];d.el&&d.el instanceof Element&&(s.push(d),Yr(d,lo(d,a,r,n)),uy.set(d,d.el.getBoundingClientRect()))}o=t.default?Nl(t.default()):[];for(let u=0;u<o.length;u++){const d=o[u];d.key!=null&&Yr(d,lo(d,a,r,n))}return v(l,null,o)}}},Ik=e=>delete e.mode;my.props;const Lk=my;function Nk(e){const t=e.el;t[Xa]&&t[Xa](),t[Sf]&&t[Sf]()}function Dk(e){dy.set(e,e.el.getBoundingClientRect())}function Rk(e){const t=uy.get(e),n=dy.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function Mk(e,t,n){const r=e.cloneNode(),s=e[co];s&&s.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 o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=oy(r);return o.removeChild(r),i}const Qr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?n=>Ys(t,n):t};function Fk(e){e.target.composing=!0}function Ef(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pn=Symbol("_assign"),mn={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Pn]=Qr(s);const o=r||s.props&&s.props.type==="number";yr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Va(a)),e[Pn](a)}),n&&yr(e,"change",()=>{e.value=e.value.trim()}),t||(yr(e,"compositionstart",Fk),yr(e,"compositionend",Ef),yr(e,"change",Ef))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Pn]=Qr(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Va(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},In={deep:!0,created(e,t,n){e[Pn]=Qr(n),yr(e,"change",()=>{const r=e._modelValue,s=uo(e),o=e.checked,i=e[Pn];if(ve(r)){const a=kl(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const u=[...r];u.splice(a,1),i(u)}}else if(xs(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(fy(e,o))})},mounted:$f,beforeUpdate(e,t,n){e[Pn]=Qr(n),$f(e,t,n)}};function $f(e,{value:t,oldValue:n},r){e._modelValue=t,ve(t)?e.checked=kl(t,r.props.value)>-1:xs(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Zr(t,fy(e,!0)))}const Nd={created(e,{value:t},n){e.checked=Zr(t,n.props.value),e[Pn]=Qr(n),yr(e,"change",()=>{e[Pn](uo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Pn]=Qr(r),t!==n&&(e.checked=Zr(t,r.props.value))}},Dd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=xs(t);yr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Va(uo(i)):uo(i));e[Pn](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,zo(()=>{e._assigning=!1})}),e[Pn]=Qr(r)},mounted(e,{value:t,modifiers:{number:n}}){Tf(e,t)},beforeUpdate(e,t,n){e[Pn]=Qr(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Tf(e,t)}};function Tf(e,t,n){const r=e.multiple,s=ve(t);if(!(r&&!s&&!xs(t))){for(let o=0,i=e.options.length;o<i;o++){const a=e.options[o],l=uo(a);if(r)if(s){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=kl(t,l)>-1}else a.selected=t.has(l);else if(Zr(uo(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function uo(e){return"_value"in e?e._value:e.value}function fy(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const py={created(e,t,n){ra(e,t,n,null,"created")},mounted(e,t,n){ra(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ra(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ra(e,t,n,r,"updated")}};function hy(e,t){switch(e){case"SELECT":return Dd;case"TEXTAREA":return mn;default:switch(t){case"checkbox":return In;case"radio":return Nd;default:return mn}}}function ra(e,t,n,r,s){const i=hy(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}function Vk(){mn.getSSRProps=({value:e})=>({value:e}),Nd.getSSRProps=({value:e},t)=>{if(t.props&&Zr(t.props.value,e))return{checked:!0}},In.getSSRProps=({value:e},t)=>{if(ve(e)){if(t.props&&kl(e,t.props.value)>-1)return{checked:!0}}else if(xs(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},py.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=hy(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Hk=["ctrl","shift","alt","meta"],Uk={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)=>Hk.some(n=>e[`${n}Key`]&&!t.includes(n))},yt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=Uk[t[i]];if(a&&a(s,t))return}return e(s,...o)})},jk={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]=s=>{if(!("key"in s))return;const o=vn(s.key);if(t.some(i=>i===o||jk[i]===o))return e(s)})},_y=_t({patchProp:$k},uk);let Jo,Af=!1;function gy(){return Jo||(Jo=$g(_y))}function yy(){return Jo=Af?Jo:Tg(_y),Af=!0,Jo}const Cu=(...e)=>{gy().render(...e)},vy=(...e)=>{yy().hydrate(...e)},by=(...e)=>{const t=gy().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Cy(r);if(!s)return;const o=t._component;!Ie(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,zy(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Bk=(...e)=>{const t=yy().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Cy(r);if(s)return n(s,!0,zy(s))},t};function zy(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Cy(e){return Ct(e)?document.querySelector(e):e}let Of=!1;const Wk=()=>{Of||(Of=!0,Vk(),hk())};/**
|
||
* vue v3.4.30
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const qk=()=>{},Gk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:jg,BaseTransitionPropsValidators:Id,Comment:Vt,DeprecationTypes:ak,EffectScope:dd,ErrorCodes:OC,ErrorTypeStrings:ek,Fragment:be,KeepAlive:Lw,ReactiveEffect:io,Static:vs,Suspense:GC,Teleport:Dn,Text:Xr,TrackOpTypes:$C,Transition:Lt,TransitionGroup:Lk,TriggerOpTypes:TC,VueElement:Dl,assertNumber:AC,callWithAsyncErrorHandling:Cn,callWithErrorHandling:zr,camelize:Qt,capitalize:Ai,cloneVNode:ur,compatUtils:ik,compile:qk,computed:Ht,createApp:by,createBlock:we,createCommentVNode:te,createElementBlock:P,createElementVNode:c,createHydrationRenderer:Tg,createPropsRestProxy:fw,createRenderer:$g,createSSRApp:Bk,createSlots:$d,createStaticVNode:Uw,createTextVNode:It,createVNode:v,customRef:eg,defineAsyncComponent:QC,defineComponent:Sr,defineCustomElement:cy,defineEmits:rw,defineExpose:sw,defineModel:aw,defineOptions:ow,defineProps:nw,defineSSRCustomElement:Ak,defineSlots:iw,devtools:tk,effect:Y0,effectScope:md,getCurrentInstance:Rn,getCurrentScope:R_,getTransitionRawChildren:Nl,guardReactiveProps:Zg,h:ir,handleError:Ss,hasInjectionContext:Cw,hydrate:vy,initCustomFormatter:Xw,initDirectivesForSSR:Wk,inject:Gn,isMemoSame:ty,isProxy:yd,isReactive:Xs,isReadonly:ao,isRef:Ut,isRuntimeOnly:Gw,isShallow:ui,isVNode:Jr,markRaw:X_,mergeDefaults:dw,mergeModels:mw,mergeProps:Bs,nextTick:zo,normalizeClass:ke,normalizeProps:Fo,normalizeStyle:ns,onActivated:Fg,onBeforeMount:ug,onBeforeUnmount:Ll,onBeforeUpdate:dg,onDeactivated:Vg,onErrorCaptured:hg,onMounted:Co,onRenderTracked:pg,onRenderTriggered:fg,onScopeDispose:K0,onServerPrefetch:mg,onUnmounted:Oi,onUpdated:Il,openBlock:E,popScopeId:FC,provide:Zo,proxyRefs:Cd,pushScopeId:MC,queuePostFlushCb:ja,reactive:bo,readonly:gd,ref:ar,registerRuntimeCompiler:qw,render:Cu,renderList:gt,renderSlot:zt,resolveComponent:O,resolveDirective:Sd,resolveDynamicComponent:Ol,resolveFilter:ok,resolveTransitionHooks:lo,setBlockTracking:pu,setDevtoolsHook:nk,setTransitionHooks:Yr,shallowReactive:_d,shallowReadonly:gC,shallowRef:zd,ssrContextKey:Ig,ssrUtils:sk,stop:X0,toDisplayString:y,toHandlerKey:Go,toHandlers:ew,toRaw:Je,toRef:EC,toRefs:kC,toValue:zC,transformVNodeArgs:Vw,triggerRef:bC,unref:bn,useAttrs:uw,useCssModule:Pk,useCssVars:_k,useModel:Yw,useSSRContext:Lg,useSlots:cw,useTransitionState:Pd,vModelCheckbox:In,vModelDynamic:py,vModelRadio:Nd,vModelSelect:Dd,vModelText:mn,vShow:gi,version:ny,warn:Qw,watch:wn,watchEffect:Ng,watchPostEffect:Dg,watchSyncEffect:Rg,withAsyncContext:pw,withCtx:N,withDefaults:lw,withDirectives:pt,withKeys:on,withMemo:Jw,withModifiers:yt,withScopeId:VC},Symbol.toStringTag,{value:"Module"}));function Kk(){return wy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function wy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Zk=typeof Proxy=="function",Yk="devtools-plugin:setup",Xk="plugin:settings:set";let Os,wu;function Jk(){var e;return Os!==void 0||(typeof window<"u"&&window.performance?(Os=!0,wu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Os=!0,wu=globalThis.perf_hooks.performance):Os=!1),Os}function Qk(){return Jk()?wu.now():Date.now()}class ex{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 s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const i=localStorage.getItem(s),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}o=i},now(){return Qk()}},n&&n.on(Xk,(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 tx(e,t){const n=e,r=wy(),s=Kk(),o=Zk&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Yk,e,t);else{const i=o?new ex(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
||
* vue-i18n v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const nx="9.13.1";function rx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nd().__INTLIFY_PROD_DEVTOOLS__=!1)}const ky=u0.__EXTEND_POINT__,pr=bl(ky);pr(),pr(),pr(),pr(),pr(),pr(),pr(),pr(),pr();const xy=or.__EXTEND_POINT__,tn=bl(xy),Ln={UNEXPECTED_RETURN_TYPE:xy,INVALID_ARGUMENT:tn(),MUST_BE_CALL_SETUP_TOP:tn(),NOT_INSTALLED:tn(),NOT_AVAILABLE_IN_LEGACY_MODE:tn(),REQUIRED_VALUE:tn(),INVALID_VALUE:tn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:tn(),NOT_INSTALLED_WITH_PROVIDE:tn(),UNEXPECTED_ERROR:tn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:tn(),BRIDGE_SUPPORT_VUE_2_ONLY:tn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:tn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:tn(),__EXTEND_POINT__:tn()};function Zn(e,...t){return yo(e,null,void 0)}const ku=es("__translateVNode"),xu=es("__datetimeParts"),Su=es("__numberParts"),sx=es("__setPluralRules"),ox=es("__injectWithOption"),Eu=es("__dispose");function yi(e){if(!at(e))return e;for(const t in e)if(Ra(e,t))if(!t.includes("."))at(e[t])&&yi(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]in s||(s[n[i]]={}),!at(s[n[i]])){o=!0;break}s=s[n[i]]}o||(s[n[r]]=e[t],delete e[t]),at(s[n[r]])&&yi(s[n[r]])}return e}function Sy(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=Xe(n)?n:Dt(r)?{}:{[e]:{}};if(Dt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},Ca(u,i[l])):Ca(u,i)}else Ce(a)&&Ca(JSON.parse(a),i)}),s==null&&o)for(const a in i)Ra(i,a)&&yi(i[a]);return i}function Ey(e){return e.type}function ix(e,t,n){let r=at(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Sy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(at(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(at(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Pf(e){return v(Xr,null,e,0)}const If="__INTLIFY_META__",Lf=()=>[],ax=()=>!1;let Nf=0;function Df(e){return(t,n,r,s)=>e(n,r,Rn()||void 0,s)}const lx=()=>{const e=Rn();let t=null;return e&&(t=Ey(e)[If])?{[If]:t}:null};function $y(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=Na?ar:zd,a=!!e.translateExistCompatible;let l=kt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:Ce(e.locale)?e.locale:Fa),d=i(n&&l?n.fallbackLocale.value:Ce(e.fallbackLocale)||Dt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(Sy(u.value,e)),f=i(Xe(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Xe(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:kt(e.missingWarn)||Da(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:kt(e.fallbackWarn)||Da(e.fallbackWarn)?e.fallbackWarn:!0,z=n?n.fallbackRoot:kt(e.fallbackRoot)?e.fallbackRoot:!0,k=!!e.fallbackFormat,w=Tt(e.missing)?e.missing:null,g=Tt(e.missing)?Df(e.missing):null,b=Tt(e.postTranslation)?e.postTranslation:null,x=n?n.warnHtmlMessage:kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const L=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let M=e.pluralRules||n&&n.pluralRules,A;A=(()=>{s&&Im(null);const H={version:nx,locale:u.value,fallbackLocale:d.value,messages:m.value,modifiers:L,pluralRules:M,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:_,fallbackFormat:k,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:x,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};H.datetimeFormats=f.value,H.numberFormats=p.value,H.__datetimeFormatters=Xe(A)?A.__datetimeFormatters:void 0,H.__numberFormatters=Xe(A)?A.__numberFormatters:void 0;const G=C0(H);return s&&Im(G),G})(),To(A,u.value,d.value);function Z(){return[u.value,d.value,m.value,f.value,p.value]}const U=Ht({get:()=>u.value,set:H=>{u.value=H,A.locale=u.value}}),W=Ht({get:()=>d.value,set:H=>{d.value=H,A.fallbackLocale=d.value,To(A,u.value,H)}}),ne=Ht(()=>m.value),he=Ht(()=>f.value),Y=Ht(()=>p.value);function oe(){return Tt(b)?b:null}function ae(H){b=H,A.postTranslation=H}function We(){return w}function st(H){H!==null&&(g=Df(H)),w=H,A.missing=g}const Ve=(H,G,xe,R,V,q)=>{Z();let re;try{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=n?z0():void 0),re=H(A)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=void 0)}if(xe!=="translate exists"&&Ft(re)&&re===zl||xe==="translate exists"&&!re){const[ye,$e]=G();return n&&z?R(n):V(ye)}else{if(q(re))return re;throw Zn(Ln.UNEXPECTED_RETURN_TYPE)}};function He(...H){return Ve(G=>Reflect.apply(Rm,null,[G,...H]),()=>Qc(...H),"translate",G=>Reflect.apply(G.t,G,[...H]),G=>G,G=>Ce(G))}function ot(...H){const[G,xe,R]=H;if(R&&!at(R))throw Zn(Ln.INVALID_ARGUMENT);return He(G,xe,Kt({resolvedMessage:!0},R||{}))}function it(...H){return Ve(G=>Reflect.apply(Mm,null,[G,...H]),()=>eu(...H),"datetime format",G=>Reflect.apply(G.d,G,[...H]),()=>Om,G=>Ce(G))}function lt(...H){return Ve(G=>Reflect.apply(Vm,null,[G,...H]),()=>tu(...H),"number format",G=>Reflect.apply(G.n,G,[...H]),()=>Om,G=>Ce(G))}function Ne(H){return H.map(G=>Ce(G)||Ft(G)||kt(G)?Pf(String(G)):G)}const de={normalize:Ne,interpolate:H=>H,type:"vnode"};function ce(...H){return Ve(G=>{let xe;const R=G;try{R.processor=de,xe=Reflect.apply(Rm,null,[R,...H])}finally{R.processor=null}return xe},()=>Qc(...H),"translate",G=>G[ku](...H),G=>[Pf(G)],G=>Dt(G))}function ge(...H){return Ve(G=>Reflect.apply(Vm,null,[G,...H]),()=>tu(...H),"number format",G=>G[Su](...H),Lf,G=>Ce(G)||Dt(G))}function Ue(...H){return Ve(G=>Reflect.apply(Mm,null,[G,...H]),()=>eu(...H),"datetime format",G=>G[xu](...H),Lf,G=>Ce(G)||Dt(G))}function Ge(H){M=H,A.pluralRules=M}function T(H,G){return Ve(()=>{if(!H)return!1;const xe=Ce(G)?G:u.value,R=ee(xe),V=A.messageResolver(R,H);return a?V!=null:oo(V)||$n(V)||Ce(V)},()=>[H],"translate exists",xe=>Reflect.apply(xe.te,xe,[H,G]),ax,xe=>kt(xe))}function I(H){let G=null;const xe=b_(A,d.value,u.value);for(let R=0;R<xe.length;R++){const V=m.value[xe[R]]||{},q=A.messageResolver(V,H);if(q!=null){G=q;break}}return G}function B(H){const G=I(H);return G??(n?n.tm(H)||{}:{})}function ee(H){return m.value[H]||{}}function X(H,G){if(o){const xe={[H]:G};for(const R in xe)Ra(xe,R)&&yi(xe[R]);G=xe[H]}m.value[H]=G,A.messages=m.value}function le(H,G){m.value[H]=m.value[H]||{};const xe={[H]:G};if(o)for(const R in xe)Ra(xe,R)&&yi(xe[R]);G=xe[H],Ca(G,m.value[H]),A.messages=m.value}function fe(H){return f.value[H]||{}}function S(H,G){f.value[H]=G,A.datetimeFormats=f.value,Fm(A,H,G)}function $(H,G){f.value[H]=Kt(f.value[H]||{},G),A.datetimeFormats=f.value,Fm(A,H,G)}function D(H){return p.value[H]||{}}function Q(H,G){p.value[H]=G,A.numberFormats=p.value,Hm(A,H,G)}function me(H,G){p.value[H]=Kt(p.value[H]||{},G),A.numberFormats=p.value,Hm(A,H,G)}Nf++,n&&Na&&(wn(n.locale,H=>{l&&(u.value=H,A.locale=H,To(A,u.value,d.value))}),wn(n.fallbackLocale,H=>{l&&(d.value=H,A.fallbackLocale=H,To(A,u.value,d.value))}));const se={id:Nf,locale:U,fallbackLocale:W,get inheritLocale(){return l},set inheritLocale(H){l=H,H&&n&&(u.value=n.locale.value,d.value=n.fallbackLocale.value,To(A,u.value,d.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ne,get modifiers(){return L},get pluralRules(){return M||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(H){h=H,A.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(H){_=H,A.fallbackWarn=_},get fallbackRoot(){return z},set fallbackRoot(H){z=H},get fallbackFormat(){return k},set fallbackFormat(H){k=H,A.fallbackFormat=k},get warnHtmlMessage(){return x},set warnHtmlMessage(H){x=H,A.warnHtmlMessage=H},get escapeParameter(){return C},set escapeParameter(H){C=H,A.escapeParameter=H},t:He,getLocaleMessage:ee,setLocaleMessage:X,mergeLocaleMessage:le,getPostTranslationHandler:oe,setPostTranslationHandler:ae,getMissingHandler:We,setMissingHandler:st,[sx]:Ge};return se.datetimeFormats=he,se.numberFormats=Y,se.rt=ot,se.te=T,se.tm=B,se.d=it,se.n=lt,se.getDateTimeFormat=fe,se.setDateTimeFormat=S,se.mergeDateTimeFormat=$,se.getNumberFormat=D,se.setNumberFormat=Q,se.mergeNumberFormat=me,se[ox]=r,se[ku]=ce,se[xu]=Ue,se[Su]=ge,se}const Rd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function cx({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===be?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Ty(e){return be}const ux=Sr({name:"i18n-t",props:Kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ft(e)||!isNaN(e)}},Rd),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Md({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(m=>m!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ce(e.plural)?+e.plural:e.plural);const a=cx(t,o),l=s[ku](e.keypath,a,i),u=Kt({},r),d=Ce(e.tag)||at(e.tag)?e.tag:Ty();return ir(d,u,l)}}}),Rf=ux;function dx(e){return Dt(e)&&!Ce(e[0])}function Ay(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Ce(e.format)?i.key=e.format:at(e.format)&&(Ce(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Kt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,i,a);let u=[i.key];Dt(l)?u=l.map((f,p)=>{const h=s[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return dx(_)&&(_[0].key=`${f.type}-${p}`),_}):Ce(l)&&(u=[l]);const d=Kt({},o),m=Ce(e.tag)||at(e.tag)?e.tag:Ty();return ir(m,d,u)}}const mx=Sr({name:"i18n-n",props:Kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Rd),setup(e,t){const n=e.i18n||Md({useScope:e.scope,__useComponent:!0});return Ay(e,t,T_,(...r)=>n[Su](...r))}}),Mf=mx,fx=Sr({name:"i18n-d",props:Kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Rd),setup(e,t){const n=e.i18n||Md({useScope:e.scope,__useComponent:!0});return Ay(e,t,$_,(...r)=>n[xu](...r))}}),Ff=fx;function px(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function hx(e){const t=i=>{const{instance:a,modifiers:l,value:u}=i;if(!a||!a.$)throw Zn(Ln.UNEXPECTED_ERROR);const d=px(e,a.$),m=Vf(u);return[Reflect.apply(d.t,d,[...Hf(m)]),d]};return{created:(i,a)=>{const[l,u]=t(a);Na&&e.global===u&&(i.__i18nWatcher=wn(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{Na&&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=Vf(a);i.textContent=Reflect.apply(l.t,l,[...Hf(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Vf(e){if(Ce(e))return{path:e};if(Xe(e)){if(!("path"in e))throw Zn(Ln.REQUIRED_VALUE,"path");return e}else throw Zn(Ln.INVALID_VALUE)}function Hf(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return Ce(n)&&(i.locale=n),Ft(s)&&(i.plural=s),Ft(o)&&(i.plural=o),[t,a,i]}function _x(e,t,...n){const r=Xe(n[0])?n[0]:{},s=!!r.useI18nComponentName;(kt(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":Rf.name,"I18nT"].forEach(i=>e.component(i,Rf)),[Mf.name,"I18nN"].forEach(i=>e.component(i,Mf)),[Ff.name,"I18nD"].forEach(i=>e.component(i,Ff))),e.directive("t",hx(t))}const gx=es("global-vue-i18n");function yx(e={},t){const n=kt(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,i]=vx(e),a=es("");function l(m){return s.get(m)||null}function u(m,f){s.set(m,f)}function d(m){s.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),Xe(p[0])){const z=p[0];m.__composerExtend=z.__composerExtend,m.__vueI18nExtend=z.__vueI18nExtend}let h=null;n&&(h=Ex(f,m.global)),_x(f,m,...p);const _=f.unmount;f.unmount=()=>{h&&h(),m.dispose(),_()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:l,__setInstance:u,__deleteInstance:d};return m}}function Md(e={}){const t=Rn();if(t==null)throw Zn(Ln.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Zn(Ln.NOT_INSTALLED);const n=bx(t),r=Cx(n),s=Ey(t),o=zx(e,s);if(o==="global")return ix(r,e,s),r;if(o==="parent"){let l=wx(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Kt({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=$y(l),i.__composerExtend&&(a[Eu]=i.__composerExtend(a)),xx(i,t,a),i.__setInstance(t,a)}return a}function vx(e,t,n){const r=md();{const s=r.run(()=>$y(e));if(s==null)throw Zn(Ln.UNEXPECTED_ERROR);return[r,s]}}function bx(e){{const t=Gn(e.isCE?gx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Zn(e.isCE?Ln.NOT_INSTALLED_WITH_PROVIDE:Ln.UNEXPECTED_ERROR);return t}}function zx(e,t){return vl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Cx(e){return e.mode==="composition"?e.global:e.global.__composer}function wx(e,t,n=!1){let r=null;const s=t.root;let o=kx(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function kx(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function xx(e,t,n){Co(()=>{},t),Oi(()=>{const r=n;e.__deleteInstance(t);const s=r[Eu];s&&(s(),delete r[Eu])},t)}const Sx=["locale","fallbackLocale","availableLocales"],Uf=["t","rt","d","n","tm","te"];function Ex(e,t){const n=Object.create(null);return Sx.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Zn(Ln.UNEXPECTED_ERROR);const i=Ut(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Uf.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Zn(Ln.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,Uf.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}rx();_0($0);g0(Xz);y0(b_);if(__INTLIFY_PROD_DEVTOOLS__){const e=nd();e.__INTLIFY__=!0,i0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const pc=e=>e&&typeof e=="object"&&!Array.isArray(e),$u=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(pc(e)&&pc(n))for(const r in n)pc(n[r])?(e[r]||Object.assign(e,{[r]:{}}),$u(e[r],n[r])):Object.assign(e,{[r]:n[r]});return $u(e,...t)},$x=$u({},{de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite…"])},title:e=>{const{normalize:t}=e;return t(["Podcast hinzufügen"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gelöschten und veränderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])},zh: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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}}},{en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add stream"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Update library"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])},zh: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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}}},{fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher l’artiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher l’artiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:{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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}}),Rl=yx({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:$x,missingWarn:!1});/*!
|
||
* vuex v4.1.0
|
||
* (c) 2022 Evan You
|
||
* @license MIT
|
||
*/var Tx="store";function wo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Ax(e){return e!==null&&typeof e=="object"}function Ox(e){return e&&typeof e.then=="function"}function Px(e,t){return function(){return e(t)}}function Oy(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 Py(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;Ml(e,n,[],e._modules.root,!0),Fd(e,n,t)}function Fd(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},a={},l=md(!0);l.run(function(){wo(o,function(u,d){i[d]=Px(u,e),a[d]=Ht(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=bo({data:t}),e._scope=l,e.strict&&Rx(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function Ml(e,t,n,r,s){var o=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!o&&!s){var a=Vd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=Ix(e,i,n);r.forEachMutation(function(d,m){var f=i+m;Lx(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;Nx(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;Dx(e,f,d,u)}),r.forEachChild(function(d,m){Ml(e,t,n.concat(m),d,s)})}function Ix(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=Ja(o,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(o,i,a){var l=Ja(o,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(s,{getters:{get:r?function(){return e.getters}:function(){return Iy(e,t)}},state:{get:function(){return Vd(e.state,n)}}}),s}function Iy(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Lx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function Nx(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.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 Ox(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Dx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Rx(e){wn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Vd(e,t){return t.reduce(function(n,r){return n[r]},e)}function Ja(e,t,n){return Ax(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Mx="vuex bindings",jf="vuex:mutations",hc="vuex:actions",Ps="vuex",Fx=0;function Vx(e,t){tx({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:[Mx]},function(n){n.addTimelineLayer({id:jf,label:"Vuex Mutations",color:Bf}),n.addTimelineLayer({id:hc,label:"Vuex Actions",color:Bf}),n.addInspector({id:Ps,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Ps)if(r.filter){var s=[];Ry(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[Dy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Ps){var s=r.nodeId;Iy(t,s),r.state=jx(Wx(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Ps){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._state.data,o,r.state.value)})}}),t.subscribe(function(r,s){var o={};r.payload&&(o.payload=r.payload),o.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(Ps),n.sendInspectorState(Ps),n.addTimelineEvent({layerId:jf,event:{time:Date.now(),title:r.type,data:o}})}),t.subscribeAction({before:function(r,s){var o={};r.payload&&(o.payload=r.payload),r._id=Fx++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:hc,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,s){var o={},i=Date.now()-r._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(o.payload=r.payload),o.state=s,n.addTimelineEvent({layerId:hc,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var Bf=8702998,Hx=6710886,Ux=16777215,Ly={label:"namespaced",textColor:Ux,backgroundColor:Hx};function Ny(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function Dy(e,t){return{id:t||"root",label:Ny(t),tags:e.namespaced?[Ly]:[],children:Object.keys(e._children).map(function(n){return Dy(e._children[n],t+n+"/")})}}function Ry(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?[Ly]:[]}),Object.keys(t._children).forEach(function(s){Ry(e,t._children[s],n,r+s+"/")})}function jx(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var o=Bx(t);s.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?Ny(i):i,editable:!1,value:Tu(function(){return o[i]})}})}return s}function Bx(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var s=t,o=r.pop();r.forEach(function(i){s[i]||(s[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),s=s[i]._custom.value}),s[o]=Tu(function(){return e[n]})}else t[n]=Tu(function(){return e[n]})}),t}function Wx(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,o){var i=r[s];if(!i)throw new Error('Missing module "'+s+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Tu(e){try{return e()}catch(t){return t}}var Qn=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},My={namespaced:{configurable:!0}};My.namespaced.get=function(){return!!this._rawModule.namespaced};Qn.prototype.addChild=function(t,n){this._children[t]=n};Qn.prototype.removeChild=function(t){delete this._children[t]};Qn.prototype.getChild=function(t){return this._children[t]};Qn.prototype.hasChild=function(t){return t in this._children};Qn.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Qn.prototype.forEachChild=function(t){wo(this._children,t)};Qn.prototype.forEachGetter=function(t){this._rawModule.getters&&wo(this._rawModule.getters,t)};Qn.prototype.forEachAction=function(t){this._rawModule.actions&&wo(this._rawModule.actions,t)};Qn.prototype.forEachMutation=function(t){this._rawModule.mutations&&wo(this._rawModule.mutations,t)};Object.defineProperties(Qn.prototype,My);var Es=function(t){this.register([],t,!1)};Es.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Es.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};Es.prototype.update=function(t){Fy([],this.root,t)};Es.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new Qn(n,r);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&wo(n.modules,function(a,l){s.register(t.concat(l),a,r)})};Es.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],s=n.getChild(r);s&&s.runtime&&n.removeChild(r)};Es.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function Fy(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Fy(e.concat(r),t.getChild(r),n.modules[r])}}function qx(e){return new pn(e)}var pn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Es(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;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=s;var d=this._modules.root.state;Ml(this,d,[],this._modules.root),Fd(this,d),r.forEach(function(m){return m(n)})},Hd={state:{configurable:!0}};pn.prototype.install=function(t,n){t.provide(n||Tx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Vx(t,this)};Hd.state.get=function(){return this._state.data};Hd.state.set=function(e){};pn.prototype.commit=function(t,n,r){var s=this,o=Ja(t,n,r),i=o.type,a=o.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,s.state)}))};pn.prototype.dispatch=function(t,n){var r=this,s=Ja(t,n),o=s.type,i=s.payload,a={type:o,payload:i},l=this._actions[o];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)})})}};pn.prototype.subscribe=function(t,n){return Oy(t,this._subscribers,n)};pn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Oy(r,this._actionSubscribers,n)};pn.prototype.watch=function(t,n,r){var s=this;return wn(function(){return t(s.state,s.getters)},n,Object.assign({},r))};pn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};pn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Ml(this,this.state,t,this._modules.get(t),r.preserveState),Fd(this,this.state)};pn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Vd(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),Py(this)};pn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};pn.prototype.hotUpdate=function(t){this._modules.update(t),Py(this,!0)};pn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(pn.prototype,Hd);const ht=qx({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_burger_menu:!1,show_only_next_items:!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)??{},setting:e=>(t,n)=>{var r;return((r=e.settings.categories.find(s=>s.name===t))==null?void 0:r.options.find(s=>s.name===n))??{}},setting_recently_added_limit:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(s=>s.name==="recently_added_limit"))==null?void 0:r.value)??100},setting_show_composer_for_genre:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(s=>s.name==="show_composer_for_genre"))==null?void 0:r.value)??null},setting_show_composer_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(s=>s.name==="show_composer_now_playing"))==null?void 0:r.value)??!1},setting_show_filepath_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(s=>s.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:{[Nh](e,t){e.config=t},[Uh](e,t){e.settings=t},[Mh](e,t){e.library=t},[Rh](e,t){e.rss_count=t},[Fh](e,t){e.outputs=t},[Yu](e,t){e.player=t},[Hh](e,t){e.queue=t},[Bc](e,t){e.lyrics.content=t},[Dh](e,t){e.lastfm=t},[jh](e,t){e.spotify=t},[Vh](e,t){e.pairing=t},[Gu](e,t){e.search_query=t},[Ku](e,t){e.search_source=t},[Ph](e,t){e.composer_tracks_sort=t},[Ih](e,t){e.genre_tracks_sort=t},[fl](e,t){e.hide_singles=t},[wi](e,t){e.hide_spotify=t},[Th](e,t){e.artists_sort=t},[Ah](e,t){e.artist_albums_sort=t},[Oh](e,t){e.artist_tracks_sort=t},[$h](e,t){e.albums_sort=t},[Lh](e,t){e.show_only_next_items=t},[ki](e,t){e.show_burger_menu=t},[xi](e,t){e.show_player_menu=t},[Si](e,t){e.show_update_dialog=t},[Zu](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({state:e},t){const n={id:e.notifications.next_id++,text:t.text,timeout:t.timeout,topic:t.topic,type:t.type};if(n.topic){const r=e.notifications.list.findIndex(s=>s.topic===n.topic);if(r>=0){e.notifications.list.splice(r,1,n);return}}e.notifications.list.push(n),t.timeout>0&&setTimeout(()=>{this.dispatch("delete_notification",n)},t.timeout)},add_recent_search({state:e},t){const n=e.recent_searches.indexOf(t);n!==-1&&e.recent_searches.splice(n,1),e.recent_searches.splice(0,0,t),e.recent_searches.length>5&&e.recent_searches.pop()},delete_notification({state:e},t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},remove_recent_search({state:e},t){const n=e.recent_searches.indexOf(t);n!==-1&&e.recent_searches.splice(n,1)},update_setting({state:e},t){const n=e.settings.categories.find(s=>s.name===t.category),r=n.options.find(s=>s.name===t.name);r.value=t.value}}}),{t:Hs}=Rl.global;ue.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&ht.dispatch("add_notification",{text:Hs("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const j={config(){return ue.get("./api/config")},lastfm(){return ue.get("./api/lastfm")},lastfm_login(e){return ue.post("./api/lastfm-login",e)},lastfm_logout(){return ue.get("./api/lastfm-logout")},library_add(e){return ue.post("./api/library/add",null,{params:{url:e}})},library_album(e){return ue.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return ue.put(`./api/library/albums/${e}/tracks`,null,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return ue.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e){return ue.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return ue.get(`./api/library/artists/${e}`)},library_artist_albums(e){return ue.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return ue.get("./api/search",{params:t})},library_artists(e){return ue.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return ue.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return ue.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return ue.get("./api/search",{params:t})},library_composers(e){return ue.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return ue.get(`./api/library/count?expression=${e}`)},library_files(e){return ue.get("./api/library/files",{params:{directory:e}})},library_genre(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"genres"};return ue.get("./api/search",{params:n})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return ue.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return ue.get("./api/search",{params:n})},library_genres(e){const t={expression:`media_kind is ${e}`,type:"genres"};return ue.get("./api/search",{params:t})},library_playlist(e){return ue.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return ue.delete(`./api/library/playlists/${e}`,null)},library_playlist_folder(e=0){return ue.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return ue.get(`./api/library/playlists/${e}/tracks`)},library_podcast_episodes(e){const t={expression:`media_kind is podcast and songalbumid is "${e}" ORDER BY date_released DESC`,type:"tracks"};return ue.get("./api/search",{params:t})},library_podcasts_new_episodes(){const e={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return ue.get("./api/search",{params:e})},library_radio_streams(){const e={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return ue.get("./api/search",{params:e})},library_rescan(e){return ue.put("./api/rescan",null,{params:{scan_kind:e}})},library_stats(){return ue.get("./api/library")},library_track(e){return ue.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return ue.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return ue.put(`./api/library/tracks/${e}`,null,{params:t})},library_update(e){return ue.put("./api/update",null,{params:{scan_kind:e}})},output_toggle(e){return ue.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return ue.put(`./api/outputs/${e}`,t)},outputs(){return ue.get("./api/outputs")},pairing(){return ue.get("./api/pairing")},pairing_kickoff(e){return ue.post("./api/pairing",e)},player_consume(e){return ue.put(`./api/player/consume?state=${e}`)},player_next(){return ue.put("./api/player/next")},player_output_volume(e,t){return ue.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return ue.put("./api/player/pause")},player_play(e={}){return ue.put("./api/player/play",null,{params:e})},player_play_expression(e,t,n){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:t};return ue.post("./api/queue/items/add",null,{params:r})},player_play_uri(e,t,n){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:t,uris:e};return ue.post("./api/queue/items/add",null,{params:r})},player_previous(){return ue.put("./api/player/previous")},player_repeat(e){return ue.put(`./api/player/repeat?state=${e}`)},player_seek(e){return ue.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return ue.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return ue.put(`./api/player/shuffle?state=${e}`)},player_status(){return ue.get("./api/player")},player_stop(){return ue.put("./api/player/stop")},player_volume(e){return ue.put(`./api/player/volume?volume=${e}`)},queue(){return ue.get("./api/queue")},queue_add(e){return ue.post(`./api/queue/items/add?uris=${e}`).then(t=>(ht.dispatch("add_notification",{text:Hs("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;return ht.getters.now_playing&&ht.getters.now_playing.id&&(t=ht.getters.now_playing.position+1),ue.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(n=>(ht.dispatch("add_notification",{text:Hs("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_clear(){return ue.put("./api/queue/clear")},queue_expression_add(e){return ue.post("./api/queue/items/add",null,{params:{expression:e}}).then(t=>(ht.dispatch("add_notification",{text:Hs("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,ht.getters.now_playing&&ht.getters.now_playing.id&&(t.position=ht.getters.now_playing.position+1),ue.post("./api/queue/items/add",null,{params:t}).then(n=>(ht.dispatch("add_notification",{text:Hs("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_move(e,t){return ue.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return ue.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return ue.post("./api/queue/save",null,{params:{name:e}}).then(t=>(ht.dispatch("add_notification",{text:Hs("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return ue.get("./api/search",{params:e})},settings(){return ue.get("./api/settings")},settings_update(e,t){return ue.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return ue.get("./api/spotify")},spotify_logout(){return ue.get("./api/spotify-logout")}},ie=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Gx={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(){j.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},Kx={key:0,class:"modal is-active"},Zx={class:"modal-content"},Yx={class:"card"},Xx={class:"card-content"},Jx=["textContent"],Qx=["textContent"],eS={class:"field"},tS={class:"control"},nS=["placeholder"],rS={class:"card-footer is-clipped"},sS=["textContent"],oS=["textContent"];function iS(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",Kx,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",Zx,[c("div",Yx,[c("div",Xx,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.remote-pairing.title"))},null,8,Jx),c("form",{onSubmit:t[2]||(t[2]=yt((...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a),["prevent"]))},[c("label",{class:"label",textContent:y(o.pairing.remote)},null,8,Qx),c("div",eS,[c("div",tS,[pt(c("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,nS),[[mn,s.pairing_req.pin]])])])],32)]),c("footer",rS,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.cancel"))},null,8,sS)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a))},[v(i,{class:"icon",name:"cellphone",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.pair"))},null,8,oS)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const aS=ie(Gx,[["render",iS]]),lS={name:"ModalDialog",props:{close_action:{default:"",type:String},delete_action:{default:"",type:String},ok_action:{default:"",type:String},show:Boolean,title:{required:!0,type:String}},emits:["delete","close","ok"]},cS={key:0,class:"modal is-active"},uS={class:"modal-content"},dS={class:"card"},mS={class:"card-content"},fS=["textContent"],pS={class:"card-footer is-clipped"},hS=["textContent"],_S=["textContent"],gS=["textContent"];function yS(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",cS,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",uS,[c("div",dS,[c("div",mS,[n.title?(E(),P("p",{key:0,class:"title is-4",textContent:y(n.title)},null,8,fS)):te("",!0),zt(e.$slots,"modal-content")]),c("footer",pS,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(n.close_action)},null,8,hS)]),n.delete_action?(E(),P("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"))},[v(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:y(n.delete_action)},null,8,_S)])):te("",!0),n.ok_action?(E(),P("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"))},[v(i,{class:"icon",name:"check",size:"16"}),c("span",{class:"is-size-7",textContent:y(n.ok_action)},null,8,gS)])):te("",!0)])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):te("",!0)]),_:3})}const Ud=ie(lS,[["render",yS]]),vS={name:"ModalDialogUpdate",components:{ModalDialog:Ud},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(Zu,e)}}},methods:{close(){this.update_dialog_scan_kind="",this.$emit("close")},update_library(){this.rescan_metadata?j.library_rescan(this.update_dialog_scan_kind):j.library_update(this.update_dialog_scan_kind)}}},bS={key:0},zS=["textContent"],CS={key:0,class:"field"},wS={class:"control"},kS={class:"select is-small"},xS=["textContent"],SS=["textContent"],ES=["textContent"],$S=["textContent"],TS={class:"field"},AS=["textContent"],OS={key:1},PS=["textContent"];function IS(e,t,n,r,s,o){const i=O("modal-dialog");return E(),we(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:o.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:o.update_library,onClose:t[2]||(t[2]=a=>o.close())},{"modal-content":N(()=>[o.library.updating?(E(),P("div",OS,[c("p",{class:"mb-3",textContent:y(e.$t("dialog.update.progress"))},null,8,PS)])):(E(),P("div",bS,[c("p",{class:"mb-3",textContent:y(e.$t("dialog.update.info"))},null,8,zS),o.spotify_enabled||o.rss.tracks>0?(E(),P("div",CS,[c("div",wS,[c("div",kS,[pt(c("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>o.update_dialog_scan_kind=a)},[c("option",{value:"",textContent:y(e.$t("dialog.update.all"))},null,8,xS),c("option",{value:"files",textContent:y(e.$t("dialog.update.local"))},null,8,SS),o.spotify_enabled?(E(),P("option",{key:0,value:"spotify",textContent:y(e.$t("dialog.update.spotify"))},null,8,ES)):te("",!0),o.rss.tracks>0?(E(),P("option",{key:1,value:"rss",textContent:y(e.$t("dialog.update.feeds"))},null,8,$S)):te("",!0)],512),[[Dd,o.update_dialog_scan_kind]])])])])):te("",!0),c("div",TS,[pt(c("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=a=>s.rescan_metadata=a),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[In,s.rescan_metadata]]),c("label",{for:"rescan",textContent:y(e.$t("dialog.update.rescan-metadata"))},null,8,AS)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const LS=ie(vS,[["render",IS]]),NS={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}}},DS=["value","disabled","max"];function RS(e,t,n,r,s,o){return E(),P("input",{value:n.value,disabled:n.disabled,class:ke(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:ns({"--ratio":o.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,DS)}const jd=ie(NS,[["render",RS]]),MS={name:"NavbarItemLink",props:{to:{required:!0,type:Object}},computed:{href(){return this.$router.resolve(this.to).href}},methods:{open(){this.$store.state.show_burger_menu&&this.$store.commit(ki,!1),this.$store.state.show_player_menu&&this.$store.commit(xi,!1),this.$router.push(this.to)}}},FS=["href"];function VS(e,t,n,r,s,o){return E(),P("a",{class:"navbar-item",href:o.href,onClick:t[0]||(t[0]=yt((...i)=>o.open&&o.open(...i),["stop","prevent"]))},[zt(e.$slots,"default")],8,FS)}const Vy=ie(MS,[["render",VS]]);var HS="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",US="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",jS="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",BS="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",WS="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",qS="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",GS="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",KS="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",Fl="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",ZS="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",YS="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",XS="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",JS="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",QS="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",eE="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",tE="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",nE="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",rE="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",sE="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",oE="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",iE="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",aE="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",lE="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",cE="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",uE="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",dE="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",mE="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",fE="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",pE="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",hE="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",_E="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",gE="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",yE="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",vE="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",bE="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",zE="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",CE="M14,19H18V5H14M6,19H10V5H6V19Z",wE="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",kE="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",xE="M8,5.14V19.14L19,12.14L8,5.14Z",SE="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",EE="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",$E="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",TE="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",AE="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",OE="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",PE="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",IE="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",LE="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",NE="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",DE="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",RE="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",ME="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",FE="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",VE="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",HE="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",UE="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",jE="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",BE="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",WE="M18,18H6V6H18V18Z",qE="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",GE="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",KE="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 ZE={name:"NavbarItemOutput",components:{ControlSlider:jd},props:{output:{required:!0,type:Object}},data(){return{cursor:Fl,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(){j.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};j.output_update(this.output.id,e)}}},YE={class:"navbar-item"},XE={class:"level is-mobile"},JE={class:"level-left is-flex-grow-1"},QE={class:"level-item is-flex-grow-0"},e2={class:"level-item"},t2={class:"is-flex-grow-1"},n2=["textContent"];function r2(e,t,n,r,s,o){const i=O("mdicon"),a=O("control-slider");return E(),P("div",YE,[c("div",XE,[c("div",JE,[c("div",QE,[c("a",{class:ke(["button is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>o.set_enabled&&o.set_enabled(...l))},[v(i,{class:"icon",name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),c("div",e2,[c("div",t2,[c("p",{class:ke(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:y(n.output.name)},null,10,n2),v(a,{value:s.volume,"onUpdate:value":t[1]||(t[1]=l=>s.volume=l),disabled:!n.output.selected,max:100,cursor:s.cursor,onChange:o.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const s2=ie(ZE,[["render",r2]]),o2={name:"PlayerButtonConsume",props:{icon_size:{default:16,type:Number}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){j.player_consume(!this.is_consume)}}};function i2(e,t,n,r,s,o){const i=O("mdicon");return E(),P("a",{class:ke({"is-info":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[v(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const a2=ie(o2,[["render",i2]]),l2={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 c2(e,t,n,r,s,o){const i=O("mdicon");return E(),P("a",{class:ke({"is-info":o.is_active}),onClick:t[0]||(t[0]=(...a)=>o.toggle_lyrics&&o.toggle_lyrics(...a))},[v(i,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const u2=ie(l2,[["render",c2]]),d2={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||j.player_next()}}},m2=["disabled"];function f2(e,t,n,r,s,o){const i=O("mdicon");return E(),P("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[v(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,m2)}const p2=ie(d2,[["render",f2]]),h2={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?j.player_pause():this.is_playing&&!this.is_pause_allowed?j.player_stop():j.player_play()}}},_2=["disabled"];function g2(e,t,n,r,s,o){const i=O("mdicon");return E(),P("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.toggle_play_pause&&o.toggle_play_pause(...a))},[v(i,{name:o.icon_name,size:n.icon_size,title:e.$t(`player.button.${o.icon_name}`)},null,8,["name","size","title"])],8,_2)}const y2=ie(h2,[["render",g2]]),v2={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||j.player_previous()}}},b2=["disabled"];function z2(e,t,n,r,s,o){const i=O("mdicon");return E(),P("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[v(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,b2)}const C2=ie(v2,[["render",z2]]),w2={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?j.player_repeat("single"):this.is_repeat_single?j.player_repeat("off"):j.player_repeat("all")}}};function k2(e,t,n,r,s,o){const i=O("mdicon");return E(),P("a",{class:ke({"is-info":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[v(i,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t(`player.button.${o.icon_name}`)},null,8,["name","size","title"])],2)}const x2=ie(w2,[["render",k2]]),S2={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||j.player_seek(this.seek_ms*-1)}}},E2=["disabled"];function $2(e,t,n,r,s,o){const i=O("mdicon");return o.visible?(E(),P("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[v(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,E2)):te("",!0)}const T2=ie(S2,[["render",$2]]),A2={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||j.player_seek(this.seek_ms)}}},O2=["disabled"];function P2(e,t,n,r,s,o){const i=O("mdicon");return o.visible?(E(),P("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[v(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,O2)):te("",!0)}const I2=ie(A2,[["render",P2]]),L2={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(){j.player_shuffle(!this.is_shuffle)}}};function N2(e,t,n,r,s,o){const i=O("mdicon");return E(),P("a",{class:ke({"is-info":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[v(i,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t(`player.button.${o.icon_name}`)},null,8,["name","size","title"])],2)}const D2=ie(L2,[["render",N2]]),Po={audio:new Audio,context:null,play(e){this.stop(),this.context.resume().then(()=>{this.audio.src=`${String(e||"")}?x=${Date.now()}`,this.audio.crossOrigin="anonymous",this.audio.load()})},setVolume(e){this.audio&&(this.audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},setup(){return this.context=new(window.AudioContext||window.webkitAudioContext),this.context.createMediaElementSource(this.audio).connect(this.context.destination),this.audio.addEventListener("canplaythrough",()=>{this.audio.play()}),this.audio.addEventListener("canplay",()=>{this.audio.play()}),this.audio},stop(){try{this.audio.pause()}catch{}try{this.audio.stop()}catch{}try{this.audio.close()}catch{}}},R2={name:"NavbarBottom",components:{ControlSlider:jd,NavbarItemLink:Vy,NavbarItemOutput:s2,PlayerButtonConsume:a2,PlayerButtonLyrics:u2,PlayerButtonNext:p2,PlayerButtonPlayPause:y2,PlayerButtonPrevious:C2,PlayerButtonRepeat:x2,PlayerButtonSeekBack:T2,PlayerButtonSeekForward:I2,PlayerButtonShuffle:D2},data(){return{cursor:Fl,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(xi,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(){Po.setVolume(this.stream_volume/100)},change_volume(){j.player_volume(this.player.volume)},closeAudio(){Po.stop(),this.playing=!1},on_click_outside_outputs(){this.show_outputs_menu=!1},playChannel(){this.playing||(this.loading=!0,Po.play("/stream.mp3"),Po.setVolume(this.stream_volume/100))},setupAudio(){const e=Po.setup();e.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",()=>{this.closeAudio(),this.$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()}}},M2={class:"navbar-dropdown is-right fd-width-auto"},F2={class:"navbar-item"},V2={class:"level is-mobile"},H2={class:"level-left is-flex-grow-1"},U2={class:"level-item is-flex-grow-0"},j2={class:"level-item"},B2=["textContent"],W2=c("hr",{class:"my-3"},null,-1),q2=c("hr",{class:"my-3"},null,-1),G2={class:"navbar-item"},K2={class:"level is-mobile"},Z2={class:"level-left is-flex-grow-1"},Y2={class:"level-item is-flex-grow-0"},X2={class:"level-item"},J2={class:"is-flex-grow-1"},Q2=["textContent"],e$={href:"stream.mp3",class:"heading ml-2",target:"_blank"},t$=c("hr",{class:"my-3"},null,-1),n$={class:"navbar-item is-justify-content-center"},r$={class:"buttons has-addons"},s$={class:"navbar-brand is-flex-grow-1"},o$={class:"fd-is-text-clipped"},i$=["textContent"],a$=c("br",null,null,-1),l$=["textContent"],c$=["textContent"],u$={class:"navbar-item"},d$={class:"buttons has-addons is-centered"},m$=c("hr",{class:"my-3"},null,-1),f$={class:"navbar-item"},p$={class:"level is-mobile"},h$={class:"level-left is-flex-grow-1"},_$={class:"level-item is-flex-grow-0"},g$={class:"level-item"},y$={class:"is-flex-grow-1"},v$=["textContent"],b$=c("hr",{class:"my-3"},null,-1),z$=c("hr",{class:"my-3"},null,-1),C$={class:"navbar-item mb-5"},w$={class:"level is-mobile"},k$={class:"level-left is-flex-grow-1"},x$={class:"level-item is-flex-grow-0"},S$={class:"level-item"},E$={class:"is-flex-grow-1"},$$=["textContent"],T$={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function A$(e,t,n,r,s,o){const i=O("mdicon"),a=O("control-slider"),l=O("navbar-item-output"),u=O("player-button-repeat"),d=O("player-button-shuffle"),m=O("player-button-consume"),f=O("player-button-lyrics"),p=O("navbar-item-link"),h=O("player-button-previous"),_=O("player-button-seek-back"),z=O("player-button-play-pause"),k=O("player-button-seek-forward"),w=O("player-button-next");return E(),P("nav",{class:ke(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),role:"navigation","aria-label":"player controls"},[c("div",{class:ke(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":o.show_player_menu}])},[c("div",M2,[c("div",F2,[c("div",V2,[c("div",H2,[c("div",U2,[c("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...g)=>o.toggle_mute_volume&&o.toggle_mute_volume(...g))},[v(i,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",j2,[c("div",null,[c("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,B2),v(a,{value:o.player.volume,"onUpdate:value":t[1]||(t[1]=g=>o.player.volume=g),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),W2,(E(!0),P(be,null,gt(o.outputs,g=>(E(),we(l,{key:g.id,output:g},null,8,["output"]))),128)),q2,c("div",G2,[c("div",K2,[c("div",Z2,[c("div",Y2,[c("a",{class:ke(["button is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[2]||(t[2]=(...g)=>o.togglePlay&&o.togglePlay(...g))},[v(i,{class:"icon",name:"broadcast",size:"18"})],2)]),c("div",X2,[c("div",J2,[c("div",{class:ke(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[c("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,Q2),c("a",e$,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),v(a,{value:s.stream_volume,"onUpdate:value":t[3]||(t[3]=g=>s.stream_volume=g),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),t$,c("div",n$,[c("div",r$,[v(u,{class:"button"}),v(d,{class:"button"}),v(m,{class:"button"}),v(f,{class:"button"})])])])],2),c("div",s$,[v(p,{to:{name:"queue"},class:"mr-auto"},{default:N(()=>[v(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),o.is_now_playing_page?te("",!0):(E(),we(p,{key:0,to:{name:"now-playing"},exact:"",class:"is-expanded is-clipped is-size-7"},{default:N(()=>[c("div",o$,[c("strong",{textContent:y(o.now_playing.title)},null,8,i$),a$,c("span",{textContent:y(o.now_playing.artist)},null,8,l$),o.now_playing.album?(E(),P("span",{key:0,textContent:y(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,c$)):te("",!0)])]),_:1})),o.is_now_playing_page?(E(),we(h,{key:1,class:"navbar-item px-2",icon_size:24})):te("",!0),o.is_now_playing_page?(E(),we(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):te("",!0),v(z,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(E(),we(k,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):te("",!0),o.is_now_playing_page?(E(),we(w,{key:4,class:"navbar-item px-2",icon_size:24})):te("",!0),c("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=g=>o.show_player_menu=!o.show_player_menu)},[v(i,{class:"icon",name:o.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),c("div",{class:ke(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[c("div",u$,[c("div",d$,[v(u,{class:"button"}),v(d,{class:"button"}),v(m,{class:"button"}),v(f,{class:"button"})])]),m$,c("div",f$,[c("div",p$,[c("div",h$,[c("div",_$,[c("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...g)=>o.toggle_mute_volume&&o.toggle_mute_volume(...g))},[v(i,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",g$,[c("div",y$,[c("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,v$),v(a,{value:o.player.volume,"onUpdate:value":t[6]||(t[6]=g=>o.player.volume=g),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),b$,(E(!0),P(be,null,gt(o.outputs,g=>(E(),we(l,{key:g.id,output:g},null,8,["output"]))),128)),z$,c("div",C$,[c("div",w$,[c("div",k$,[c("div",x$,[c("a",{class:ke(["button is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[7]||(t[7]=(...g)=>o.togglePlay&&o.togglePlay(...g))},[v(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),c("div",S$,[c("div",E$,[c("div",{class:ke(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[c("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,$$),c("a",T$,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),v(a,{value:s.stream_volume,"onUpdate:value":t[8]||(t[8]=g=>s.stream_volume=g),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])],2)],2)}const O$=ie(R2,[["render",A$]]),P$={name:"NavbarTop",components:{NavbarItemLink:Vy},data(){return{show_settings_menu:!1}},computed:{search_name:{get(){return this.$store.state.search_source}},show_audiobooks(){return this.$store.getters.setting("webinterface","show_menu_item_audiobooks").value},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(ki,e)}},show_files(){return this.$store.getters.setting("webinterface","show_menu_item_files").value},show_music(){return this.$store.getters.setting("webinterface","show_menu_item_music").value},show_player_menu(){return this.$store.state.show_player_menu},show_playlists(){return this.$store.getters.setting("webinterface","show_menu_item_playlists").value},show_podcasts(){return this.$store.getters.setting("webinterface","show_menu_item_podcasts").value},show_radio(){return this.$store.getters.setting("webinterface","show_menu_item_radio").value},show_search(){return this.$store.getters.setting("webinterface","show_menu_item_search").value},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Si,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}}},I$={class:"navbar-brand"},L$=c("span",null,null,-1),N$=c("span",null,null,-1),D$=c("span",null,null,-1),R$=[L$,N$,D$],M$=c("div",{class:"navbar-start"},null,-1),F$={class:"navbar-end"},V$={class:"navbar-item is-arrowless is-hidden-touch"},H$={class:"navbar-dropdown is-right"},U$=["textContent"],j$=["textContent"],B$=["textContent"],W$=["textContent"],q$=["textContent"],G$=["textContent"],K$=["textContent"],Z$=["textContent"],Y$=["textContent"],X$=["textContent"],J$=["textContent"],Q$=c("hr",{class:"my-3"},null,-1),eT=["textContent"];function tT(e,t,n,r,s,o){const i=O("mdicon"),a=O("navbar-item-link");return E(),P("nav",{class:"navbar is-light is-fixed-top",style:ns(o.zindex),role:"navigation","aria-label":"main navigation"},[c("div",I$,[o.show_playlists?(E(),we(a,{key:0,to:{name:"playlists"}},{default:N(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):te("",!0),o.show_music?(E(),we(a,{key:1,to:{name:"music"}},{default:N(()=>[v(i,{class:"icon",name:"music",size:"16"})]),_:1})):te("",!0),o.show_podcasts?(E(),we(a,{key:2,to:{name:"podcasts"}},{default:N(()=>[v(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):te("",!0),o.show_audiobooks?(E(),we(a,{key:3,to:{name:"audiobooks"}},{default:N(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):te("",!0),o.show_radio?(E(),we(a,{key:4,to:{name:"radio"}},{default:N(()=>[v(i,{class:"icon",name:"radio",size:"16"})]),_:1})):te("",!0),o.show_files?(E(),we(a,{key:5,to:{name:"files"}},{default:N(()=>[v(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):te("",!0),o.show_search?(E(),we(a,{key:6,to:{name:o.search_name}},{default:N(()=>[v(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):te("",!0),c("div",{class:ke(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},R$,2)]),c("div",{class:ke(["navbar-menu",{"is-active":o.show_burger_menu}])},[M$,c("div",F$,[c("div",{class:ke(["navbar-item has-dropdown is-hoverable",{"is-active":s.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>o.on_click_outside_settings&&o.on_click_outside_settings(...l))},[c("a",V$,[v(i,{class:"icon",name:"menu",size:"24"})]),c("div",H$,[v(a,{to:{name:"playlists"}},{default:N(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"}),c("b",{textContent:y(e.$t("navigation.playlists"))},null,8,U$)]),_:1}),v(a,{to:{name:"music"}},{default:N(()=>[v(i,{class:"icon",name:"music",size:"16"}),c("b",{textContent:y(e.$t("navigation.music"))},null,8,j$)]),_:1}),v(a,{to:{name:"music-artists"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.artists"))},null,8,B$)]),_:1}),v(a,{to:{name:"music-albums"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.albums"))},null,8,W$)]),_:1}),v(a,{to:{name:"music-genres"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.genres"))},null,8,q$)]),_:1}),o.spotify_enabled?(E(),we(a,{key:0,to:{name:"music-spotify"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.spotify"))},null,8,G$)]),_:1})):te("",!0),v(a,{to:{name:"podcasts"}},{default:N(()=>[v(i,{class:"icon",name:"microphone",size:"16"}),c("b",{textContent:y(e.$t("navigation.podcasts"))},null,8,K$)]),_:1}),v(a,{to:{name:"audiobooks"}},{default:N(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"}),c("b",{textContent:y(e.$t("navigation.audiobooks"))},null,8,Z$)]),_:1}),v(a,{to:{name:"radio"}},{default:N(()=>[v(i,{class:"icon",name:"radio",size:"16"}),c("b",{textContent:y(e.$t("navigation.radio"))},null,8,Y$)]),_:1}),v(a,{to:{name:"files"}},{default:N(()=>[v(i,{class:"icon",name:"folder-open",size:"16"}),c("b",{textContent:y(e.$t("navigation.files"))},null,8,X$)]),_:1}),v(a,{to:{name:o.search_name}},{default:N(()=>[v(i,{class:"icon",name:"magnify",size:"16"}),c("b",{textContent:y(e.$t("navigation.search"))},null,8,J$)]),_:1},8,["to"]),Q$,v(a,{to:{name:"settings-webinterface"}},{default:N(()=>[It(y(e.$t("navigation.settings")),1)]),_:1}),c("a",{class:"navbar-item",onClick:t[1]||(t[1]=yt(l=>o.open_update_dialog(),["stop","prevent"])),textContent:y(e.$t("navigation.update-library"))},null,8,eT),v(a,{to:{name:"about"}},{default:N(()=>[It(y(e.$t("navigation.about")),1)]),_:1})])],2)])],2),pt(c("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[gi,s.show_settings_menu]])],4)}const nT=ie(P$,[["render",tT]]),rT={name:"NotificationList",computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.dispatch("delete_notification",e)}}},sT={key:0,class:"notifications"},oT={class:"columns is-centered"},iT={class:"column is-half"},aT=["onClick"],lT=["textContent"];function cT(e,t,n,r,s,o){return o.notifications.length>0?(E(),P("section",sT,[c("div",oT,[c("div",iT,[(E(!0),P(be,null,gt(o.notifications,i=>(E(),P("div",{key:i.id,class:ke(["notification",i.type?`is-${i.type}`:""])},[c("button",{class:"delete",onClick:a=>o.remove(i)},null,8,aT),c("div",{class:"text",textContent:y(i.text)},null,8,lT)],2))),128))])])])):te("",!0)}const uT=ie(rT,[["render",cT],["__scopeId","data-v-422ad582"]]);var Hy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Uy(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 s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var jy={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Hy,function(){if(!("WebSocket"in window))return;function t(n,r,s){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};s||(s={});for(var i in o)typeof s[i]<"u"?this[i]=s[i]:this[i]=o[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(z){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var k=f("open");k.isReconnect=p,p=!1,m.dispatchEvent(k)},l.onclose=function(z){if(clearTimeout(w),l=null,u)a.readyState=WebSocket.CLOSED,m.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var k=f("connecting");k.code=z.code,k.reason=z.reason,k.wasClean=z.wasClean,m.dispatchEvent(k),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),m.dispatchEvent(f("close")));var w=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},w>a.maxReconnectInterval?a.maxReconnectInterval:w)}},l.onmessage=function(z){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,z.data);var k=f("message");k.data=z.data,m.dispatchEvent(k)},l.onerror=function(z){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,z),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})})(jy);var dT=jy.exports;const mT=Vl(dT),fT={name:"App",components:{ModalDialogRemotePairing:aS,ModalDialogUpdate:LS,NavbarBottom:O$,NavbarTop:nT,NotificationList:uT},data(){return{pairing_active:!1,reconnect_attempts:0,token_timer_id:0}},computed:{show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(ki,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(xi,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Si,e)}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created(){this.connect(),this.$Progress.start(),this.$router.beforeEach((e,t,n)=>{e.meta.show_progress&&!(e.path===t.path&&e.hash)&&(e.meta.progress&&this.$Progress.parseMeta(e.meta.progress),this.$Progress.start()),n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect(){j.config().then(({data:e})=>{this.$store.commit(Nh,e),this.$store.commit(fl,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"),topic:"connection",type:"danger"})})},open_ws(){if(this.$store.state.config.websocket_port<=0){this.$store.dispatch("add_notification",{text:this.$t("server.missing-port"),type:"danger"});return}let e="ws://";window.location.protocol==="https:"&&(e="wss://");let t=`${e}${window.location.hostname}:${this.$store.state.config.websocket_port}`;const n=new mT(t,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3}),r=this;n.onopen=()=>{r.reconnect_attempts=0,n.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),r.update_outputs(),r.update_player_status(),r.update_library_stats(),r.update_settings(),r.update_queue(),r.update_spotify(),r.update_lastfm(),r.update_pairing()};let s=!1;const o=()=>{s||(r.update_outputs(),r.update_player_status(),r.update_library_stats(),r.update_settings(),r.update_queue(),r.update_spotify(),r.update_lastfm(),r.update_pairing(),s=!0,setTimeout(()=>{s=!1},500))};window.addEventListener("focus",o),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&o()}),n.onmessage=i=>{const a=JSON.parse(i.data);(a.notify.includes("update")||a.notify.includes("database"))&&r.update_library_stats(),(a.notify.includes("player")||a.notify.includes("options")||a.notify.includes("volume"))&&r.update_player_status(),(a.notify.includes("outputs")||a.notify.includes("volume"))&&r.update_outputs(),a.notify.includes("queue")&&r.update_queue(),a.notify.includes("spotify")&&r.update_spotify(),a.notify.includes("lastfm")&&r.update_lastfm(),a.notify.includes("pairing")&&r.update_pairing()}},update_is_clipped(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")},update_lastfm(){j.lastfm().then(({data:e})=>{this.$store.commit(Dh,e)})},update_library_stats(){j.library_stats().then(({data:e})=>{this.$store.commit(Mh,e)}),j.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(Rh,e)})},update_lyrics(){const e=this.$store.getters.now_playing;e&&e.track_id?j.library_track(e.track_id).then(({data:t})=>{this.$store.commit(Bc,t.lyrics)}):this.$store.commit(Bc)},update_outputs(){j.outputs().then(({data:e})=>{this.$store.commit(Fh,e.outputs)})},update_pairing(){j.pairing().then(({data:e})=>{this.$store.commit(Vh,e),this.pairing_active=e.active})},update_player_status(){j.player_status().then(({data:e})=>{this.$store.commit(Yu,e),this.update_lyrics()})},update_queue(){j.queue().then(({data:e})=>{this.$store.commit(Hh,e),this.update_lyrics()})},update_settings(){j.settings().then(({data:e})=>{this.$store.commit(Uh,e)})},update_spotify(){j.spotify().then(({data:e})=>{this.$store.commit(jh,e),this.token_timer_id>0&&(window.clearTimeout(this.token_timer_id),this.token_timer_id=0),e.webapi_token_expires_in>0&&e.webapi_token&&(this.token_timer_id=window.setTimeout(this.update_spotify,1e3*e.webapi_token_expires_in))})}},template:"<App/>"},pT={id:"app"};function hT(e,t,n,r,s,o){const i=O("navbar-top"),a=O("vue-progress-bar"),l=O("router-view"),u=O("modal-dialog-remote-pairing"),d=O("modal-dialog-update"),m=O("notification-list"),f=O("navbar-bottom");return E(),P("div",pT,[v(i),v(a,{class:"has-background-info"}),v(l,null,{default:N(({Component:p})=>[(E(),we(Ol(p)))]),_:1}),v(u,{show:s.pairing_active,onClose:t[0]||(t[0]=p=>s.pairing_active=!1)},null,8,["show"]),v(d,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),pt(v(m,null,null,512),[[gi,!o.show_burger_menu]]),v(f),pt(c("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[gi,o.show_burger_menu||o.show_player_menu]])])}const _T=ie(fT,[["render",hT]]),By=function(){return document.ontouchstart!==null?"click":"touchstart"},Qa="__vue_click_away__",Wy=function(e,t,n){qy(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[Qa]=function(i){if((!e||!e.contains(i.target))&&s&&o&&typeof s=="function")return s.call(r,i)},document.addEventListener(By(),e[Qa],!1)},qy=function(e){document.removeEventListener(By(),e[Qa],!1),delete e[Qa]},gT=function(e,t,n){t.value!==t.oldValue&&Wy(e,t,n)},yT={install:function(e){e.directive("click-away",vT)}},vT={mounted:Wy,updated:gT,unmounted:qy};var nr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(nr||{});const bT=typeof window<"u"&&window!==null,zT=xT(),CT=Object.prototype.propertyIsEnumerable,Wf=Object.getOwnPropertySymbols;function Qo(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function wT(e){return typeof e=="object"?e===null:typeof e!="function"}function kT(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function xT(){return bT&&"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 ST(e,...t){if(!Qo(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Wf!="function")return e;for(const n of t){const r=Wf(n);for(const s of r)CT.call(n,s)&&(e[s]=n[s])}return e}function Gy(e,...t){let n=0;for(wT(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Qo(t[n])){for(const r of Object.keys(t[n]))kT(r)&&(Qo(e[r])&&Qo(t[n][r])?Gy(e[r],t[n][r]):e[r]=t[n][r]);ST(e,t[n])}return e}const qf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ET="",$T={rootMargin:"0px",threshold:0},Is="data-lazy-timeout-id";class TT{constructor(t){this.options={loading:qf,error:ET,observerOptions:$T,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Gy(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:s,error:o,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(nr.LOADING,i,t),t.setAttribute("src",s||qf),zT||(this.loadImages(t,r,o,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,o,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:s,lifecycle:o,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,s,o,i)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,s){this._setImageSrc(t,n,r,s)}_setImageSrc(t,n,r,s){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(nr.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(nr.ERROR,s,t),(o=this._realObserver(t))==null||o.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,s,o){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,u=>{o&&o>0?this._delayedIntersectionCallback(t,u,o,n,r,s):this._intersectionCallback(t,u,n,r,s)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,s,o){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,s,o))}_delayedIntersectionCallback(t,n,r,s,o,i){if(n.isIntersecting){if(n.target.hasAttribute(Is))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,s,o,i),n.target.removeAttribute(Is)},r);n.target.setAttribute(Is,String(a))}else n.target.hasAttribute(Is)&&(clearTimeout(Number(n.target.getAttribute(Is))),n.target.removeAttribute(Is))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,s=this.options.error,o=this.options.lifecycle,i=this.options.delay;return Qo(t)&&(n=t.src,r=t.loading||this.options.loading,s=t.error||this.options.error,o=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:s,lifecycle:o,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case nr.LOADING:r==null||r.setAttribute("lazy",nr.LOADING),n!=null&&n.loading&&n.loading(r);break;case nr.LOADED:r==null||r.setAttribute("lazy",nr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case nr.ERROR:r==null||r.setAttribute("lazy",nr.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 AT={install(e,t){const n=new TT(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 Ky={exports:{}};const Zy=Uy(Gk);(function(e){e.exports=function(t){var n={};function r(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(s,o,i){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:i})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(o&1&&(s=r(s)),o&8||o&4&&typeof s=="object"&&s&&s.__esModule)return s;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var a in s)r.d(i,a,(function(l){return s[l]}).bind(null,a));return i},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var s,o,i;(function(a,l){o=[],s=l,i=typeof s=="function"?s.apply(n,o):s,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(b){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,m=u.exec(b.stack)||d.exec(b.stack),f=m&&m[1]||!1,p=m&&m[2]||!1,h=document.location.href.replace(document.location.hash,""),_,z,k,w=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,z=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),k=_.replace(z,"$1").trim());for(var g=0;g<w.length;g++)if(w[g].readyState==="interactive"||w[g].src===f||f===h&&w[g].innerHTML&&w[g].innerHTML.trim()===k)return w[g];return null}}return a})},"8bbf":function(t,n){t.exports=Zy},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var s=window.document.currentScript;{var o=r("8875");s=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var i=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,z,k,w,g){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:k.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}},z=Object(a.computed)(function(){var k=_.options,w=!!k.show,g=k.location,b={"z-index":999999,"background-color":k.canSuccess?k.color:k.failedColor,opacity:k.show?1:0,position:k.position};return g==="top"||g==="bottom"?(g==="top"?b.top="0px":b.bottom="0px",k.inverse?b.right="0px":b.left="0px",b.width=_.percent+"%",b.height=k.thickness,b.transition=(w?"width "+k.transition.speed+", ":"")+"opacity "+k.transition.opacity):(g==="left"||g==="right")&&(g==="left"?b.left="0px":b.right="0px",k.inverse?b.top="0px":b.bottom="0px",b.height=_.percent+"%",b.width=k.thickness,b.transition=(w?"height "+k.transition.speed+", ":"")+"opacity "+k.transition.opacity),b});return{progress:_,finalStyle:z}}};d.render=l;var m=d;function f(h,_){for(var z=1,k,w;z<arguments.length;++z){w=arguments[z];for(k in w)Object.prototype.hasOwnProperty.call(w,k)&&(h[k]=w[k])}return h}var p={install:function(_,z){var k={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},w=f(k,z),g=Object(a.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",g);var b={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(C){var L=this;C||(C=3e3),g.percent=0,g.options.show=!0,g.options.canSuccess=!0,this.state.cut=1e4/Math.floor(C),clearInterval(this.state.timer),this.state.timer=setInterval(function(){L.increase(L.state.cut*Math.random()),g.percent>95&&g.options.autoFinish&&L.finish()},100)},set:function(C){g.options.show=!0,g.options.canSuccess=!0,g.percent=Math.floor(C)},get:function(){return Math.floor(g.percent)},increase:function(C){g.percent=Math.min(99,g.percent+Math.floor(C))},decrease:function(C){g.percent=g.percent-Math.floor(C)},hide:function(){var C=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){g.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){g.percent=0},100),g.options.autoRevert&&setTimeout(function(){C.revert()},300)})},g.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){g.percent=100,this.hide()},fail:function(){g.options.canSuccess=!1,g.percent=100,this.hide()},setFailColor:function(C){g.options.failedColor=C},setColor:function(C){g.options.color=C},setLocation:function(C){g.options.location=C},setTransition:function(C){g.options.transition=C},tempFailColor:function(C){this.state.tFailColor=g.options.failedColor,g.options.failedColor=C},tempColor:function(C){this.state.tColor=g.options.color,g.options.color=C},tempLocation:function(C){this.state.tLocation=g.options.location,g.options.location=C},tempTransition:function(C){this.state.tTransition=g.options.transition,g.options.transition=C},revertColor:function(){g.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){g.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){g.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){g.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){g.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(C){for(var L in C.func){var M=C.func[L];switch(M.call){case"color":switch(M.modifier){case"set":this.setColor(M.argument);break;case"temp":this.tempColor(M.argument);break}break;case"fail":switch(M.modifier){case"set":this.setFailColor(M.argument);break;case"temp":this.tempFailColor(M.argument);break}break;case"location":switch(M.modifier){case"set":this.setLocation(M.argument);break;case"temp":this.tempLocation(M.argument);break}break;case"transition":switch(M.modifier){case"set":this.setTransition(M.argument);break;case"temp":this.tempTransition(M.argument);break}break}}}};_.component("vue-progress-bar",m),_.config.globalProperties.$Progress=b}};n.default=p}})})(Ky);var OT=Ky.exports;const PT=Vl(OT);class $s extends Error{}class IT extends $s{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class LT extends $s{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class NT extends $s{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ws extends $s{}class Yy extends $s{constructor(t){super(`Invalid unit ${t}`)}}class an extends $s{}class Ir extends $s{constructor(){super("Zone is an abstract class")}}const _e="numeric",Yn="short",kn="long",el={year:_e,month:_e,day:_e},Xy={year:_e,month:Yn,day:_e},DT={year:_e,month:Yn,day:_e,weekday:Yn},Jy={year:_e,month:kn,day:_e},Qy={year:_e,month:kn,day:_e,weekday:kn},e1={hour:_e,minute:_e},t1={hour:_e,minute:_e,second:_e},n1={hour:_e,minute:_e,second:_e,timeZoneName:Yn},r1={hour:_e,minute:_e,second:_e,timeZoneName:kn},s1={hour:_e,minute:_e,hourCycle:"h23"},o1={hour:_e,minute:_e,second:_e,hourCycle:"h23"},i1={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:Yn},a1={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:kn},l1={year:_e,month:_e,day:_e,hour:_e,minute:_e},c1={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},u1={year:_e,month:Yn,day:_e,hour:_e,minute:_e},d1={year:_e,month:Yn,day:_e,hour:_e,minute:_e,second:_e},RT={year:_e,month:Yn,day:_e,weekday:Yn,hour:_e,minute:_e},m1={year:_e,month:kn,day:_e,hour:_e,minute:_e,timeZoneName:Yn},f1={year:_e,month:kn,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:Yn},p1={year:_e,month:kn,day:_e,weekday:kn,hour:_e,minute:_e,timeZoneName:kn},h1={year:_e,month:kn,day:_e,weekday:kn,hour:_e,minute:_e,second:_e,timeZoneName:kn};class Di{get type(){throw new Ir}get name(){throw new Ir}get ianaName(){return this.name}get isUniversal(){throw new Ir}offsetName(t,n){throw new Ir}formatOffset(t,n){throw new Ir}offset(t){throw new Ir}equals(t){throw new Ir}get isValid(){throw new Ir}}let _c=null;class Hl extends Di{static get instance(){return _c===null&&(_c=new Hl),_c}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return k1(t,n,r)}formatOffset(t,n){return ei(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Sa={};function MT(e){return Sa[e]||(Sa[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"})),Sa[e]}const FT={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function VT(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,o,i,a,l,u,d]=r;return[i,s,o,a,l,u,d]}function HT(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:i}=n[s],a=FT[o];o==="era"?r[a]=i:Fe(a)||(r[a]=parseInt(i,10))}return r}let sa={};class kr extends Di{static create(t){return sa[t]||(sa[t]=new kr(t)),sa[t]}static resetCache(){sa={},Sa={}}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=kr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return k1(t,n,r,this.name)}formatOffset(t,n){return ei(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=MT(this.name);let[s,o,i,a,l,u,d]=r.formatToParts?HT(r,n):VT(r,n);a==="BC"&&(s=-Math.abs(s)+1);const f=jl({year:s,month:o,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 Gf={};function UT(e,t={}){const n=JSON.stringify([e,t]);let r=Gf[n];return r||(r=new Intl.ListFormat(e,t),Gf[n]=r),r}let Au={};function Ou(e,t={}){const n=JSON.stringify([e,t]);let r=Au[n];return r||(r=new Intl.DateTimeFormat(e,t),Au[n]=r),r}let Pu={};function jT(e,t={}){const n=JSON.stringify([e,t]);let r=Pu[n];return r||(r=new Intl.NumberFormat(e,t),Pu[n]=r),r}let Iu={};function BT(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let o=Iu[s];return o||(o=new Intl.RelativeTimeFormat(e,t),Iu[s]=o),o}let Uo=null;function WT(){return Uo||(Uo=new Intl.DateTimeFormat().resolvedOptions().locale,Uo)}let Kf={};function qT(e){let t=Kf[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,Kf[e]=t}return t}function GT(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,s;try{r=Ou(e).resolvedOptions(),s=e}catch{const l=e.substring(0,n);r=Ou(l).resolvedOptions(),s=l}const{numberingSystem:o,calendar:i}=r;return[s,o,i]}}function KT(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function ZT(e){const t=[];for(let n=1;n<=12;n++){const r=Le.utc(2009,n,1);t.push(e(r))}return t}function YT(e){const t=[];for(let n=1;n<=7;n++){const r=Le.utc(2016,11,13+n);t.push(e(r))}return t}function oa(e,t,n,r){const s=e.listingMode();return s==="error"?null:s==="en"?n(t):r(t)}function XT(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 JT{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...i}=r;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=jT(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):Gd(t,3);return Pt(n,this.padTo)}}}class QT{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let s;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&&kr.create(a).valid?(s=a,this.dt=t):(s="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,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=Ou(n,o)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const 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 eA{constructor(t,n,r){this.opts={style:"long",...r},!n&&C1()&&(this.rtf=BT(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):bA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const tA={firstDay:1,minimalDays:4,weekend:[6,7]};class dt{static fromOpts(t){return dt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,s,o=!1){const i=t||At.defaultLocale,a=i||(o?"en-US":WT()),l=n||At.defaultNumberingSystem,u=r||At.defaultOutputCalendar,d=Lu(s)||At.defaultWeekSettings;return new dt(a,l,u,d,i)}static resetCache(){Uo=null,Au={},Pu={},Iu={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return dt.create(t,n,r,s)}constructor(t,n,r,s,o){const[i,a,l]=GT(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=s,this.intl=KT(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=XT(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:dt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Lu(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 oa(this,t,E1,()=>{const r=n?{month:t,day:"numeric"}:{month:t},s=n?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=ZT(o=>this.extract(o,r,"month"))),this.monthsCache[s][t]})}weekdays(t,n=!1){return oa(this,t,A1,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=n?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=YT(o=>this.extract(o,r,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return oa(this,void 0,()=>O1,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Le.utc(2016,11,13,9),Le.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return oa(this,t,P1,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Le.utc(-40,1,1),Le.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const s=this.dtFormatter(t,n),o=s.formatToParts(),i=o.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new JT(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new QT(t,this.intl,n)}relFormatter(t={}){return new eA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return UT(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:w1()?qT(this.locale):tA}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 gc=null;class Jt extends Di{static get utcInstance(){return gc===null&&(gc=new Jt(0)),gc}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(Bl(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ei(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ei(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return ei(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 nA extends Di{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 Wr(e,t){if(Fe(e)||e===null)return t;if(e instanceof Di)return e;if(oA(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Hl.instance:n==="utc"||n==="gmt"?Jt.utcInstance:Jt.parseSpecifier(n)||kr.create(e)}else return bs(e)?Jt.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new nA(e)}let Zf=()=>Date.now(),Yf="system",Xf=null,Jf=null,Qf=null,ep=60,tp,np=null;class At{static get now(){return Zf}static set now(t){Zf=t}static set defaultZone(t){Yf=t}static get defaultZone(){return Wr(Yf,Hl.instance)}static get defaultLocale(){return Xf}static set defaultLocale(t){Xf=t}static get defaultNumberingSystem(){return Jf}static set defaultNumberingSystem(t){Jf=t}static get defaultOutputCalendar(){return Qf}static set defaultOutputCalendar(t){Qf=t}static get defaultWeekSettings(){return np}static set defaultWeekSettings(t){np=Lu(t)}static get twoDigitCutoffYear(){return ep}static set twoDigitCutoffYear(t){ep=t%100}static get throwOnInvalid(){return tp}static set throwOnInvalid(t){tp=t}static resetCaches(){dt.resetCache(),kr.resetCache()}}class Wn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const _1=[0,31,59,90,120,151,181,212,243,273,304,334],g1=[0,31,60,91,121,152,182,213,244,274,305,335];function Tn(e,t){return new Wn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Bd(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function y1(e,t,n){return n+(Ri(e)?g1:_1)[t-1]}function v1(e,t){const n=Ri(e)?g1:_1,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function Wd(e,t){return(e-t+7)%7+1}function tl(e,t=4,n=1){const{year:r,month:s,day:o}=e,i=y1(r,s,o),a=Wd(Bd(r,s,o),n);let l=Math.floor((i-a+14-t)/7),u;return l<1?(u=r-1,l=vi(u,t,n)):l>vi(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:a,...Wl(e)}}function rp(e,t=4,n=1){const{weekYear:r,weekNumber:s,weekday:o}=e,i=Wd(Bd(r,1,t),n),a=no(r);let l=s*7+o-i-7+t,u;l<1?(u=r-1,l+=no(u)):l>a?(u=r+1,l-=no(r)):u=r;const{month:d,day:m}=v1(u,l);return{year:u,month:d,day:m,...Wl(e)}}function yc(e){const{year:t,month:n,day:r}=e,s=y1(t,n,r);return{year:t,ordinal:s,...Wl(e)}}function sp(e){const{year:t,ordinal:n}=e,{month:r,day:s}=v1(t,n);return{year:t,month:r,day:s,...Wl(e)}}function op(e,t){if(!Fe(e.localWeekday)||!Fe(e.localWeekNumber)||!Fe(e.localWeekYear)){if(!Fe(e.weekday)||!Fe(e.weekNumber)||!Fe(e.weekYear))throw new Ws("Cannot mix locale-based week fields with ISO-based week fields");return Fe(e.localWeekday)||(e.weekday=e.localWeekday),Fe(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Fe(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 rA(e,t=4,n=1){const r=Ul(e.weekYear),s=An(e.weekNumber,1,vi(e.weekYear,t,n)),o=An(e.weekday,1,7);return r?s?o?!1:Tn("weekday",e.weekday):Tn("week",e.weekNumber):Tn("weekYear",e.weekYear)}function sA(e){const t=Ul(e.year),n=An(e.ordinal,1,no(e.year));return t?n?!1:Tn("ordinal",e.ordinal):Tn("year",e.year)}function b1(e){const t=Ul(e.year),n=An(e.month,1,12),r=An(e.day,1,nl(e.year,e.month));return t?n?r?!1:Tn("day",e.day):Tn("month",e.month):Tn("year",e.year)}function z1(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=An(t,0,23)||t===24&&n===0&&r===0&&s===0,i=An(n,0,59),a=An(r,0,59),l=An(s,0,999);return o?i?a?l?!1:Tn("millisecond",s):Tn("second",r):Tn("minute",n):Tn("hour",t)}function Fe(e){return typeof e>"u"}function bs(e){return typeof e=="number"}function Ul(e){return typeof e=="number"&&e%1===0}function oA(e){return typeof e=="string"}function iA(e){return Object.prototype.toString.call(e)==="[object Date]"}function C1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function w1(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function aA(e){return Array.isArray(e)?e:[e]}function ip(e,t,n){if(e.length!==0)return e.reduce((r,s)=>{const o=[t(s),s];return r&&n(r[0],o[0])===r[0]?r:o},null)[1]}function lA(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function mo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Lu(e){if(e==null)return null;if(typeof e!="object")throw new an("Week settings must be an object");if(!An(e.firstDay,1,7)||!An(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!An(t,1,7)))throw new an("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function An(e,t,n){return Ul(e)&&e>=t&&e<=n}function cA(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 Hr(e){if(!(Fe(e)||e===null||e===""))return parseInt(e,10)}function ls(e){if(!(Fe(e)||e===null||e===""))return parseFloat(e)}function qd(e){if(!(Fe(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Gd(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Ri(e){return e%4===0&&(e%100!==0||e%400===0)}function no(e){return Ri(e)?366:365}function nl(e,t){const n=cA(t-1,12)+1,r=e+(t-n)/12;return n===2?Ri(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function jl(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 ap(e,t,n){return-Wd(Bd(e,1,t),n)+t-1}function vi(e,t=4,n=1){const r=ap(e,t,n),s=ap(e+1,t,n);return(no(e)-r+s)/7}function Nu(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function k1(e,t,n,r=null){const s=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);const i={timeZoneName:t,...o},a=new Intl.DateTimeFormat(n,i).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Bl(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function x1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new an(`Invalid unit value ${e}`);return t}function rl(e,t){const n={};for(const r in e)if(mo(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=x1(s)}return n}function ei(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${Pt(n,2)}:${Pt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Pt(n,2)}${Pt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Wl(e){return lA(e,["hour","minute","second","millisecond"])}const uA=["January","February","March","April","May","June","July","August","September","October","November","December"],S1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dA=["J","F","M","A","M","J","J","A","S","O","N","D"];function E1(e){switch(e){case"narrow":return[...dA];case"short":return[...S1];case"long":return[...uA];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const $1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],T1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],mA=["M","T","W","T","F","S","S"];function A1(e){switch(e){case"narrow":return[...mA];case"short":return[...T1];case"long":return[...$1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const O1=["AM","PM"],fA=["Before Christ","Anno Domini"],pA=["BC","AD"],hA=["B","A"];function P1(e){switch(e){case"narrow":return[...hA];case"short":return[...pA];case"long":return[...fA];default:return null}}function _A(e){return O1[e.hour<12?0:1]}function gA(e,t){return A1(t)[e.weekday-1]}function yA(e,t){return E1(t)[e.month-1]}function vA(e,t){return P1(t)[e.year<0?0:1]}function bA(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const m=e==="days";switch(t){case 1:return m?"tomorrow":`next ${s[e][0]}`;case-1:return m?"yesterday":`last ${s[e][0]}`;case 0:return m?"today":`this ${s[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,u=s[e],d=r?l?u[1]:u[2]||u[1]:l?s[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function lp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const zA={D:el,DD:Xy,DDD:Jy,DDDD:Qy,t:e1,tt:t1,ttt:n1,tttt:r1,T:s1,TT:o1,TTT:i1,TTTT:a1,f:l1,ff:u1,fff:m1,ffff:p1,F:c1,FF:d1,FFF:f1,FFFF:h1};class qt{static create(t,n={}){return new qt(t,n)}static parseFormat(t){let n=null,r="",s=!1;const o=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||a===n?r+=a:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(t){return zA[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",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?_A(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?yA(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),u=(p,h)=>r?gA(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=qt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},m=p=>r?vA(t,p):o({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 s?o({day:"numeric"},"day"):this.num(t.day);case"dd":return s?o({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 s?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?o({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 s?o({month:"numeric"},"month"):this.num(t.month);case"MM":return s?o({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 s?o({year:"numeric"},"year"):this.num(t.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?o({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 lp(qt.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}},s=l=>u=>{const d=r(u);return d?this.num(l.get(d),u.length):u},o=qt.parseFormat(n),i=o.reduce((l,{literal:u,val:d})=>u?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return lp(o,s(a))}}const I1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ko(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function xo(...e){return t=>e.reduce(([n,r,s],o)=>{const[i,a,l]=o(t,s);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function So(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const s=n.exec(e);if(s)return r(s)}return[null,null]}function L1(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Hr(t[n+s]);return[r,null,n+s]}}const N1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,CA=`(?:${N1.source}?(?:\\[(${I1.source})\\])?)?`,Kd=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,D1=RegExp(`${Kd.source}${CA}`),Zd=RegExp(`(?:T${D1.source})?`),wA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xA=/(\d{4})-?(\d{3})/,SA=L1("weekYear","weekNumber","weekDay"),EA=L1("year","ordinal"),$A=/(\d{4})-(\d\d)-(\d\d)/,R1=RegExp(`${Kd.source} ?(?:${N1.source}|(${I1.source}))?`),TA=RegExp(`(?: ${R1.source})?`);function ro(e,t,n){const r=e[t];return Fe(r)?n:Hr(r)}function AA(e,t){return[{year:ro(e,t),month:ro(e,t+1,1),day:ro(e,t+2,1)},null,t+3]}function Eo(e,t){return[{hours:ro(e,t,0),minutes:ro(e,t+1,0),seconds:ro(e,t+2,0),milliseconds:qd(e[t+3])},null,t+4]}function Mi(e,t){const n=!e[t]&&!e[t+1],r=Bl(e[t+1],e[t+2]),s=n?null:Jt.instance(r);return[{},s,t+3]}function Fi(e,t){const n=e[t]?kr.create(e[t]):null;return[{},n,t+1]}const OA=RegExp(`^T?${Kd.source}$`),PA=/^-?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 IA(e){const[t,n,r,s,o,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(ls(n)),months:f(ls(r)),weeks:f(ls(s)),days:f(ls(o)),hours:f(ls(i)),minutes:f(ls(a)),seconds:f(ls(l),l==="-0"),milliseconds:f(qd(u),m)}]}const LA={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 Yd(e,t,n,r,s,o,i){const a={year:t.length===2?Nu(Hr(t)):Hr(t),month:S1.indexOf(n)+1,day:Hr(r),hour:Hr(s),minute:Hr(o)};return i&&(a.second=Hr(i)),e&&(a.weekday=e.length>3?$1.indexOf(e)+1:T1.indexOf(e)+1),a}const NA=/^(?:(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 DA(e){const[,t,n,r,s,o,i,a,l,u,d,m]=e,f=Yd(t,s,r,n,o,i,a);let p;return l?p=LA[l]:u?p=0:p=Bl(d,m),[f,new Jt(p)]}function RA(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const MA=/^(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$/,FA=/^(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$/,VA=/^(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 cp(e){const[,t,n,r,s,o,i,a]=e;return[Yd(t,s,r,n,o,i,a),Jt.utcInstance]}function HA(e){const[,t,n,r,s,o,i,a]=e;return[Yd(t,a,n,r,s,o,i),Jt.utcInstance]}const UA=ko(wA,Zd),jA=ko(kA,Zd),BA=ko(xA,Zd),WA=ko(D1),M1=xo(AA,Eo,Mi,Fi),qA=xo(SA,Eo,Mi,Fi),GA=xo(EA,Eo,Mi,Fi),KA=xo(Eo,Mi,Fi);function ZA(e){return So(e,[UA,M1],[jA,qA],[BA,GA],[WA,KA])}function YA(e){return So(RA(e),[NA,DA])}function XA(e){return So(e,[MA,cp],[FA,cp],[VA,HA])}function JA(e){return So(e,[PA,IA])}const QA=xo(Eo);function eO(e){return So(e,[OA,QA])}const tO=ko($A,TA),nO=ko(R1),rO=xo(Eo,Mi,Fi);function sO(e){return So(e,[tO,M1],[nO,rO])}const up="Invalid Duration",F1={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}},oO={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},...F1},Sn=146097/400,Ls=146097/4800,iO={years:{quarters:4,months:12,weeks:Sn/7,days:Sn,hours:Sn*24,minutes:Sn*24*60,seconds:Sn*24*60*60,milliseconds:Sn*24*60*60*1e3},quarters:{months:3,weeks:Sn/28,days:Sn/4,hours:Sn*24/4,minutes:Sn*24*60/4,seconds:Sn*24*60*60/4,milliseconds:Sn*24*60*60*1e3/4},months:{weeks:Ls/7,days:Ls,hours:Ls*24,minutes:Ls*24*60,seconds:Ls*24*60*60,milliseconds:Ls*24*60*60*1e3},...F1},ps=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],aO=ps.slice(0).reverse();function Lr(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Ke(r)}function V1(e,t){let n=t.milliseconds??0;for(const r of aO.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function dp(e,t){const n=V1(e,t)<0?-1:1;ps.reduceRight((r,s)=>{if(Fe(t[s]))return r;if(r){const o=t[r]*n,i=e[s][r],a=Math.floor(o/i);t[s]+=a*n,t[r]-=a*i*n}return s},null),ps.reduce((r,s)=>{if(Fe(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}function lO(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Ke{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?iO:oO;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||dt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return Ke.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new an(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Ke({values:rl(t,Ke.normalizeUnit),loc:dt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(bs(t))return Ke.fromMillis(t);if(Ke.isDuration(t))return t;if(typeof t=="object")return Ke.fromObject(t);throw new an(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=JA(t);return r?Ke.fromObject(r,n):Ke.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=eO(t);return r?Ke.fromObject(r,n):Ke.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new an("need to specify a reason the Duration is invalid");const r=t instanceof Wn?t:new Wn(t,n);if(At.throwOnInvalid)throw new NT(r);return new Ke({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new Yy(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?qt.create(this.loc,r).formatDurationFromString(this,t):up}toHuman(t={}){if(!this.isValid)return up;const n=ps.map(r=>{const s=this.values[r];return Fe(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(s)}).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+=Gd(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},Le.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?V1(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t),r={};for(const s of ps)(mo(n.values,s)||mo(this.values,s))&&(r[s]=n.get(s)+this.get(s));return Lr(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=x1(t(this.values[r],r));return Lr(this,{values:n},!0)}get(t){return this[Ke.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...rl(t,Ke.normalizeUnit)};return Lr(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:s,conversionAccuracy:r};return Lr(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return dp(this.matrix,t),Lr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=lO(this.normalize().shiftToAll().toObject());return Lr(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Ke.normalizeUnit(i));const n={},r={},s=this.toObject();let o;for(const i of ps)if(t.indexOf(i)>=0){o=i;let a=0;for(const u in r)a+=this.matrix[u][i]*r[u],r[u]=0;bs(s[i])&&(a+=s[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else bs(s[i])&&(r[i]=s[i]);for(const i in r)r[i]!==0&&(n[o]+=i===o?r[i]:r[i]/this.matrix[o][i]);return dp(this.matrix,n),Lr(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 Lr(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,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of ps)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Ns="Invalid Interval";function cO(e,t){return!e||!e.isValid?Et.invalid("missing or invalid start"):!t||!t.isValid?Et.invalid("missing or invalid end"):t<e?Et.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class Et{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new an("need to specify a reason the Interval is invalid");const r=t instanceof Wn?t:new Wn(t,n);if(At.throwOnInvalid)throw new LT(r);return new Et({invalid:r})}static fromDateTimes(t,n){const r=Lo(t),s=Lo(n),o=cO(r,s);return o??new Et({start:r,end:s})}static after(t,n){const r=Ke.fromDurationLike(n),s=Lo(t);return Et.fromDateTimes(s,s.plus(r))}static before(t,n){const r=Ke.fromDurationLike(n),s=Lo(t);return Et.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,i;try{o=Le.fromISO(r,n),i=o.isValid}catch{i=!1}let a,l;try{a=Le.fromISO(s,n),l=a.isValid}catch{l=!1}if(i&&l)return Et.fromDateTimes(o,a);if(i){const u=Ke.fromISO(s,n);if(u.isValid)return Et.after(o,u)}else if(l){const u=Ke.fromISO(r,n);if(u.isValid)return Et.before(a,u)}}return Et.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(t,n),Math.floor(s.diff(r,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?Et.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Lo).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),r=[];let{s}=this,o=0;for(;s<this.e;){const i=n[o]||this.e,a=+i>+this.e?this.e:i;r.push(Et.fromDateTimes(s,a)),s=a,o+=1}return r}splitBy(t){const n=Ke.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,o;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*s));o=+a>+this.e?this.e:a,i.push(Et.fromDateTimes(r,o)),r=o,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:Et.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return Et.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((s,o)=>s.s-o.s).reduce(([s,o],i)=>o?o.overlaps(i)||o.abutsStart(i)?[s,o.union(i)]:[s.concat([o]),i]:[s,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const s=[],o=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...o),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&&s.push(Et.fromDateTimes(n,l.time)),n=null);return Et.merge(s)}difference(...t){return Et.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Ns}[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=el,n={}){return this.isValid?qt.create(this.s.loc.clone(n),t).formatInterval(this):Ns}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Ns}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ns}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Ns}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Ns}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ke.invalid(this.invalidReason)}mapEndpoints(t){return Et.fromDateTimes(t(this.s),t(this.e))}}class ia{static hasDST(t=At.defaultZone){const n=Le.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return kr.isValidZone(t)}static normalizeZone(t){return Wr(t,At.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||dt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||dt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||dt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||dt.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||dt.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||dt.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||dt.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return dt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return dt.create(n,null,"gregory").eras(t)}static features(){return{relative:C1(),localeWeek:w1()}}}function mp(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Ke.fromMillis(r).as("days"))}function uO(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=mp(l,u);return(d-d%7)/7}],["days",mp]],s={},o=e;let i,a;for(const[l,u]of r)n.indexOf(l)>=0&&(i=l,s[l]=u(e,t),a=o.plus(s),a>t?(s[l]--,e=o.plus(s),e>t&&(a=e,s[l]--,e=o.plus(s))):e=a);return[e,s,a,i]}function dO(e,t,n,r){let[s,o,i,a]=uO(e,t,n);const l=t-s,u=n.filter(m=>["hours","minutes","seconds","milliseconds"].indexOf(m)>=0);u.length===0&&(i<t&&(i=s.plus({[a]:1})),i!==s&&(o[a]=(o[a]||0)+l/(i-s)));const d=Ke.fromObject(o,r);return u.length>0?Ke.fromMillis(l,r).shiftTo(...u).plus(d):d}const Xd={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},fp={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]},mO=Xd.hanidec.replace(/[\[|\]]/g,"").split("");function fO(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(Xd.hanidec)!==-1)t+=mO.indexOf(e[n]);else for(const s in fp){const[o,i]=fp[s];r>=o&&r<=i&&(t+=r-o)}}return parseInt(t,10)}else return t}function Fn({numberingSystem:e},t=""){return new RegExp(`${Xd[e||"latn"]}${t}`)}const pO="missing Intl.DateTimeFormat.formatToParts support";function rt(e,t=n=>n){return{regex:e,deser:([n])=>t(fO(n))}}const hO=" ",H1=`[ ${hO}]`,U1=new RegExp(H1,"g");function _O(e){return e.replace(/\./g,"\\.?").replace(U1,H1)}function pp(e){return e.replace(/\./g,"").replace(U1," ").toLowerCase()}function Vn(e,t){return e===null?null:{regex:RegExp(e.map(_O).join("|")),deser:([n])=>e.findIndex(r=>pp(n)===pp(r))+t}}function hp(e,t){return{regex:e,deser:([,n,r])=>Bl(n,r),groups:t}}function aa(e){return{regex:e,deser:([t])=>t}}function gO(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function yO(e,t){const n=Fn(t),r=Fn(t,"{2}"),s=Fn(t,"{3}"),o=Fn(t,"{4}"),i=Fn(t,"{6}"),a=Fn(t,"{1,2}"),l=Fn(t,"{1,3}"),u=Fn(t,"{1,6}"),d=Fn(t,"{1,9}"),m=Fn(t,"{2,4}"),f=Fn(t,"{4,6}"),p=z=>({regex:RegExp(gO(z.val)),deser:([k])=>k,literal:!0}),_=(z=>{if(e.literal)return p(z);switch(z.val){case"G":return Vn(t.eras("short"),0);case"GG":return Vn(t.eras("long"),0);case"y":return rt(u);case"yy":return rt(m,Nu);case"yyyy":return rt(o);case"yyyyy":return rt(f);case"yyyyyy":return rt(i);case"M":return rt(a);case"MM":return rt(r);case"MMM":return Vn(t.months("short",!0),1);case"MMMM":return Vn(t.months("long",!0),1);case"L":return rt(a);case"LL":return rt(r);case"LLL":return Vn(t.months("short",!1),1);case"LLLL":return Vn(t.months("long",!1),1);case"d":return rt(a);case"dd":return rt(r);case"o":return rt(l);case"ooo":return rt(s);case"HH":return rt(r);case"H":return rt(a);case"hh":return rt(r);case"h":return rt(a);case"mm":return rt(r);case"m":return rt(a);case"q":return rt(a);case"qq":return rt(r);case"s":return rt(a);case"ss":return rt(r);case"S":return rt(l);case"SSS":return rt(s);case"u":return aa(d);case"uu":return aa(a);case"uuu":return rt(n);case"a":return Vn(t.meridiems(),0);case"kkkk":return rt(o);case"kk":return rt(m,Nu);case"W":return rt(a);case"WW":return rt(r);case"E":case"c":return rt(n);case"EEE":return Vn(t.weekdays("short",!1),1);case"EEEE":return Vn(t.weekdays("long",!1),1);case"ccc":return Vn(t.weekdays("short",!0),1);case"cccc":return Vn(t.weekdays("long",!0),1);case"Z":case"ZZ":return hp(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return hp(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return aa(/[a-z_+-/]{1,256}?/i);case" ":return aa(/[^\S\n\r]/);default:return p(z)}})(e)||{invalidReason:pO};return _.token=e,_}const vO={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 bO(e,t,n){const{type:r,value:s}=e;if(r==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const o=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=vO[i];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function zO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function CO(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const i in n)if(mo(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(r.slice(o,o+l))),o+=l}return[r,s]}else return[r,{}]}function wO(e){const t=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return Fe(e.z)||(n=kr.create(e.z)),Fe(e.Z)||(n||(n=new Jt(e.Z)),r=e.Z),Fe(e.q)||(e.M=(e.q-1)*3+1),Fe(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),Fe(e.u)||(e.S=qd(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,r]}let vc=null;function kO(){return vc||(vc=Le.fromMillis(1555555555555)),vc}function xO(e,t){if(e.literal)return e;const n=qt.macroTokenToFormatOpts(e.val),r=W1(n,t);return r==null||r.includes(void 0)?e:r}function j1(e,t){return Array.prototype.concat(...e.map(n=>xO(n,t)))}function B1(e,t,n){const r=j1(qt.parseFormat(n),e),s=r.map(i=>yO(i,e)),o=s.find(i=>i.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[i,a]=zO(s),l=RegExp(i,"i"),[u,d]=CO(t,l,a),[m,f,p]=d?wO(d):[null,null,void 0];if(mo(d,"a")&&mo(d,"H"))throw new Ws("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 SO(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:i}=B1(e,t,n);return[r,s,o,i]}function W1(e,t){if(!e)return null;const r=qt.create(t,e).dtFormatter(kO()),s=r.formatToParts(),o=r.resolvedOptions();return s.map(i=>bO(i,e,o))}const bc="Invalid DateTime",_p=864e13;function la(e){return new Wn("unsupported zone",`the zone "${e.name}" is not supported`)}function zc(e){return e.weekData===null&&(e.weekData=tl(e.c)),e.weekData}function Cc(e){return e.localWeekData===null&&(e.localWeekData=tl(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function cs(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Le({...n,...t,old:n})}function q1(e,t,n){let r=e-t*60*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=(s-t)*60*1e3;const o=n.offset(r);return s===o?[r,s]:[e-Math.min(s,o)*60*1e3,Math.max(s,o)]}function ca(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 Ea(e,t,n){return q1(jl(e),t,n)}function gp(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:r,month:s,day:Math.min(e.c.day,nl(r,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Ke.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=jl(o);let[l,u]=q1(a,n,e.zone);return i!==0&&(l+=i,u=e.zone.offset(l)),{ts:l,o:u}}function Io(e,t,n,r,s,o){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,u=Le.fromObject(e,{...n,zone:l,specificOffset:o});return i?u:u.setZone(a)}else return Le.invalid(new Wn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function ua(e,t,n=!0){return e.isValid?qt.create(dt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function wc(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 yp(e,t,n,r,s,o){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))),s&&(e.isOffsetFixed&&e.offset===0&&!o?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)))),o&&(i+="["+e.zone.ianaName+"]"),i}const G1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},EO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$O={ordinal:1,hour:0,minute:0,second:0,millisecond:0},K1=["year","month","day","hour","minute","second","millisecond"],TO=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],AO=["year","ordinal","hour","minute","second","millisecond"];function OO(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 Yy(e);return t}function vp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return OO(e)}}function bp(e,t){const n=Wr(t.zone,At.defaultZone),r=dt.fromObject(t),s=At.now();let o,i;if(Fe(e.year))o=s;else{for(const u of K1)Fe(e[u])&&(e[u]=G1[u]);const a=b1(e)||z1(e);if(a)return Le.invalid(a);const l=n.offset(s);[o,i]=Ea(e,l,n)}return new Le({ts:o,zone:n,loc:r,o:i})}function zp(e,t,n){const r=Fe(n.round)?!0:n.round,s=(i,a)=>(i=Gd(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),o=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return s(o(n.unit),n.unit);for(const i of n.units){const a=o(i);if(Math.abs(a)>=1)return s(a,i)}return s(e>t?-0:0,n.units[n.units.length-1])}function Cp(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 Le{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Wn("invalid input"):null)||(n.isValid?null:la(n));this.ts=Fe(t.ts)?At.now():t.ts;let s=null,o=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[s,o]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);s=ca(this.ts,a),r=Number.isNaN(s.year)?new Wn("invalid input"):null,s=r?null:s,o=r?null:a}this._zone=n,this.loc=t.loc||dt.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Le({})}static local(){const[t,n]=Cp(arguments),[r,s,o,i,a,l,u]=n;return bp({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:u},t)}static utc(){const[t,n]=Cp(arguments),[r,s,o,i,a,l,u]=n;return t.zone=Jt.utcInstance,bp({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=iA(t)?t.valueOf():NaN;if(Number.isNaN(r))return Le.invalid("invalid input");const s=Wr(n.zone,At.defaultZone);return s.isValid?new Le({ts:r,zone:s,loc:dt.fromObject(n)}):Le.invalid(la(s))}static fromMillis(t,n={}){if(bs(t))return t<-_p||t>_p?Le.invalid("Timestamp out of range"):new Le({ts:t,zone:Wr(n.zone,At.defaultZone),loc:dt.fromObject(n)});throw new an(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(bs(t))return new Le({ts:t*1e3,zone:Wr(n.zone,At.defaultZone),loc:dt.fromObject(n)});throw new an("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Wr(n.zone,At.defaultZone);if(!r.isValid)return Le.invalid(la(r));const s=dt.fromObject(n),o=rl(t,vp),{minDaysInFirstWeek:i,startOfWeek:a}=op(o,s),l=At.now(),u=Fe(n.specificOffset)?r.offset(l):n.specificOffset,d=!Fe(o.ordinal),m=!Fe(o.year),f=!Fe(o.month)||!Fe(o.day),p=m||f,h=o.weekYear||o.weekNumber;if((p||d)&&h)throw new Ws("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&d)throw new Ws("Can't mix ordinal dates with month/day");const _=h||o.weekday&&!p;let z,k,w=ca(l,u);_?(z=TO,k=EO,w=tl(w,i,a)):d?(z=AO,k=$O,w=yc(w)):(z=K1,k=G1);let g=!1;for(const F of z){const Z=o[F];Fe(Z)?g?o[F]=k[F]:o[F]=w[F]:g=!0}const b=_?rA(o,i,a):d?sA(o):b1(o),x=b||z1(o);if(x)return Le.invalid(x);const C=_?rp(o,i,a):d?sp(o):o,[L,M]=Ea(C,u,r),A=new Le({ts:L,zone:r,o:M,loc:s});return o.weekday&&p&&t.weekday!==A.weekday?Le.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${A.toISO()}`):A}static fromISO(t,n={}){const[r,s]=ZA(t);return Io(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=YA(t);return Io(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=XA(t);return Io(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Fe(t)||Fe(n))throw new an("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,i=dt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[a,l,u,d]=SO(i,t,n);return d?Le.invalid(d):Io(a,l,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Le.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=sO(t);return Io(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new an("need to specify a reason the DateTime is invalid");const r=t instanceof Wn?t:new Wn(t,n);if(At.throwOnInvalid)throw new IT(r);return new Le({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=W1(t,dt.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(t,n={}){return j1(qt.parseFormat(t),dt.fromObject(n)).map(s=>s.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?zc(this).weekYear:NaN}get weekNumber(){return this.isValid?zc(this).weekNumber:NaN}get weekday(){return this.isValid?zc(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?yc(this.c).ordinal:NaN}get monthShort(){return this.isValid?ia.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ia.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ia.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ia.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=jl(this.c),s=this.zone.offset(r-t),o=this.zone.offset(r+t),i=this.zone.offset(r-s*n),a=this.zone.offset(r-o*n);if(i===a)return[this];const l=r-i*n,u=r-a*n,d=ca(l,i),m=ca(u,a);return d.hour===m.hour&&d.minute===m.minute&&d.second===m.second&&d.millisecond===m.millisecond?[cs(this,{ts:l}),cs(this,{ts:u})]:[this]}get isInLeapYear(){return Ri(this.year)}get daysInMonth(){return nl(this.year,this.month)}get daysInYear(){return this.isValid?no(this.year):NaN}get weeksInWeekYear(){return this.isValid?vi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?vi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=qt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}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=Wr(t,At.defaultZone),t.equals(this.zone))return this;if(t.isValid){let s=this.ts;if(n||r){const o=t.offset(this.ts),i=this.toObject();[s]=Ea(i,o,t)}return cs(this,{ts:s,zone:t})}else return Le.invalid(la(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return cs(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=rl(t,vp),{minDaysInFirstWeek:r,startOfWeek:s}=op(n,this.loc),o=!Fe(n.weekYear)||!Fe(n.weekNumber)||!Fe(n.weekday),i=!Fe(n.ordinal),a=!Fe(n.year),l=!Fe(n.month)||!Fe(n.day),u=a||l,d=n.weekYear||n.weekNumber;if((u||i)&&d)throw new Ws("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new Ws("Can't mix ordinal dates with month/day");let m;o?m=rp({...tl(this.c,r,s),...n},r,s):Fe(n.ordinal)?(m={...this.toObject(),...n},Fe(n.day)&&(m.day=Math.min(nl(m.year,m.month),m.day))):m=sp({...yc(this.c),...n});const[f,p]=Ea(m,this.o,this.zone);return cs(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t);return cs(this,gp(this,n))}minus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t).negate();return cs(this,gp(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=Ke.normalizeUnit(t);switch(s){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(s==="weeks")if(n){const o=this.loc.getStartOfWeek(),{weekday:i}=this;i<o&&(r.weekNumber=this.weekNumber-1),r.weekday=o}else r.weekday=1;if(s==="quarters"){const o=Math.ceil(this.month/3);r.month=(o-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?qt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):bc}toLocaleString(t=el,n={}){return this.isValid?qt.create(this.loc.clone(n),t).formatDateTime(this):bc}toLocaleParts(t={}){return this.isValid?qt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=wc(this,i);return a+="T",a+=yp(this,i,n,r,s,o),a}toISODate({format:t="extended"}={}){return this.isValid?wc(this,t==="extended"):null}toISOWeekDate(){return ua(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:i="extended"}={}){return this.isValid?(s?"T":"")+yp(this,i==="extended",n,t,r,o):null}toRFC2822(){return ua(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ua(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?wc(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||t)&&(r&&(s+=" "),n?s+="z":t&&(s+="ZZ")),ua(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():bc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return Ke.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=aA(n).map(Ke.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,u=dO(a,l,o,s);return i?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Le.now(),t,n)}until(t){return this.isValid?Et.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const s=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n,r)<=s&&s<=o.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||Le.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(s=t.unit,o=void 0),zp(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?zp(t.base||Le.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Le.isDateTime))throw new an("min requires all arguments be DateTimes");return ip(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Le.isDateTime))throw new an("max requires all arguments be DateTimes");return ip(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,i=dt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return B1(i,t,n)}static fromStringExplain(t,n,r={}){return Le.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return el}static get DATE_MED(){return Xy}static get DATE_MED_WITH_WEEKDAY(){return DT}static get DATE_FULL(){return Jy}static get DATE_HUGE(){return Qy}static get TIME_SIMPLE(){return e1}static get TIME_WITH_SECONDS(){return t1}static get TIME_WITH_SHORT_OFFSET(){return n1}static get TIME_WITH_LONG_OFFSET(){return r1}static get TIME_24_SIMPLE(){return s1}static get TIME_24_WITH_SECONDS(){return o1}static get TIME_24_WITH_SHORT_OFFSET(){return i1}static get TIME_24_WITH_LONG_OFFSET(){return a1}static get DATETIME_SHORT(){return l1}static get DATETIME_SHORT_WITH_SECONDS(){return c1}static get DATETIME_MED(){return u1}static get DATETIME_MED_WITH_SECONDS(){return d1}static get DATETIME_MED_WITH_WEEKDAY(){return RT}static get DATETIME_FULL(){return m1}static get DATETIME_FULL_WITH_SECONDS(){return f1}static get DATETIME_HUGE(){return p1}static get DATETIME_HUGE_WITH_SECONDS(){return h1}}function Lo(e){if(Le.isDateTime(e))return e;if(e&&e.valueOf&&bs(e.valueOf()))return Le.fromJSDate(e);if(e&&typeof e=="object")return Le.fromObject(e);throw new an(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:kc,locale:xc}=Rl.global,PO={channels(e){return e===1?kc("filter.mono"):e===2?kc("filter.stereo"):e?kc("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 Le.fromISO(e).setLocale(xc.value).toLocaleString(Le.DATE_FULL)},datetime(e){return Le.fromISO(e).setLocale(xc.value).toLocaleString(Le.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Ke.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Ke.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Ke.fromObject({minutes:t}).shiftTo("minutes").toHuman()},durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return Ke.fromMillis(e).toFormat(t)},number(e){return e.toLocaleString(xc.value)},timeFromNow(e){const t=Le.now().diff(Le.fromISO(e));return this.durationInDays(t.as("milliseconds"))}},IO={mdiAccountMusic:HS,mdiAlbum:US,mdiArrowCollapseDown:BS,mdiBookOpenPageVariant:WS,mdiBookOpenVariant:qS,mdiBookshelf:GS,mdiBroadcast:KS,mdiCancel:Fl,mdiCast:ZS,mdiCastVariant:YS,mdiCellphone:XS,mdiCheck:JS,mdiChevronDown:QS,mdiChevronLeft:eE,mdiChevronUp:tE,mdiContentSave:nE,mdiDelete:rE,mdiDeleteEmpty:sE,mdiDotsHorizontal:oE,mdiDotsVertical:iE,mdiDragHorizontal:aE,mdiFastForward30:lE,mdiFileMusic:cE,mdiFileOutline:uE,mdiFire:dE,mdiFolder:mE,mdiFolderOpen:fE,mdiHistory:pE,mdiLoading:hE,mdiMagnify:_E,mdiMenu:gE,mdiMicrophone:yE,mdiMusic:vE,mdiMusicBoxMultiple:bE,mdiOpenInNew:zE,mdiPause:CE,mdiPencil:wE,mdiPipe:kE,mdiPlay:xE,mdiPlaylistPlay:SE,mdiPlaylistPlus:EE,mdiRadio:$E,mdiRadioTower:TE,mdiRefresh:AE,mdiRepeat:OE,mdiRepeatOff:PE,mdiRepeatOnce:IE,mdiRewind10:LE,mdiRss:NE,mdiScriptTextOutline:DE,mdiScriptTextPlay:RE,mdiServer:ME,mdiShuffle:FE,mdiShuffleDisabled:VE,mdiSkipBackward:HE,mdiSkipForward:UE,mdiSpeaker:jE,mdiSpotify:BE,mdiStop:WE,mdiVolumeHigh:qE,mdiVolumeOff:GE,mdiWeb:KE},LO={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}},NO=e=>e.charAt(0).toUpperCase()+e.slice(1),DO=e=>e.split("-").map(NO).join(""),RO=(e,t,n)=>{const r=e[`mdi${DO(t.name)}`]||jS,s={role:t.role,"aria-label":t.ariaLabel,...n},o={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:s,svgAttrs:o,pathAttrs:{d:r}}},MO=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),FO=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:LO,...t,render:e(r)})}}),VO=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=RO(e,this,this.$attrs);return ir("span",{...n,class:MO(this,this)},[ir("svg",r,[this.title?ir("title",[this.title]):void 0,ir("path",s)])])},HO=FO(VO);/*!
|
||
* vue-router v4.4.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Us=typeof document<"u";function UO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ct=Object.assign;function Sc(e,t){const n={};for(const r in t){const s=t[r];n[r]=Xn(s)?s.map(e):e(s)}return n}const ti=()=>{},Xn=Array.isArray,Z1=/#/g,jO=/&/g,BO=/\//g,WO=/=/g,qO=/\?/g,Y1=/\+/g,GO=/%5B/g,KO=/%5D/g,X1=/%5E/g,ZO=/%60/g,J1=/%7B/g,YO=/%7C/g,Q1=/%7D/g,XO=/%20/g;function Jd(e){return encodeURI(""+e).replace(YO,"|").replace(GO,"[").replace(KO,"]")}function JO(e){return Jd(e).replace(J1,"{").replace(Q1,"}").replace(X1,"^")}function Du(e){return Jd(e).replace(Y1,"%2B").replace(XO,"+").replace(Z1,"%23").replace(jO,"%26").replace(ZO,"`").replace(J1,"{").replace(Q1,"}").replace(X1,"^")}function QO(e){return Du(e).replace(WO,"%3D")}function e8(e){return Jd(e).replace(Z1,"%23").replace(qO,"%3F")}function t8(e){return e==null?"":e8(e).replace(BO,"%2F")}function bi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const n8=/\/$/,r8=e=>e.replace(n8,"");function Ec(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=a8(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:bi(i)}}function s8(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function o8(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&fo(t.matched[r],n.matched[s])&&ev(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ev(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!i8(e[n],t[n]))return!1;return!0}function i8(e,t){return Xn(e)?kp(e,t):Xn(t)?kp(t,e):e===t}function kp(e,t){return Xn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function a8(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Nr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var zi;(function(e){e.pop="pop",e.push="push"})(zi||(zi={}));var ni;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ni||(ni={}));function l8(e){if(!e)if(Us){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),r8(e)}const c8=/^[^#]+#/;function u8(e,t){return e.replace(c8,"#")+t}function d8(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 ql=()=>({left:window.scrollX,top:window.scrollY});function m8(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=d8(s,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 xp(e,t){return(history.state?history.state.position-t:-1)+e}const Ru=new Map;function f8(e,t){Ru.set(e,t)}function p8(e){const t=Ru.get(e);return Ru.delete(e),t}let h8=()=>location.protocol+"//"+location.host;function tv(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),wp(l,"")}return wp(n,e)+r+s}function _8(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const p=tv(e,location),h=n.value,_=t.value;let z=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}z=_?f.position-_.position:0}else r(p);s.forEach(k=>{k(n.value,h,{delta:z,type:zi.pop,direction:z?z>0?ni.forward:ni.back:ni.unknown})})};function l(){i=n.value}function u(f){s.push(f);const p=()=>{const h=s.indexOf(f);h>-1&&s.splice(h,1)};return o.push(p),p}function d(){const{history:f}=window;f.state&&f.replaceState(ct({},f.state,{scroll:ql()}),"")}function m(){for(const f of o)f();o=[],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 Sp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ql():null}}function g8(e){const{history:t,location:n}=window,r={value:tv(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,d){const m=e.indexOf("#"),f=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:h8()+e+l;try{t[d?"replaceState":"pushState"](u,"",f),s.value=u}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function i(l,u){const d=ct({},t.state,Sp(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,u){const d=ct({},s.value,t.state,{forward:l,scroll:ql()});o(d.current,d,!0);const m=ct({},Sp(r.value,l,null),{position:d.position+1},u);o(l,m,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function y8(e){e=l8(e);const t=g8(e),n=_8(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ct({location:"",base:e,go:r,createHref:u8.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function v8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),y8(e)}function b8(e){return typeof e=="string"||e&&typeof e=="object"}function nv(e){return typeof e=="string"||typeof e=="symbol"}const rv=Symbol("");var Ep;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ep||(Ep={}));function po(e,t){return ct(new Error,{type:e,[rv]:!0},t)}function hr(e,t){return e instanceof Error&&rv in e&&(t==null||!!(e.type&t))}const $p="[^/]+?",z8={sensitive:!1,strict:!1,start:!0,end:!0},C8=/[.+*?^${}()[\]/\\]/g;function w8(e,t){const n=ct({},z8,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const d=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let m=0;m<u.length;m++){const f=u[m];let p=40+(n.sensitive?.25:0);if(f.type===0)m||(s+="/"),s+=f.value.replace(C8,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:z,regexp:k}=f;o.push({name:h,repeatable:_,optional:z});const w=k||$p;if(w!==$p){p+=10;try{new RegExp(`(${w})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+b.message)}}let g=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;m||(g=z&&u.length<2?`(?:/${g})`:"/"+g),z&&(g+="?"),s+=g,p+=20,z&&(p+=-8),_&&(p+=-20),w===".*"&&(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||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,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=o[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:z}=p,k=h in u?u[h]:"";if(Xn(k)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=Xn(k)?k.join("/"):k;if(!w)if(z)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);d+=w}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function k8(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 sv(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=k8(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Tp(r))return 1;if(Tp(s))return-1}return s.length-r.length}function Tp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const x8={type:0,value:""},S8=/[a-zA-Z0-9_]/;function E8(e){if(!e)return[[]];if(e==="/")return[[x8]];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 s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",d="";function m(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.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:S8.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(),s}function $8(e,t,n){const r=w8(E8(e.path),n),s=ct(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function T8(e,t){const n=[],r=new Map;t=Pp({strict:!1,end:!0,sensitive:!1},t);function s(m){return r.get(m)}function o(m,f,p){const h=!p,_=A8(m);_.aliasOf=p&&p.record;const z=Pp(t,m),k=[_];if("alias"in m){const b=typeof m.alias=="string"?[m.alias]:m.alias;for(const x of b)k.push(ct({},_,{components:p?p.record.components:_.components,path:x,aliasOf:p?p.record:_}))}let w,g;for(const b of k){const{path:x}=b;if(f&&x[0]!=="/"){const C=f.record.path,L=C[C.length-1]==="/"?"":"/";b.path=f.record.path+(x&&L+x)}if(w=$8(b,f,z),p?p.alias.push(w):(g=g||w,g!==w&&g.alias.push(w),h&&m.name&&!Op(w)&&i(m.name)),ov(w)&&l(w),_.children){const C=_.children;for(let L=0;L<C.length;L++)o(C[L],w,p&&p.children[L])}p=p||w}return g?()=>{i(g)}:ti}function i(m){if(nv(m)){const f=r.get(m);f&&(r.delete(m),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(m);f>-1&&(n.splice(f,1),m.record.name&&r.delete(m.record.name),m.children.forEach(i),m.alias.forEach(i))}}function a(){return n}function l(m){const f=I8(m,n);n.splice(f,0,m),m.record.name&&!Op(m)&&r.set(m.record.name,m)}function u(m,f){let p,h={},_,z;if("name"in m&&m.name){if(p=r.get(m.name),!p)throw po(1,{location:m});z=p.record.name,h=ct(Ap(f.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),m.params&&Ap(m.params,p.keys.map(g=>g.name))),_=p.stringify(h)}else if(m.path!=null)_=m.path,p=n.find(g=>g.re.test(_)),p&&(h=p.parse(_),z=p.record.name);else{if(p=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!p)throw po(1,{location:m,currentLocation:f});z=p.record.name,h=ct({},f.params,m.params),_=p.stringify(h)}const k=[];let w=p;for(;w;)k.unshift(w.record),w=w.parent;return{name:z,path:_,params:h,matched:k,meta:P8(k)}}e.forEach(m=>o(m));function d(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:d,getRoutes:a,getRecordMatcher:s}}function Ap(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function A8(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:O8(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 O8(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 Op(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function P8(e){return e.reduce((t,n)=>ct(t,n.meta),{})}function Pp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function I8(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;sv(e,t[o])<0?r=o:n=o+1}const s=L8(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function L8(e){let t=e;for(;t=t.parent;)if(ov(t)&&sv(e,t)===0)return t}function ov({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function N8(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Y1," "),i=o.indexOf("="),a=bi(i<0?o:o.slice(0,i)),l=i<0?null:bi(o.slice(i+1));if(a in t){let u=t[a];Xn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Ip(e){let t="";for(let n in e){const r=e[n];if(n=QO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Xn(r)?r.map(o=>o&&Du(o)):[r&&Du(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function D8(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Xn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const R8=Symbol(""),Lp=Symbol(""),Qd=Symbol(""),iv=Symbol(""),Mu=Symbol("");function No(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ur(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=f=>{f===!1?l(po(4,{from:n,to:t})):f instanceof Error?l(f):b8(f)?l(po(2,{from:t,to:f})):(i&&r.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),a())},d=o(()=>e.call(r&&r.instances[s],t,n,u));let m=Promise.resolve(d);e.length<3&&(m=m.then(u)),m.catch(f=>l(f))})}function $c(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(M8(l)){const d=(l.__vccOpts||l)[t];d&&o.push(Ur(d,n,r,i,a,s))}else{let u=l();o.push(()=>u.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const m=UO(d)?d.default:d;i.components[a]=m;const p=(m.__vccOpts||m)[t];return p&&Ur(p,n,r,i,a,s)()}))}}return o}function M8(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Np(e){const t=Gn(Qd),n=Gn(iv),r=Ht(()=>{const l=bn(e.to);return t.resolve(l)}),s=Ht(()=>{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(fo.bind(null,d));if(f>-1)return f;const p=Dp(l[u-2]);return u>1&&Dp(d)===p&&m[m.length-1].path!==p?m.findIndex(fo.bind(null,l[u-2])):f}),o=Ht(()=>s.value>-1&&U8(n.params,r.value.params)),i=Ht(()=>s.value>-1&&s.value===n.matched.length-1&&ev(n.params,r.value.params));function a(l={}){return H8(l)?t[bn(e.replace)?"replace":"push"](bn(e.to)).catch(ti):Promise.resolve()}return{route:r,href:Ht(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const F8=Sr({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:Np,setup(e,{slots:t}){const n=bo(Np(e)),{options:r}=Gn(Qd),s=Ht(()=>({[Rp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Rp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ir("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),V8=F8;function H8(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 U8(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Xn(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Dp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rp=(e,t,n)=>e??t??n,j8=Sr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Gn(Mu),s=Ht(()=>e.route||r.value),o=Gn(Lp,0),i=Ht(()=>{let u=bn(o);const{matched:d}=s.value;let m;for(;(m=d[u])&&!m.components;)u++;return u}),a=Ht(()=>s.value.matched[i.value]);Zo(Lp,Ht(()=>i.value+1)),Zo(R8,a),Zo(Mu,s);const l=ar();return wn(()=>[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||!fo(d,p)||!f)&&(d.enterCallbacks[m]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=s.value,d=e.name,m=a.value,f=m&&m.components[d];if(!f)return Mp(n.default,{Component:f,route:u});const p=m.props[d],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,z=ir(f,ct({},h,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(m.instances[d]=null)},ref:l}));return Mp(n.default,{Component:z,route:u})||z}}});function Mp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const B8=j8;function W8(e){const t=T8(e.routes,e),n=e.parseQuery||N8,r=e.stringifyQuery||Ip,s=e.history,o=No(),i=No(),a=No(),l=zd(Nr);let u=Nr;Us&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Sc.bind(null,K=>""+K),m=Sc.bind(null,t8),f=Sc.bind(null,bi);function p(K,de){let ce,ge;return nv(K)?(ce=t.getRecordMatcher(K),ge=de):ge=K,t.addRoute(ge,ce)}function h(K){const de=t.getRecordMatcher(K);de&&t.removeRoute(de)}function _(){return t.getRoutes().map(K=>K.record)}function z(K){return!!t.getRecordMatcher(K)}function k(K,de){if(de=ct({},de||l.value),typeof K=="string"){const I=Ec(n,K,de.path),B=t.resolve({path:I.path},de),ee=s.createHref(I.fullPath);return ct(I,B,{params:f(B.params),hash:bi(I.hash),redirectedFrom:void 0,href:ee})}let ce;if(K.path!=null)ce=ct({},K,{path:Ec(n,K.path,de.path).path});else{const I=ct({},K.params);for(const B in I)I[B]==null&&delete I[B];ce=ct({},K,{params:m(I)}),de.params=m(de.params)}const ge=t.resolve(ce,de),Ue=K.hash||"";ge.params=d(f(ge.params));const Ge=s8(r,ct({},K,{hash:JO(Ue),path:ge.path})),T=s.createHref(Ge);return ct({fullPath:Ge,hash:Ue,query:r===Ip?D8(K.query):K.query||{}},ge,{redirectedFrom:void 0,href:T})}function w(K){return typeof K=="string"?Ec(n,K,l.value.path):ct({},K)}function g(K,de){if(u!==K)return po(8,{from:de,to:K})}function b(K){return L(K)}function x(K){return b(ct(w(K),{replace:!0}))}function C(K){const de=K.matched[K.matched.length-1];if(de&&de.redirect){const{redirect:ce}=de;let ge=typeof ce=="function"?ce(K):ce;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=w(ge):{path:ge},ge.params={}),ct({query:K.query,hash:K.hash,params:ge.path!=null?{}:K.params},ge)}}function L(K,de){const ce=u=k(K),ge=l.value,Ue=K.state,Ge=K.force,T=K.replace===!0,I=C(ce);if(I)return L(ct(w(I),{state:typeof I=="object"?ct({},Ue,I.state):Ue,force:Ge,replace:T}),de||ce);const B=ce;B.redirectedFrom=de;let ee;return!Ge&&o8(r,ge,ce)&&(ee=po(16,{to:B,from:ge}),Ve(ge,ge,!0,!1)),(ee?Promise.resolve(ee):F(B,ge)).catch(X=>hr(X)?hr(X,2)?X:st(X):ae(X,B,ge)).then(X=>{if(X){if(hr(X,2))return L(ct({replace:T},w(X.to),{state:typeof X.to=="object"?ct({},Ue,X.to.state):Ue,force:Ge}),de||B)}else X=U(B,ge,!0,T,Ue);return Z(B,ge,X),X})}function M(K,de){const ce=g(K,de);return ce?Promise.reject(ce):Promise.resolve()}function A(K){const de=it.values().next().value;return de&&typeof de.runWithContext=="function"?de.runWithContext(K):K()}function F(K,de){let ce;const[ge,Ue,Ge]=q8(K,de);ce=$c(ge.reverse(),"beforeRouteLeave",K,de);for(const I of ge)I.leaveGuards.forEach(B=>{ce.push(Ur(B,K,de))});const T=M.bind(null,K,de);return ce.push(T),Ne(ce).then(()=>{ce=[];for(const I of o.list())ce.push(Ur(I,K,de));return ce.push(T),Ne(ce)}).then(()=>{ce=$c(Ue,"beforeRouteUpdate",K,de);for(const I of Ue)I.updateGuards.forEach(B=>{ce.push(Ur(B,K,de))});return ce.push(T),Ne(ce)}).then(()=>{ce=[];for(const I of Ge)if(I.beforeEnter)if(Xn(I.beforeEnter))for(const B of I.beforeEnter)ce.push(Ur(B,K,de));else ce.push(Ur(I.beforeEnter,K,de));return ce.push(T),Ne(ce)}).then(()=>(K.matched.forEach(I=>I.enterCallbacks={}),ce=$c(Ge,"beforeRouteEnter",K,de,A),ce.push(T),Ne(ce))).then(()=>{ce=[];for(const I of i.list())ce.push(Ur(I,K,de));return ce.push(T),Ne(ce)}).catch(I=>hr(I,8)?I:Promise.reject(I))}function Z(K,de,ce){a.list().forEach(ge=>A(()=>ge(K,de,ce)))}function U(K,de,ce,ge,Ue){const Ge=g(K,de);if(Ge)return Ge;const T=de===Nr,I=Us?history.state:{};ce&&(ge||T?s.replace(K.fullPath,ct({scroll:T&&I&&I.scroll},Ue)):s.push(K.fullPath,Ue)),l.value=K,Ve(K,de,ce,T),st()}let W;function ne(){W||(W=s.listen((K,de,ce)=>{if(!lt.listening)return;const ge=k(K),Ue=C(ge);if(Ue){L(ct(Ue,{replace:!0}),ge).catch(ti);return}u=ge;const Ge=l.value;Us&&f8(xp(Ge.fullPath,ce.delta),ql()),F(ge,Ge).catch(T=>hr(T,12)?T:hr(T,2)?(L(T.to,ge).then(I=>{hr(I,20)&&!ce.delta&&ce.type===zi.pop&&s.go(-1,!1)}).catch(ti),Promise.reject()):(ce.delta&&s.go(-ce.delta,!1),ae(T,ge,Ge))).then(T=>{T=T||U(ge,Ge,!1),T&&(ce.delta&&!hr(T,8)?s.go(-ce.delta,!1):ce.type===zi.pop&&hr(T,20)&&s.go(-1,!1)),Z(ge,Ge,T)}).catch(ti)}))}let he=No(),Y=No(),oe;function ae(K,de,ce){st(K);const ge=Y.list();return ge.length?ge.forEach(Ue=>Ue(K,de,ce)):console.error(K),Promise.reject(K)}function We(){return oe&&l.value!==Nr?Promise.resolve():new Promise((K,de)=>{he.add([K,de])})}function st(K){return oe||(oe=!K,ne(),he.list().forEach(([de,ce])=>K?ce(K):de()),he.reset()),K}function Ve(K,de,ce,ge){const{scrollBehavior:Ue}=e;if(!Us||!Ue)return Promise.resolve();const Ge=!ce&&p8(xp(K.fullPath,0))||(ge||!ce)&&history.state&&history.state.scroll||null;return zo().then(()=>Ue(K,de,Ge)).then(T=>T&&m8(T)).catch(T=>ae(T,K,de))}const He=K=>s.go(K);let ot;const it=new Set,lt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:z,getRoutes:_,resolve:k,options:e,push:b,replace:x,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:Y.add,isReady:We,install(K){const de=this;K.component("RouterLink",V8),K.component("RouterView",B8),K.config.globalProperties.$router=de,Object.defineProperty(K.config.globalProperties,"$route",{enumerable:!0,get:()=>bn(l)}),Us&&!ot&&l.value===Nr&&(ot=!0,b(s.location).catch(Ue=>{}));const ce={};for(const Ue in Nr)Object.defineProperty(ce,Ue,{get:()=>l.value[Ue],enumerable:!0});K.provide(Qd,de),K.provide(iv,_d(ce)),K.provide(Mu,l);const ge=K.unmount;it.add(K),K.unmount=function(){it.delete(K),it.size<1&&(u=Nr,W&&W(),W=null,l.value=Nr,ot=!1,oe=!1),ge()}}};function Ne(K){return K.reduce((de,ce)=>de.then(()=>A(ce)),Promise.resolve())}return lt}function q8(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>fo(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>fo(u,l))||s.push(l))}return[n,r,s]}const G8={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(Si,!0)}}},K8={class:"section"},Z8={class:"container"},Y8={class:"columns is-centered"},X8={class:"column is-four-fifths has-text-centered-mobile"},J8=["textContent"],Q8={class:"section"},eP={class:"container"},tP={class:"columns is-centered"},nP={class:"column is-four-fifths"},rP={class:"content"},sP={class:"level is-mobile"},oP={class:"level-left"},iP={class:"level-item"},aP=["textContent"],lP={class:"level-right"},cP={key:0},uP=["textContent"],dP={key:1},mP=["textContent"],fP={class:"table"},pP=["textContent"],hP=["textContent"],_P=["textContent"],gP=["textContent"],yP=["textContent"],vP=["textContent"],bP=["textContent"],zP=["textContent"],CP=["textContent"],wP={class:"has-text-right"},kP=["textContent"],xP=["textContent"],SP=["textContent"],EP={class:"has-text-right"},$P=["textContent"],TP=["textContent"],AP={class:"section"},OP={class:"container"},PP={class:"columns is-centered"},IP={class:"column is-four-fifths"},LP={class:"content has-text-centered-mobile"},NP=["textContent"],DP=["textContent"],RP=c("a",{href:"https://bulma.io"},"Bulma",-1),MP=c("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1),FP=c("a",{href:"https://vuejs.org/"},"Vue.js",-1),VP=c("a",{href:"https://github.com/axios/axios"},"axios",-1),HP=["textContent"];function UP(e,t,n,r,s,o){const i=O("i18n-t");return E(),P("div",null,[c("section",K8,[c("div",Z8,[c("div",Y8,[c("div",X8,[c("h1",{class:"title is-4",textContent:y(o.config.library_name)},null,8,J8)])])])]),c("section",Q8,[c("div",eP,[c("div",tP,[c("div",nP,[c("div",rP,[c("nav",sP,[c("div",oP,[c("div",iP,[c("p",{class:"title is-5",textContent:y(e.$t("page.about.library"))},null,8,aP)])]),c("div",lP,[o.library.updating?(E(),P("div",cP,[c("a",{class:"button is-small is-loading",textContent:y(e.$t("page.about.update"))},null,8,uP)])):(E(),P("div",dP,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>o.showUpdateDialog()),textContent:y(e.$t("page.about.update"))},null,8,mP)]))])]),c("table",fP,[c("tbody",null,[c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.artists"))},null,8,pP),c("td",{class:"has-text-right",textContent:y(e.$filters.number(o.library.artists))},null,8,hP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.albums"))},null,8,_P),c("td",{class:"has-text-right",textContent:y(e.$filters.number(o.library.albums))},null,8,gP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.tracks"))},null,8,yP),c("td",{class:"has-text-right",textContent:y(e.$filters.number(o.library.songs))},null,8,vP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.total-playtime"))},null,8,bP),c("td",{class:"has-text-right",textContent:y(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,zP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.updated"))},null,8,CP),c("td",wP,[c("span",{textContent:y(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,kP),It(" ("),c("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(o.library.updated_at))},null,8,xP),It(") ")])]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.uptime"))},null,8,SP),c("td",EP,[c("span",{textContent:y(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,$P),It(" ("),c("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(o.library.started_at))},null,8,TP),It(") ")])])])])])])])])]),c("section",AP,[c("div",OP,[c("div",PP,[c("div",IP,[c("div",LP,[c("p",{class:"is-size-7",textContent:y(e.$t("page.about.version",{version:o.config.version}))},null,8,NP),c("p",{class:"is-size-7",textContent:y(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,DP),v(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:N(()=>[RP]),mdi:N(()=>[MP]),vuejs:N(()=>[FP]),axios:N(()=>[VP]),others:N(()=>[c("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:y(e.$t("page.about.more"))},null,8,HP)]),_:1})])])])])])])}const jP=ie(G8,[["render",UP]]),BP={},WP={class:"hero is-light is-bold"},qP={class:"hero-body"},GP={class:"container"},KP={class:"columns is-centered"},ZP={class:"column is-four-fifths"},YP={class:"columns is-flex-direction-row-reverse"},XP={class:"column fd-has-cover"},JP={class:"column m-auto is-three-fifths has-text-centered-mobile"},QP={class:"section pt-0"},eI={class:"container"},tI={class:"columns is-centered"},nI={class:"column is-four-fifths"};function rI(e,t){return E(),P(be,null,[c("section",WP,[c("div",qP,[c("div",GP,[c("div",KP,[c("div",ZP,[c("div",YP,[c("div",XP,[zt(e.$slots,"heading-right")]),c("div",JP,[zt(e.$slots,"heading-left")])])])])])])]),c("section",QP,[c("div",eI,[c("div",tI,[c("div",nI,[zt(e.$slots,"content"),zt(e.$slots,"footer")])])])])],64)}const Gl=ie(BP,[["render",rI]]),sI=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},oI=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,iI=e=>{const t=sI(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="${oI(t)>.5?"#000000":"#FFFFFF"}">
|
||
${e.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},aI={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return iI({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function lI(e,t,n,r,s,o){const i=Sd("lazy");return E(),P("figure",null,[pt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:s.lifecycle}]])])}const Er=ie(aI,[["render",lI]]),{t:da,locale:cI}=Rl.global,av="NO_INDEX",uI=(e,t)=>e-t,dI=(e,t)=>e.localeCompare(t,cI.value),mI=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),fI=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(s,o)=>dI(s[t],o[t])*r;case Number:return(s,o)=>uI(s[t],o[t])*r;case Date:return(s,o)=>mI(s[t],o[t])*r;default:return()=>0}}),pI=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},hI=e=>{},_I=[{difference:NaN,text:()=>da("grouped-list.undefined")},{difference:864e5,text:()=>da("grouped-list.today")},{difference:6048e5,text:()=>da("grouped-list.last-week")},{difference:2592e6,text:()=>da("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],gI=e=>{var r;const t=new Date(e),n=new Date-t;return(r=_I.find(s=>isNaN(n)||n<s.difference))==null?void 0:r.text(t)},yI=({field:e,type:t}={})=>{switch(t){case String:return n=>pI(n[e]);case Number:return n=>n[e];case Date:return n=>gI(n[e]);case"Digits":return n=>hI(n[e]);default:return()=>av}};class Ee{constructor({items:t=[],total:n=0,offset:r=0,limit:s=-1}={},o={}){this.items=t,this.total=n,this.offset=r,this.limit=s,this.count=t.length,this.indices=[],this.group(o)}group({criteria:t=[],filters:n=[],index:r}={}){const s=this.items.filter(l=>n.every(u=>u(l)));this.count=s.length;const o=fI(t),i=s.sort((l,u)=>o.reduce((d,m)=>d||m(l,u),0)),a=yI(r);return this.itemsGrouped=i.reduce((l,u)=>{const d=a(u);return l.set(d,[...l.get(d)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==av&&(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 lv={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(s!==null){var _=s.defer();f(function(z){_.resolve(z)},function(z){_.reject(z)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new o(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 z in _)_.hasOwnProperty(z)&&(p[z]=_[z])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var z=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(z)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(z,k){function w(C){z&&z(C),p&&p(null,C)}function g(){k&&k(h),p&&p(h,null)}var b=f.type||"GET";if(h.open(b,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var C=null;try{C=h.responseText?JSON.parse(h.responseText):""}catch(L){console.error(L)}h.status>=200&&h.status<300?w(C):g()}},b==="GET")h.send(null);else{var x=null;f.postData&&(f.contentType==="image/jpeg"?(x=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(x=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(x)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var z={},k=null;typeof p=="object"?(z=p,k=h):typeof p=="function"&&(k=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!_?f.postData=a(f.postData,z):f.params=a(f.params,z),u(f,k)},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 z={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return d(z,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,_,z){var k={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(k,_,z)},m.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(k){return typeof k=="string"?{uri:k}:k}),z={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(z,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var z=p.map(function(w){return typeof w=="string"?{uri:w}:w}),k={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:z,snapshot_id:h}};return d(k,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var z={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(z,{},_)},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 z={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return d(z,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 z={url:n+"/search/",params:{q:f,type:p.join(",")}};return d(z,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 z={type:"PUT",url:n+"/me/player",postData:_};return d(z,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(w){w in f&&(_[w]=f[w])});var z={type:"PUT",url:n+"/me/player/play",params:h,postData:_},k=typeof f=="function"?f:{};return d(z,k,p)},m.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},z={type:"POST",url:n+"/me/player/queue",params:_};return d(z,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 z={type:"PUT",url:n+"/me/player/seek",params:_};return d(z,p,h)},m.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/repeat",params:_};return d(z,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 z={type:"PUT",url:n+"/me/player/volume",params:_};return d(z,p,h)},m.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(z,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)s=f;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t})(lv);var vI=lv.exports;const er=Vl(vI),bI={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 er;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(){j.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){j.library_track_update(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open_album(){this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),j.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.item.uri)}}},zI={key:0,class:"modal is-active"},CI={class:"modal-content"},wI={class:"card"},kI={class:"card-content"},xI=["textContent"],SI=["textContent"],EI={key:0,class:"buttons"},$I=["textContent"],TI=["textContent"],AI={class:"content is-small"},OI={key:0},PI=["textContent"],II=["textContent"],LI={key:1},NI=["textContent"],DI=["textContent"],RI={key:2},MI=["textContent"],FI=["textContent"],VI={key:3},HI=["textContent"],UI=["textContent"],jI={key:4},BI=["textContent"],WI=["textContent"],qI={key:5},GI=["textContent"],KI=["textContent"],ZI={key:6},YI=["textContent"],XI=["textContent"],JI={key:7},QI=["textContent"],eL=["textContent"],tL=["textContent"],nL=["textContent"],rL=["textContent"],sL={class:"title is-6"},oL=["textContent"],iL={key:8},aL=["textContent"],lL={class:"title is-6"},cL=["textContent"],uL=["textContent"],dL=["textContent"],mL=["textContent"],fL=["textContent"],pL=["textContent"],hL=["textContent"],_L=["textContent"],gL={key:9},yL=["textContent"],vL=["textContent"],bL={class:"card-footer"},zL=["textContent"],CL=["textContent"],wL=["textContent"];function kL(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",zI,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",CI,[c("div",wI,[c("div",kI,[c("p",{class:"title is-4",textContent:y(n.item.title)},null,8,xI),c("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,SI),n.item.media_kind==="podcast"?(E(),P("div",EI,[n.item.play_count>0?(E(),P("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>o.mark_new&&o.mark_new(...a)),textContent:y(e.$t("dialog.track.mark-as-new"))},null,8,$I)):te("",!0),n.item.play_count===0?(E(),P("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>o.mark_played&&o.mark_played(...a)),textContent:y(e.$t("dialog.track.mark-as-played"))},null,8,TI)):te("",!0)])):te("",!0),c("div",AI,[n.item.album?(E(),P("p",OI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.album"))},null,8,PI),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:y(n.item.album)},null,8,II)])):te("",!0),n.item.album_artist&&n.item.media_kind!=="audiobook"?(E(),P("p",LI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.album-artist"))},null,8,NI),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,DI)])):te("",!0),n.item.composer?(E(),P("p",RI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.composer"))},null,8,MI),c("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,FI)])):te("",!0),n.item.date_released?(E(),P("p",VI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.release-date"))},null,8,HI),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,UI)])):n.item.year?(E(),P("p",jI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.year"))},null,8,BI),c("span",{class:"title is-6",textContent:y(n.item.year)},null,8,WI)])):te("",!0),n.item.genre?(E(),P("p",qI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.genre"))},null,8,GI),c("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:y(n.item.genre)},null,8,KI)])):te("",!0),n.item.disc_number?(E(),P("p",ZI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.position"))},null,8,YI),c("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,XI)])):te("",!0),n.item.length_ms?(E(),P("p",JI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.duration"))},null,8,QI),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,eL)])):te("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.path"))},null,8,tL),c("span",{class:"title is-6",textContent:y(n.item.path)},null,8,nL)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.type"))},null,8,rL),c("span",sL,[c("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,oL)])]),n.item.samplerate?(E(),P("p",iL,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.quality"))},null,8,aL),c("span",lL,[c("span",{textContent:y(n.item.type)},null,8,cL),n.item.samplerate?(E(),P("span",{key:0,textContent:y(e.$t("dialog.track.samplerate",{rate:n.item.samplerate}))},null,8,uL)):te("",!0),n.item.channels?(E(),P("span",{key:1,textContent:y(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,dL)):te("",!0),n.item.bitrate?(E(),P("span",{key:2,textContent:y(e.$t("dialog.track.bitrate",{rate:n.item.bitrate}))},null,8,mL)):te("",!0)])])):te("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.added-on"))},null,8,fL),c("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,pL)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.rating"))},null,8,hL),c("span",{class:"title is-6",textContent:y(e.$t("dialog.track.rating-value",{rating:Math.floor(n.item.rating/10)}))},null,8,_L)]),n.item.comment?(E(),P("p",gL,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.comment"))},null,8,yL),c("span",{class:"title is-6",textContent:y(n.item.comment)},null,8,vL)])):te("",!0)])]),c("footer",bL,[c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add"))},null,8,zL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add-next"))},null,8,CL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.play"))},null,8,wL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const xL=ie(bI,[["render",kL]]),SL={name:"ListTracks",components:{ModalDialogTrack:xL},props:{expression:{default:"",type:String},items:{required:!0,type:Object},show_icon:Boolean,show_progress:Boolean,uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){this.uris?j.player_play_uri(this.uris,!1,this.items.items.indexOf(e)):this.expression?j.player_play_expression(this.expression,!1,this.items.items.indexOf(e)):j.player_play_uri(e.uri,!1)}}},EL={key:0,class:"mt-6 mb-5 py-2"},$L=["id","textContent"],TL=["onClick"],AL={key:0,class:"media-left is-clickable"},OL={class:"media-content is-clickable is-clipped"},PL=["textContent"],IL=["textContent"],LL=["textContent"],NL=["max","value"],DL={class:"media-right"},RL=["onClick"];function ML(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-track");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P(be,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:ke(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:u=>o.play(l.item)},[n.show_icon?(E(),P("figure",AL,[v(i,{class:"icon",name:"file-outline",size:"16"})])):te("",!0),c("div",OL,[c("h1",{class:ke(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:y(l.item.title)},null,10,PL),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(l.item.artist)},null,8,IL),c("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.item.album)},null,8,LL),n.show_progress&&l.item.seek_ms>0?(E(),P("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,NL)):te("",!0)]),c("div",DL,[c("a",{onClick:yt(u=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,RL)])],10,TL)):(E(),P("div",EL,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,$L)]))],64))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["item","show"])]))],64)}const fn=ie(SL,[["render",ML],["__scopeId","data-v-84498238"]]),FL={name:"ModalDialogAlbum",components:{CoverArtwork:Er},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(){j.library_album_track_update(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.id}}):this.$router.push({name:"music-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},play(){this.$emit("close"),j.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.item.uri)}}},VL={key:0,class:"modal is-active"},HL={class:"modal-content"},UL={class:"card"},jL={class:"card-content"},BL={class:"title is-4"},WL=["textContent"],qL={key:0,class:"buttons"},GL=["textContent"],KL=["textContent"],ZL={class:"content is-small"},YL={key:0},XL=["textContent"],JL=["textContent"],QL={key:1},eN=["textContent"],tN=["textContent"],nN={key:2},rN=["textContent"],sN=["textContent"],oN=["textContent"],iN=["textContent"],aN=["textContent"],lN=["textContent"],cN=["textContent"],uN=["textContent"],dN=["textContent"],mN=["textContent"],fN={class:"card-footer"},pN=["textContent"],hN=["textContent"],_N=["textContent"];function gN(e,t,n,r,s,o){const i=O("cover-artwork"),a=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",VL,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",HL,[c("div",UL,[c("div",jL,[v(i,{url:n.item.artwork_url,artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["url","artist","album"]),c("p",BL,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open&&o.open(...l)),textContent:y(n.item.name)},null,8,WL)]),o.media_kind_resolved==="podcast"?(E(),P("div",qL,[c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>o.mark_played&&o.mark_played(...l)),textContent:y(e.$t("dialog.album.mark-as-played"))},null,8,GL),n.item.data_kind==="url"?(E(),P("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:y(e.$t("dialog.album.remove-podcast"))},null,8,KL)):te("",!0)])):te("",!0),c("div",ZL,[n.item.artist?(E(),P("p",YL,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.artist"))},null,8,XL),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:y(n.item.artist)},null,8,JL)])):te("",!0),n.item.date_released?(E(),P("p",QL,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.release-date"))},null,8,eN),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,tN)])):n.item.year?(E(),P("p",nN,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.year"))},null,8,rN),c("span",{class:"title is-6",textContent:y(n.item.year)},null,8,sN)])):te("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.tracks"))},null,8,oN),c("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,iN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.duration"))},null,8,aN),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,lN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.type"))},null,8,cN),c("span",{class:"title is-6",textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,uN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.added-on"))},null,8,dN),c("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,mN)])])]),c("footer",fN,[c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add"))},null,8,pN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[v(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add-next"))},null,8,hN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.play"))},null,8,_N)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):te("",!0)]),_:1})}const Kl=ie(FL,[["render",gN]]),Fp={load(e){return Promise.all([j.library_album(e.params.id),j.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),e.tracks.indices.length<2&&e.tracks.group()}},yN={name:"PageAlbum",components:{ContentWithHero:Gl,CoverArtwork:Er,ListTracks:fn,ModalDialogAlbum:Kl},beforeRouteEnter(e,t,n){Fp.load(e).then(r=>{n(s=>Fp.set(s,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){j.player_play_uri(this.album.uri,!0)}}},vN=["textContent"],bN={class:"subtitle is-6 has-text-link"},zN=["textContent"],CN={class:"buttons fd-is-centered-mobile mt-5"},wN=["textContent"],kN=["textContent"];function xN(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),u=O("modal-dialog-album"),d=O("content-with-hero");return E(),P("div",null,[v(d,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,vN),c("h2",bN,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:y(s.album.artist)},null,8,zN)]),c("div",CN,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.album.shuffle"))},null,8,wN)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.album.track-count",{count:s.album.track_count}))},null,8,kN),v(l,{items:s.tracks,uris:s.album.uri},null,8,["items","uris"]),v(u,{item:s.album,show:s.show_details_modal,onClose:t[4]||(t[4]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const SN=ie(yN,[["render",xN]]),EN={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"),j.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.item.uri)}}},$N={key:0,class:"modal is-active"},TN={class:"modal-content"},AN={class:"card"},ON={class:"card-content"},PN=["textContent"],IN=["textContent"],LN={class:"content is-small"},NN=["textContent"],DN=["textContent"],RN=["textContent"],MN=["textContent"],FN=["textContent"],VN=["textContent"],HN=["textContent"],UN=["textContent"],jN=["textContent"],BN=["textContent"],WN=["textContent"],qN=["textContent"],GN={class:"card-footer"},KN=["textContent"],ZN=["textContent"],YN=["textContent"];function XN(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",$N,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",TN,[c("div",AN,[c("div",ON,[c("p",{class:"title is-4",textContent:y(n.item.name)},null,8,PN),c("p",{class:"subtitle",textContent:y(n.item.artists[0].name)},null,8,IN),c("div",LN,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album"))},null,8,NN),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:y(n.item.album.name)},null,8,DN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album-artist"))},null,8,RN),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:y(n.item.artists[0].name)},null,8,MN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.release-date"))},null,8,FN),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.album.release_date))},null,8,VN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.position"))},null,8,HN),c("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,UN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.duration"))},null,8,jN),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.duration_ms))},null,8,BN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.path"))},null,8,WN),c("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,qN)])])]),c("footer",GN,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add"))},null,8,KN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add-next"))},null,8,ZN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.play"))},null,8,YN)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const JN=ie(EN,[["render",XN]]),QN={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:JN},props:{context_uri:{default:"",type:String},items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){e.is_playable&&j.player_play_uri(this.context_uri||e.uri,!1,e.position||0)}}},e5=["onClick"],t5=["textContent"],n5=["textContent"],r5=["textContent"],s5={key:0,class:"subtitle is-7"},o5=["textContent"],i5=["textContent"],a5={class:"media-right"},l5=["onClick"];function c5(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-track-spotify");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:ke(["media-content is-clipped",{"is-clickable":l.is_playable,"fd-is-not-allowed":!l.is_playable}]),onClick:u=>o.play(l)},[c("h1",{class:ke(["title is-6",{"has-text-grey-light":!l.is_playable}]),textContent:y(l.name)},null,10,t5),c("h2",{class:ke(["subtitle is-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:y(l.artists[0].name)},null,10,n5),c("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.album.name)},null,8,r5),l.is_playable?te("",!0):(E(),P("h2",s5,[It(" ("),c("span",{textContent:y(e.$t("list.spotify.not-playable-track"))},null,8,o5),l.restrictions&&l.restrictions.reason?(E(),P("span",{key:0,textContent:y(e.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,i5)):te("",!0),It(") ")]))],10,e5),c("div",a5,[c("a",{onClick:yt(u=>o.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,l5)])]))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const sl=ie(QN,[["render",c5]]),u5={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:Er},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"),j.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.item.uri)}}},d5={key:0,class:"modal is-active"},m5={class:"modal-content"},f5={class:"card"},p5={class:"card-content"},h5={class:"title is-4"},_5=["textContent"],g5={class:"content is-small"},y5=["textContent"],v5=["textContent"],b5=["textContent"],z5=["textContent"],C5=["textContent"],w5=["textContent"],k5={class:"card-footer"},x5=["textContent"],S5=["textContent"],E5=["textContent"];function $5(e,t,n,r,s,o){const i=O("cover-artwork"),a=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",d5,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",m5,[c("div",f5,[c("div",p5,[v(i,{url:o.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:o.artwork_loaded,onError:o.artwork_error},null,8,["url","artist","album","onLoad","onError"]),c("p",h5,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open&&o.open(...l)),textContent:y(n.item.name)},null,8,_5)]),c("div",g5,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.album-artist"))},null,8,y5),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:y(n.item.artists[0].name)},null,8,v5)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.release-date"))},null,8,b5),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.release_date))},null,8,z5)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.type"))},null,8,C5),c("span",{class:"title is-6",textContent:y(n.item.album_type)},null,8,w5)])])]),c("footer",k5,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>o.queue_add&&o.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add"))},null,8,x5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[v(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add-next"))},null,8,S5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.play&&o.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.play"))},null,8,E5)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):te("",!0)]),_:1})}const cv=ie(u5,[["render",$5]]),Vp={load(e){const t=new er;return t.setAccessToken(ht.state.spotify.webapi_token),t.getAlbum(e.params.id,{market:ht.state.spotify.webapi_country})},set(e,t){e.album=t}},T5={name:"PageAlbumSpotify",components:{ContentWithHero:Gl,CoverArtwork:Er,ListTracksSpotify:sl,ModalDialogAlbumSpotify:cv},beforeRouteEnter(e,t,n){Vp.load(e).then(r=>{n(s=>Vp.set(s,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,j.player_play_uri(this.album.uri,!0)}}},A5=["textContent"],O5={class:"subtitle is-6 has-text-link"},P5=["textContent"],I5={class:"buttons fd-is-centered-mobile mt-5"},L5=["textContent"],N5=["textContent"];function D5(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks-spotify"),u=O("modal-dialog-album-spotify"),d=O("content-with-hero");return E(),P("div",null,[v(d,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,A5),c("h2",O5,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:y(s.album.artists[0].name)},null,8,P5)]),c("div",I5,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.spotify.album.shuffle"))},null,8,L5)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:o.artwork_url(s.album),artist:s.album.artists[0].name,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,N5),v(l,{items:o.tracks,context_uri:s.album.uri},null,8,["items","context_uri"]),v(u,{item:s.album,show:s.show_details_modal,onClose:t[4]||(t[4]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const R5=ie(T5,[["render",D5]]),M5={name:"ContentWithHeading",data(){return{options_visible:!1}},computed:{icon_name(){return this.options_visible?"chevron-up":"chevron-down"},position(){return{hash:this.options_visible?"#top":"#app",query:this.$route.query}}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options))},methods:{onElementObserved(e){e.forEach(({isIntersecting:t})=>{this.options_visible=t})},visibilityChanged(e){this.options_visible=e}}},F5={class:"section"},V5={class:"container"},H5={class:"columns is-centered"},U5={class:"column is-four-fifths"},j5={key:0},B5={ref:"options",style:{height:"1px"}},W5={class:"buttons is-centered mt-4 mb-2"},q5={id:"top",class:"level is-clipped"},G5={class:"level-left is-flex-shrink-1"},K5={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},Z5={class:"level-right has-text-centered-mobile"},Y5={class:"mt-4"};function X5(e,t,n,r,s,o){const i=O("mdicon"),a=O("router-link");return E(),P("section",F5,[c("div",V5,[c("div",H5,[c("div",U5,[e.$slots.options?(E(),P("section",j5,[c("div",B5,null,512),zt(e.$slots,"options"),c("nav",W5,[v(a,{class:"button is-small is-white",to:o.position},{default:N(()=>[v(i,{class:"icon is-small",name:o.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):te("",!0),c("div",{class:ke({"is-full-height":e.$slots.options})},[c("nav",q5,[c("div",G5,[c("div",K5,[c("div",null,[zt(e.$slots,"heading-left")])])]),c("div",Z5,[zt(e.$slots,"heading-right")])]),zt(e.$slots,"content"),c("div",Y5,[zt(e.$slots,"footer")])],2)])])])])}const Qe=ie(M5,[["render",X5]]),J5={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.value)}}},methods:{deactivate(){this.active=!1},select(e){this.active=!1,this.$emit("update:value",e.id)}}},Q5={class:"dropdown-trigger"},e6=["textContent"],t6={id:"dropdown",class:"dropdown-menu",role:"menu"},n6={class:"dropdown-content"},r6=["onClick","textContent"];function s6(e,t,n,r,s,o){const i=O("mdicon"),a=Sd("click-away");return pt((E(),P("div",{class:ke(["dropdown",{"is-active":s.active}])},[c("div",Q5,[c("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>s.active=!s.active)},[c("span",{textContent:y(o.option.name)},null,8,e6),v(i,{class:"icon",name:"chevron-down",size:"16"})])]),c("div",t6,[c("div",n6,[(E(!0),P(be,null,gt(n.options,l=>(E(),P("a",{key:l.id,class:ke(["dropdown-item",{"is-active":n.value===l.id}]),onClick:u=>o.select(l),textContent:y(l.name)},null,10,r6))),128))])])],2)),[[a,o.deactivate]])}const Ts=ie(J5,[["render",s6]]),o6={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},i6={class:"buttons is-centered mb-4 fd-is-square"};function a6(e,t,n,r,s,o){const i=O("router-link");return E(),P("section",null,[c("nav",i6,[(E(!0),P(be,null,gt(n.indices,a=>(E(),we(i,{key:a,class:"button is-small",to:{hash:`#index_${a}`,query:e.$route.query}},{default:N(()=>[It(y(a),1)]),_:2},1032,["to"]))),128))])])}const tr=ie(o6,[["render",a6]]),l6={name:"ListAlbums",components:{CoverArtwork:Er,ModalDialog:Ud,ModalDialogAlbum:Kl},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.setting("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(){j.library_album_tracks(this.selected_item.id,{limit:1}).then(({data:e})=>{j.library_track_playlists(e.items[0].id).then(({data:t})=>{[this.rss_playlist_to_remove]=t.items.filter(n=>n.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed(){this.$emit("play-count-changed")},remove_podcast(){this.show_remove_podcast_modal=!1,j.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},c6={key:0,class:"mt-6 mb-5 py-2"},u6=["id","textContent"],d6=["onClick"],m6={key:0,class:"media-left"},f6={class:"media-content is-clickable is-clipped"},p6=["textContent"],h6=["textContent"],_6=["textContent"],g6={class:"media-right"},y6=["onClick"],v6=["textContent"],b6={class:"is-size-7"},z6=["textContent"],C6=["textContent"];function w6(e,t,n,r,s,o){const i=O("cover-artwork"),a=O("mdicon"),l=O("modal-dialog-album"),u=O("modal-dialog");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,d=>(E(),P(be,{key:d.itemId},[d.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:m=>o.open(d.item)},[o.show_artwork?(E(),P("div",m6,[v(i,{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,["url","artist","album"])])):te("",!0),c("div",f6,[c("div",null,[c("h1",{class:"title is-6",textContent:y(d.item.name)},null,8,p6),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(d.item.artist)},null,8,h6),d.item.date_released&&d.item.media_kind==="music"?(E(),P("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:y(e.$filters.date(d.item.date_released))},null,8,_6)):te("",!0)])]),c("div",g6,[c("a",{onClick:yt(m=>o.open_dialog(d.item),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,y6)])],8,d6)):(E(),P("div",c6,[c("span",{id:`index_${d.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(d.index)},null,8,u6)]))],64))),128)),(E(),we(Dn,{to:"#app"},[v(l,{item:s.selected_item,media_kind:n.media_kind,show:s.show_details_modal,onClose:t[0]||(t[0]=d=>s.show_details_modal=!1),onRemovePodcast:t[1]||(t[1]=d=>o.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=d=>o.play_count_changed())},null,8,["item","media_kind","show"]),v(u,{close_action:e.$t("page.podcast.cancel"),delete_action:e.$t("page.podcast.remove"),show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onClose:t[3]||(t[3]=d=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":N(()=>[c("p",{textContent:y(e.$t("list.albums.info-1"))},null,8,v6),c("p",b6,[It(" ("),c("span",{textContent:y(e.$t("list.albums.info-2"))},null,8,z6),c("b",{textContent:y(s.rss_playlist_to_remove.name)},null,8,C6),It(") ")])]),_:1},8,["close_action","delete_action","show","title","onDelete"])]))],64)}const zn=ie(l6,[["render",w6]]),k6={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},x6={class:"section fd-tabs-section"},S6={class:"container"},E6={class:"columns is-centered"},$6={class:"column is-four-fifths"},T6={class:"tabs is-centered is-small"},A6=["onClick","onKeypress"],O6=["textContent"],P6=["onClick","onKeypress"],I6=["textContent"],L6=["onClick","onKeypress"],N6=["textContent"],D6=["onClick","onKeypress"],R6=["textContent"],M6=["onClick","onKeypress"],F6=["textContent"],V6=["onClick","onKeypress"],H6=["textContent"];function U6(e,t,n,r,s,o){const i=O("mdicon"),a=O("router-link");return E(),P("section",x6,[c("div",S6,[c("div",E6,[c("div",$6,[c("div",T6,[c("ul",null,[v(a,{to:{name:"music-history"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"history",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.history"))},null,8,O6)],40,A6)],2)]),_:1}),v(a,{to:{name:"music-artists"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.artists"))},null,8,I6)],40,P6)],2)]),_:1}),v(a,{to:{name:"music-albums"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.albums"))},null,8,N6)],40,L6)],2)]),_:1}),v(a,{to:{name:"music-genres"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.genres"))},null,8,R6)],40,D6)],2)]),_:1}),v(a,{to:{name:"music-composers"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.composers"))},null,8,F6)],40,M6)],2)]),_:1}),o.spotify_enabled?(E(),we(a,{key:0,to:{name:"music-spotify"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.spotify"))},null,8,H6)],40,V6)],2)]),_:1})):te("",!0)])])])])])])}const mr=ie(k6,[["render",U6]]),Hp={load(e){return j.library_albums("music")},set(e,t){e.albums_list=new Ee(t.data)}},j6={name:"PageAlbums",components:{ContentWithHeading:Qe,ControlDropdown:Ts,IndexButtonList:tr,ListAlbums:zn,TabsMusic:mr},beforeRouteEnter(e,t,n){Hp.load(e).then(r=>{n(s=>Hp.set(s,r))})},data(){return{albums_list:new Ee,groupings:[{id:1,name:this.$t("page.albums.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.albums.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("page.albums.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("page.albums.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("page.albums.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(fl,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit($h,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},B6={class:"fd-page-with-tabs"},W6={class:"columns"},q6={class:"column"},G6=["textContent"],K6={class:"field"},Z6={class:"control"},Y6=["textContent"],X6=["textContent"],J6={key:0,class:"field"},Q6={class:"control"},e4=["textContent"],t4=["textContent"],n4={class:"column"},r4=["textContent"],s4=["textContent"],o4=["textContent"];function i4(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("control-dropdown"),u=O("list-albums"),d=O("content-with-heading");return E(),P("div",B6,[v(i),v(d,null,{options:N(()=>[v(a,{indices:o.albums.indices},null,8,["indices"]),c("div",W6,[c("div",q6,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.filter"))},null,8,G6),c("div",K6,[c("div",Z6,[pt(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[In,o.hide_singles]]),c("label",{for:"switchHideSingles",textContent:y(e.$t("page.albums.hide-singles"))},null,8,Y6)]),c("p",{class:"help",textContent:y(e.$t("page.albums.hide-singles-help"))},null,8,X6)]),o.spotify_enabled?(E(),P("div",J6,[c("div",Q6,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[In,o.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.albums.hide-spotify"))},null,8,e4)]),c("p",{class:"help",textContent:y(e.$t("page.albums.hide-spotify-help"))},null,8,t4)])):te("",!0)]),c("div",n4,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.sort.title"))},null,8,r4),v(l,{value:o.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=m=>o.selected_grouping_id=m),options:s.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.albums.title"))},null,8,s4),c("p",{class:"heading",textContent:y(e.$t("page.albums.count",{count:o.albums.count}))},null,8,o4)]),"heading-right":N(()=>[]),content:N(()=>[v(u,{items:o.albums},null,8,["items"])]),_:1})])}const a4=ie(j6,[["render",i4]]),l4={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"),j.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.item.uri)}}},c4={key:0,class:"modal is-active"},u4={class:"modal-content"},d4={class:"card"},m4={class:"card-content"},f4={class:"title is-4"},p4=["textContent"],h4={class:"content is-small"},_4=["textContent"],g4=["textContent"],y4=["textContent"],v4=["textContent"],b4=["textContent"],z4=["textContent"],C4=["textContent"],w4=["textContent"],k4={class:"card-footer"},x4=["textContent"],S4=["textContent"],E4=["textContent"];function $4(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",c4,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",u4,[c("div",d4,[c("div",m4,[c("p",f4,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,p4)]),c("div",h4,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.albums"))},null,8,_4),c("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,g4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.tracks"))},null,8,y4),c("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,v4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.type"))},null,8,b4),c("span",{class:"title is-6",textContent:y(e.$t(`data.kind.${n.item.data_kind}`))},null,8,z4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.added-on"))},null,8,C4),c("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,w4)])])]),c("footer",k4,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add"))},null,8,x4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add-next"))},null,8,S4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.play"))},null,8,E4)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const Zl=ie(l4,[["render",$4]]),Up={load(e){return Promise.all([j.library_artist(e.params.id),j.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new Ee(t[1].data)}},T4={name:"PageArtist",components:{ContentWithHeading:Qe,ControlDropdown:Ts,ListAlbums:zn,ModalDialogArtist:Zl},beforeRouteEnter(e,t,n){Up.load(e).then(r=>{n(s=>Up.set(s,r))})},data(){return{albums_list:new Ee,artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("page.artist.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}],show_details_modal:!1}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(Ah,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(){j.player_play_uri(this.albums.items.map(e=>e.uri).join(),!0)}}},A4={class:"columns"},O4={class:"column"},P4=["textContent"],I4={key:0,class:"field"},L4={class:"control"},N4=["textContent"],D4=["textContent"],R4={class:"column"},M4=["textContent"],F4=["textContent"],V4={class:"buttons is-centered"},H4=["textContent"],U4={class:"heading has-text-centered-mobile"},j4=["textContent"],B4=c("span",null," | ",-1),W4=["textContent"];function q4(e,t,n,r,s,o){const i=O("control-dropdown"),a=O("mdicon"),l=O("list-albums"),u=O("modal-dialog-artist"),d=O("content-with-heading");return E(),P("div",null,[v(d,null,{options:N(()=>[c("div",A4,[c("div",O4,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,P4),o.spotify_enabled?(E(),P("div",I4,[c("div",L4,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[In,o.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,N4)]),c("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,D4)])):te("",!0)]),c("div",R4,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,M4),v(i,{value:o.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=m=>o.selected_grouping_id=m),options:s.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,F4)]),"heading-right":N(()=>[c("div",V4,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[v(a,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...m)=>o.play&&o.play(...m))},[v(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,H4)])])]),content:N(()=>[c("p",U4,[c("span",{textContent:y(e.$t("page.artist.album-count",{count:o.albums.count}))},null,8,j4),B4,c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:y(e.$t("page.artist.track-count",{count:o.track_count}))},null,8,W4)]),v(l,{items:o.albums},null,8,["items"]),v(u,{item:s.artist,show:s.show_details_modal,onClose:t[5]||(t[5]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const G4=ie(T4,[["render",q4]]),K4={name:"ListAlbumsSpotify",components:{CoverArtwork:Er,ModalDialogAlbumSpotify:cv},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},computed:{show_artwork(){return this.$store.getters.setting("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}}},Z4=["onClick"],Y4={key:0,class:"media-left is-clickable"},X4={class:"media-content is-clickable is-clipped"},J4=["textContent"],Q4=["textContent"],eD=["textContent"],tD={class:"media-right"},nD=["onClick"];function rD(e,t,n,r,s,o){const i=O("cover-artwork"),a=O("mdicon"),l=O("modal-dialog-album-spotify");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,u=>{var d;return E(),P("div",{key:u.id,class:"media is-align-items-center",onClick:m=>o.open(u)},[o.show_artwork?(E(),P("div",Y4,[v(i,{url:o.artwork_url(u),artist:u.artist,album:u.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])])):te("",!0),c("div",X4,[c("h1",{class:"title is-6",textContent:y(u.name)},null,8,J4),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y((d=u.artists[0])==null?void 0:d.name)},null,8,Q4),c("h2",{class:"subtitle is-7 has-text-grey",textContent:y([u.album_type,e.$filters.date(u.release_date)].join(", "))},null,8,eD)]),c("div",tD,[c("a",{onClick:yt(m=>o.open_dialog(u),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,nD)])],8,Z4)}),128)),(E(),we(Dn,{to:"#app"},[v(l,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=u=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Ci=ie(K4,[["render",rD]]),sD={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"),j.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.item.uri)}}},oD={key:0,class:"modal is-active"},iD={class:"modal-content"},aD={class:"card"},lD={class:"card-content"},cD={class:"title is-4"},uD=["textContent"],dD={class:"content is-small"},mD=["textContent"],fD=["textContent"],pD=["textContent"],hD=["textContent"],_D={class:"card-footer"},gD=["textContent"],yD=["textContent"],vD=["textContent"];function bD(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",oD,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",iD,[c("div",aD,[c("div",lD,[c("p",cD,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,uD)]),c("div",dD,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.popularity"))},null,8,mD),c("span",{class:"title is-6",textContent:y([n.item.popularity,n.item.followers.total].join(" / "))},null,8,fD)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.genres"))},null,8,pD),c("span",{class:"title is-6",textContent:y(n.item.genres.join(", "))},null,8,hD)])])]),c("footer",_D,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add"))},null,8,gD)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add-next"))},null,8,yD)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.play"))},null,8,vD)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const uv=ie(sD,[["render",bD]]);function zD(e){return e.scrollHeight}function CD(e){return e.scrollWidth}function wD(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function kD(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const xD=c("div",{class:"loading"},"Loading...",-1),SD=c("div",{class:"no-more"},"No more.",-1),ED=c("div",{class:"no-results"},"No results.",-1),$D=c("div",{class:"error"},"Error.",-1),em=Sr({__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=ar();let s=ar("loading"),o=ar(n.isInitial),i=0;function a(){zo(()=>{var g,b;n.position==="top"?wD((g=n.container)!=null?g:document.documentElement,i):n.position==="left"&&kD((b=n.container)!=null?b:document.documentElement,i)})}function l(g,b){return g===0?o.value?(d(),"no-results"):(u(),"no-more"):g!==void 0&&b!==void 0&&g<b?(u(),"no-more"):(o.value=!1,a(),z(),"loading")}function u(){o.value=!1,h("no-more"),a()}function d(){o.value=!1,h("no-results"),a()}function m(){o.value=!1,h("error"),a()}function f(){o.value=!0,h("loading"),z()}function p(){h("loading"),z()}function h(g){s.value=g}function _(){r.value&&w.unobserve(r.value)}function z(){r.value&&w.observe(r.value)}function k(){return new IntersectionObserver(([g])=>{var b,x;g.isIntersecting&&(n.position==="top"?i=zD((b=n.container)!=null?b:document.documentElement):n.position==="left"&&(i=CD((x=n.container)!=null?x:document.documentElement)),_(),n.load({loaded:l,noMore:u,noResults:d,error:m},{isFirstLoad:o.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let w;return typeof IntersectionObserver<"u"&&Ng(()=>{w&&_(),w=k(),z()},{flush:"post"}),wn(()=>n.isInitial,g=>{g&&f()}),wn(o,g=>{g||t("update:isInitial",!1)}),(g,b)=>(E(),P("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[bn(s)==="loading"?zt(g.$slots,"loading",Fo(Bs({key:0},{isFirstLoad:bn(o)})),()=>[xD]):bn(s)==="no-more"?zt(g.$slots,"no-more",Fo(Bs({key:1},{retry:p})),()=>[SD]):bn(s)==="no-results"?zt(g.$slots,"no-results",Fo(Bs({key:2},{retry:p})),()=>[ED]):bn(s)==="error"?zt(g.$slots,"error",Fo(Bs({key:3},{retry:p})),()=>[$D]):te("",!0)],512))}}),Fu=50,jp={load(e){const t=new er;return t.setAccessToken(ht.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{include_groups:"album,single",limit:Fu,market:ht.state.spotify.webapi_country,offset:0})])},set(e,t){e.artist=t.shift(),e.albums=[],e.total=0,e.offset=0,e.append_albums(t.shift())}},TD={name:"PageArtistSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,ModalDialogArtistSpotify:uv,VueEternalLoading:em},beforeRouteEnter(e,t,n){jp.load(e).then(r=>{n(s=>jp.set(s,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 er;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:Fu,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,Fu)})},play(){this.show_album_details_modal=!1,j.player_play_uri(this.artist.uri,!0)}}},AD=["textContent"],OD={class:"buttons is-centered"},PD=["textContent"],ID=["textContent"],LD={class:"columns is-centered"},ND={class:"column has-text-centered"},DD=c("br",null,null,-1);function RD(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-albums-spotify"),l=O("VueEternalLoading"),u=O("modal-dialog-artist-spotify"),d=O("content-with-heading");return E(),P("div",null,[v(d,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,AD)]),"heading-right":N(()=>[c("div",OD,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.spotify.artist.shuffle"))},null,8,PD)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,ID),v(a,{items:s.albums},null,8,["items"]),s.offset<s.total?(E(),we(l,{key:0,load:o.load_next},{loading:N(()=>[c("div",LD,[c("div",ND,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>[DD]),_:1},8,["load"])):te("",!0),v(u,{item:s.artist,show:s.show_details_modal,onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const MD=ie(TD,[["render",RD]]),Bp={load(e){return Promise.all([j.library_artist(e.params.id),j.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},FD={name:"PageArtistTracks",components:{ContentWithHeading:Qe,ControlDropdown:Ts,IndexButtonList:tr,ListTracks:fn,ModalDialogArtist:Zl},beforeRouteEnter(e,t,n){Bp.load(e).then(r=>{n(s=>Bp.set(s,r))})},data(){return{artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.artist.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(Oh,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{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.tracks_list.group(e)}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},play(){j.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},VD={class:"columns"},HD={class:"column"},UD=["textContent"],jD={key:0,class:"field"},BD={class:"control"},WD=["textContent"],qD=["textContent"],GD={class:"column"},KD=["textContent"],ZD=["textContent"],YD={class:"buttons is-centered"},XD=["textContent"],JD={class:"heading has-text-centered-mobile"},QD=["textContent"],eR=c("span",null," | ",-1),tR=["textContent"];function nR(e,t,n,r,s,o){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),u=O("list-tracks"),d=O("modal-dialog-artist"),m=O("content-with-heading");return E(),P("div",null,[v(m,null,{options:N(()=>[v(i,{indices:o.tracks.indices},null,8,["indices"]),c("div",VD,[c("div",HD,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,UD),o.spotify_enabled?(E(),P("div",jD,[c("div",BD,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[In,o.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,WD)]),c("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,qD)])):te("",!0)]),c("div",GD,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,KD),v(a,{value:o.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=f=>o.selected_grouping_id=f),options:s.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,ZD)]),"heading-right":N(()=>[c("div",YD,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>o.play&&o.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,XD)])])]),content:N(()=>[c("p",JD,[c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:y(e.$t("page.artist.album-count",{count:o.album_count}))},null,8,QD),eR,c("span",{textContent:y(e.$t("page.artist.track-count",{count:o.tracks.count}))},null,8,tR)]),v(u,{items:o.tracks,uris:o.track_uris},null,8,["items","uris"]),v(d,{item:s.artist,show:s.show_details_modal,onClose:t[5]||(t[5]=f=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const rR=ie(FD,[["render",nR]]),sR={name:"ListArtists",components:{ModalDialogArtist:Zl},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}}},oR={key:0,class:"mt-6 mb-5 py-2"},iR={class:"media-content is-clipped"},aR=["id","textContent"],lR=["onClick"],cR={class:"media-content is-clickable is-clipped"},uR=["textContent"],dR={class:"media-right"},mR=["onClick"];function fR(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-artist");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P(be,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:u=>o.open(l.item)},[c("div",cR,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,uR)]),c("div",dR,[c("a",{onClick:yt(u=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,mR)])],8,lR)):(E(),P("div",oR,[c("div",iR,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,aR)])]))],64))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const ol=ie(sR,[["render",fR]]),Wp={load(e){return j.library_artists("music")},set(e,t){e.artists_list=new Ee(t.data)}},pR={name:"PageArtists",components:{ContentWithHeading:Qe,ControlDropdown:Ts,IndexButtonList:tr,ListArtists:ol,TabsMusic:mr},beforeRouteEnter(e,t,n){Wp.load(e).then(r=>{n(s=>Wp.set(s,r))})},data(){return{artists_list:new Ee,groupings:[{id:1,name:this.$t("page.artists.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.artists.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]}},computed:{artists(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e)},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(fl,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(Th,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},hR={class:"fd-page-with-tabs"},_R={class:"columns"},gR={class:"column"},yR=["textContent"],vR={class:"field"},bR={class:"control"},zR=["textContent"],CR=["textContent"],wR={key:0,class:"field"},kR={class:"control"},xR=["textContent"],SR=["textContent"],ER={class:"column"},$R=["textContent"],TR=["textContent"],AR=["textContent"];function OR(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("control-dropdown"),u=O("list-artists"),d=O("content-with-heading");return E(),P("div",hR,[v(i),v(d,null,{options:N(()=>[v(a,{indices:o.artists.indices},null,8,["indices"]),c("div",_R,[c("div",gR,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.filter"))},null,8,yR),c("div",vR,[c("div",bR,[pt(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[In,o.hide_singles]]),c("label",{for:"switchHideSingles",textContent:y(e.$t("page.artists.hide-singles"))},null,8,zR)]),c("p",{class:"help",textContent:y(e.$t("page.artists.hide-singles-help"))},null,8,CR)]),o.spotify_enabled?(E(),P("div",wR,[c("div",kR,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[In,o.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artists.hide-spotify"))},null,8,xR)]),c("p",{class:"help",textContent:y(e.$t("page.artists.hide-spotify-help"))},null,8,SR)])):te("",!0)]),c("div",ER,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.sort.title"))},null,8,$R),v(l,{value:o.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=m=>o.selected_grouping_id=m),options:s.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.artists.title"))},null,8,TR),c("p",{class:"heading",textContent:y(e.$t("page.artists.count",{count:o.artists.count}))},null,8,AR)]),"heading-right":N(()=>[]),content:N(()=>[v(u,{items:o.artists},null,8,["items"])]),_:1})])}const PR=ie(pR,[["render",OR]]),qp={load(e){return Promise.all([j.library_album(e.params.id),j.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data)}},IR={name:"PageAudiobooksAlbum",components:{ContentWithHero:Gl,CoverArtwork:Er,ListTracks:fn,ModalDialogAlbum:Kl},beforeRouteEnter(e,t,n){qp.load(e).then(r=>{n(s=>qp.set(s,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){j.player_play_uri(this.album.uri,!1)}}},LR=["textContent"],NR={class:"subtitle is-6 has-text-link"},DR=["textContent"],RR={class:"buttons fd-is-centered-mobile mt-5"},MR=["textContent"],FR=["textContent"];function VR(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),u=O("modal-dialog-album"),d=O("content-with-hero");return E(),P("div",null,[v(d,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,LR),c("h2",NR,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:y(s.album.artist)},null,8,DR)]),c("div",RR,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(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=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,FR),v(l,{items:s.tracks,show_progress:!0,uris:s.album.uri},null,8,["items","uris"]),v(u,{item:s.album,show:s.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const HR=ie(IR,[["render",VR]]),UR={name:"TabsAudiobooks"},jR={class:"section fd-tabs-section"},BR={class:"container"},WR={class:"columns is-centered"},qR={class:"column is-four-fifths"},GR={class:"tabs is-centered is-small"},KR=["onClick","onKeypress"],ZR=["textContent"],YR=["onClick","onKeypress"],XR=["textContent"],JR=["onClick","onKeypress"],QR=["textContent"];function e3(e,t,n,r,s,o){const i=O("mdicon"),a=O("router-link");return E(),P("section",jR,[c("div",BR,[c("div",WR,[c("div",qR,[c("div",GR,[c("ul",null,[v(a,{to:{name:"audiobooks-artists"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.authors"))},null,8,ZR)],40,KR)],2)]),_:1}),v(a,{to:{name:"audiobooks-albums"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,XR)],40,YR)],2)]),_:1}),v(a,{to:{name:"audiobooks-genres"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[v(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.genres"))},null,8,QR)],40,JR)],2)]),_:1})])])])])])])}const tm=ie(UR,[["render",e3]]),Gp={load(e){return j.library_albums("audiobook")},set(e,t){e.albums=new Ee(t.data,{index:{field:"name_sort",type:String}})}},t3={name:"PageAudiobooksAlbums",components:{ContentWithHeading:Qe,IndexButtonList:tr,ListAlbums:zn,TabsAudiobooks:tm},beforeRouteEnter(e,t,n){Gp.load(e).then(r=>{n(s=>Gp.set(s,r))})},data(){return{albums:new Ee}}},n3={class:"fd-page-with-tabs"},r3=["textContent"],s3=["textContent"];function o3(e,t,n,r,s,o){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-albums"),u=O("content-with-heading");return E(),P("div",n3,[v(i),v(u,null,{options:N(()=>[v(a,{indices:s.albums.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.albums.title"))},null,8,r3),c("p",{class:"heading",textContent:y(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,s3)]),content:N(()=>[v(l,{items:s.albums},null,8,["items"])]),_:1})])}const i3=ie(t3,[["render",o3]]),Kp={load(e){return Promise.all([j.library_artist(e.params.id),j.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new Ee(t[1].data)}},a3={name:"PageAudiobooksArtist",components:{ContentWithHeading:Qe,ListAlbums:zn,ModalDialogArtist:Zl},beforeRouteEnter(e,t,n){Kp.load(e).then(r=>{n(s=>Kp.set(s,r))})},data(){return{albums:new Ee,artist:{},show_details_modal:!1}},methods:{play(){j.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},l3=["textContent"],c3={class:"buttons is-centered"},u3=["textContent"],d3=["textContent"];function m3(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-artist"),u=O("content-with-heading");return E(),P("div",null,[v(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,l3)]),"heading-right":N(()=>[c("div",c3,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(e.$t("page.audiobooks.artist.play"))},null,8,u3)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.audiobooks.artist.album-count",{count:s.artist.album_count}))},null,8,d3),v(a,{items:s.albums},null,8,["items"]),v(l,{item:s.artist,show:s.show_details_modal,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const f3=ie(a3,[["render",m3]]),Zp={load(e){return j.library_artists("audiobook")},set(e,t){e.artists=new Ee(t.data,{index:{field:"name_sort",type:String}})}},p3={name:"PageAudiobooksArtists",components:{ContentWithHeading:Qe,IndexButtonList:tr,ListArtists:ol,TabsAudiobooks:tm},beforeRouteEnter(e,t,n){Zp.load(e).then(r=>{n(s=>Zp.set(s,r))})},data(){return{artists:new Ee}}},h3={class:"fd-page-with-tabs"},_3=["textContent"],g3=["textContent"];function y3(e,t,n,r,s,o){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-artists"),u=O("content-with-heading");return E(),P("div",h3,[v(i),v(u,null,{options:N(()=>[v(a,{indices:s.artists.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.artists.title"))},null,8,_3),c("p",{class:"heading",textContent:y(e.$t("page.audiobooks.artists.count",{count:s.artists.count}))},null,8,g3)]),"heading-right":N(()=>[]),content:N(()=>[v(l,{items:s.artists},null,8,["items"])]),_:1})])}const v3=ie(p3,[["render",y3]]),b3={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"),j.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),j.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),j.queue_expression_add_next(this.expression)}}},z3={key:0,class:"modal is-active"},C3={class:"modal-content"},w3={class:"card"},k3={class:"card-content"},x3={class:"title is-4"},S3=["textContent"],E3={class:"content is-small"},$3=["textContent"],T3=["textContent"],A3=["textContent"],O3=["textContent"],P3=["textContent"],I3=["textContent"],L3={class:"card-footer"},N3=["textContent"],D3=["textContent"],R3=["textContent"];function M3(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",z3,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",C3,[c("div",w3,[c("div",k3,[c("p",x3,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,S3)]),c("div",E3,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.genre.albums"))},null,8,$3),c("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,T3)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.genre.tracks"))},null,8,A3),c("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,O3)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.genre.duration"))},null,8,P3),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,I3)])])]),c("footer",L3,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add"))},null,8,N3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add-next"))},null,8,D3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.play"))},null,8,R3)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const nm=ie(b3,[["render",M3]]),F3={name:"ListGenres",components:{ModalDialogGenre:nm},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}}},V3={key:0,class:"mt-6 mb-5 py-2"},H3={class:"media-content is-clipped"},U3=["id","textContent"],j3=["onClick"],B3={class:"media-content is-clickable is-clipped"},W3=["textContent"],q3={class:"media-right"},G3=["onClick"];function K3(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-genre");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P(be,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:u=>o.open(l.item)},[c("div",B3,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,W3)]),c("div",q3,[c("a",{onClick:yt(u=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,G3)])],8,j3)):(E(),P("div",V3,[c("div",H3,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,U3)])]))],64))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,media_kind:n.media_kind,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","media_kind","show"])]))],64)}const dv=ie(F3,[["render",K3]]),Yp={load(e){return j.library_genres("audiobook")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},Z3={name:"PageAudiobooksGenres",components:{ContentWithHeading:Qe,IndexButtonList:tr,ListGenres:dv,TabsAudiobooks:tm},beforeRouteEnter(e,t,n){Yp.load(e).then(r=>{n(s=>Yp.set(s,r))})},data(){return{genres:new Ee}}},Y3={class:"fd-page-with-tabs"},X3=["textContent"],J3=["textContent"];function Q3(e,t,n,r,s,o){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-genres"),u=O("content-with-heading");return E(),P("div",Y3,[v(i),v(u,null,{options:N(()=>[v(a,{indices:s.genres.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,X3),c("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:s.genres.total}))},null,8,J3)]),content:N(()=>[v(l,{items:s.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const eM=ie(Z3,[["render",Q3]]),tM={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"),j.player_play_expression(`composer is "${this.item.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),j.queue_expression_add(`composer is "${this.item.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),j.queue_expression_add_next(`composer is "${this.item.name}" and media_kind is music`)}}},nM={key:0,class:"modal is-active"},rM={class:"modal-content"},sM={class:"card"},oM={class:"card-content"},iM={class:"title is-4"},aM=["textContent"],lM=["textContent"],cM=["textContent"],uM=["textContent"],dM=["textContent"],mM=["textContent"],fM=["textContent"],pM={class:"card-footer"},hM=["textContent"],_M=["textContent"],gM=["textContent"];function yM(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",nM,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",rM,[c("div",sM,[c("div",oM,[c("p",iM,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:y(n.item.name)},null,8,aM)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.composer.albums"))},null,8,lM),c("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:y(n.item.album_count)},null,8,cM)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.composer.tracks"))},null,8,uM),c("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>o.open_tracks&&o.open_tracks(...a)),textContent:y(n.item.track_count)},null,8,dM)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.composer.duration"))},null,8,mM),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,fM)])]),c("footer",pM,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add"))},null,8,hM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add-next"))},null,8,_M)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.play"))},null,8,gM)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const rm=ie(tM,[["render",yM]]),Xp={load(e){return Promise.all([j.library_composer(e.params.name),j.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums=new Ee(t[1].data.albums)}},vM={name:"PageComposerAlbums",components:{ContentWithHeading:Qe,ListAlbums:zn,ModalDialogComposer:rm},beforeRouteEnter(e,t,n){Xp.load(e).then(r=>{n(s=>Xp.set(s,r))})},data(){return{albums:new Ee,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){j.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},bM=["textContent"],zM={class:"buttons is-centered"},CM=["textContent"],wM={class:"heading has-text-centered-mobile"},kM=["textContent"],xM=c("span",null," | ",-1),SM=["textContent"];function EM(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-composer"),u=O("content-with-heading");return E(),P("div",null,[v(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.composer.name)},null,8,bM)]),"heading-right":N(()=>[c("div",zM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,CM)])])]),content:N(()=>[c("p",wM,[c("span",{textContent:y(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,kM),xM,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>o.open_tracks&&o.open_tracks(...d)),textContent:y(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,SM)]),v(a,{items:s.albums},null,8,["items"]),v(l,{item:s.composer,show:s.show_details_modal,onClose:t[3]||(t[3]=d=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const $M=ie(vM,[["render",EM]]),Jp={load(e){return Promise.all([j.library_composer(e.params.name),j.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},TM={name:"PageComposerTracks",components:{ContentWithHeading:Qe,ControlDropdown:Ts,IndexButtonList:tr,ListTracks:fn,ModalDialogComposer:rm},beforeRouteEnter(e,t,n){Jp.load(e).then(r=>{n(s=>Jp.set(s,r))})},data(){return{composer:{},groupings:[{id:1,name:this.$t("page.composer.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.composer.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},selected_grouping_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(Ph,e)}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},play(){j.player_play_expression(this.expression,!0)}}},AM={class:"columns"},OM={class:"column"},PM=["textContent"],IM=["textContent"],LM={class:"buttons is-centered"},NM=["textContent"],DM={class:"heading has-text-centered-mobile"},RM=["textContent"],MM=c("span",null," | ",-1),FM=["textContent"];function VM(e,t,n,r,s,o){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),u=O("list-tracks"),d=O("modal-dialog-composer"),m=O("content-with-heading");return E(),P("div",null,[v(m,null,{options:N(()=>[v(i,{indices:o.tracks.indices},null,8,["indices"]),c("div",AM,[c("div",OM,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,PM),v(a,{value:o.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>o.selected_grouping_id=f),options:s.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.composer.name)},null,8,IM)]),"heading-right":N(()=>[c("div",LM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>o.play&&o.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,NM)])])]),content:N(()=>[c("p",DM,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_albums&&o.open_albums(...f)),textContent:y(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,RM),MM,c("span",{textContent:y(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,FM)]),v(u,{items:o.tracks,expression:o.expression},null,8,["items","expression"]),v(d,{item:s.composer,show:s.show_details_modal,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const HM=ie(TM,[["render",VM]]),UM={name:"ListComposers",components:{ModalDialogComposer:rm},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}}},jM={key:0,class:"mt-6 mb-5 py-2"},BM={class:"media-content is-clipped"},WM=["id","textContent"],qM=["onClick"],GM={class:"media-content is-clickable is-clipped"},KM=["textContent"],ZM={class:"media-right"},YM=["onClick"];function XM(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-composer");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P(be,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:u=>o.open(l.item)},[c("div",GM,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,KM)]),c("div",ZM,[c("a",{onClick:yt(u=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,YM)])],8,qM)):(E(),P("div",jM,[c("div",BM,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,WM)])]))],64))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Vu=ie(UM,[["render",XM]]),Qp={load(e){return j.library_composers("music")},set(e,t){e.composers=new Ee(t.data,{index:{field:"name_sort",type:String}})}},JM={name:"PageComposers",components:{ContentWithHeading:Qe,IndexButtonList:tr,ListComposers:Vu,TabsMusic:mr},beforeRouteEnter(e,t,n){Qp.load(e).then(r=>{n(s=>Qp.set(s,r))})},data(){return{composers:new Ee}}},QM={class:"fd-page-with-tabs"},e7=["textContent"],t7=["textContent"];function n7(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-composers"),u=O("content-with-heading");return E(),P("div",QM,[v(i),v(u,null,{options:N(()=>[v(a,{indices:s.composers.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.composers.title"))},null,8,e7),c("p",{class:"heading",textContent:y(e.$t("page.composers.count",{count:s.composers.total}))},null,8,t7)]),content:N(()=>[v(l,{items:s.composers},null,8,["items"])]),_:1})])}const r7=ie(JM,[["render",n7]]),s7={name:"ModalDialogDirectory",props:{item:{required:!0,type:String},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),j.player_play_expression(`path starts with "${this.item}" order by path asc`,!1)},queue_add(){this.$emit("close"),j.queue_expression_add(`path starts with "${this.item}" order by path asc`)},queue_add_next(){this.$emit("close"),j.queue_expression_add_next(`path starts with "${this.item}" order by path asc`)}}},o7={key:0,class:"modal is-active"},i7={class:"modal-content"},a7={class:"card"},l7={class:"card-content"},c7=["textContent"],u7={class:"card-footer"},d7=["textContent"],m7=["textContent"],f7=["textContent"];function p7(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",o7,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",i7,[c("div",a7,[c("div",l7,[c("p",{class:"title is-4",textContent:y(n.item)},null,8,c7)]),c("footer",u7,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add"))},null,8,d7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add-next"))},null,8,m7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.play"))},null,8,f7)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const mv=ie(s7,[["render",p7]]),h7={name:"ListDirectories",components:{ModalDialogDirectory:mv},props:{items:{required:!0,type:Array}},data(){return{selected_item:"",show_details_modal:!1}},computed:{directories(){var n;const e=[];let t="";return(n=this.$route.query)==null||n.directory.split("/").slice(1,-1).forEach((r,s)=>{t=`${t}/${r}`,e.push({index:s,name:r,path:t})}),e}},methods:{open(e){const t={name:"files"};e.index!==0&&(t.query={directory:e.path}),this.$router.push(t)},open_dialog(e){this.selected_item=e.path,this.show_details_modal=!0},open_parent(){this.open(this.directories.slice(-1).pop())}}},_7={key:0,class:"media is-align-items-center"},g7={class:"media-content is-clipped"},y7={class:"breadcrumb"},v7=["onClick"],b7=["textContent"],z7={class:"media-right"},C7=["onClick"],w7={class:"media-left is-clickable"},k7={class:"media-content is-clickable is-clipped"},x7=["textContent"],S7={class:"media-right"},E7=["onClick"];function $7(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-directory");return E(),P(be,null,[e.$route.query.directory?(E(),P("div",_7,[c("figure",{class:"media-left is-clickable",onClick:t[0]||(t[0]=(...l)=>o.open_parent&&o.open_parent(...l))},[v(i,{class:"icon",name:"chevron-left",size:"16"})]),c("div",g7,[c("nav",y7,[c("ul",null,[(E(!0),P(be,null,gt(o.directories,l=>(E(),P("li",{key:l.index},[c("a",{onClick:u=>o.open(l)},[c("span",{textContent:y(l.name)},null,8,b7)],8,v7)]))),128))])])]),c("div",z7,[zt(e.$slots,"actions")])])):te("",!0),(E(!0),P(be,null,gt(n.items,l=>(E(),P("div",{key:l.path,class:"media is-align-items-center",onClick:u=>o.open(l)},[c("figure",w7,[v(i,{class:"icon",name:"folder",size:"16"})]),c("div",k7,[c("h1",{class:"title is-6",textContent:y(l.name)},null,8,x7)]),c("div",S7,[c("a",{onClick:yt(u=>o.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,E7)])],8,C7))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[1]||(t[1]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const T7=ie(h7,[["render",$7]]),A7={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"),j.player_play_uri(this.uris||this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.uris||this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.uris||this.item.uri)}}},O7={key:0,class:"modal is-active"},P7={class:"modal-content"},I7={class:"card"},L7={class:"card-content"},N7={class:"title is-4"},D7=["textContent"],R7={class:"content is-small"},M7=["textContent"],F7=["textContent"],V7=["textContent"],H7=["textContent"],U7={key:0},j7=["textContent"],B7=["textContent"],W7={key:0,class:"card-footer"},q7=["textContent"],G7=["textContent"],K7=["textContent"];function Z7(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",O7,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",P7,[c("div",I7,[c("div",L7,[c("p",N7,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,D7)]),c("div",R7,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.playlist.path"))},null,8,M7),c("span",{class:"title is-6",textContent:y(n.item.path)},null,8,F7)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.playlist.type"))},null,8,V7),c("span",{class:"title is-6",textContent:y(e.$t(`playlist.type.${n.item.type}`))},null,8,H7)]),n.item.folder?te("",!0):(E(),P("p",U7,[c("span",{class:"heading",textContent:y(e.$t("dialog.playlist.tracks"))},null,8,j7),c("span",{class:"title is-6",textContent:y(n.item.item_count)},null,8,B7)]))])]),n.item.folder?te("",!0):(E(),P("footer",W7,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add"))},null,8,q7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add-next"))},null,8,G7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.play"))},null,8,K7)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const fv=ie(A7,[["render",Z7]]),Y7={name:"ListPlaylists",components:{ModalDialogPlaylist:fv},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}}},X7=["onClick"],J7={class:"media-left is-clickable"},Q7={class:"media-content is-clickable is-clipped"},eF=["textContent"],tF={class:"media-right"},nF=["onClick"];function rF(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-playlist");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P("div",{key:l.itemId,class:"media is-align-items-center",onClick:u=>o.open(l.item)},[c("figure",J7,[v(i,{class:"icon",name:o.icon_name(l.item),size:"16"},null,8,["name"])]),c("div",Q7,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,eF)]),c("div",tF,[c("a",{onClick:yt(u=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,nF)])],8,X7))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const il=ie(Y7,[["render",rF]]),ma={load(e){return e.query.directory?j.library_files(e.query.directory):Promise.resolve()},set(e,t){t?e.directories=t.data.directories.map(n=>e.transform(n.path)):e.$store.state.config.directories?e.directories=e.$store.state.config.directories.map(n=>e.transform(n)):j.config().then(n=>{e.directories=n.data.directories.map(r=>e.transform(r))}),e.playlists=new Ee(t==null?void 0:t.data.playlists),e.tracks=new Ee(t==null?void 0:t.data.tracks)}},sF={name:"PageFiles",components:{ContentWithHeading:Qe,ListDirectories:T7,ListPlaylists:il,ListTracks:fn,ModalDialogDirectory:mv},beforeRouteEnter(e,t,n){ma.load(e).then(r=>{n(s=>ma.set(s,r))})},beforeRouteUpdate(e,t,n){ma.load(e).then(r=>{ma.set(this,r),n()})},data(){return{directories:[],playlists:new Ee,show_details_modal:!1,tracks:new Ee}},computed:{current(){var e;return((e=this.$route.query)==null?void 0:e.directory)||"/"},name(){var e;return this.current!=="/"?(e=this.current)==null?void 0:e.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},play_expression(){return`path starts with "${this.current}" order by path asc`}},methods:{play(){j.player_play_expression(this.play_expression,!1)},transform(e){return{name:e.slice(e.lastIndexOf("/")+1),path:e}}}},oF=["textContent"],iF={class:"buttons is-centered"},aF=["textContent"];function lF(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-directories"),l=O("list-playlists"),u=O("list-tracks"),d=O("modal-dialog-directory"),m=O("content-with-heading");return E(),P("div",null,[v(m,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.name)},null,8,oF)]),"heading-right":N(()=>[c("div",iF,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(e.$t("page.files.play"))},null,8,aF)])])]),content:N(()=>[v(a,{items:s.directories},null,8,["items"]),v(l,{items:s.playlists},null,8,["items"]),v(u,{expression:o.play_expression,items:s.tracks,show_icon:!0},null,8,["expression","items"]),v(d,{item:o.current,show:s.show_details_modal,onClose:t[2]||(t[2]=f=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const cF=ie(sF,[["render",lF]]),eh={load(e){return Promise.all([j.library_genre(e.params.name,e.query.media_kind),j.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.albums=new Ee(t[1].data.albums,{index:{field:"name_sort",type:String}})}},uF={name:"PageGenreAlbums",components:{ContentWithHeading:Qe,IndexButtonList:tr,ListAlbums:zn,ModalDialogGenre:nm},beforeRouteEnter(e,t,n){eh.load(e).then(r=>{n(s=>eh.set(s,r))})},data(){return{albums:new Ee,genre:{},media_kind:this.$route.query.media_kind,show_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){j.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},dF=["textContent"],mF={class:"buttons is-centered"},fF=["textContent"],pF={class:"heading has-text-centered-mobile"},hF=["textContent"],_F=c("span",null," | ",-1),gF=["textContent"];function yF(e,t,n,r,s,o){const i=O("index-button-list"),a=O("mdicon"),l=O("list-albums"),u=O("modal-dialog-genre"),d=O("content-with-heading");return E(),P("div",null,[v(d,null,{options:N(()=>[v(i,{indices:s.albums.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.genre.name)},null,8,dF)]),"heading-right":N(()=>[c("div",mF,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_details_modal=!0)},[v(a,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[v(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,fF)])])]),content:N(()=>[c("p",pF,[c("span",{textContent:y(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,hF),_F,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:y(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,gF)]),v(l,{items:s.albums},null,8,["items"]),v(u,{item:s.genre,media_kind:s.media_kind,show:s.show_details_modal,onClose:t[3]||(t[3]=m=>s.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const vF=ie(uF,[["render",yF]]),th={load(e){return Promise.all([j.library_genre(e.params.name,e.query.media_kind),j.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.tracks_list=new Ee(t[1].data.tracks)}},bF={name:"PageGenreTracks",components:{ContentWithHeading:Qe,ControlDropdown:Ts,IndexButtonList:tr,ListTracks:fn,ModalDialogGenre:nm},beforeRouteEnter(e,t,n){th.load(e).then(r=>{n(s=>th.set(s,r))})},data(){return{genre:{},groupings:[{id:1,name:this.$t("page.genre.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.genre.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_grouping_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(Ih,e)}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){j.player_play_expression(this.expression,!0)}}},zF={class:"columns"},CF={class:"column"},wF=["textContent"],kF=["textContent"],xF={class:"buttons is-centered"},SF=["textContent"],EF={class:"heading has-text-centered-mobile"},$F=["textContent"],TF=c("span",null," | ",-1),AF=["textContent"];function OF(e,t,n,r,s,o){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),u=O("list-tracks"),d=O("modal-dialog-genre"),m=O("content-with-heading");return E(),P("div",null,[v(m,null,{options:N(()=>[v(i,{indices:o.tracks.indices},null,8,["indices"]),c("div",zF,[c("div",CF,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.genre.sort.title"))},null,8,wF),v(a,{value:o.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>o.selected_grouping_id=f),options:s.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.genre.name)},null,8,kF)]),"heading-right":N(()=>[c("div",xF,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>o.play&&o.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,SF)])])]),content:N(()=>[c("p",EF,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_genre&&o.open_genre(...f)),textContent:y(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,$F),TF,c("span",{textContent:y(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,AF)]),v(u,{items:o.tracks,expression:o.expression},null,8,["items","expression"]),v(d,{item:s.genre,media_kind:s.media_kind,show:s.show_details_modal,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const PF=ie(bF,[["render",OF]]),nh={load(e){return j.library_genres("music")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},IF={name:"PageGenres",components:{ContentWithHeading:Qe,IndexButtonList:tr,ListGenres:dv,TabsMusic:mr},beforeRouteEnter(e,t,n){nh.load(e).then(r=>{n(s=>nh.set(s,r))})},data(){return{genres:new Ee}}},LF={class:"fd-page-with-tabs"},NF=["textContent"],DF=["textContent"];function RF(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-genres"),u=O("content-with-heading");return E(),P("div",LF,[v(i),v(u,null,{options:N(()=>[v(a,{indices:s.genres.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,NF),c("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:s.genres.total}))},null,8,DF)]),content:N(()=>[v(l,{items:s.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const MF=ie(IF,[["render",RF]]),rh={load(e){return Promise.all([j.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),j.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})])},set(e,t){e.albums=new Ee(t[0].data.albums),e.tracks=new Ee(t[1].data.tracks)}},FF={name:"PageMusic",components:{ContentWithHeading:Qe,ListAlbums:zn,ListTracks:fn,TabsMusic:mr},beforeRouteEnter(e,t,n){rh.load(e).then(r=>{n(s=>rh.set(s,r))})},data(){return{albums:[],tracks:{items:[]},selected_track:{}}}},VF={class:"fd-page-with-tabs"},HF=["textContent"],UF={class:"level"},jF={class:"level-item"},BF=["textContent"],WF={class:"level"},qF={class:"level-item"};function GF(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-albums"),l=O("router-link"),u=O("content-with-heading"),d=O("list-tracks");return E(),P("div",VF,[v(i),v(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,HF)]),content:N(()=>[v(a,{items:s.albums},null,8,["items"])]),footer:N(()=>[c("nav",UF,[c("p",jF,[v(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:N(()=>[It(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),v(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,BF)]),content:N(()=>[v(d,{items:s.tracks},null,8,["items"])]),footer:N(()=>[c("nav",WF,[c("p",qF,[v(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:N(()=>[It(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const KF=ie(FF,[["render",GF]]),sh={load(e){const t=ht.getters.setting_recently_added_limit;return j.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t,type:"album"})},set(e,t){e.albums=new Ee(t.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},ZF={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:Qe,ListAlbums:zn,TabsMusic:mr},beforeRouteEnter(e,t,n){sh.load(e).then(r=>{n(s=>sh.set(s,r))})},data(){return{albums:new Ee}}},YF={class:"fd-page-with-tabs"},XF=["textContent"];function JF(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-albums"),l=O("content-with-heading");return E(),P("div",YF,[v(i),v(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,XF)]),content:N(()=>[v(a,{items:s.albums},null,8,["items"])]),_:1})])}const QF=ie(ZF,[["render",JF]]),oh={load(e){return j.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"})},set(e,t){e.tracks=new Ee(t.data.tracks)}},eV={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:Qe,ListTracks:fn,TabsMusic:mr},beforeRouteEnter(e,t,n){oh.load(e).then(r=>{n(s=>oh.set(s,r))})},data(){return{tracks:{}}}},tV={class:"fd-page-with-tabs"},nV=["textContent"];function rV(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-tracks"),l=O("content-with-heading");return E(),P("div",tV,[v(i),v(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,nV)]),content:N(()=>[v(a,{items:s.tracks},null,8,["items"])]),_:1})])}const sV=ie(eV,[["render",rV]]),oV={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"),j.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),j.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),j.queue_add_next(this.item.uri)}}},iV={key:0,class:"modal is-active"},aV={class:"modal-content"},lV={class:"card"},cV={class:"card-content"},uV={class:"title is-4"},dV=["textContent"],mV={class:"content is-small"},fV=["textContent"],pV=["textContent"],hV=["textContent"],_V=["textContent"],gV=["textContent"],yV=["textContent"],vV={class:"card-footer"},bV=["textContent"],zV=["textContent"],CV=["textContent"];function wV(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",iV,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",aV,[c("div",lV,[c("div",cV,[c("p",uV,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,dV)]),c("div",mV,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.owner"))},null,8,fV),c("span",{class:"title is-6",textContent:y(n.item.owner.display_name)},null,8,pV)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.tracks"))},null,8,hV),c("span",{class:"title is-6",textContent:y(n.item.tracks.total)},null,8,_V)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.path"))},null,8,gV),c("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,yV)])])]),c("footer",vV,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add"))},null,8,bV)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add-next"))},null,8,zV)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.play"))},null,8,CV)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const pv=ie(oV,[["render",wV]]),kV={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:pv},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}}},xV=["onClick"],SV=["textContent"],EV=["textContent"],$V={class:"media-right"},TV=["onClick"];function AV(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-playlist-spotify");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:"media-content is-clickable is-clipped",onClick:u=>o.open(l)},[c("h1",{class:"title is-6",textContent:y(l.name)},null,8,SV),c("h2",{class:"subtitle is-7",textContent:y(l.owner.display_name)},null,8,EV)],8,xV),c("div",$V,[c("a",{onClick:yt(u=>o.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,TV)])]))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const al=ie(kV,[["render",AV]]),ih={load(e){return j.spotify().then(({data:t})=>{const n=new er;return n.setAccessToken(t.webapi_token),Promise.all([n.getNewReleases({country:t.webapi_country,limit:3}),n.getFeaturedPlaylists({country:t.webapi_country,limit:3})])})},set(e,t){e.albums=t[0].albums.items,e.playlists=t[1].playlists.items}},OV={name:"PageMusicSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,ListPlaylistsSpotify:al,TabsMusic:mr},beforeRouteEnter(e,t,n){ih.load(e).then(r=>{n(s=>ih.set(s,r))})},data(){return{playlists:[],albums:[]}}},PV={class:"fd-page-with-tabs"},IV=["textContent"],LV={class:"level"},NV={class:"level-item"},DV=["textContent"],RV={class:"level"},MV={class:"level-item"};function FV(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-albums-spotify"),l=O("router-link"),u=O("content-with-heading"),d=O("list-playlists-spotify");return E(),P("div",PV,[v(i),v(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,IV)]),content:N(()=>[v(a,{items:s.albums},null,8,["items"])]),footer:N(()=>[c("nav",LV,[c("p",NV,[v(l,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:N(()=>[It(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),v(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,DV)]),content:N(()=>[v(d,{items:s.playlists},null,8,["items"])]),footer:N(()=>[c("nav",RV,[c("p",MV,[v(l,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:N(()=>[It(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const VV=ie(OV,[["render",FV]]),ah={load(e){return j.spotify().then(({data:t})=>{const n=new er;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.playlists=t.playlists.items}},HV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:Qe,ListPlaylistsSpotify:al,TabsMusic:mr},beforeRouteEnter(e,t,n){ah.load(e).then(r=>{n(s=>ah.set(s,r))})},data(){return{playlists:[]}}},UV={class:"fd-page-with-tabs"},jV=["textContent"];function BV(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-playlists-spotify"),l=O("content-with-heading");return E(),P("div",UV,[v(i),v(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,jV)]),content:N(()=>[v(a,{items:s.playlists},null,8,["items"])]),_:1})])}const WV=ie(HV,[["render",BV]]),lh={load(e){return j.spotify().then(({data:t})=>{const n=new er;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.albums=t.albums.items}},qV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,TabsMusic:mr},beforeRouteEnter(e,t,n){lh.load(e).then(r=>{n(s=>lh.set(s,r))})},data(){return{albums:[]}}},GV={class:"fd-page-with-tabs"},KV=["textContent"];function ZV(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-albums-spotify"),l=O("content-with-heading");return E(),P("div",GV,[v(i),v(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,KV)]),content:N(()=>[v(a,{items:s.albums},null,8,["items"])]),_:1})])}const YV=ie(qV,[["render",ZV]]),XV={name:"LyricsPane",data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.player.state==="play"},lyrics(){const e=this.$store.state.lyrics.content,t=[];if(e){const n=/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u;e.split(`
|
||
`).forEach(r=>{const{text:s,minutes:o,seconds:i,hundredths:a}=n.exec(r).groups;if(s){const l={text:s,time:o*60+Number(i)+ +`.${a||0}`};t.push(l)}}),t.forEach((r,s,o)=>{const i=(o[s+1].time-r.time||3)/r.text.length;let a=0;r.words=r.text.match(/\S+\s*/gu).map(l=>{const u=l.length*i;return a+=u,{duration:u,delay:a,text:l}})})}return t},player(){return this.$store.state.player},verse_index(){var e;if(this.lyrics.length&&this.lyrics[0].time){const t=this.player.item_progress_ms/1e3,n=this.lyrics,r=this.player.item_id!==this.lastItemId,s=this.lastIndex>=0&&this.lastIndex<n.length&&n[this.lastIndex].time>t;if((r||s)&&this.reset_scrolling(),this.lastIndex<n.length-1&&n[this.lastIndex+1].time>t||this.lastIndex===n.length-1)return this.lastIndex;if(this.lastIndex<n.length-2&&n[this.lastIndex+2].time>t)return this.lastIndex+1;let o=n.length-1,i=-1,a=0;for(;a<=o;){i=a+o>>1;const l=n[i].time,u=(e=n[i+1])==null?void 0:e.time;if(l<=t&&(u>t||!u))break;l<t?a=i+1:o=i-1}return i}return this.reset_scrolling(),-1}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})},start_scrolling(e){(e.screenX??e.screenY)&&(this.autoScrolling=!1,clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))}}},JV=["textContent"],QV={key:1};function e9(e,t,n,r,s,o){return E(),P("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>s.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>s.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>o.start_scrolling&&o.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>o.start_scrolling&&o.start_scrolling(...i))},[(E(!0),P(be,null,gt(o.lyrics,(i,a)=>(E(),P(be,{key:a},[a===o.verse_index?(E(),P("div",{key:0,class:ke({"is-highlighted":o.is_playing})},[(E(!0),P(be,null,gt(i.words,l=>(E(),P("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:ns({"animation-duration":`${l.delay}s`}),textContent:y(l.text)},null,12,JV)]))),128))],2)):(E(),P("div",QV,y(i.text),1))],64))),128))],544)}const t9=ie(XV,[["render",e9],["__scopeId","data-v-c3d13bce"]]),n9={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 er;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"),j.player_play({item_id:this.item.id})},remove(){this.$emit("close"),j.queue_remove(this.item.id)}}},r9={key:0,class:"modal is-active"},s9={class:"modal-content"},o9={class:"card"},i9={class:"card-content"},a9=["textContent"],l9=["textContent"],c9={class:"content is-small"},u9={key:0},d9=["textContent"],m9=["textContent"],f9={key:1},p9=["textContent"],h9=["textContent"],_9={key:2},g9=["textContent"],y9=["textContent"],v9={key:3},b9=["textContent"],z9=["textContent"],C9={key:4},w9=["textContent"],k9=["textContent"],x9={key:5},S9=["textContent"],E9=["textContent"],$9={key:6},T9=["textContent"],A9=["textContent"],O9=["textContent"],P9=["textContent"],I9=["textContent"],L9={class:"title is-6"},N9=["textContent"],D9={key:7},R9=["textContent"],M9={class:"title is-6"},F9=["textContent"],V9=["textContent"],H9=["textContent"],U9=["textContent"],j9={class:"card-footer"},B9=["textContent"],W9=["textContent"];function q9(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",r9,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",s9,[c("div",o9,[c("div",i9,[c("p",{class:"title is-4",textContent:y(n.item.title)},null,8,a9),c("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,l9),c("div",c9,[n.item.album?(E(),P("p",u9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album"))},null,8,d9),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:y(n.item.album)},null,8,m9)])):te("",!0),n.item.album_artist?(E(),P("p",f9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album-artist"))},null,8,p9),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,h9)])):te("",!0),n.item.composer?(E(),P("p",_9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.composer"))},null,8,g9),c("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,y9)])):te("",!0),n.item.year?(E(),P("p",v9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.year"))},null,8,b9),c("span",{class:"title is-6",textContent:y(n.item.year)},null,8,z9)])):te("",!0),n.item.genre?(E(),P("p",C9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.genre"))},null,8,w9),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:y(n.item.genre)},null,8,k9)])):te("",!0),n.item.disc_number?(E(),P("p",x9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.position"))},null,8,S9),c("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,E9)])):te("",!0),n.item.length_ms?(E(),P("p",$9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.duration"))},null,8,T9),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,A9)])):te("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.path"))},null,8,O9),c("span",{class:"title is-6",textContent:y(n.item.path)},null,8,P9)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.type"))},null,8,I9),c("span",L9,[c("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,N9)])]),n.item.samplerate?(E(),P("p",D9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.quality"))},null,8,R9),c("span",M9,[c("span",{textContent:y(n.item.type)},null,8,F9),n.item.samplerate?(E(),P("span",{key:0,textContent:y(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,V9)):te("",!0),n.item.channels?(E(),P("span",{key:1,textContent:y(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,H9)):te("",!0),n.item.bitrate?(E(),P("span",{key:2,textContent:y(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,U9)):te("",!0)])])):te("",!0)])]),c("footer",j9,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.remove&&o.remove(...a))},[v(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.remove"))},null,8,B9)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.play"))},null,8,W9)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const hv=ie(n9,[["render",q9]]),Dr=1e3,G9={name:"PageNowPlaying",components:{ControlSlider:jd,CoverArtwork:Er,LyricsPane:t9,ModalDialogQueueItem:hv},data(){return{INTERVAL:Dr,cursor:Fl,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{composer(){return this.setting_show_composer_now_playing&&(!this.setting_show_composer_for_genre||this.track.genre&&this.setting_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.track.composer:null},filepath(){return this.setting_show_filepath_now_playing?this.track.path:null},is_live(){return this.track.length_ms===0},lyrics_visible(){return this.$store.state.lyrics.pane},player(){return this.$store.state.player},setting_show_composer_for_genre(){return this.$store.getters.setting_show_composer_for_genre},setting_show_composer_now_playing(){return this.$store.getters.setting_show_composer_now_playing},setting_show_filepath_now_playing(){return this.$store.getters.setting_show_filepath_now_playing},track(){return this.$store.getters.now_playing},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Dr)},track_progress:{get(){return Math.floor(this.player.item_progress_ms/Dr)},set(e){this.player.item_progress_ms=e*Dr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Dr)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)}},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,Dr))}},created(){j.player_status().then(({data:e})=>{this.$store.commit(Yu,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Dr))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{end_dragging(){this.is_dragged=!1},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},seek(){this.is_live||j.player_seek_to_pos(this.track_progress*Dr)},start_dragging(){this.is_dragged=!0},tick(){this.is_dragged||(this.track_progress+=1)}}},K9={class:"hero is-full-height"},Z9={key:0,class:"hero-body is-flex is-align-items-center"},Y9={class:"container has-text-centered",style:{"max-width":"500px"}},X9={class:"is-flex is-justify-content-space-between"},J9=["textContent"],Q9=["textContent"],eH=["textContent"],tH=["textContent"],nH=["textContent"],rH=["textContent"],sH=["textContent"],oH={key:1,class:"hero-body is-flex is-align-items-center"},iH={class:"container has-text-centered"},aH=["textContent"],lH=["textContent"];function cH(e,t,n,r,s,o){const i=O("cover-artwork"),a=O("lyrics-pane"),l=O("control-slider"),u=O("modal-dialog-queue-item");return E(),P("div",K9,[o.track.id>0?(E(),P("div",Z9,[c("div",Y9,[v(i,{url:o.track.artwork_url,artist:o.track.artist,album:o.track.album,class:ke(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":o.lyrics_visible}]),onClick:t[0]||(t[0]=d=>o.open_dialog(o.track))},null,8,["url","artist","album","class"]),o.lyrics_visible?(E(),we(a,{key:0})):te("",!0),v(l,{value:o.track_progress,"onUpdate:value":t[1]||(t[1]=d=>o.track_progress=d),class:"mt-5",disabled:o.is_live,max:o.track_progress_max,cursor:s.cursor,onChange:o.seek,onMousedown:o.start_dragging,onMouseup:o.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),c("div",X9,[c("p",{class:"subtitle is-7",textContent:y(o.track_elapsed_time)},null,8,J9),c("p",{class:"subtitle is-7",textContent:y(o.track_total_time)},null,8,Q9)]),c("p",{class:"title is-5",textContent:y(o.track.title)},null,8,eH),c("p",{class:"title is-6",textContent:y(o.track.artist)},null,8,tH),o.composer?(E(),P("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:y(o.composer)},null,8,nH)):te("",!0),o.track.album?(E(),P("p",{key:2,class:"subtitle is-6",textContent:y(o.track.album)},null,8,rH)):te("",!0),o.filepath?(E(),P("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:y(o.filepath)},null,8,sH)):te("",!0)])])):(E(),P("div",oH,[c("div",iH,[c("p",{class:"title is-5",textContent:y(e.$t("page.now-playing.title"))},null,8,aH),c("p",{class:"subtitle",textContent:y(e.$t("page.now-playing.info"))},null,8,lH)])])),v(u,{show:s.show_details_modal,item:s.selected_item,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","item"])])}const uH=ie(G9,[["render",cH]]),fa={load(e){return Promise.all([j.library_playlist(e.params.id),j.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new Ee(t[1].data)}},dH={name:"PagePlaylistFolder",components:{ContentWithHeading:Qe,ListPlaylists:il},beforeRouteEnter(e,t,n){fa.load(e).then(r=>{n(s=>fa.set(s,r))})},beforeRouteUpdate(e,t,n){fa.load(e).then(r=>{fa.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]})},radio_playlists(){return this.$store.state.config.radio_playlists}}},mH=["textContent"],fH=["textContent"];function pH(e,t,n,r,s,o){const i=O("list-playlists"),a=O("content-with-heading");return E(),P("div",null,[v(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.playlist.id===0?e.$t("page.playlists.title"):s.playlist.name)},null,8,mH),c("p",{class:"heading",textContent:y(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,fH)]),content:N(()=>[v(i,{items:o.playlists},null,8,["items"])]),_:1})])}const hH=ie(dH,[["render",pH]]),ch={load(e){return Promise.all([j.library_playlist(e.params.id),j.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new Ee(t[1].data)}},_H={name:"PagePlaylistTracks",components:{ContentWithHeading:Qe,ListTracks:fn,ModalDialogPlaylist:fv},beforeRouteEnter(e,t,n){ch.load(e).then(r=>{n(s=>ch.set(s,r))})},data(){return{playlist:{},show_details_modal:!1,tracks:new Ee}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join():this.playlist.uri}},methods:{play(){j.player_play_uri(this.uris,!0)}}},gH=["textContent"],yH={class:"buttons is-centered"},vH=["textContent"],bH=["textContent"];function zH(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-tracks"),l=O("modal-dialog-playlist"),u=O("content-with-heading");return E(),P("div",null,[v(u,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(s.playlist.name)},null,8,gH)]),"heading-right":N(()=>[c("div",yH,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.playlist.shuffle"))},null,8,vH)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.playlist.track-count",{count:s.tracks.count}))},null,8,bH),v(a,{items:s.tracks,uris:o.uris},null,8,["items","uris"]),v(l,{item:s.playlist,show:s.show_details_modal,uris:o.uris,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const CH=ie(_H,[["render",zH]]),Hu=50,uh={load(e){const t=new er;return t.setAccessToken(ht.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:Hu,market:ht.state.spotify.webapi_country,offset:0})])},set(e,t){e.playlist=t.shift(),e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t.shift())}},wH={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:Qe,ListTracksSpotify:sl,ModalDialogPlaylistSpotify:pv,VueEternalLoading:em},beforeRouteEnter(e,t,n){uh.load(e).then(r=>{n(s=>uh.set(s,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 er;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Hu,market:ht.state.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,Hu)})},play(){this.show_details_modal=!1,j.player_play_uri(this.playlist.uri,!0)}}},kH=["textContent"],xH={class:"buttons is-centered"},SH=["textContent"],EH=["textContent"],$H={class:"columns is-centered"},TH={class:"column has-text-centered"},AH=c("br",null,null,-1);function OH(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-tracks-spotify"),l=O("VueEternalLoading"),u=O("modal-dialog-playlist-spotify"),d=O("content-with-heading");return E(),P("div",null,[v(d,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(s.playlist.name)},null,8,kH)]),"heading-right":N(()=>[c("div",xH,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_playlist_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.spotify.playlist.shuffle"))},null,8,SH)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.playlist.count",{count:s.playlist.tracks.total}))},null,8,EH),v(a,{items:s.tracks,context_uri:s.playlist.uri},null,8,["items","context_uri"]),s.offset<s.total?(E(),we(l,{key:0,load:o.load_next},{loading:N(()=>[c("div",$H,[c("div",TH,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>[AH]),_:1},8,["load"])):te("",!0),v(u,{item:s.playlist,show:s.show_playlist_details_modal,onClose:t[2]||(t[2]=m=>s.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const PH=ie(wH,[["render",OH]]),dh={load(e){return Promise.all([j.library_album(e.params.id),j.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data.tracks)}},IH={name:"PagePodcast",components:{ContentWithHero:Gl,CoverArtwork:Er,ListTracks:fn,ModalDialog:Ud,ModalDialogAlbum:Kl},beforeRouteEnter(e,t,n){dh.load(e).then(r=>{n(s=>dh.set(s,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(){j.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{[this.rss_playlist_to_remove]=e.items.filter(t=>t.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},play(){j.player_play_uri(this.album.uri,!1)},reload_tracks(){j.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new Ee(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,j.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},LH=["textContent"],NH=c("h2",{class:"subtitle is-6"},[c("br")],-1),DH={class:"buttons fd-is-centered-mobile mt-5"},RH=["textContent"],MH=["textContent"],FH=["textContent"],VH={class:"is-size-7"},HH=["textContent"],UH=["textContent"];function jH(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),u=O("modal-dialog-album"),d=O("modal-dialog"),m=O("content-with-hero");return E(),P("div",null,[v(m,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,LH),NH,c("div",DH,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>o.play&&o.play(...f))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(e.$t("page.podcast.play"))},null,8,RH)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,MH),v(l,{items:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["items","onPlayCountChanged"]),v(u,{item:s.album,show:s.show_details_modal,media_kind:"podcast",onClose:t[3]||(t[3]=f=>s.show_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["item","show","onPlayCountChanged","onRemovePodcast"]),v(d,{show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),close_action:e.$t("page.podcast.cancel"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=f=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":N(()=>[c("p",{textContent:y(e.$t("page.podcast.remove-info-1"))},null,8,FH),c("p",VH,[It(" ("),c("span",{textContent:y(e.$t("page.podcast.remove-info-2"))},null,8,HH),c("b",{textContent:y(s.rss_playlist_to_remove.name)},null,8,UH),It(") ")])]),_:1},8,["show","title","close_action","delete_action","onDelete"])]),_:1})])}const BH=ie(IH,[["render",jH]]),WH={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,j.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}}},qH={key:0,class:"modal is-active"},GH={class:"modal-content"},KH={class:"card-content"},ZH=["textContent"],YH={class:"field"},XH={class:"control has-icons-left"},JH=["placeholder","disabled"],QH=["textContent"],eU={key:0,class:"card-footer"},tU={class:"card-footer-item has-text-dark"},nU=["textContent"],rU={key:1,class:"card-footer is-clipped"},sU=["textContent"],oU=["textContent"];function iU(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",qH,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",GH,[c("form",{class:"card",onSubmit:t[5]||(t[5]=yt((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[c("div",KH,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.add.rss.title"))},null,8,ZH),c("div",YH,[c("p",XH,[pt(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:s.loading,onInput:t[2]||(t[2]=(...a)=>o.check_url&&o.check_url(...a))},null,40,JH),[[mn,s.url]]),v(i,{class:"icon is-left",name:"rss",size:"16"})]),c("p",{class:"help",textContent:y(e.$t("dialog.add.rss.help"))},null,8,QH)])]),s.loading?(E(),P("footer",eU,[c("a",tU,[v(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.processing"))},null,8,nU)])])):(E(),P("footer",rU,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.cancel"))},null,8,sU)]),c("a",{class:ke([{"is-disabled":s.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.add"))},null,8,oU)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const aU=ie(WH,[["render",iU]]),mh={load(e){return Promise.all([j.library_albums("podcast"),j.library_podcasts_new_episodes()])},set(e,t){e.albums=new Ee(t[0].data),e.tracks=new Ee(t[1].data.tracks)}},lU={name:"PagePodcasts",components:{ContentWithHeading:Qe,ListAlbums:zn,ListTracks:fn,ModalDialogAddRss:aU},beforeRouteEnter(e,t,n){mh.load(e).then(r=>{n(s=>mh.set(s,r))})},data(){return{albums:[],tracks:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played(){this.tracks.items.forEach(e=>{j.library_track_update(e.id,{play_count:"increment"})}),this.tracks.items={}},open_add_podcast_dialog(){this.show_url_modal=!0},reload_new_episodes(){j.library_podcasts_new_episodes().then(({data:e})=>{this.tracks=new Ee(e.tracks)})},reload_podcasts(){j.library_albums("podcast").then(({data:e})=>{this.albums=new Ee(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(Zu,"rss"),this.$store.commit(Si,!0)}}},cU=["textContent"],uU={class:"buttons is-centered"},dU=["textContent"],mU=["textContent"],fU=["textContent"],pU={class:"buttons is-centered"},hU=["textContent"],_U=["textContent"];function gU(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-tracks"),l=O("content-with-heading"),u=O("list-albums"),d=O("modal-dialog-add-rss");return E(),P("div",null,[s.tracks.items.length>0?(E(),we(l,{key:0},{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.new-episodes"))},null,8,cU)]),"heading-right":N(()=>[c("div",uU,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=(...m)=>o.mark_all_played&&o.mark_all_played(...m))},[v(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:y(e.$t("page.podcasts.mark-all-played"))},null,8,dU)])])]),content:N(()=>[v(a,{items:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):te("",!0),v(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.title"))},null,8,mU),c("p",{class:"heading",textContent:y(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,fU)]),"heading-right":N(()=>[c("div",pU,[o.rss.tracks>0?(E(),P("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...m)=>o.update_rss&&o.update_rss(...m))},[v(i,{class:"icon",name:"refresh",size:"16"}),c("span",{textContent:y(e.$t("page.podcasts.update"))},null,8,hU)])):te("",!0),c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...m)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...m))},[v(i,{class:"icon",name:"rss",size:"16"}),c("span",{textContent:y(e.$t("page.podcasts.add"))},null,8,_U)])])]),content:N(()=>[v(u,{items:s.albums,onPlayCountChanged:t[3]||(t[3]=m=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=m=>o.reload_podcasts())},null,8,["items"]),v(d,{show:s.show_url_modal,onClose:t[5]||(t[5]=m=>s.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=m=>o.reload_podcasts())},null,8,["show"])]),_:1})])}const yU=ie(lU,[["render",gU]]),vU={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(){j.player_play({item_id:this.item.id})}}},bU={key:0,class:"media is-align-items-center"},zU={key:0,class:"media-left"},CU=["textContent"],wU=["textContent"],kU=["textContent"],xU={class:"media-right"};function SU(e,t,n,r,s,o){const i=O("mdicon");return o.is_next||!n.show_only_next_items?(E(),P("div",bU,[n.edit_mode?(E(),P("div",zU,[v(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):te("",!0),c("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[c("h1",{class:ke(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}]),textContent:y(n.item.title)},null,10,CU),c("h2",{class:ke(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:y(n.item.artist)},null,10,wU),c("h2",{class:ke(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:y(n.item.album)},null,10,kU)]),c("div",xU,[zt(e.$slots,"actions")])])):te("",!0)}const EU=ie(vU,[["render",SU]]),$U={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,j.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,j.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},TU={key:0,class:"modal is-active"},AU={class:"modal-content"},OU={class:"card-content"},PU=["textContent"],IU={class:"field"},LU={class:"control has-icons-left"},NU=["placeholder","disabled"],DU={key:0,class:"card-footer"},RU={class:"card-footer-item has-text-dark"},MU=["textContent"],FU={key:1,class:"card-footer is-clipped"},VU=["textContent"],HU=["textContent"],UU=["textContent"];function jU(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",TU,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",AU,[c("form",{class:"card",onSubmit:t[6]||(t[6]=yt((...a)=>o.play&&o.play(...a),["prevent"]))},[c("div",OU,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.add.stream.title"))},null,8,PU),c("div",IU,[c("p",LU,[pt(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading,onInput:t[2]||(t[2]=(...a)=>o.check_url&&o.check_url(...a))},null,40,NU),[[mn,s.url]]),v(i,{class:"icon is-left",name:"web",size:"16"})])])]),s.loading?(E(),P("footer",DU,[c("a",RU,[v(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.loading"))},null,8,MU)])])):(E(),P("footer",FU,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.cancel"))},null,8,VU)]),c("a",{class:ke([{"is-disabled":s.disabled},"card-footer-item has-text-dark"]),onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.add"))},null,8,HU)],2),c("a",{class:ke([{"is-disabled":s.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.play"))},null,8,UU)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const BU=ie($U,[["render",jU]]),WU={name:"ModalDialogPlaylistSave",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,playlist_name:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{check_name(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},save(){this.loading=!0,j.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1})}}},qU={key:0,class:"modal is-active"},GU={class:"modal-content"},KU={class:"card-content"},ZU=["textContent"],YU={class:"field"},XU={class:"control has-icons-left"},JU=["placeholder","disabled"],QU={key:0,class:"card-footer"},ej={class:"card-footer-item has-text-dark"},tj=["textContent"],nj={key:1,class:"card-footer is-clipped"},rj=["textContent"],sj=["textContent"];function oj(e,t,n,r,s,o){const i=O("mdicon");return E(),we(Lt,{name:"fade"},{default:N(()=>[n.show?(E(),P("div",qU,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",GU,[c("form",{class:"card",onSubmit:t[5]||(t[5]=yt((...a)=>o.save&&o.save(...a),["prevent"]))},[c("div",KU,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.playlist.save.title"))},null,8,ZU),c("div",YU,[c("p",XU,[pt(c("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.playlist_name=a),class:"input is-shadowless",type:"text",pattern:".+",required:"",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:s.loading,onInput:t[2]||(t[2]=(...a)=>o.check_name&&o.check_name(...a))},null,40,JU),[[mn,s.playlist_name]]),v(i,{class:"icon is-left",name:"file-music",size:"16"})])])]),s.loading?(E(),P("footer",QU,[c("a",ej,[v(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.saving"))},null,8,tj)])])):(E(),P("footer",nj,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.cancel"))},null,8,rj)]),c("a",{class:ke([{"is-disabled":s.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>o.save&&o.save(...a))},[v(i,{class:"icon",name:"content-save",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.save"))},null,8,sj)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):te("",!0)]),_:1})}const ij=ie(WU,[["render",oj]]);var _v={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function dr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fh(Object(n),!0).forEach(function(r){aj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $a(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$a=function(t){return typeof t}:$a=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$a(e)}function aj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nn(){return Nn=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},Nn.apply(this,arguments)}function lj(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function cj(e,t){if(e==null)return{};var n=lj(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uj(e){return dj(e)||mj(e)||fj(e)||pj()}function dj(e){if(Array.isArray(e))return Uu(e)}function mj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fj(e,t){if(e){if(typeof e=="string")return Uu(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 Uu(e,t)}}function Uu(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 pj(){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 hj="1.14.0";function Cr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var $r=Cr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Vi=Cr(/Edge/i),ph=Cr(/firefox/i),ri=Cr(/safari/i)&&!Cr(/chrome/i)&&!Cr(/android/i),gv=Cr(/iP(ad|od|hone)/i),_j=Cr(/chrome/i)&&Cr(/android/i),yv={capture:!1,passive:!1};function Ze(e,t,n){e.addEventListener(t,n,!$r&&yv)}function qe(e,t,n){e.removeEventListener(t,n,!$r&&yv)}function ll(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 gj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function jn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&ll(e,t):ll(e,t))||r&&e===n)return e;if(e===n)break}while(e=gj(e))}return null}var hh=/\s+/g;function wt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(hh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(hh," ")}}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 zs(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 s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function vv(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function lr(){var e=document.scrollingElement;return e||document.documentElement}function bt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,u,d,m;if(e!==window&&e.parentNode&&e!==lr()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,u=o.right,d=o.height,m=o.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!$r))do if(s&&s.getBoundingClientRect&&(ze(s,"transform")!=="none"||n&&ze(s,"position")!=="static")){var f=s.getBoundingClientRect();i-=f.top+parseInt(ze(s,"border-top-width")),a-=f.left+parseInt(ze(s,"border-left-width")),l=i+o.height,u=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=zs(s||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 _h(e,t,n){for(var r=Gr(e,!0),s=bt(e)[t];r;){var o=bt(r)[n],i=void 0;if(i=s>=o,!i)return r;if(r===lr())break;r=Gr(r,!1)}return!1}function ho(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Oe.ghost&&(r||i[o]!==Oe.dragged)&&jn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function sm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||ze(n,"display")==="none"||t&&!ll(n,t));)n=n.previousElementSibling;return n||null}function $t(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||ll(e,t))&&n++;return n}function gh(e){var t=0,n=0,r=lr();if(e)do{var s=zs(e),o=s.a,i=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function yj(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 Gr(e,t){if(!e||!e.getBoundingClientRect)return lr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=ze(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return lr();if(r||t)return n;r=!0}}while(n=n.parentNode);return lr()}function vj(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Tc(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 si;function bv(e,t){return function(){if(!si){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),si=setTimeout(function(){si=void 0},t)}}}function bj(){clearTimeout(si),si=void 0}function zv(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function om(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 yh(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 Ac(e){ze(e,"position",""),ze(e,"top",""),ze(e,"left",""),ze(e,"width",""),ze(e,"height","")}var Gt="Sortable"+new Date().getTime();function zj(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(ze(s,"display")==="none"||s===Oe.ghost)){e.push({target:s,rect:bt(s)});var o=dr({},e[e.length-1].rect);if(s.thisAnimationDuration){var i=zs(s,!0);i&&(o.top-=i.f,o.left-=i.e)}s.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(yj(e,{target:r}),1)},animateAll:function(r){var s=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!1,i=0;e.forEach(function(a){var l=0,u=a.target,d=u.fromRect,m=bt(u),f=u.prevFromRect,p=u.prevToRect,h=a.rect,_=zs(u,!0);_&&(m.top-=_.f,m.left-=_.e),u.toRect=m,u.thisAnimationDuration&&Tc(f,m)&&!Tc(d,m)&&(h.top-m.top)/(h.left-m.left)===(d.top-m.top)/(d.left-m.left)&&(l=wj(h,f,p,s.options)),Tc(m,d)||(u.prevFromRect=d,u.prevToRect=m,l||(l=s.options.animation),s.animate(u,h,m,l)),l&&(o=!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),o?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,s,o,i){if(i){ze(r,"transition",""),ze(r,"transform","");var a=zs(this.el),l=a&&a.a,u=a&&a.d,d=(s.left-o.left)/(l||1),m=(s.top-o.top)/(u||1);r.animatingX=!!d,r.animatingY=!!m,ze(r,"transform","translate3d("+d+"px,"+m+"px,0)"),this.forRepaintDummy=Cj(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 Cj(e){return e.offsetWidth}function wj(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 Ds=[],Oc={initializeByDefault:!0},Hi={mount:function(t){for(var n in Oc)Oc.hasOwnProperty(n)&&!(n in t)&&(t[n]=Oc[n]);Ds.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Ds.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Ds.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][o]&&n[i.pluginName][o](dr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](dr({sortable:n},r)))})},initializePlugins:function(t,n,r,s){Ds.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,Nn(r,u.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var i=this.modifyOption(t,o,t.options[o]);typeof i<"u"&&(t.options[o]=i)}},getEventProperties:function(t,n){var r={};return Ds.forEach(function(s){typeof s.eventProperties=="function"&&Nn(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return Ds.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function jo(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=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[Gt],!!t){var _,z=t.options,k="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!$r&&!Vi?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=s||n,_.clone=o,_.oldIndex=l,_.newIndex=u,_.oldDraggableIndex=d,_.newDraggableIndex=m,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var w=dr(dr({},h),Hi.getEventProperties(r,t));for(var g in w)_[g]=w[g];n&&n.dispatchEvent(_),z[k]&&z[k].call(t,_)}}var kj=["evt"],nn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=cj(r,kj);Hi.pluginEvent.bind(Oe)(t,n,dr({dragEl:pe,parentEl:xt,ghostEl:je,rootEl:vt,nextEl:ms,lastDownEl:Ta,cloneEl:St,cloneHidden:qr,dragStarted:Bo,putSortable:jt,activeSortable:Oe.active,originalEvent:s,oldIndex:qs,oldDraggableIndex:oi,newIndex:_n,newDraggableIndex:jr,hideGhostForTarget:xv,unhideGhostForTarget:Sv,cloneNowHidden:function(){qr=!0},cloneNowShown:function(){qr=!1},dispatchSortableEvent:function(a){Yt({sortable:n,name:a,originalEvent:s})}},o))};function Yt(e){jo(dr({putSortable:jt,cloneEl:St,targetEl:pe,rootEl:vt,oldIndex:qs,oldDraggableIndex:oi,newIndex:_n,newDraggableIndex:jr},e))}var pe,xt,je,vt,ms,Ta,St,qr,qs,_n,oi,jr,pa,jt,js=!1,cl=!1,ul=[],us,Hn,Pc,Ic,vh,bh,Bo,Rs,ii,ai=!1,ha=!1,Aa,Bt,Lc=[],ju=!1,dl=[],Yl=typeof document<"u",_a=gv,zh=Vi||$r?"cssFloat":"float",xj=Yl&&!_j&&!gv&&"draggable"in document.createElement("div"),Cv=function(){if(Yl){if($r)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),wv=function(t,n){var r=ze(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=ho(t,0,n),i=ho(t,1,n),a=o&&ze(o),l=i&&ze(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+bt(o).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+bt(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=s&&r[zh]==="none"||i&&r[zh]==="none"&&u+d>s)?"vertical":"horizontal"},Sj=function(t,n,r){var s=r?t.left:t.top,o=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 s===a||o===l||s+i/2===a+u/2},Ej=function(t,n){var r;return ul.some(function(s){var o=s[Gt].options.emptyInsertThreshold;if(!(!o||sm(s))){var i=bt(s),a=t>=i.left-o&&t<=i.right+o,l=n>=i.top-o&&n<=i.bottom+o;if(a&&l)return r=s}}),r},kv=function(t){function n(o,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(o==null&&(i||m))return!0;if(o==null||o===!1)return!1;if(i&&o==="clone")return o;if(typeof o=="function")return n(o(a,l,u,d),i)(a,l,u,d);var f=(i?a:l).options.group.name;return o===!0||typeof o=="string"&&o===f||o.join&&o.indexOf(f)>-1}}var r={},s=t.group;(!s||$a(s)!="object")&&(s={name:s}),r.name=s.name,r.checkPull=n(s.pull,!0),r.checkPut=n(s.put),r.revertClone=s.revertClone,t.group=r},xv=function(){!Cv&&je&&ze(je,"display","none")},Sv=function(){!Cv&&je&&ze(je,"display","")};Yl&&document.addEventListener("click",function(e){if(cl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),cl=!1,!1},!0);var ds=function(t){if(pe){t=t.touches?t.touches[0]:t;var n=Ej(t.clientX,t.clientY);if(n){var r={};for(var s in t)t.hasOwnProperty(s)&&(r[s]=t[s]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Gt]._onDragOver(r)}}},$j=function(t){pe&&pe.parentNode[Gt]._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=Nn({},t),e[Gt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return wv(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&&!ri,emptyInsertThreshold:5};Hi.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);kv(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:xj,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ze(e,"pointerdown",this._onTapStart):(Ze(e,"mousedown",this._onTapStart),Ze(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ze(e,"dragover",this),Ze(e,"dragenter",this)),ul.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Nn(this,zj())}Oe.prototype={constructor:Oe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Rs=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,pe):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,s=this.options,o=s.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=s.filter;if(Dj(r),!pe&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&ri&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=jn(l,s.draggable,r,!1),!(l&&l.animated)&&Ta!==l)){if(qs=$t(l),oi=$t(l,s.draggable),typeof d=="function"){if(d.call(this,t,l,this)){Yt({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),nn("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(m){if(m=jn(u,m.trim(),r,!1),m)return Yt({sortable:n,rootEl:m,name:"filter",targetEl:l,fromEl:r,toEl:r}),nn("filter",n,{evt:t}),!0}),d)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!jn(u,s.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var s=this,o=s.el,i=s.options,a=o.ownerDocument,l;if(r&&!pe&&r.parentNode===o){var u=bt(r);if(vt=o,pe=r,xt=pe.parentNode,ms=pe.nextSibling,Ta=r,pa=i.group,Oe.dragged=pe,us={target:pe,clientX:(n||t).clientX,clientY:(n||t).clientY},vh=us.clientX-u.left,bh=us.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,pe.style["will-change"]="all",l=function(){if(nn("delayEnded",s,{evt:t}),Oe.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!ph&&s.nativeDraggable&&(pe.draggable=!0),s._triggerDragStart(t,n),Yt({sortable:s,name:"choose",originalEvent:t}),wt(pe,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){vv(pe,d.trim(),Nc)}),Ze(a,"dragover",ds),Ze(a,"mousemove",ds),Ze(a,"touchmove",ds),Ze(a,"mouseup",s._onDrop),Ze(a,"touchend",s._onDrop),Ze(a,"touchcancel",s._onDrop),ph&&this.nativeDraggable&&(this.options.touchStartThreshold=4,pe.draggable=!0),nn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Vi||$r))){if(Oe.eventCanceled){this._onDrop();return}Ze(a,"mouseup",s._disableDelayedDrag),Ze(a,"touchend",s._disableDelayedDrag),Ze(a,"touchcancel",s._disableDelayedDrag),Ze(a,"mousemove",s._delayedDragTouchMoveHandler),Ze(a,"touchmove",s._delayedDragTouchMoveHandler),i.supportPointer&&Ze(a,"pointermove",s._delayedDragTouchMoveHandler),s._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(){pe&&Nc(pe),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;qe(t,"mouseup",this._disableDelayedDrag),qe(t,"touchend",this._disableDelayedDrag),qe(t,"touchcancel",this._disableDelayedDrag),qe(t,"mousemove",this._delayedDragTouchMoveHandler),qe(t,"touchmove",this._delayedDragTouchMoveHandler),qe(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Ze(document,"pointermove",this._onTouchMove):n?Ze(document,"touchmove",this._onTouchMove):Ze(document,"mousemove",this._onTouchMove):(Ze(pe,"dragend",this),Ze(vt,"dragstart",this._onDragStart));try{document.selection?Oa(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(js=!1,vt&&pe){nn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ze(document,"dragover",$j);var r=this.options;!t&&wt(pe,r.dragClass,!1),wt(pe,r.ghostClass,!0),Oe.active=this,t&&this._appendGhost(),Yt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Hn){this._lastX=Hn.clientX,this._lastY=Hn.clientY,xv();for(var t=document.elementFromPoint(Hn.clientX,Hn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Hn.clientX,Hn.clientY),t!==n);)n=t;if(pe.parentNode[Gt]._isOutsideThisEl(t),n)do{if(n[Gt]){var r=void 0;if(r=n[Gt]._onDragOver({clientX:Hn.clientX,clientY:Hn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Sv()}},_onTouchMove:function(t){if(us){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=je&&zs(je,!0),a=je&&i&&i.a,l=je&&i&&i.d,u=_a&&Bt&&gh(Bt),d=(o.clientX-us.clientX+s.x)/(a||1)+(u?u[0]-Lc[0]:0)/(a||1),m=(o.clientY-us.clientY+s.y)/(l||1)+(u?u[1]-Lc[1]:0)/(l||1);if(!Oe.active&&!js){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(je){i?(i.e+=d-(Pc||0),i.f+=m-(Ic||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(je,"webkitTransform",f),ze(je,"mozTransform",f),ze(je,"msTransform",f),ze(je,"transform",f),Pc=d,Ic=m,Hn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!je){var t=this.options.fallbackOnBody?document.body:vt,n=bt(pe,!0,_a,!0,t),r=this.options;if(_a){for(Bt=t;ze(Bt,"position")==="static"&&ze(Bt,"transform")==="none"&&Bt!==document;)Bt=Bt.parentNode;Bt!==document.body&&Bt!==document.documentElement?(Bt===document&&(Bt=lr()),n.top+=Bt.scrollTop,n.left+=Bt.scrollLeft):Bt=lr(),Lc=gh(Bt)}je=pe.cloneNode(!0),wt(je,r.ghostClass,!1),wt(je,r.fallbackClass,!0),wt(je,r.dragClass,!0),ze(je,"transition",""),ze(je,"transform",""),ze(je,"box-sizing","border-box"),ze(je,"margin",0),ze(je,"top",n.top),ze(je,"left",n.left),ze(je,"width",n.width),ze(je,"height",n.height),ze(je,"opacity","0.8"),ze(je,"position",_a?"absolute":"fixed"),ze(je,"zIndex","100000"),ze(je,"pointerEvents","none"),Oe.ghost=je,t.appendChild(je),ze(je,"transform-origin",vh/parseInt(je.style.width)*100+"% "+bh/parseInt(je.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(nn("dragStart",this,{evt:t}),Oe.eventCanceled){this._onDrop();return}nn("setupClone",this),Oe.eventCanceled||(St=om(pe),St.draggable=!1,St.style["will-change"]="",this._hideClone(),wt(St,this.options.chosenClass,!1),Oe.clone=St),r.cloneId=Oa(function(){nn("clone",r),!Oe.eventCanceled&&(r.options.removeCloneOnHide||vt.insertBefore(St,pe),r._hideClone(),Yt({sortable:r,name:"clone"}))}),!n&&wt(pe,o.dragClass,!0),n?(cl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(qe(document,"mouseup",r._onDrop),qe(document,"touchend",r._onDrop),qe(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,pe)),Ze(document,"drop",r),ze(pe,"transform","translateZ(0)")),js=!0,r._dragStartId=Oa(r._dragStarted.bind(r,n,t)),Ze(document,"selectstart",r),Bo=!0,ri&&ze(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,s,o,i,a=this.options,l=a.group,u=Oe.active,d=pa===l,m=a.sort,f=jt||u,p,h=this,_=!1;if(ju)return;function z(ae,We){nn(ae,h,dr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:s,targetRect:o,canSort:m,fromSortable:f,target:r,completed:w,onMove:function(Ve,He){return ga(vt,n,pe,s,Ve,bt(Ve),t,He)},changed:g},We))}function k(){z("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function w(ae){return z("dragOverCompleted",{insertion:ae}),ae&&(d?u._hideClone():u._showClone(h),h!==f&&(wt(pe,jt?jt.options.ghostClass:u.options.ghostClass,!1),wt(pe,a.ghostClass,!0)),jt!==h&&h!==Oe.active?jt=h:h===Oe.active&&jt&&(jt=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){z("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===pe&&!pe.animated||r===n&&!r.animated)&&(Rs=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(pe.parentNode[Gt]._isOutsideThisEl(t.target),!ae&&ds(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function g(){_n=$t(pe),jr=$t(pe,a.draggable),Yt({sortable:h,name:"change",toEl:n,newIndex:_n,newDraggableIndex:jr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=jn(r,a.draggable,n,!0),z("dragOver"),Oe.eventCanceled)return _;if(pe.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(cl=!1,u&&!a.disabled&&(d?m||(i=xt!==vt):jt===this||(this.lastPutMode=pa.checkPull(this,u,pe,t))&&l.checkPut(this,u,pe,t))){if(p=this._getDirection(t,r)==="vertical",s=bt(pe),z("dragOverValid"),Oe.eventCanceled)return _;if(i)return xt=vt,k(),this._hideClone(),z("revert"),Oe.eventCanceled||(ms?vt.insertBefore(pe,ms):vt.appendChild(pe)),w(!0);var b=sm(n,a.draggable);if(!b||Pj(t,p,this)&&!b.animated){if(b===pe)return w(!1);if(b&&n===t.target&&(r=b),r&&(o=bt(r)),ga(vt,n,pe,s,r,o,t,!!r)!==!1)return k(),n.appendChild(pe),xt=n,g(),w(!0)}else if(b&&Oj(t,p,this)){var x=ho(n,0,a,!0);if(x===pe)return w(!1);if(r=x,o=bt(r),ga(vt,n,pe,s,r,o,t,!1)!==!1)return k(),n.insertBefore(pe,x),xt=n,g(),w(!0)}else if(r.parentNode===n){o=bt(r);var C=0,L,M=pe.parentNode!==n,A=!Sj(pe.animated&&pe.toRect||s,r.animated&&r.toRect||o,p),F=p?"top":"left",Z=_h(r,"top","top")||_h(pe,"top","top"),U=Z?Z.scrollTop:void 0;Rs!==r&&(L=o[F],ai=!1,ha=!A&&a.invertSwap||M),C=Ij(t,r,o,p,A?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,ha,Rs===r);var W;if(C!==0){var ne=$t(pe);do ne-=C,W=xt.children[ne];while(W&&(ze(W,"display")==="none"||W===je))}if(C===0||W===r)return w(!1);Rs=r,ii=C;var he=r.nextElementSibling,Y=!1;Y=C===1;var oe=ga(vt,n,pe,s,r,o,t,Y);if(oe!==!1)return(oe===1||oe===-1)&&(Y=oe===1),ju=!0,setTimeout(Aj,30),k(),Y&&!he?n.appendChild(pe):r.parentNode.insertBefore(pe,Y?he:r),Z&&zv(Z,0,U-Z.scrollTop),xt=pe.parentNode,L!==void 0&&!ha&&(Aa=Math.abs(L-bt(r)[F])),g(),w(!0)}if(n.contains(pe))return w(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){qe(document,"mousemove",this._onTouchMove),qe(document,"touchmove",this._onTouchMove),qe(document,"pointermove",this._onTouchMove),qe(document,"dragover",ds),qe(document,"mousemove",ds),qe(document,"touchmove",ds)},_offUpEvents:function(){var t=this.el.ownerDocument;qe(t,"mouseup",this._onDrop),qe(t,"touchend",this._onDrop),qe(t,"pointerup",this._onDrop),qe(t,"touchcancel",this._onDrop),qe(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(_n=$t(pe),jr=$t(pe,r.draggable),nn("drop",this,{evt:t}),xt=pe&&pe.parentNode,_n=$t(pe),jr=$t(pe,r.draggable),Oe.eventCanceled){this._nulling();return}js=!1,ha=!1,ai=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Bu(this.cloneId),Bu(this._dragStartId),this.nativeDraggable&&(qe(document,"drop",this),qe(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ri&&ze(document.body,"user-select",""),ze(pe,"transform",""),t&&(Bo&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(vt===xt||jt&&jt.lastPutMode!=="clone")&&St&&St.parentNode&&St.parentNode.removeChild(St),pe&&(this.nativeDraggable&&qe(pe,"dragend",this),Nc(pe),pe.style["will-change"]="",Bo&&!js&&wt(pe,jt?jt.options.ghostClass:this.options.ghostClass,!1),wt(pe,this.options.chosenClass,!1),Yt({sortable:this,name:"unchoose",toEl:xt,newIndex:null,newDraggableIndex:null,originalEvent:t}),vt!==xt?(_n>=0&&(Yt({rootEl:xt,name:"add",toEl:xt,fromEl:vt,originalEvent:t}),Yt({sortable:this,name:"remove",toEl:xt,originalEvent:t}),Yt({rootEl:xt,name:"sort",toEl:xt,fromEl:vt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:xt,originalEvent:t})),jt&&jt.save()):_n!==qs&&_n>=0&&(Yt({sortable:this,name:"update",toEl:xt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:xt,originalEvent:t})),Oe.active&&((_n==null||_n===-1)&&(_n=qs,jr=oi),Yt({sortable:this,name:"end",toEl:xt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){nn("nulling",this),vt=pe=xt=je=ms=St=Ta=qr=us=Hn=Bo=_n=jr=qs=oi=Rs=ii=jt=pa=Oe.dragged=Oe.ghost=Oe.clone=Oe.active=null,dl.forEach(function(t){t.checked=!0}),dl.length=Pc=Ic=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":pe&&(this._onDragOver(t),Tj(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,s=0,o=r.length,i=this.options;s<o;s++)n=r[s],jn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||Nj(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,i){var a=s.children[i];jn(a,this.options.draggable,s,!1)&&(r[o]=a)},this),n&&this.captureAnimationState(),t.forEach(function(o){r[o]&&(s.removeChild(r[o]),s.appendChild(r[o]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return jn(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var s=Hi.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&kv(r)},destroy:function(){nn("destroy",this);var t=this.el;t[Gt]=null,qe(t,"mousedown",this._onTapStart),qe(t,"touchstart",this._onTapStart),qe(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(qe(t,"dragover",this),qe(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),ul.splice(ul.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!qr){if(nn("hideClone",this),Oe.eventCanceled)return;ze(St,"display","none"),this.options.removeCloneOnHide&&St.parentNode&&St.parentNode.removeChild(St),qr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(qr){if(nn("showClone",this),Oe.eventCanceled)return;pe.parentNode==vt&&!this.options.group.revertClone?vt.insertBefore(St,pe):ms?vt.insertBefore(St,ms):vt.appendChild(St),this.options.group.revertClone&&this.animate(pe,St),ze(St,"display",""),qr=!1}}};function Tj(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function ga(e,t,n,r,s,o,i,a){var l,u=e[Gt],d=u.options.onMove,m;return window.CustomEvent&&!$r&&!Vi?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=s||t,l.relatedRect=o||bt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(m=d.call(u,l,i)),m}function Nc(e){e.draggable=!1}function Aj(){ju=!1}function Oj(e,t,n){var r=bt(ho(n.el,0,n.options,!0)),s=10;return t?e.clientX<r.left-s||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-s||e.clientY<r.bottom&&e.clientX<r.left}function Pj(e,t,n){var r=bt(sm(n.el,n.options.draggable)),s=10;return t?e.clientX>r.right+s||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+s}function Ij(e,t,n,r,s,o,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&&Aa<u*s){if(!ai&&(ii===1?l>d+u*o/2:l<m-u*o/2)&&(ai=!0),ai)f=!0;else if(ii===1?l<d+Aa:l>m-Aa)return-ii}else if(l>d+u*(1-s)/2&&l<m-u*(1-s)/2)return Lj(t)}return f=f||i,f&&(l<d+u*o/2||l>m-u*o/2)?l>d+u/2?1:-1:0}function Lj(e){return $t(pe)<$t(e)?1:-1}function Nj(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 Dj(e){dl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&dl.push(r)}}function Oa(e){return setTimeout(e,0)}function Bu(e){return clearTimeout(e)}Yl&&Ze(document,"touchmove",function(e){(Oe.active||js)&&e.cancelable&&e.preventDefault()});Oe.utils={on:Ze,off:qe,css:ze,find:vv,is:function(t,n){return!!jn(t,n,t,!1)},extend:vj,throttle:bv,closest:jn,toggleClass:wt,clone:om,index:$t,nextTick:Oa,cancelNextTick:Bu,detectDirection:wv,getChild:ho};Oe.get=function(e){return e[Gt]};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=dr(dr({},Oe.utils),r.utils)),Hi.mount(r)})};Oe.create=function(e,t){return new Oe(e,t)};Oe.version=hj;var Ot=[],Wo,Wu,qu=!1,Dc,Rc,ml,qo;function Rj(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?Ze(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ze(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ze(document,"touchmove",this._handleFallbackAutoScroll):Ze(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?qe(document,"dragover",this._handleAutoScroll):(qe(document,"pointermove",this._handleFallbackAutoScroll),qe(document,"touchmove",this._handleFallbackAutoScroll),qe(document,"mousemove",this._handleFallbackAutoScroll)),Ch(),Pa(),bj()},nulling:function(){ml=Wu=Wo=qu=qo=Dc=Rc=null,Ot.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var s=this,o=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(o,i);if(ml=n,r||this.options.forceAutoScrollFallback||Vi||$r||ri){Mc(n,this.options,a,r);var l=Gr(a,!0);qu&&(!qo||o!==Dc||i!==Rc)&&(qo&&Ch(),qo=setInterval(function(){var u=Gr(document.elementFromPoint(o,i),!0);u!==l&&(l=u,Pa()),Mc(n,s.options,u,r)},10),Dc=o,Rc=i)}else{if(!this.options.bubbleScroll||Gr(a,!0)===lr()){Pa();return}Mc(n,this.options,Gr(a,!1),!1)}}},Nn(e,{pluginName:"scroll",initializeByDefault:!0})}function Pa(){Ot.forEach(function(e){clearInterval(e.pid)}),Ot=[]}function Ch(){clearInterval(qo)}var Mc=bv(function(e,t,n,r){if(t.scroll){var s=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=lr(),u=!1,d;Wu!==n&&(Wu=n,Pa(),Wo=t.scroll,d=t.scrollFn,Wo===!0&&(Wo=Gr(n,!0)));var m=0,f=Wo;do{var p=f,h=bt(p),_=h.top,z=h.bottom,k=h.left,w=h.right,g=h.width,b=h.height,x=void 0,C=void 0,L=p.scrollWidth,M=p.scrollHeight,A=ze(p),F=p.scrollLeft,Z=p.scrollTop;p===l?(x=g<L&&(A.overflowX==="auto"||A.overflowX==="scroll"||A.overflowX==="visible"),C=b<M&&(A.overflowY==="auto"||A.overflowY==="scroll"||A.overflowY==="visible")):(x=g<L&&(A.overflowX==="auto"||A.overflowX==="scroll"),C=b<M&&(A.overflowY==="auto"||A.overflowY==="scroll"));var U=x&&(Math.abs(w-s)<=i&&F+g<L)-(Math.abs(k-s)<=i&&!!F),W=C&&(Math.abs(z-o)<=i&&Z+b<M)-(Math.abs(_-o)<=i&&!!Z);if(!Ot[m])for(var ne=0;ne<=m;ne++)Ot[ne]||(Ot[ne]={});(Ot[m].vx!=U||Ot[m].vy!=W||Ot[m].el!==p)&&(Ot[m].el=p,Ot[m].vx=U,Ot[m].vy=W,clearInterval(Ot[m].pid),(U!=0||W!=0)&&(u=!0,Ot[m].pid=setInterval((function(){r&&this.layer===0&&Oe.active._onTouchMove(ml);var he=Ot[this.layer].vy?Ot[this.layer].vy*a:0,Y=Ot[this.layer].vx?Ot[this.layer].vx*a:0;typeof d=="function"&&d.call(Oe.dragged.parentNode[Gt],Y,he,e,ml,Ot[this.layer].el)!=="continue"||zv(Ot[this.layer].el,Y,he)}).bind({layer:m}),24))),m++}while(t.bubbleScroll&&f!==l&&(f=Gr(f,!1)));qu=u}},30),Ev=function(t){var n=t.originalEvent,r=t.putSortable,s=t.dragEl,o=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var u=r||o;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:s,putSortable:r}))}};function im(){}im.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 s=ho(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(n,s):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:Ev};Nn(im,{pluginName:"revertOnSpill"});function am(){}am.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,s=r||this.sortable;s.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),s.animateAll()},drop:Ev};Nn(am,{pluginName:"removeOnSpill"});var En;function Mj(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;En=r},dragOverValid:function(n){var r=n.completed,s=n.target,o=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(i.options.swap){var u=this.sortable.el,d=this.options;if(s&&s!==u){var m=En;o(s)!==!1?(wt(s,d.swapClass,!0),En=s):En=null,m&&m!==En&&wt(m,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,s=n.putSortable,o=n.dragEl,i=s||this.sortable,a=this.options;En&&wt(En,a.swapClass,!1),En&&(a.swap||s&&s.options.swap)&&o!==En&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),Fj(o,En),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){En=null}},Nn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:En}}})}function Fj(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=$t(e),o=$t(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var Me=[],hn=[],Do,Un,Ro=!1,rn=!1,Ms=!1,ft,Mo,ya;function Vj(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Ze(document,"pointerup",this._deselectMultiDrag):(Ze(document,"mouseup",this._deselectMultiDrag),Ze(document,"touchend",this._deselectMultiDrag)),Ze(document,"keydown",this._checkKeyDown),Ze(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,o){var i="";Me.length&&Un===t?Me.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=o.textContent,s.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;ft=r},delayEnded:function(){this.isMultiDrag=~Me.indexOf(ft)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<Me.length;o++)hn.push(om(Me[o])),hn[o].sortableIndex=Me[o].sortableIndex,hn[o].draggable=!1,hn[o].style["will-change"]="",wt(hn[o],this.options.selectedClass,!1),Me[o]===ft&&wt(hn[o],this.options.chosenClass,!1);r._hideClone(),s()}},clone:function(n){var r=n.sortable,s=n.rootEl,o=n.dispatchSortableEvent,i=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Me.length&&Un===r&&(wh(!0,s),o("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&(wh(!1,s),hn.forEach(function(i){ze(i,"display","")}),r(),ya=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(hn.forEach(function(i){ze(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),ya=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Un&&Un.multiDrag._deselectMultiDrag(),Me.forEach(function(r){r.sortableIndex=$t(r)}),Me=Me.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),Ms=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){Me.forEach(function(i){i!==ft&&ze(i,"position","absolute")});var o=bt(ft,!1,!0,!0);Me.forEach(function(i){i!==ft&&yh(i,o)}),rn=!0,Ro=!0}s.animateAll(function(){rn=!1,Ro=!1,r.options.animation&&Me.forEach(function(i){Ac(i)}),r.options.sort&&va()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;rn&&~Me.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,i=n.dragRect;Me.length>1&&(Me.forEach(function(a){o.addAnimationState({target:a,rect:rn?bt(a):i}),Ac(a),a.fromRect=i,r.removeAnimationState(a)}),rn=!1,Hj(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(n){var r=n.sortable,s=n.isOwner,o=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,u=this.options;if(o){if(s&&i._hideClone(),Ro=!1,u.animation&&Me.length>1&&(rn||!s&&!i.options.sort&&!l)){var d=bt(ft,!1,!0,!0);Me.forEach(function(f){f!==ft&&(yh(f,d),a.appendChild(f))}),rn=!0}if(!s)if(rn||va(),Me.length>1){var m=ya;i._showClone(r),i.options.animation&&!ya&&m&&hn.forEach(function(f){i.addAnimationState({target:f,rect:Mo}),f.fromRect=Mo,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(Me.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){Mo=Nn({},r);var i=zs(ft,!0);Mo.top-=i.f,Mo.left-=i.e}},dragOverAnimationComplete:function(){rn&&(rn=!1,va())},drop:function(n){var r=n.originalEvent,s=n.rootEl,o=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=o.children;if(!Ms)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),wt(ft,m.selectedClass,!~Me.indexOf(ft)),~Me.indexOf(ft))Me.splice(Me.indexOf(ft),1),Do=null,jo({sortable:i,rootEl:s,name:"deselect",targetEl:ft,originalEvt:r});else{if(Me.push(ft),jo({sortable:i,rootEl:s,name:"select",targetEl:ft,originalEvt:r}),r.shiftKey&&Do&&i.el.contains(Do)){var p=$t(Do),h=$t(ft);if(~p&&~h&&p!==h){var _,z;for(h>p?(z=p,_=h):(z=h,_=p+1);z<_;z++)~Me.indexOf(f[z])||(wt(f[z],m.selectedClass,!0),Me.push(f[z]),jo({sortable:i,rootEl:s,name:"select",targetEl:f[z],originalEvt:r}))}}else Do=ft;Un=d}if(Ms&&this.isMultiDrag){if(rn=!1,(o[Gt].options.sort||o!==s)&&Me.length>1){var k=bt(ft),w=$t(ft,":not(."+this.options.selectedClass+")");if(!Ro&&m.animation&&(ft.thisAnimationDuration=null),d.captureAnimationState(),!Ro&&(m.animation&&(ft.fromRect=k,Me.forEach(function(b){if(b.thisAnimationDuration=null,b!==ft){var x=rn?bt(b):k;b.fromRect=x,d.addAnimationState({target:b,rect:x})}})),va(),Me.forEach(function(b){f[w]?o.insertBefore(b,f[w]):o.appendChild(b),w++}),l===$t(ft))){var g=!1;Me.forEach(function(b){if(b.sortableIndex!==$t(b)){g=!0;return}}),g&&a("update")}Me.forEach(function(b){Ac(b)}),d.animateAll()}Un=d}(s===o||u&&u.lastPutMode!=="clone")&&hn.forEach(function(b){b.parentNode&&b.parentNode.removeChild(b)})}},nullingGlobal:function(){this.isMultiDrag=Ms=!1,hn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),qe(document,"pointerup",this._deselectMultiDrag),qe(document,"mouseup",this._deselectMultiDrag),qe(document,"touchend",this._deselectMultiDrag),qe(document,"keydown",this._checkKeyDown),qe(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Ms<"u"&&Ms)&&Un===this.sortable&&!(n&&jn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Me.length;){var r=Me[0];wt(r,this.options.selectedClass,!1),Me.shift(),jo({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)}},Nn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Gt];!r||!r.options.multiDrag||~Me.indexOf(n)||(Un&&Un!==r&&(Un.multiDrag._deselectMultiDrag(),Un=r),wt(n,r.options.selectedClass,!0),Me.push(n))},deselect:function(n){var r=n.parentNode[Gt],s=Me.indexOf(n);!r||!r.options.multiDrag||!~s||(wt(n,r.options.selectedClass,!1),Me.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return Me.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var i;rn&&o!==ft?i=-1:rn?i=$t(o,":not(."+n.options.selectedClass+")"):i=$t(o),s.push({multiDragElement:o,index:i})}),{items:uj(Me),clones:[].concat(hn),oldIndicies:r,newIndicies:s}},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 Hj(e,t){Me.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function wh(e,t){hn.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function va(){Me.forEach(function(e){e!==ft&&e.parentNode&&e.parentNode.removeChild(e)})}Oe.mount(new Rj);Oe.mount(am,im);const Uj=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Vj,Sortable:Oe,Swap:Mj,default:Oe},Symbol.toStringTag,{value:"Module"})),jj=Uy(Uj);(function(e,t){(function(r,s){e.exports=s(Zy,jj)})(typeof self<"u"?self:Hy,function(n,r){return function(s){var o={};function i(a){if(o[a])return o[a].exports;var l=o[a]={i:a,l:!1,exports:{}};return s[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=s,i.c=o,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(s,o,i){var a=i("b622"),l=a("toStringTag"),u={};u[l]="z",s.exports=String(u)==="[object z]"},"0366":function(s,o,i){var a=i("1c0b");s.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(s,o,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()}};s.exports.f=function(p){return d&&u.call(p)=="[object Window]"?m(p):l(a(p))}},"06cf":function(s,o,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;o.f=a?h:function(z,k){if(z=d(z),k=m(k,!0),p)try{return h(z,k)}catch{}if(f(z,k))return u(!l.f.call(z,k),z[k])}},"0cfb":function(s,o,i){var a=i("83ab"),l=i("d039"),u=i("cc12");s.exports=!a&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(s,o,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(s,o,i){var a=i("c6b6"),l=i("9263");s.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(s,o,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(s,o,i){var a=i("b727").forEach,l=i("a640"),u=i("ae40"),d=l("forEach"),m=u("forEach");s.exports=!d||!m?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(s,o,i){var a=i("d066");s.exports=a("document","documentElement")},"1c0b":function(s,o){s.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(s,o,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{}s.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(s,o){s.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(s,o,i){var a=i("d039"),l=i("b622"),u=i("2d00"),d=l("species");s.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(s,o,i){var a=i("a691"),l=Math.max,u=Math.min;s.exports=function(d,m){var f=a(d);return f<0?l(f+m,0):u(f,m)}},"23e7":function(s,o,i){var a=i("da84"),l=i("06cf").f,u=i("9112"),d=i("6eeb"),m=i("ce4e"),f=i("e893"),p=i("94ca");s.exports=function(h,_){var z=h.target,k=h.global,w=h.stat,g,b,x,C,L,M;if(k?b=a:w?b=a[z]||m(z,{}):b=(a[z]||{}).prototype,b)for(x in _){if(L=_[x],h.noTargetGet?(M=l(b,x),C=M&&M.value):C=b[x],g=p(k?x:z+(w?".":"#")+x,h.forced),!g&&C!==void 0){if(typeof L==typeof C)continue;f(L,C)}(h.sham||C&&C.sham)&&u(L,"sham",!0),d(b,x,L,h)}}},"241c":function(s,o,i){var a=i("ca84"),l=i("7839"),u=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(m){return a(m,u)}},"25f0":function(s,o,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 k=l(this),w=String(k.source),g=k.flags,b=String(g===void 0&&k instanceof RegExp&&!("flags"in f)?d.call(k):g);return"/"+w+"/"+b},{unsafe:!0})},"2ca0":function(s,o,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,z=f("startsWith"),k=!p&&!z&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!k&&!z},{startsWith:function(g){var b=String(m(this));d(g);var x=u(_(arguments.length>1?arguments[1]:void 0,b.length)),C=String(g);return h?h.call(b,C,x):b.slice(x,x+C.length)===C}})},"2d00":function(s,o,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]))),s.exports=p&&+p},"342f":function(s,o,i){var a=i("d066");s.exports=a("navigator","userAgent")||""},"35a1":function(s,o,i){var a=i("f5df"),l=i("3f8c"),u=i("b622"),d=u("iterator");s.exports=function(m){if(m!=null)return m[d]||m["@@iterator"]||l[a(m)]}},"37e8":function(s,o,i){var a=i("83ab"),l=i("9bf2"),u=i("825a"),d=i("df75");s.exports=a?Object.defineProperties:function(f,p){u(f);for(var h=d(p),_=h.length,z=0,k;_>z;)l.f(f,k=h[z++],p[k]);return f}},"3bbe":function(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(s,o,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,z=h.index,k;return z>=_.length?{value:void 0,done:!0}:(k=a(_,z),h.index+=k.length,{value:k,done:!1})})},"3f8c":function(s,o){s.exports={}},4160:function(s,o,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(s,o,i){var a=i("da84");s.exports=a},"44ad":function(s,o,i){var a=i("d039"),l=i("c6b6"),u="".split;s.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?u.call(d,""):Object(d)}:Object},"44d2":function(s,o,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)}),s.exports=function(f){m[d][f]=!0}},"44e7":function(s,o,i){var a=i("861d"),l=i("c6b6"),u=i("b622"),d=u("match");s.exports=function(m){var f;return a(m)&&((f=m[d])!==void 0?!!f:l(m)=="RegExp")}},4930:function(s,o,i){var a=i("d039");s.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(s,o,i){var a=i("fc6a"),l=i("50c4"),u=i("23cb"),d=function(m){return function(f,p,h){var _=a(f),z=l(_.length),k=u(h,z),w;if(m&&p!=p){for(;z>k;)if(w=_[k++],w!=w)return!0}else for(;z>k;k++)if((m||k in _)&&_[k]===p)return m||k||0;return!m&&-1}};s.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(s,o,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(s,o,i){var a=i("0366"),l=i("7b0b"),u=i("9bdd"),d=i("e95a"),m=i("50c4"),f=i("8418"),p=i("35a1");s.exports=function(_){var z=l(_),k=typeof this=="function"?this:Array,w=arguments.length,g=w>1?arguments[1]:void 0,b=g!==void 0,x=p(z),C=0,L,M,A,F,Z,U;if(b&&(g=a(g,w>2?arguments[2]:void 0,2)),x!=null&&!(k==Array&&d(x)))for(F=x.call(z),Z=F.next,M=new k;!(A=Z.call(F)).done;C++)U=b?u(F,g,[A.value,C],!0):A.value,f(M,C,U);else for(L=m(z.length),M=new k(L);L>C;C++)U=b?g(z[C],C):z[C],f(M,C,U);return M.length=C,M}},"4fad":function(s,o,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(s,o,i){var a=i("a691"),l=Math.min;s.exports=function(u){return u>0?l(a(u),9007199254740991):0}},5135:function(s,o){var i={}.hasOwnProperty;s.exports=function(a,l){return i.call(a,l)}},5319:function(s,o,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,z=Math.min,k=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,b=function(x){return x===void 0?x:String(x)};a("replace",2,function(x,C,L,M){var A=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,F=M.REPLACE_KEEPS_$0,Z=A?"$":"$0";return[function(ne,he){var Y=f(this),oe=ne==null?void 0:ne[x];return oe!==void 0?oe.call(ne,Y,he):C.call(String(Y),ne,he)},function(W,ne){if(!A&&F||typeof ne=="string"&&ne.indexOf(Z)===-1){var he=L(C,W,this,ne);if(he.done)return he.value}var Y=l(W),oe=String(this),ae=typeof ne=="function";ae||(ne=String(ne));var We=Y.global;if(We){var st=Y.unicode;Y.lastIndex=0}for(var Ve=[];;){var He=h(Y,oe);if(He===null||(Ve.push(He),!We))break;var ot=String(He[0]);ot===""&&(Y.lastIndex=p(oe,d(Y.lastIndex),st))}for(var it="",lt=0,Ne=0;Ne<Ve.length;Ne++){He=Ve[Ne];for(var K=String(He[0]),de=_(z(m(He.index),oe.length),0),ce=[],ge=1;ge<He.length;ge++)ce.push(b(He[ge]));var Ue=He.groups;if(ae){var Ge=[K].concat(ce,de,oe);Ue!==void 0&&Ge.push(Ue);var T=String(ne.apply(void 0,Ge))}else T=U(K,oe,de,ce,Ue,ne);de>=lt&&(it+=oe.slice(lt,de)+T,lt=de+K.length)}return it+oe.slice(lt)}];function U(W,ne,he,Y,oe,ae){var We=he+W.length,st=Y.length,Ve=g;return oe!==void 0&&(oe=u(oe),Ve=w),C.call(ae,Ve,function(He,ot){var it;switch(ot.charAt(0)){case"$":return"$";case"&":return W;case"`":return ne.slice(0,he);case"'":return ne.slice(We);case"<":it=oe[ot.slice(1,-1)];break;default:var lt=+ot;if(lt===0)return He;if(lt>st){var Ne=k(lt/10);return Ne===0?He:Ne<=st?Y[Ne-1]===void 0?ot.charAt(1):Y[Ne-1]+ot.charAt(1):He}it=Y[lt-1]}return it===void 0?"":it})}})},5692:function(s,o,i){var a=i("c430"),l=i("c6cd");(s.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(s,o,i){var a=i("d066"),l=i("241c"),u=i("7418"),d=i("825a");s.exports=a("Reflect","ownKeys")||function(f){var p=l.f(d(f)),h=u.f;return h?p.concat(h(f)):p}},"5a34":function(s,o,i){var a=i("44e7");s.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(s,o){s.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(s,o,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),z=d(_.length),k;return m(h),k=f(_,0),k.length=l(k,_,_,z,0,1,h,arguments.length>1?arguments[1]:void 0),k}})},6547:function(s,o,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,z,k;return h<0||h>=_?d?"":void 0:(z=p.charCodeAt(h),z<55296||z>56319||h+1===_||(k=p.charCodeAt(h+1))<56320||k>57343?d?p.charAt(h):z:d?p.slice(h,h+2):(z-55296<<10)+(k-56320)+65536)}};s.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(s,o,i){var a=i("861d"),l=i("e8b5"),u=i("b622"),d=u("species");s.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(s,o,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,_,z,k,w=function(A){return k(A)?z(A):_(A,{})},g=function(A){return function(F){var Z;if(!u(F)||(Z=z(F)).type!==A)throw TypeError("Incompatible receiver, "+A+" required");return Z}};if(a){var b=new h,x=b.get,C=b.has,L=b.set;_=function(A,F){return L.call(b,A,F),F},z=function(A){return x.call(b,A)||{}},k=function(A){return C.call(b,A)}}else{var M=f("state");p[M]=!0,_=function(A,F){return d(A,M,F),F},z=function(A){return m(A,M)?A[M]:{}},k=function(A){return m(A,M)}}s.exports={set:_,get:z,has:k,enforce:w,getterFor:g}},"6eeb":function(s,o,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");(s.exports=function(z,k,w,g){var b=g?!!g.unsafe:!1,x=g?!!g.enumerable:!1,C=g?!!g.noTargetGet:!1;if(typeof w=="function"&&(typeof k=="string"&&!u(w,"name")&&l(w,"name",k),h(w).source=_.join(typeof k=="string"?k:"")),z===a){x?z[k]=w:d(k,w);return}else b?!C&&z[k]&&(x=!0):delete z[k];x?z[k]=w:l(z,k,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||m(this)})},"6f53":function(s,o,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),z=_.length,k=0,w=[],g;z>k;)g=_[k++],(!a||d.call(h,g))&&w.push(f?[g,h[g]]:h[g]);return w}};s.exports={entries:m(!0),values:m(!1)}},"73d9":function(s,o,i){var a=i("44d2");a("flatMap")},7418:function(s,o){o.f=Object.getOwnPropertySymbols},"746f":function(s,o,i){var a=i("428f"),l=i("5135"),u=i("e538"),d=i("9bf2").f;s.exports=function(m){var f=a.Symbol||(a.Symbol={});l(f,m)||d(f,m,{value:u.f(m)})}},7839:function(s,o){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(s,o,i){var a=i("1d80");s.exports=function(l){return Object(a(l))}},"7c73":function(s,o,i){var a=i("825a"),l=i("37e8"),u=i("7839"),d=i("d012"),m=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",z="prototype",k="script",w=p("IE_PROTO"),g=function(){},b=function(A){return _+k+h+A+_+"/"+k+h},x=function(A){A.write(b("")),A.close();var F=A.parentWindow.Object;return A=null,F},C=function(){var A=f("iframe"),F="java"+k+":",Z;return A.style.display="none",m.appendChild(A),A.src=String(F),Z=A.contentWindow.document,Z.open(),Z.write(b("document.F=Object")),Z.close(),Z.F},L,M=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}M=L?x(L):C();for(var A=u.length;A--;)delete M[z][u[A]];return M()};d[w]=!0,s.exports=Object.create||function(F,Z){var U;return F!==null?(g[z]=a(F),U=new g,g[z]=null,U[w]=F):U=M(),Z===void 0?U:l(U,Z)}},"7dd0":function(s,o,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"),z=i("3f8c"),k=i("ae93"),w=k.IteratorPrototype,g=k.BUGGY_SAFARI_ITERATORS,b=h("iterator"),x="keys",C="values",L="entries",M=function(){return this};s.exports=function(A,F,Z,U,W,ne,he){l(Z,F,U);var Y=function(Ne){if(Ne===W&&Ve)return Ve;if(!g&&Ne in We)return We[Ne];switch(Ne){case x:return function(){return new Z(this,Ne)};case C:return function(){return new Z(this,Ne)};case L:return function(){return new Z(this,Ne)}}return function(){return new Z(this)}},oe=F+" Iterator",ae=!1,We=A.prototype,st=We[b]||We["@@iterator"]||W&&We[W],Ve=!g&&st||Y(W),He=F=="Array"&&We.entries||st,ot,it,lt;if(He&&(ot=u(He.call(new A)),w!==Object.prototype&&ot.next&&(!_&&u(ot)!==w&&(d?d(ot,w):typeof ot[b]!="function"&&f(ot,b,M)),m(ot,oe,!0,!0),_&&(z[oe]=M))),W==C&&st&&st.name!==C&&(ae=!0,Ve=function(){return st.call(this)}),(!_||he)&&We[b]!==Ve&&f(We,b,Ve),z[F]=Ve,W)if(it={values:Y(C),keys:ne?Ve:Y(x),entries:Y(L)},he)for(lt in it)(g||ae||!(lt in We))&&p(We,lt,it[lt]);else a({target:F,proto:!0,forced:g||ae},it);return it}},"7f9a":function(s,o,i){var a=i("da84"),l=i("8925"),u=a.WeakMap;s.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(s,o,i){var a=i("d039");s.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(s,o,i){var a=i("c04e"),l=i("9bf2"),u=i("5c6c");s.exports=function(d,m,f){var p=a(m);p in d?l.f(d,p,u(0,f)):d[p]=f}},"861d":function(s,o){s.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(s,o,i){var a,l,u;(function(d,m){l=[],a=m,u=typeof a=="function"?a.apply(o,l):a,u!==void 0&&(s.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(L){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(L.stack)||p.exec(L.stack),_=h&&h[1]||!1,z=h&&h[2]||!1,k=document.location.href.replace(document.location.hash,""),w,g,b,x=document.getElementsByTagName("script");_===k&&(w=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(z-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=w.replace(g,"$1").trim());for(var C=0;C<x.length;C++)if(x[C].readyState==="interactive"||x[C].src===_||_===k&&x[C].innerHTML&&x[C].innerHTML.trim()===b)return x[C];return null}}return d})},8925:function(s,o,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return l.call(u)}),s.exports=a.inspectSource},"8aa5":function(s,o,i){var a=i("6547").charAt;s.exports=function(l,u,d){return u+(d?a(l,u).length:1)}},"8bbf":function(s,o){s.exports=n},"90e3":function(s,o){var i=0,a=Math.random();s.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},9112:function(s,o,i){var a=i("83ab"),l=i("9bf2"),u=i("5c6c");s.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(s,o,i){var a=i("ad6d"),l=i("9f7f"),u=RegExp.prototype.exec,d=String.prototype.replace,m=u,f=function(){var z=/a/,k=/b*/g;return u.call(z,"a"),u.call(k,"a"),z.lastIndex!==0||k.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(m=function(k){var w=this,g,b,x,C,L=p&&w.sticky,M=a.call(w),A=w.source,F=0,Z=k;return L&&(M=M.replace("y",""),M.indexOf("g")===-1&&(M+="g"),Z=String(k).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&k[w.lastIndex-1]!==`
|
||
`)&&(A="(?: "+A+")",Z=" "+Z,F++),b=new RegExp("^(?:"+A+")",M)),h&&(b=new RegExp("^"+A+"$(?!\\s)",M)),f&&(g=w.lastIndex),x=u.call(L?b:w,Z),L?x?(x.input=x.input.slice(F),x[0]=x[0].slice(F),x.index=w.lastIndex,w.lastIndex+=x[0].length):w.lastIndex=0:f&&x&&(w.lastIndex=w.global?x.index+x[0].length:g),h&&x&&x.length>1&&d.call(x[0],b,function(){for(C=1;C<arguments.length-2;C++)arguments[C]===void 0&&(x[C]=void 0)}),x}),s.exports=m},"94ca":function(s,o,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var z=m[d(h)];return z==p?!0:z==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";s.exports=u},"99af":function(s,o,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"),z=i("b622"),k=i("2d00"),w=z("isConcatSpreadable"),g=9007199254740991,b="Maximum allowed index exceeded",x=k>=51||!l(function(){var A=[];return A[w]=!1,A.concat()[0]!==A}),C=_("concat"),L=function(A){if(!d(A))return!1;var F=A[w];return F!==void 0?!!F:u(A)},M=!x||!C;a({target:"Array",proto:!0,forced:M},{concat:function(F){var Z=m(this),U=h(Z,0),W=0,ne,he,Y,oe,ae;for(ne=-1,Y=arguments.length;ne<Y;ne++)if(ae=ne===-1?Z:arguments[ne],L(ae)){if(oe=f(ae.length),W+oe>g)throw TypeError(b);for(he=0;he<oe;he++,W++)he in ae&&p(U,W,ae[he])}else{if(W>=g)throw TypeError(b);p(U,W++,ae)}return U.length=W,U}})},"9bdd":function(s,o,i){var a=i("825a");s.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(s,o,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),d=i("c04e"),m=Object.defineProperty;o.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(s,o,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};s.exports=function(p,h,_){var z=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),d(p,z,!1,!0),m[z]=f,p}},"9f7f":function(s,o,i){var a=i("d039");function l(u,d){return RegExp(u,d)}o.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(s,o,i){var a=i("e8b5"),l=i("50c4"),u=i("0366"),d=function(m,f,p,h,_,z,k,w){for(var g=_,b=0,x=k?u(k,w,3):!1,C;b<h;){if(b in p){if(C=x?x(p[b],b,f):p[b],z>0&&a(C))g=d(m,f,C,l(C.length),g,z-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[g]=C}g++}b++}return g};s.exports=d},a352:function(s,o){s.exports=r},a434:function(s,o,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"),z=h("splice"),k=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,g=Math.min,b=9007199254740991,x="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!z||!k},{splice:function(L,M){var A=m(this),F=d(A.length),Z=l(L,F),U=arguments.length,W,ne,he,Y,oe,ae;if(U===0?W=ne=0:U===1?(W=0,ne=F-Z):(W=U-2,ne=g(w(u(M),0),F-Z)),F+W-ne>b)throw TypeError(x);for(he=f(A,ne),Y=0;Y<ne;Y++)oe=Z+Y,oe in A&&p(he,Y,A[oe]);if(he.length=ne,W<ne){for(Y=Z;Y<F-ne;Y++)oe=Y+ne,ae=Y+W,oe in A?A[ae]=A[oe]:delete A[ae];for(Y=F;Y>F-ne+W;Y--)delete A[Y-1]}else if(W>ne)for(Y=F-ne;Y>Z;Y--)oe=Y+ne-1,ae=Y+W-1,oe in A?A[ae]=A[oe]:delete A[ae];for(Y=0;Y<W;Y++)A[Y+Z]=arguments[Y+2];return A.length=F-ne+W,he}})},a4d3:function(s,o,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"),z=i("e8b5"),k=i("861d"),w=i("825a"),g=i("7b0b"),b=i("fc6a"),x=i("c04e"),C=i("5c6c"),L=i("7c73"),M=i("df75"),A=i("241c"),F=i("057f"),Z=i("7418"),U=i("06cf"),W=i("9bf2"),ne=i("d1e7"),he=i("9112"),Y=i("6eeb"),oe=i("5692"),ae=i("f772"),We=i("d012"),st=i("90e3"),Ve=i("b622"),He=i("e538"),ot=i("746f"),it=i("d44e"),lt=i("69f3"),Ne=i("b727").forEach,K=ae("hidden"),de="Symbol",ce="prototype",ge=Ve("toPrimitive"),Ue=lt.set,Ge=lt.getterFor(de),T=Object[ce],I=l.Symbol,B=u("JSON","stringify"),ee=U.f,X=W.f,le=F.f,fe=ne.f,S=oe("symbols"),$=oe("op-symbols"),D=oe("string-to-symbol-registry"),Q=oe("symbol-to-string-registry"),me=oe("wks"),se=l.QObject,H=!se||!se[ce]||!se[ce].findChild,G=m&&h(function(){return L(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a!=7})?function(Ae,Se,Te){var Ye=ee(T,Se);Ye&&delete T[Se],X(Ae,Se,Te),Ye&&Ae!==T&&X(T,Se,Ye)}:X,xe=function(Ae,Se){var Te=S[Ae]=L(I[ce]);return Ue(Te,{type:de,tag:Ae,description:Se}),m||(Te.description=Se),Te},R=p?function(Ae){return typeof Ae=="symbol"}:function(Ae){return Object(Ae)instanceof I},V=function(Se,Te,Ye){Se===T&&V($,Te,Ye),w(Se);var et=x(Te,!0);return w(Ye),_(S,et)?(Ye.enumerable?(_(Se,K)&&Se[K][et]&&(Se[K][et]=!1),Ye=L(Ye,{enumerable:C(0,!1)})):(_(Se,K)||X(Se,K,C(1,{})),Se[K][et]=!0),G(Se,et,Ye)):X(Se,et,Ye)},q=function(Se,Te){w(Se);var Ye=b(Te),et=M(Ye).concat(De(Ye));return Ne(et,function(en){(!m||ye.call(Ye,en))&&V(Se,en,Ye[en])}),Se},re=function(Se,Te){return Te===void 0?L(Se):q(L(Se),Te)},ye=function(Se){var Te=x(Se,!0),Ye=fe.call(this,Te);return this===T&&_(S,Te)&&!_($,Te)?!1:Ye||!_(this,Te)||!_(S,Te)||_(this,K)&&this[K][Te]?Ye:!0},$e=function(Se,Te){var Ye=b(Se),et=x(Te,!0);if(!(Ye===T&&_(S,et)&&!_($,et))){var en=ee(Ye,et);return en&&_(S,et)&&!(_(Ye,K)&&Ye[K][et])&&(en.enumerable=!0),en}},Re=function(Se){var Te=le(b(Se)),Ye=[];return Ne(Te,function(et){!_(S,et)&&!_(We,et)&&Ye.push(et)}),Ye},De=function(Se){var Te=Se===T,Ye=le(Te?$:b(Se)),et=[];return Ne(Ye,function(en){_(S,en)&&(!Te||_(T,en))&&et.push(S[en])}),et};if(f||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor");var Se=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Te=st(Se),Ye=function(et){this===T&&Ye.call($,et),_(this,K)&&_(this[K],Te)&&(this[K][Te]=!1),G(this,Te,C(1,et))};return m&&H&&G(T,Te,{configurable:!0,set:Ye}),xe(Te,Se)},Y(I[ce],"toString",function(){return Ge(this).tag}),Y(I,"withoutSetter",function(Ae){return xe(st(Ae),Ae)}),ne.f=ye,W.f=V,U.f=$e,A.f=F.f=Re,Z.f=De,He.f=function(Ae){return xe(Ve(Ae),Ae)},m&&(X(I[ce],"description",{configurable:!0,get:function(){return Ge(this).description}}),d||Y(T,"propertyIsEnumerable",ye,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:I}),Ne(M(me),function(Ae){ot(Ae)}),a({target:de,stat:!0,forced:!f},{for:function(Ae){var Se=String(Ae);if(_(D,Se))return D[Se];var Te=I(Se);return D[Se]=Te,Q[Te]=Se,Te},keyFor:function(Se){if(!R(Se))throw TypeError(Se+" is not a symbol");if(_(Q,Se))return Q[Se]},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!m},{create:re,defineProperty:V,defineProperties:q,getOwnPropertyDescriptor:$e}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Re,getOwnPropertySymbols:De}),a({target:"Object",stat:!0,forced:h(function(){Z.f(1)})},{getOwnPropertySymbols:function(Se){return Z.f(g(Se))}}),B){var nt=!f||h(function(){var Ae=I();return B([Ae])!="[null]"||B({a:Ae})!="{}"||B(Object(Ae))!="{}"});a({target:"JSON",stat:!0,forced:nt},{stringify:function(Se,Te,Ye){for(var et=[Se],en=1,Jl;arguments.length>en;)et.push(arguments[en++]);if(Jl=Te,!(!k(Te)&&Se===void 0||R(Se)))return z(Te)||(Te=function(Pv,Ui){if(typeof Jl=="function"&&(Ui=Jl.call(this,Pv,Ui)),!R(Ui))return Ui}),et[1]=Te,B.apply(null,et)}})}I[ce][ge]||he(I[ce],ge,I[ce].valueOf),it(I,de),We[K]=!0},a630:function(s,o,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(s,o,i){var a=i("d039");s.exports=function(l,u){var d=[][l];return!!d&&a(function(){d.call(null,u||function(){throw 1},1)})}},a691:function(s,o){var i=Math.ceil,a=Math.floor;s.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(s,o,i){var a=i("b622"),l=a("match");s.exports=function(u){var d=/./;try{"/./"[u](d)}catch{try{return d[l]=!1,"/./"[u](d)}catch{}}return!1}},ac1f:function(s,o,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(s,o,i){var a=i("825a");s.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(s,o,i){var a=i("83ab"),l=i("d039"),u=i("5135"),d=Object.defineProperty,m={},f=function(p){throw p};s.exports=function(p,h){if(u(m,p))return m[p];h||(h={});var _=[][p],z=u(h,"ACCESSORS")?h.ACCESSORS:!1,k=u(h,0)?h[0]:f,w=u(h,1)?h[1]:void 0;return m[p]=!!_&&!l(function(){if(z&&!a)return!0;var g={length:-1};z?d(g,1,{enumerable:!0,get:f}):g[1]=1,_.call(g,k,w)})}},ae93:function(s,o,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},_,z,k;[].keys&&(k=[].keys(),"next"in k?(z=a(a(k)),z!==Object.prototype&&(_=z)):p=!0),_==null&&(_={}),!m&&!u(_,f)&&l(_,f,h),s.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(s,o,i){var a=i("00ee"),l=i("f5df");s.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(s,o,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(s,o,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;s.exports=function(z){return u(p,z)||(m&&u(h,z)?p[z]=h[z]:p[z]=_("Symbol."+z)),p[z]}},b64b:function(s,o,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(s,o,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,z=h==2,k=h==3,w=h==4,g=h==6,b=h==5||g;return function(x,C,L,M){for(var A=u(x),F=l(A),Z=a(C,L,3),U=d(F.length),W=0,ne=M||m,he=_?ne(x,U):z?ne(x,0):void 0,Y,oe;U>W;W++)if((b||W in F)&&(Y=F[W],oe=Z(Y,W,A),h)){if(_)he[W]=oe;else if(oe)switch(h){case 3:return!0;case 5:return Y;case 6:return W;case 2:f.call(he,Y)}else if(w)return!1}return g?-1:k||w?w:he}};s.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(s,o,i){var a=i("861d");s.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(s,o){s.exports=!1},c6b6:function(s,o){var i={}.toString;s.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(s,o,i){var a=i("da84"),l=i("ce4e"),u="__core-js_shared__",d=a[u]||l(u,{});s.exports=d},c740:function(s,o,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(s,o){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}s.exports=i},c975:function(s,o,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(z){return f?m.apply(this,arguments)||0:l(this,z,arguments.length>1?arguments[1]:void 0)}})},ca84:function(s,o,i){var a=i("5135"),l=i("fc6a"),u=i("4d64").indexOf,d=i("d012");s.exports=function(m,f){var p=l(m),h=0,_=[],z;for(z in p)!a(d,z)&&a(p,z)&&_.push(z);for(;f.length>h;)a(p,z=f[h++])&&(~u(_,z)||_.push(z));return _}},caad:function(s,o,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(s,o,i){var a=i("da84"),l=i("861d"),u=a.document,d=l(u)&&l(u.createElement);s.exports=function(m){return d?u.createElement(m):{}}},ce4e:function(s,o,i){var a=i("da84"),l=i("9112");s.exports=function(u,d){try{l(a,u,d)}catch{a[u]=d}return d}},d012:function(s,o){s.exports={}},d039:function(s,o){s.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(s,o,i){var a=i("428f"),l=i("da84"),u=function(d){return typeof d=="function"?d:void 0};s.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(s,o,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,u=l&&!a.call({1:2},1);o.f=u?function(m){var f=l(this,m);return!!f&&f.enumerable}:a},d28b:function(s,o,i){var a=i("746f");a("iterator")},d2bb:function(s,o,i){var a=i("825a"),l=i("3bbe");s.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(s,o,i){var a=i("00ee"),l=i("6eeb"),u=i("b041");a||l(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(s,o,i){var a=i("9bf2").f,l=i("5135"),u=i("b622"),d=u("toStringTag");s.exports=function(m,f,p){m&&!l(m=p?m:m.prototype,d)&&a(m,d,{configurable:!0,value:f})}},d58f:function(s,o,i){var a=i("1c0b"),l=i("7b0b"),u=i("44ad"),d=i("50c4"),m=function(f){return function(p,h,_,z){a(h);var k=l(p),w=u(k),g=d(k.length),b=f?g-1:0,x=f?-1:1;if(_<2)for(;;){if(b in w){z=w[b],b+=x;break}if(b+=x,f?b<0:g<=b)throw TypeError("Reduce of empty array with no initial value")}for(;f?b>=0:g>b;b+=x)b in w&&(z=h(z,w[b],b,k));return z}};s.exports={left:m(!1),right:m(!0)}},d784:function(s,o,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 w=/./;return w.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=u("replace"),z=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),k=!l(function(){var w=/(?:)/,g=w.exec;w.exec=function(){return g.apply(this,arguments)};var b="ab".split(w);return b.length!==2||b[0]!=="a"||b[1]!=="b"});s.exports=function(w,g,b,x){var C=u(w),L=!l(function(){var W={};return W[C]=function(){return 7},""[w](W)!=7}),M=L&&!l(function(){var W=!1,ne=/a/;return w==="split"&&(ne={},ne.constructor={},ne.constructor[f]=function(){return ne},ne.flags="",ne[C]=/./[C]),ne.exec=function(){return W=!0,null},ne[C](""),!W});if(!L||!M||w==="replace"&&!(p&&h&&!z)||w==="split"&&!k){var A=/./[C],F=b(C,""[w],function(W,ne,he,Y,oe){return ne.exec===d?L&&!oe?{done:!0,value:A.call(ne,he,Y)}:{done:!0,value:W.call(he,ne,Y)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:z}),Z=F[0],U=F[1];a(String.prototype,w,Z),a(RegExp.prototype,C,g==2?function(W,ne){return U.call(W,this,ne)}:function(W){return U.call(W,this)})}x&&m(RegExp.prototype[C],"sham",!0)}},d81d:function(s,o,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(s,o,i){(function(a){var l=function(u){return u&&u.Math==Math&&u};s.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(s,o,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),z=m.f,k=u(_),w={},g=0,b,x;k.length>g;)x=z(_,b=k[g++]),x!==void 0&&f(w,b,x);return w}})},dbf1:function(s,o,i){(function(a){i.d(o,"a",function(){return u});function l(){return typeof window<"u"?window.console:a.console}var u=l()}).call(this,i("c8ba"))},ddb0:function(s,o,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 z=a[_],k=z&&z.prototype;if(k){if(k[f]!==h)try{d(k,f,h)}catch{k[f]=h}if(k[p]||d(k,p,_),l[_]){for(var w in u)if(k[w]!==u[w])try{d(k,w,u[w])}catch{k[w]=u[w]}}}}},df75:function(s,o,i){var a=i("ca84"),l=i("7839");s.exports=Object.keys||function(d){return a(d,l)}},e01a:function(s,o,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 _={},z=function(){var C=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof z?new h(C):C===void 0?h():h(C);return C===""&&(_[L]=!0),L};p(z,h);var k=z.prototype=h.prototype;k.constructor=z;var w=k.toString,g=String(h("test"))=="Symbol(test)",b=/^Symbol\((.*)\)[^)]+$/;f(k,"description",{configurable:!0,get:function(){var C=m(this)?this.valueOf():this,L=w.call(C);if(d(_,C))return"";var M=g?L.slice(7,-1):L.replace(b,"$1");return M===""?void 0:M}}),a({global:!0,forced:!0},{Symbol:z})}},e163:function(s,o,i){var a=i("5135"),l=i("7b0b"),u=i("f772"),d=i("e177"),m=u("IE_PROTO"),f=Object.prototype;s.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(s,o,i){var a=i("d039");s.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(s,o,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);s.exports=m(Array,"Array",function(_,z){p(this,{type:f,target:a(_),index:0,kind:z})},function(){var _=h(this),z=_.target,k=_.kind,w=_.index++;return!z||w>=z.length?(_.target=void 0,{value:void 0,done:!0}):k=="keys"?{value:w,done:!1}:k=="values"?{value:z[w],done:!1}:{value:[w,z[w]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},e439:function(s,o,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(_,z){return d(u(_),z)}})},e538:function(s,o,i){var a=i("b622");o.f=a},e893:function(s,o,i){var a=i("5135"),l=i("56ef"),u=i("06cf"),d=i("9bf2");s.exports=function(m,f){for(var p=l(f),h=d.f,_=u.f,z=0;z<p.length;z++){var k=p[z];a(m,k)||h(m,k,_(f,k))}}},e8b5:function(s,o,i){var a=i("c6b6");s.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(s,o,i){var a=i("b622"),l=i("3f8c"),u=a("iterator"),d=Array.prototype;s.exports=function(m){return m!==void 0&&(l.Array===m||d[u]===m)}},f5df:function(s,o,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{}};s.exports=a?l:function(p){var h,_,z;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),d))=="string"?_:m?l(h):(z=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":z}},f772:function(s,o,i){var a=i("5692"),l=i("90e3"),u=a("keys");s.exports=function(d){return u[d]||(u[d]=l(d))}},fb15:function(s,o,i){if(i.r(o),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(R,V,q){return V in R?Object.defineProperty(R,V,{value:q,enumerable:!0,configurable:!0,writable:!0}):R[V]=q,R}function m(R,V){var q=Object.keys(R);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(R);V&&(re=re.filter(function(ye){return Object.getOwnPropertyDescriptor(R,ye).enumerable})),q.push.apply(q,re)}return q}function f(R){for(var V=1;V<arguments.length;V++){var q=arguments[V]!=null?arguments[V]:{};V%2?m(Object(q),!0).forEach(function(re){d(R,re,q[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(q)):m(Object(q)).forEach(function(re){Object.defineProperty(R,re,Object.getOwnPropertyDescriptor(q,re))})}return R}function p(R){if(Array.isArray(R))return R}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(R,V){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(R)))){var q=[],re=!0,ye=!1,$e=void 0;try{for(var Re=R[Symbol.iterator](),De;!(re=(De=Re.next()).done)&&(q.push(De.value),!(V&&q.length===V));re=!0);}catch(nt){ye=!0,$e=nt}finally{try{!re&&Re.return!=null&&Re.return()}finally{if(ye)throw $e}}return q}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(R,V){(V==null||V>R.length)&&(V=R.length);for(var q=0,re=new Array(V);q<V;q++)re[q]=R[q];return re}function z(R,V){if(R){if(typeof R=="string")return _(R,V);var q=Object.prototype.toString.call(R).slice(8,-1);if(q==="Object"&&R.constructor&&(q=R.constructor.name),q==="Map"||q==="Set")return Array.from(R);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return _(R,V)}}function k(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(R,V){return p(R)||h(R,V)||z(R,V)||k()}function g(R){if(Array.isArray(R))return _(R)}function b(R){if(typeof Symbol<"u"&&Symbol.iterator in Object(R))return Array.from(R)}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(R){return g(R)||b(R)||z(R)||x()}var L=i("a352"),M=i.n(L);function A(R){R.parentElement!==null&&R.parentElement.removeChild(R)}function F(R,V,q){var re=q===0?R.children[0]:R.children[q-1].nextSibling;R.insertBefore(V,re)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(R){var V=Object.create(null);return function(re){var ye=V[re];return ye||(V[re]=R(re))}}var W=/-(\w)/g,ne=U(function(R){return R.replace(W,function(V,q){return q.toUpperCase()})});i("5db7"),i("73d9");var he=["Start","Add","Remove","Update","End"],Y=["Choose","Unchoose","Sort","Filter","Clone"],oe=["Move"],ae=[oe,he,Y].flatMap(function(R){return R}).map(function(R){return"on".concat(R)}),We={manage:oe,manageAndEmit:he,emit:Y};function st(R){return ae.indexOf(R)!==-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(R){return Ve.includes(R)}function ot(R){return["transition-group","TransitionGroup"].includes(R)}function it(R){return["id","class","role","style"].includes(R)||R.startsWith("data-")||R.startsWith("aria-")||R.startsWith("on")}function lt(R){return R.reduce(function(V,q){var re=w(q,2),ye=re[0],$e=re[1];return V[ye]=$e,V},{})}function Ne(R){var V=R.$attrs,q=R.componentData,re=q===void 0?{}:q,ye=lt(Object.entries(V).filter(function($e){var Re=w($e,2),De=Re[0];return Re[1],it(De)}));return f(f({},ye),re)}function K(R){var V=R.$attrs,q=R.callBackBuilder,re=lt(de(V));Object.entries(q).forEach(function($e){var Re=w($e,2),De=Re[0],nt=Re[1];We[De].forEach(function(Ae){re["on".concat(Ae)]=nt(Ae)})});var ye="[data-draggable]".concat(re.draggable||"");return f(f({},re),{},{draggable:ye})}function de(R){return Object.entries(R).filter(function(V){var q=w(V,2),re=q[0];return q[1],!it(re)}).map(function(V){var q=w(V,2),re=q[0],ye=q[1];return[ne(re),ye]}).filter(function(V){var q=w(V,2),re=q[0];return q[1],!st(re)})}i("c740");function ce(R,V){if(!(R instanceof V))throw new TypeError("Cannot call a class as a function")}function ge(R,V){for(var q=0;q<V.length;q++){var re=V[q];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(R,re.key,re)}}function Ue(R,V,q){return V&&ge(R.prototype,V),R}var Ge=function(V){var q=V.el;return q},T=function(V,q){return V.__draggable_context=q},I=function(V){return V.__draggable_context},B=function(){function R(V){var q=V.nodes,re=q.header,ye=q.default,$e=q.footer,Re=V.root,De=V.realList;ce(this,R),this.defaultNodes=ye,this.children=[].concat(C(re),C(ye),C($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(R,[{key:"render",value:function(q,re){var ye=this.tag,$e=this.children,Re=this._isRootComponent,De=Re?{default:function(){return $e}}:$e;return q(ye,re,De)}},{key:"updated",value:function(){var q=this.defaultNodes,re=this.realList;q.forEach(function(ye,$e){T(Ge(ye),{element:re[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(q){return I(q)}},{key:"getVmIndexFromDomIndex",value:function(q,re){var ye=this.defaultNodes,$e=ye.length,Re=re.children,De=Re.item(q);if(De===null)return $e;var nt=I(De);if(nt)return nt.index;if($e===0)return 0;var Ae=Ge(ye[0]),Se=C(Re).findIndex(function(Te){return Te===Ae});return q<Se?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),R}(),ee=i("8bbf");function X(R,V){var q=R[V];return q?q():[]}function le(R){var V=R.$slots,q=R.realList,re=R.getKey,ye=q||[],$e=["header","footer"].map(function(Te){return X(V,Te)}),Re=w($e,2),De=Re[0],nt=Re[1],Ae=V.item;if(!Ae)throw new Error("draggable element must have an item slot");var Se=ye.flatMap(function(Te,Ye){return Ae({element:Te,index:Ye}).map(function(et){return et.key=re(Te),et.props=f(f({},et.props||{}),{},{"data-draggable":!0}),et})});if(Se.length!==ye.length)throw new Error("Item slot must have only one child");return{header:De,footer:nt,default:Se}}function fe(R){var V=ot(R),q=!He(R)&&!V;return{transition:V,externalComponent:q,tag:q?Object(ee.resolveComponent)(R):V?ee.TransitionGroup:R}}function S(R){var V=R.$slots,q=R.tag,re=R.realList,ye=R.getKey,$e=le({$slots:V,realList:re,getKey:ye}),Re=fe(q);return new B({nodes:$e,root:Re,realList:re})}function $(R,V){var q=this;Object(ee.nextTick)(function(){return q.$emit(R.toLowerCase(),V)})}function D(R){var V=this;return function(q,re){if(V.realList!==null)return V["onDrag".concat(R)](q,re)}}function Q(R){var V=this,q=D.call(this,R);return function(re,ye){q.call(V,re,ye),$.call(V,R,re)}}var me=null,se={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(V){return V}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},H=["update:modelValue","change"].concat(C([].concat(C(We.manageAndEmit),C(We.emit)).map(function(R){return R.toLowerCase()}))),G=Object(ee.defineComponent)({name:"draggable",inheritAttrs:!1,props:se,emits:H,data:function(){return{error:!1}},render:function(){try{this.error=!1;var V=this.$slots,q=this.$attrs,re=this.tag,ye=this.componentData,$e=this.realList,Re=this.getKey,De=S({$slots:V,tag:re,realList:$e,getKey:Re});this.componentStructure=De;var nt=Ne({$attrs:q,componentData:ye});return De.render(ee.h,nt)}catch(Ae){return this.error=!0,Object(ee.h)("pre",{style:{color:"red"}},Ae.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&Z.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var V=this;if(!this.error){var q=this.$attrs,re=this.$el,ye=this.componentStructure;ye.updated();var $e=K({$attrs:q,callBackBuilder:{manageAndEmit:function(nt){return Q.call(V,nt)},emit:function(nt){return $.bind(V,nt)},manage:function(nt){return D.call(V,nt)}}}),Re=re.nodeType===1?re:re.parentElement;this._sortable=new M.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 V=this.list;return V||this.modelValue},getKey:function(){var V=this.itemKey;return typeof V=="function"?V:function(q){return q[V]}}},watch:{$attrs:{handler:function(V){var q=this._sortable;q&&de(V).forEach(function(re){var ye=w(re,2),$e=ye[0],Re=ye[1];q.option($e,Re)})},deep:!0}},methods:{getUnderlyingVm:function(V){return this.componentStructure.getUnderlyingVm(V)||null},getUnderlyingPotencialDraggableComponent:function(V){return V.__draggable_component__},emitChanges:function(V){var q=this;Object(ee.nextTick)(function(){return q.$emit("change",V)})},alterList:function(V){if(this.list){V(this.list);return}var q=C(this.modelValue);V(q),this.$emit("update:modelValue",q)},spliceList:function(){var V=arguments,q=function(ye){return ye.splice.apply(ye,C(V))};this.alterList(q)},updatePosition:function(V,q){var re=function($e){return $e.splice(q,0,$e.splice(V,1)[0])};this.alterList(re)},getRelatedContextFromMoveEvent:function(V){var q=V.to,re=V.related,ye=this.getUnderlyingPotencialDraggableComponent(q);if(!ye)return{component:ye};var $e=ye.realList,Re={list:$e,component:ye};if(q!==re&&$e){var De=ye.getUnderlyingVm(re)||{};return f(f({},De),Re)}return Re},getVmIndexFromDomIndex:function(V){return this.componentStructure.getVmIndexFromDomIndex(V,this.targetDomElement)},onDragStart:function(V){this.context=this.getUnderlyingVm(V.item),V.item._underlying_vm_=this.clone(this.context.element),me=V.item},onDragAdd:function(V){var q=V.item._underlying_vm_;if(q!==void 0){A(V.item);var re=this.getVmIndexFromDomIndex(V.newIndex);this.spliceList(re,0,q);var ye={element:q,newIndex:re};this.emitChanges({added:ye})}},onDragRemove:function(V){if(F(this.$el,V.item,V.oldIndex),V.pullMode==="clone"){A(V.clone);return}var q=this.context,re=q.index,ye=q.element;this.spliceList(re,1);var $e={element:ye,oldIndex:re};this.emitChanges({removed:$e})},onDragUpdate:function(V){A(V.item),F(V.from,V.item,V.oldIndex);var q=this.context.index,re=this.getVmIndexFromDomIndex(V.newIndex);this.updatePosition(q,re);var ye={element:this.context.element,oldIndex:q,newIndex:re};this.emitChanges({moved:ye})},computeFutureIndex:function(V,q){if(!V.element)return 0;var re=C(q.to.children).filter(function(De){return De.style.display!=="none"}),ye=re.indexOf(q.related),$e=V.component.getVmIndexFromDomIndex(ye),Re=re.indexOf(me)!==-1;return Re||!q.willInsertAfter?$e:$e+1},onDragMove:function(V,q){var re=this.move,ye=this.realList;if(!re||!ye)return!0;var $e=this.getRelatedContextFromMoveEvent(V),Re=this.computeFutureIndex($e,V),De=f(f({},this.context),{},{futureIndex:Re}),nt=f(f({},V),{},{relatedContext:$e,draggedContext:De});return re(nt,q)},onDragEnd:function(){me=null}}}),xe=G;o.default=xe},fb6a:function(s,o,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"),z=i("ae40"),k=_("slice"),w=z("slice",{ACCESSORS:!0,0:0,1:2}),g=h("species"),b=[].slice,x=Math.max;a({target:"Array",proto:!0,forced:!k||!w},{slice:function(L,M){var A=f(this),F=m(A.length),Z=d(L,F),U=d(M===void 0?F:M,F),W,ne,he;if(u(A)&&(W=A.constructor,typeof W=="function"&&(W===Array||u(W.prototype))?W=void 0:l(W)&&(W=W[g],W===null&&(W=void 0)),W===Array||W===void 0))return b.call(A,Z,U);for(ne=new(W===void 0?Array:W)(x(U-Z,0)),he=0;Z<U;Z++,he++)Z in A&&p(ne,he,A[Z]);return ne.length=he,ne}})},fc6a:function(s,o,i){var a=i("44ad"),l=i("1d80");s.exports=function(u){return a(l(u))}},fdbc:function(s,o){s.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(s,o,i){var a=i("4930");s.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(_v);var Bj=_v.exports;const Wj=Vl(Bj),qj={name:"PageQueue",components:{ContentWithHeading:Qe,ListItemQueueItem:EU,ModalDialogAddUrlStream:BU,ModalDialogPlaylistSave:ij,ModalDialogQueueItem:hv,draggable:Wj},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(){}},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&&j.queue_move(n.id,r)},open_add_stream_dialog(){this.show_url_modal=!0},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},queue_clear(){j.queue_clear()},remove(e){j.queue_remove(e.id)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)},update_show_next_items(){this.$store.commit(Lh,!this.show_only_next_items)}}},Gj=["textContent"],Kj=["textContent"],Zj={class:"buttons is-centered"},Yj=["textContent"],Xj=["textContent"],Jj=["disabled"],Qj=["textContent"],eB=["disabled"],tB=["textContent"],nB=["disabled"],rB=["textContent"],sB=["onClick"],oB=["onClick"];function iB(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-item-queue-item"),l=O("draggable"),u=O("modal-dialog-queue-item"),d=O("modal-dialog-add-url-stream"),m=O("modal-dialog-playlist-save"),f=O("content-with-heading");return E(),P("div",null,[v(f,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.queue.title"))},null,8,Gj),c("p",{class:"heading",textContent:y(e.$t("page.queue.count",{count:o.queue.count}))},null,8,Kj)]),"heading-right":N(()=>[c("div",Zj,[c("button",{class:ke(["button is-small",{"is-info":o.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>o.update_show_next_items&&o.update_show_next_items(...p))},[v(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),c("span",{textContent:y(e.$t("page.queue.hide-previous"))},null,8,Yj)],2),c("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.open_add_stream_dialog(...p))},[v(i,{class:"icon",name:"web",size:"16"}),c("span",{textContent:y(e.$t("page.queue.add-stream"))},null,8,Xj)]),c("button",{class:ke(["button is-small",{"is-info":s.edit_mode}]),disabled:o.queue_items.length===0,onClick:t[2]||(t[2]=p=>s.edit_mode=!s.edit_mode)},[v(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:y(e.$t("page.queue.edit"))},null,8,Qj)],10,Jj),c("button",{class:"button is-small",disabled:o.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[v(i,{class:"icon",name:"delete-empty",size:"16"}),c("span",{textContent:y(e.$t("page.queue.clear"))},null,8,tB)],8,eB),o.is_queue_save_allowed?(E(),P("button",{key:0,class:"button is-small",disabled:o.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>o.save_dialog&&o.save_dialog(...p))},[v(i,{class:"icon",name:"content-save",size:"16"}),c("span",{textContent:y(e.$t("page.queue.save"))},null,8,rB)],8,nB)):te("",!0)])]),content:N(()=>[v(l,{modelValue:o.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>o.queue_items=p),handle:".handle","item-key":"id",onEnd:o.move_item},{item:N(({element:p,index:h})=>[v(a,{item:p,position:h,current_position:o.current_position,show_only_next_items:o.show_only_next_items,edit_mode:s.edit_mode},{actions:N(()=>[s.edit_mode?te("",!0):(E(),P("a",{key:0,onClick:yt(_=>o.open_dialog(p),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,sB)),p.id!==o.state.item_id&&s.edit_mode?(E(),P("a",{key:1,onClick:yt(_=>o.remove(p),["prevent","stop"])},[v(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,oB)):te("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),v(u,{show:s.show_details_modal,item:s.selected_item,onClose:t[6]||(t[6]=p=>s.show_details_modal=!1)},null,8,["show","item"]),v(d,{show:s.show_url_modal,onClose:t[7]||(t[7]=p=>s.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(E(),we(m,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):te("",!0)]),_:1})])}const aB=ie(qj,[["render",iB]]),kh={load(e){return j.library_radio_streams()},set(e,t){e.tracks=new Ee(t.data.tracks)}},lB={name:"PageRadioStreams",components:{ContentWithHeading:Qe,ListTracks:fn},beforeRouteEnter(e,t,n){kh.load(e).then(r=>{n(s=>kh.set(s,r))})},data(){return{tracks:new Ee}}},cB=["textContent"],uB=["textContent"];function dB(e,t,n,r,s,o){const i=O("list-tracks"),a=O("content-with-heading");return E(),P("div",null,[v(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.radio.title"))},null,8,cB),c("p",{class:"heading",textContent:y(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,uB)]),content:N(()=>[v(i,{items:s.tracks},null,8,["items"])]),_:1})])}const mB=ie(lB,[["render",dB]]),fB={name:"TabsSearch",emits:["search-library","search-spotify"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},pB={key:0,class:"section"},hB={class:"container"},_B={class:"columns is-centered"},gB={class:"column is-four-fifths"},yB={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},vB=["textContent"],bB=["textContent"];function zB(e,t,n,r,s,o){const i=O("mdicon");return o.spotify_enabled?(E(),P("section",pB,[c("div",hB,[c("div",_B,[c("div",gB,[c("div",yB,[c("ul",null,[c("li",{class:ke({"is-active":e.$route.name==="search-library"})},[c("a",{onClick:t[0]||(t[0]=a=>e.$emit("search-library"))},[v(i,{class:"icon is-small",name:"bookshelf",size:"16"}),c("span",{textContent:y(e.$t("page.search.tabs.library"))},null,8,vB)])],2),c("li",{class:ke({"is-active":e.$route.name==="search-spotify"})},[c("a",{onClick:t[1]||(t[1]=a=>e.$emit("search-spotify"))},[v(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{textContent:y(e.$t("page.search.tabs.spotify"))},null,8,bB)])],2)])])])])])])):te("",!0)}const $v=ie(fB,[["render",zB]]),Fc=3,Vc=["track","artist","album","composer","playlist","audiobook","podcast"],CB={name:"PageSearchLibrary",components:{ContentWithHeading:Qe,ListAlbums:zn,ListArtists:ol,ListComposers:Vu,ListPlaylists:il,ListTracks:fn,TabsSearch:$v},data(){return{components:{album:zn.name,artist:ol.name,audiobook:zn.name,composer:Vu.name,playlist:il.name,podcast:zn.name,track:fn.name},results:new Map,search_limit:{},search_query:"",search_types:Vc}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.$store.state.recent_searches}},watch:{search_query(){this.$store.commit(Gu,this.search_query)}},mounted(){this.$store.commit(Ku,this.$route.name),this.search_query=this.$store.state.search_query,this.search_limit=Fc,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=Vc,this.search_limit=Fc,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=Vc,this.search_limit=Fc),this.search_query=this.search_query.trim(),!this.search_query||!this.search_query.replace(/^query:/u,"")){this.$refs.search_field.focus();return}this.reset(),this.search_types.forEach(t=>{this.search_items(t)}),this.$store.dispatch("add_recent_search",this.search_query)},search_items(e){const t=e!=="audiobook"&&e!=="podcast",n=t?"music":e,r={limit:this.search_limit,type:t?e:"album"};this.search_query.startsWith("query:")?r.expression=`(${this.search_query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:t?(r.query=this.search_query,r.media_kind=n):r.expression=`(album includes "${this.search_query}" or artist includes "${this.search_query}") and media_kind is ${n}`,j.search(r).then(({data:s})=>{this.results.set(e,new Ee(s[`${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}}},wB={class:"section pb-0"},kB={class:"container"},xB={class:"columns is-centered"},SB={class:"column is-four-fifths"},EB={class:"field"},$B={class:"control has-icons-left"},TB=["placeholder"],AB=c("code",null,"query:",-1),OB=["textContent"],PB={class:"field is-grouped is-grouped-multiline mt-4"},IB={class:"tags has-addons"},LB=["onClick","textContent"],NB=["onClick"],DB=["textContent"],RB={key:0,class:"level"},MB={class:"level-item"},FB=["onClick","textContent"],VB={key:1,class:"has-text-centered-mobile"},HB=["textContent"];function UB(e,t,n,r,s,o){const i=O("mdicon"),a=O("i18n-t"),l=O("tabs-search"),u=O("content-with-heading");return E(),P(be,null,[c("section",wB,[c("div",kB,[c("div",xB,[c("div",SB,[c("form",{onSubmit:t[1]||(t[1]=yt((...d)=>o.search&&o.search(...d),["prevent"]))},[c("div",EB,[c("p",$B,[pt(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>s.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,TB),[[mn,s.search_query]]),v(i,{class:"icon is-left",name:"magnify",size:"16"})]),v(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:N(()=>[AB]),help:N(()=>[c("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:y(e.$t("page.search.expression"))},null,8,OB)]),_:1})])],32),c("div",PB,[(E(!0),P(be,null,gt(o.recent_searches,d=>(E(),P("div",{key:d,class:"control"},[c("div",IB,[c("a",{class:"tag",onClick:m=>o.open_search(d),textContent:y(d)},null,8,LB),c("a",{class:"tag is-delete",onClick:m=>o.remove_search(d)},null,8,NB)])]))),128))])])])])]),v(l,{onSearchLibrary:o.search,onSearchSpotify:o.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),(E(!0),P(be,null,gt(s.results,([d,m])=>(E(),we(u,{key:d,class:"pt-0"},$d({"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t(`page.search.${d}s`))},null,8,DB)]),content:N(()=>[(E(),we(Ol(s.components[d]),{items:m},null,8,["items"]))]),_:2},[o.expanded?void 0:{name:"footer",fn:N(()=>[o.show_all_button(m)?(E(),P("nav",RB,[c("p",MB,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>o.expand(d),textContent:y(e.$t(`page.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,FB)])])):te("",!0),m.total?te("",!0):(E(),P("p",VB,[c("i",{textContent:y(e.$t("page.search.no-results"))},null,8,HB)]))]),key:"0"}]),1024))),128))],64)}const jB=ie(CB,[["render",UB]]),BB={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:uv},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}}},WB=["onClick"],qB=["textContent"],GB={class:"media-right"},KB=["onClick"];function ZB(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-artist-spotify");return E(),P(be,null,[(E(!0),P(be,null,gt(n.items,l=>(E(),P("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:"media-content is-clickable is-clipped",onClick:u=>o.open(l)},[c("h1",{class:"title is-6",textContent:y(l.name)},null,8,qB)],8,WB),c("div",GB,[c("a",{onClick:yt(u=>o.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,KB)])]))),128)),(E(),we(Dn,{to:"#app"},[v(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const xh=ie(BB,[["render",ZB]]),Hc=3,Uc=50,jc=["track","artist","album","playlist"],YB={name:"PageSearchSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,ListArtistsSpotify:xh,ListPlaylistsSpotify:al,ListTracksSpotify:sl,TabsSearch:$v,VueEternalLoading:em},data(){return{components:{album:Ci.name,artist:xh.name,playlist:al.name,track:sl.name},results:new Map,search_parameters:{},search_query:"",search_types:jc}},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(Gu,this.search_query)}},mounted(){this.$store.commit(Ku,this.$route.name),this.search_query=this.$store.state.search_query,this.search_parameters.limit=Hc,this.search()},methods:{expand(e){this.search_query=this.$store.state.search_query,this.search_types=[e],this.search_parameters.limit=Uc,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=jc,this.search_parameters.limit=Hc,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=jc,this.search_parameters.limit=Hc),this.search_query=this.search_query.trim(),!this.search_query){this.$refs.search_field.focus();return}this.reset(),this.search_items().then(t=>{this.search_types.forEach(n=>{this.results.set(n,t[`${n}s`])})}),this.$store.dispatch("add_recent_search",this.search_query)},search_items(){return j.spotify().then(({data:e})=>{this.search_parameters.market=e.webapi_country;const t=new er;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=Uc,this.search_items().then(r=>{const[s]=Object.values(r);n.items.push(...s.items),n.total=s.total,this.search_parameters.offset||(this.search_parameters.offset=0),this.search_parameters.offset+=s.limit,e(s.items.length,Uc)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},XB={class:"section pb-0"},JB={class:"container"},QB={class:"columns is-centered"},eW={class:"column is-four-fifths"},tW={class:"field"},nW={class:"control has-icons-left"},rW=["placeholder"],sW={class:"field is-grouped is-grouped-multiline mt-4"},oW={class:"tags has-addons"},iW=["onClick","textContent"],aW=["onClick"],lW=["textContent"],cW={class:"columns is-centered"},uW={class:"column has-text-centered"},dW=c("br",null,null,-1),mW={key:0,class:"level"},fW={class:"level-item"},pW=["onClick","textContent"],hW={key:1,class:"has-text-centered-mobile"},_W=["textContent"];function gW(e,t,n,r,s,o){const i=O("mdicon"),a=O("tabs-search"),l=O("VueEternalLoading"),u=O("content-with-heading");return E(),P(be,null,[c("section",XB,[c("div",JB,[c("div",QB,[c("div",eW,[c("form",{onSubmit:t[1]||(t[1]=yt((...d)=>o.search&&o.search(...d),["prevent"]))},[c("div",tW,[c("p",nW,[pt(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>s.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,rW),[[mn,s.search_query]]),v(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),c("div",sW,[(E(!0),P(be,null,gt(o.recent_searches,d=>(E(),P("div",{key:d,class:"control"},[c("div",oW,[c("a",{class:"tag",onClick:m=>o.open_search(d),textContent:y(d)},null,8,iW),c("a",{class:"tag is-delete",onClick:m=>o.remove_search(d)},null,8,aW)])]))),128))])])])])]),v(a,{onSearchLibrary:o.search_library,onSearchSpotify:o.search},null,8,["onSearchLibrary","onSearchSpotify"]),(E(!0),P(be,null,gt(s.results,([d,m])=>(E(),we(u,{key:d,class:"pt-0"},$d({"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t(`page.spotify.search.${d}s`))},null,8,lW)]),content:N(()=>[(E(),we(Ol(s.components[d]),{items:m.items},null,8,["items"])),o.expanded?(E(),we(l,{key:0,load:o.search_next},{loading:N(()=>[c("div",cW,[c("div",uW,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>[dW]),_:1},8,["load"])):te("",!0)]),_:2},[o.expanded?void 0:{name:"footer",fn:N(()=>[o.show_all_button(m)?(E(),P("nav",mW,[c("p",fW,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>o.expand(d),textContent:y(e.$t(`page.spotify.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,pW)])])):te("",!0),m.total?te("",!0):(E(),P("p",hW,[c("i",{textContent:y(e.$t("page.spotify.search.no-results"))},null,8,_W)]))]),key:"0"}]),1024))),128))],64)}const yW=ie(YB,[["render",gW]]),vW={name:"SettingsCheckbox",props:{category:{required:!0,type:String},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"},setting(){const e=this.$store.getters.setting(this.category,this.name);return e||{category:this.category,name:this.name,value:!1}}},methods:{clear_status(){this.is_error&&(this.setting.value=!this.setting.value),this.statusUpdate=""},update_setting(){this.timerId=-1;const e={category:this.category,name:this.name,value:this.setting.value};j.settings_update(this.category,e).then(()=>{this.$store.dispatch("update_setting",e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},bW={class:"field"},zW=["id"],CW=["for"],wW=["textContent"],kW={key:0,class:"help"};function xW(e,t,n,r,s,o){return E(),P("div",bW,[pt(c("input",{id:o.setting.name,"onUpdate:modelValue":t[0]||(t[0]=i=>o.setting.value=i),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...i)=>o.update_setting&&o.update_setting(...i))},null,40,zW),[[In,o.setting.value]]),c("label",{class:"pt-0",for:o.setting.name},[zt(e.$slots,"label")],8,CW),c("i",{class:ke(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:y(o.info)},null,10,wW),e.$slots.info?(E(),P("p",kW,[zt(e.$slots,"info")])):te("",!0)])}const Tv=ie(vW,[["render",xW]]),SW={name:"TabsSettings"},EW={class:"section fd-tabs-section"},$W={class:"container"},TW={class:"columns is-centered"},AW={class:"column is-four-fifths"},OW={class:"tabs is-centered is-small"},PW=["onClick","onKeypress"],IW=["textContent"],LW=["onClick","onKeypress"],NW=["textContent"],DW=["onClick","onKeypress"],RW=["textContent"],MW=["onClick","onKeypress"],FW=["textContent"];function VW(e,t,n,r,s,o){const i=O("router-link");return E(),P("section",EW,[c("div",$W,[c("div",TW,[c("div",AW,[c("div",OW,[c("ul",null,[v(i,{to:{name:"settings-webinterface"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.general"))},null,8,IW)],40,PW)],2)]),_:1}),v(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,NW)],40,LW)],2)]),_:1}),v(i,{to:{name:"settings-artwork"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.artwork"))},null,8,RW)],40,DW)],2)]),_:1}),v(i,{to:{name:"settings-online-services"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.online-services"))},null,8,FW)],40,MW)],2)]),_:1})])])])])])])}const Xl=ie(SW,[["render",VW]]),HW={name:"PageSettingsArtwork",components:{ContentWithHeading:Qe,SettingsCheckbox:Tv,TabsSettings:Xl},computed:{spotify(){return this.$store.state.spotify}}},UW={class:"fd-page-with-tabs"},jW=["textContent"],BW=["textContent"],WW=["textContent"],qW=["textContent"],GW={href:"https://www.spotify.com/",target:"_blank"},KW={class:"icon"},ZW=["textContent"],YW={href:"https://www.discogs.com/",target:"_blank"},XW={class:"icon"},JW=["textContent"],QW={href:"https://coverartarchive.org/",target:"_blank"},eq={class:"icon"};function tq(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("mdicon"),l=O("settings-checkbox"),u=O("content-with-heading");return E(),P("div",UW,[v(i),v(u,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.artwork.artwork"))},null,8,jW)]),content:N(()=>[c("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-1"))},null,8,BW),c("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-2"))},null,8,WW),o.spotify.spotify_logged_in?(E(),we(l,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.artwork.spotify"))},null,8,qW),c("a",GW,[c("span",KW,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})):te("",!0),v(l,{category:"artwork",name:"use_artwork_source_discogs"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.artwork.discogs"))},null,8,ZW),c("a",YW,[c("span",XW,[v(a,{name:"open-in-new",size:"16"})])])]),_:1}),v(l,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.artwork.coverartarchive"))},null,8,JW),c("a",QW,[c("span",eq,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const nq=ie(HW,[["render",tq]]),rq={name:"PageSettingsOnlineServices",components:{ContentWithHeading:Qe,TabsSettings:Xl},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(){j.lastfm_login(this.lastfm_login).then(e=>{this.lastfm_login.user="",this.lastfm_login.password="",this.lastfm_login.errors.user="",this.lastfm_login.errors.password="",this.lastfm_login.errors.error="",e.data.success||(this.lastfm_login.errors.user=e.data.errors.user,this.lastfm_login.errors.password=e.data.errors.password,this.lastfm_login.errors.error=e.data.errors.error)})},logoutLastfm(){j.lastfm_logout()},logout_spotify(){j.spotify_logout()}}},sq={class:"fd-page-with-tabs"},oq=["textContent"],iq={key:0,class:"notification is-size-7"},aq=["textContent"],lq={key:1},cq={class:"notification is-size-7"},uq=["textContent"],dq={class:"mt-5"},mq=["textContent"],fq={key:0},pq=["textContent"],hq=["textContent"],_q={key:1,class:"help is-danger"},gq=["textContent"],yq=["textContent"],vq={class:"field mt-5"},bq={class:"control"},zq=["href","textContent"],Cq={class:"help"},wq=["textContent"],kq=["textContent"],xq={key:2,class:"field mt-5"},Sq={class:"control"},Eq=["textContent"],$q=["textContent"],Tq={key:0,class:"notification is-size-7"},Aq=["textContent"],Oq={key:1},Pq=["textContent"],Iq={key:0},Lq=["textContent"],Nq={key:1},Dq={class:"field is-grouped"},Rq={class:"control"},Mq=["placeholder"],Fq=["textContent"],Vq={class:"control"},Hq=["placeholder"],Uq=["textContent"],jq={class:"control"},Bq=["textContent"],Wq=["textContent"],qq=["textContent"];function Gq(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("content-with-heading");return E(),P("div",sq,[v(i),v(a,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.spotify.title"))},null,8,oq)]),content:N(()=>[o.spotify.spotify_installed?te("",!0):(E(),P("div",iq,[c("p",{textContent:y(e.$t("page.settings.services.spotify.no-support"))},null,8,aq)])),o.spotify.spotify_installed?(E(),P("div",lq,[c("div",cq,[c("span",{textContent:y(e.$t("page.settings.services.spotify.requirements"))},null,8,uq)]),c("div",dq,[c("p",{class:"content",textContent:y(e.$t("page.settings.services.spotify.grant-access"))},null,8,mq),o.spotify.webapi_token_valid?(E(),P("p",fq,[c("span",{textContent:y(e.$t("page.settings.services.spotify.user"))},null,8,pq),c("code",{textContent:y(o.spotify.webapi_user)},null,8,hq)])):te("",!0),o.spotify_missing_scope.length>0?(E(),P("p",_q,[c("span",{textContent:y(e.$t("page.settings.services.spotify.reauthorize"))},null,8,gq),c("code",{textContent:y(o.spotify_missing_scope.join())},null,8,yq)])):te("",!0),c("div",vq,[c("div",bq,[c("a",{class:ke(["button",{"is-info":!o.spotify.webapi_token_valid||o.spotify_missing_scope.length>0}]),href:o.spotify.oauth_uri,textContent:y(e.$t("page.settings.services.spotify.authorize"))},null,10,zq)])]),c("p",Cq,[c("span",{textContent:y(e.$t("page.settings.services.spotify.scopes"))},null,8,wq),c("code",{textContent:y(o.spotify_required_scope.join(", "))},null,8,kq)]),o.spotify.webapi_token_valid?(E(),P("div",xq,[c("div",Sq,[c("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>o.logout_spotify&&o.logout_spotify(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,Eq)])])):te("",!0)])])):te("",!0)]),_:1}),v(a,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.lastfm.title"))},null,8,$q)]),content:N(()=>[o.lastfm.enabled?te("",!0):(E(),P("div",Tq,[c("p",{textContent:y(e.$t("page.settings.services.lastfm.no-support"))},null,8,Aq)])),o.lastfm.enabled?(E(),P("div",Oq,[c("p",{class:"content",textContent:y(e.$t("page.settings.services.lastfm.grant-access"))},null,8,Pq),o.lastfm.scrobbling_enabled?(E(),P("div",Iq,[c("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,Lq)])):te("",!0),o.lastfm.scrobbling_enabled?te("",!0):(E(),P("div",Nq,[c("form",{onSubmit:t[4]||(t[4]=yt((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[c("div",Dq,[c("div",Rq,[pt(c("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>s.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,Mq),[[mn,s.lastfm_login.user]]),c("p",{class:"help is-danger",textContent:y(s.lastfm_login.errors.user)},null,8,Fq)]),c("div",Vq,[pt(c("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>s.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,Hq),[[mn,s.lastfm_login.password]]),c("p",{class:"help is-danger",textContent:y(s.lastfm_login.errors.password)},null,8,Uq)]),c("div",jq,[c("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.services.login"))},null,8,Bq)])]),c("p",{class:"help is-danger",textContent:y(s.lastfm_login.errors.error)},null,8,Wq),c("p",{class:"help",textContent:y(e.$t("page.settings.services.lastfm.info"))},null,8,qq)],32)]))])):te("",!0)]),_:1})])}const Kq=ie(rq,[["render",Gq]]),Zq={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:Qe,TabsSettings:Xl},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.$store.state.outputs},pairing(){return this.$store.state.pairing}},methods:{kickoff_pairing(){j.pairing_kickoff(this.pairing_req)},kickoff_verification(e){j.output_update(e,this.verification_req)},output_toggle(e){j.output_toggle(e)}}},Yq={class:"fd-page-with-tabs"},Xq=["textContent"],Jq={key:0},Qq={class:"label has-text-weight-normal content"},eG=["textContent"],tG=["textContent"],nG={class:"field is-grouped"},rG={class:"control"},sG=["placeholder"],oG={class:"control"},iG=["textContent"],aG={key:1},lG=["textContent"],cG=["textContent"],uG=["textContent"],dG={class:"field"},mG={class:"control"},fG=["id","onUpdate:modelValue","onChange"],pG=["for","textContent"],hG=["onSubmit"],_G={class:"field is-grouped"},gG={class:"control"},yG=["placeholder"],vG={class:"control"},bG=["textContent"];function zG(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("content-with-heading");return E(),P("div",Yq,[v(i),v(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.pairing"))},null,8,Xq)]),content:N(()=>[o.pairing.active?(E(),P("div",Jq,[c("form",{onSubmit:t[1]||(t[1]=yt((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[c("label",Qq,[c("span",{textContent:y(e.$t("page.settings.devices.pairing-request"))},null,8,eG),c("b",{textContent:y(o.pairing.remote)},null,8,tG)]),c("div",nG,[c("div",rG,[pt(c("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,sG),[[mn,s.pairing_req.pin]])]),c("div",oG,[c("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.send"))},null,8,iG)])])],32)])):(E(),P("div",aG,[c("p",{textContent:y(e.$t("page.settings.devices.no-active-pairing"))},null,8,lG)]))]),_:1}),v(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.speaker-pairing"))},null,8,cG)]),content:N(()=>[c("p",{class:"content",textContent:y(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,uG),(E(!0),P(be,null,gt(o.outputs,l=>(E(),P("div",{key:l.id},[c("div",dG,[c("div",mG,[pt(c("input",{id:l.id,"onUpdate:modelValue":u=>l.selected=u,type:"checkbox",class:"switch is-rounded mr-2",onChange:u=>o.output_toggle(l.id)},null,40,fG),[[In,l.selected]]),c("label",{for:l.id,class:"checkbox",textContent:y(l.name)},null,8,pG)])]),l.needs_auth_key?(E(),P("form",{key:0,class:"mb-5",onSubmit:yt(u=>o.kickoff_verification(l.id),["prevent"])},[c("div",_G,[c("div",gG,[pt(c("input",{"onUpdate:modelValue":t[2]||(t[2]=u=>s.verification_req.pin=u),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,yG),[[mn,s.verification_req.pin]])]),c("div",vG,[c("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.verify"))},null,8,bG)])])],40,hG)):te("",!0)]))),128))]),_:1})])}const CG=ie(Zq,[["render",zG]]),wG={name:"SettingsIntfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.$store.getters.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(e){e.target.value=e.target.value.replace(/[^0-9]/gu,""),this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.timerId=window.setTimeout(this.update_setting,this.timerDelay)},update_setting(){this.timerId=-1;const e=parseInt(this.$refs.setting.value,10);if(isNaN(e)||e===this.value){this.statusUpdate="";return}const t={category:this.category,name:this.name,value:e};j.settings_update(this.category,t).then(()=>{this.$store.dispatch("update_setting",t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},kG=["disabled"],xG={class:"field"},SG={class:"label has-text-weight-normal"},EG=["textContent"],$G={class:"control"},TG=["placeholder","value"],AG={key:0,class:"help"};function OG(e,t,n,r,s,o){return E(),P("fieldset",{disabled:n.disabled},[c("div",xG,[c("label",SG,[zt(e.$slots,"label"),c("i",{class:ke(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:y(o.info)},null,10,EG)]),c("div",$G,[c("input",{ref:"setting",class:"column input is-one-fifth",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:o.setting.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,TG)]),e.$slots.info?(E(),P("p",AG,[zt(e.$slots,"info")])):te("",!0)])],8,kG)}const PG=ie(wG,[["render",OG]]),IG={name:"SettingsTextfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.$store.getters.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category,name:this.name,value:e};j.settings_update(this.category,t).then(()=>{this.$store.dispatch("update_setting",t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},LG=["disabled"],NG={class:"field"},DG={class:"label has-text-weight-normal"},RG=["textContent"],MG={class:"control"},FG=["placeholder","value"],VG={key:0,class:"help"};function HG(e,t,n,r,s,o){return E(),P("fieldset",{disabled:n.disabled},[c("div",NG,[c("label",DG,[zt(e.$slots,"label"),c("i",{class:ke(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:y(o.info)},null,10,RG)]),c("div",MG,[c("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:o.setting.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,FG)]),e.$slots.info?(E(),P("p",VG,[zt(e.$slots,"info")])):te("",!0)])],8,LG)}const UG=ie(IG,[["render",HG]]),jG={name:"PageSettingsWebinterface",components:{ContentWithHeading:Qe,ControlDropdown:Ts,SettingsCheckbox:Tv,SettingsIntfield:PG,SettingsTextfield:UG,TabsSettings:Xl},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}`)}))}},setting_show_composer_now_playing(){return this.$store.getters.setting_show_composer_now_playing},setting_show_filepath_now_playing(){return this.$store.getters.setting_show_filepath_now_playing}}},BG={class:"fd-page-with-tabs"},WG=["textContent"],qG=["textContent"],GG=["textContent"],KG=["textContent"],ZG=["textContent"],YG=["textContent"],XG=["textContent"],JG=["textContent"],QG=["textContent"],eK=["textContent"],tK=["textContent"],nK=["textContent"],rK=["textContent"],sK=["textContent"],oK=["textContent"],iK=["textContent"],aK=["textContent"],lK=["textContent"],cK=["textContent"],uK=["textContent"],dK=["textContent"],mK=["textContent"],fK=["textContent"];function pK(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("control-dropdown"),l=O("content-with-heading"),u=O("settings-checkbox"),d=O("settings-textfield"),m=O("settings-intfield");return E(),P("div",BG,[v(i),v(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.language"))},null,8,WG)]),content:N(()=>[v(a,{value:o.locale,"onUpdate:value":t[0]||(t[0]=f=>o.locale=f),options:o.locales},null,8,["value","options"])]),_:1}),v(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.navigation-items"))},null,8,qG)]),content:N(()=>[c("p",{class:"content",textContent:y(e.$t("page.settings.general.navigation-item-selection"))},null,8,GG),c("div",{class:"notification is-size-7",textContent:y(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,KG),v(u,{category:"webinterface",name:"show_menu_item_playlists"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.playlists"))},null,8,ZG)]),_:1}),v(u,{category:"webinterface",name:"show_menu_item_music"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.music"))},null,8,YG)]),_:1}),v(u,{category:"webinterface",name:"show_menu_item_podcasts"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.podcasts"))},null,8,XG)]),_:1}),v(u,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.audiobooks"))},null,8,JG)]),_:1}),v(u,{category:"webinterface",name:"show_menu_item_radio"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.radio"))},null,8,QG)]),_:1}),v(u,{category:"webinterface",name:"show_menu_item_files"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.files"))},null,8,eK)]),_:1}),v(u,{category:"webinterface",name:"show_menu_item_search"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.search"))},null,8,tK)]),_:1})]),_:1}),v(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.album-lists"))},null,8,nK)]),content:N(()=>[v(u,{category:"webinterface",name:"show_cover_artwork_in_album_lists"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-coverart"))},null,8,rK)]),_:1})]),_:1}),v(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.now-playing-page"))},null,8,sK)]),content:N(()=>[v(u,{category:"webinterface",name:"show_composer_now_playing"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-composer"))},null,8,oK)]),info:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-composer-info"))},null,8,iK)]),_:1}),v(d,{category:"webinterface",name:"show_composer_for_genre",disabled:!o.setting_show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-composer-genres"))},null,8,aK)]),info:N(()=>[c("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,lK),c("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,cK),c("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,uK)]),_:1},8,["disabled","placeholder"]),v(u,{category:"webinterface",name:"show_filepath_now_playing"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-path"))},null,8,dK)]),_:1})]),_:1}),v(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.recently-added-page"))},null,8,mK)]),content:N(()=>[v(m,{category:"webinterface",name:"recently_added_limit"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.recently-added-page-info"))},null,8,fK)]),_:1})]),_:1})])}const hK=ie(jG,[["render",pK]]),Sh=140,Eh=110,Av=W8({history:v8(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:jP,name:"about",path:"/about"},{component:SN,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:R5,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:a4,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:G4,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:PR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:rR,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:i3,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:f3,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:v3,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:eM,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:KF,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:QF,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:sV,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:VV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:WV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:YV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:$M,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:HM,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:r7,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:cF,meta:{show_progress:!0},name:"files",path:"/files"},{component:vF,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:PF,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:MF,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:uH,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:hH,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:CH,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:PH,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:BH,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:yU,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:mB,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:aB,name:"queue",path:"/"},{component:jB,name:"search-library",path:"/search/library"},{component:yW,name:"search-spotify",path:"/search/spotify"},{component:hK,name:"settings-webinterface",path:"/settings/webinterface"},{component:nq,name:"settings-artwork",path:"/settings/artwork"},{component:Kq,name:"settings-online-services",path:"/settings/online-services"},{component:CG,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((s,o)=>{setTimeout(()=>{s(n)},0)});if(e.path===t.path&&e.hash){const s=e.meta.has_tabs?Sh:Eh;return{behavior:"smooth",el:e.hash,top:s}}return e.hash?new Promise((s,o)=>{setTimeout(()=>{s({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((s,o)=>{const i=e.meta.has_tabs?Sh:Eh;setTimeout(()=>{s({el:"#top",top:i})},0)}):{left:0,top:0}}});Av.beforeEach((e,t,n)=>{if(ht.state.show_burger_menu){ht.commit(ki,!1),n(!1);return}if(ht.state.show_player_menu){ht.commit(xi,!1),n(!1);return}n(!0)});const Ov=by(_T).use(ht).use(Av).use(PT).use(yT).use(AT,{log:!1}).use(HO,{icons:IO}).use(Rl);Ov.config.globalProperties.$filters=PO;Ov.mount("#app");
|