mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
72 lines
794 KiB
JavaScript
72 lines
794 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const zh="ALBUMS_SORT",Ch="ARTISTS_SORT",wh="ARTIST_ALBUMS_SORT",kh="ARTIST_TRACKS_SORT",xh="COMPOSER_TRACKS_SORT",Sh="GENRE_TRACKS_SORT",ll="HIDE_SINGLES",wi="HIDE_SPOTIFY",Uu="SEARCH_QUERY",ju="SEARCH_SOURCE",rs="SHOW_BURGER_MENU",Eh="SHOW_ONLY_NEXT_ITEMS",os="SHOW_PLAYER_MENU",ki="SHOW_UPDATE_DIALOG",$h="UPDATE_CONFIG",Bu="UPDATE_DIALOG_SCAN_KIND",Th="UPDATE_LASTFM",Ah="UPDATE_LIBRARY_RSS_COUNT",Oh="UPDATE_LIBRARY_STATS",Hc="UPDATE_LYRICS",Ph="UPDATE_OUTPUTS",Ih="UPDATE_PAIRING",Wu="UPDATE_PLAYER_STATUS",Lh="UPDATE_QUEUE",Nh="UPDATE_SETTINGS",Dh="UPDATE_SPOTIFY";function Rh(e,t){return function(){return e.apply(t,arguments)}}const{toString:zv}=Object.prototype,{getPrototypeOf:qu}=Object,cl=(e=>t=>{const n=zv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cr=e=>(e=e.toLowerCase(),t=>cl(t)===e),ul=e=>t=>typeof t===e,{isArray:gs}=Array,li=ul("undefined");function Cv(e){return e!==null&&!li(e)&&e.constructor!==null&&!li(e.constructor)&&An(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Mh=cr("ArrayBuffer");function wv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Mh(e.buffer),t}const kv=ul("string"),An=ul("function"),Fh=ul("number"),dl=e=>e!==null&&typeof e=="object",xv=e=>e===!0||e===!1,_a=e=>{if(cl(e)!=="object")return!1;const t=qu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Sv=cr("Date"),Ev=cr("File"),$v=cr("Blob"),Tv=cr("FileList"),Av=e=>dl(e)&&An(e.pipe),Ov=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||An(e.append)&&((t=cl(e))==="formdata"||t==="object"&&An(e.toString)&&e.toString()==="[object FormData]"))},Pv=cr("URLSearchParams"),Iv=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),gs(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function Vh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Hh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Uh=e=>!li(e)&&e!==Hh;function Uc(){const{caseless:e}=Uh(this)&&this||{},t={},n=(r,o)=>{const s=e&&Vh(t,o)||o;_a(t[s])&&_a(r)?t[s]=Uc(t[s],r):_a(r)?t[s]=Uc({},r):gs(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&xi(arguments[r],n);return t}const Lv=(e,t,n,{allOwnKeys:r}={})=>(xi(t,(o,s)=>{n&&An(o)?e[s]=Rh(o,n):e[s]=o},{allOwnKeys:r}),e),Nv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Dv=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Rv=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&qu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Mv=(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},Fv=e=>{if(!e)return null;if(gs(e))return e;let t=e.length;if(!Fh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Vv=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qu(Uint8Array)),Hv=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Uv=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},jv=cr("HTMLFormElement"),Bv=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),sm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Wv=cr("RegExp"),jh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};xi(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},qv=e=>{jh(e,(t,n)=>{if(An(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(An(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+"'")})}})},Gv=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return gs(e)?r(e):r(String(e).split(t)),n},Kv=()=>{},Zv=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Zl="abcdefghijklmnopqrstuvwxyz",im="0123456789",Bh={DIGIT:im,ALPHA:Zl,ALPHA_DIGIT:Zl+Zl.toUpperCase()+im},Yv=(e=16,t=Bh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Xv(e){return!!(e&&An(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Jv=e=>{const t=new Array(10),n=(r,o)=>{if(dl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=gs(r)?[]:{};return xi(r,(i,a)=>{const l=n(i,o+1);!li(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},Qv=cr("AsyncFunction"),eb=e=>e&&(dl(e)||An(e))&&An(e.then)&&An(e.catch),te={isArray:gs,isArrayBuffer:Mh,isBuffer:Cv,isFormData:Ov,isArrayBufferView:wv,isString:kv,isNumber:Fh,isBoolean:xv,isObject:dl,isPlainObject:_a,isUndefined:li,isDate:Sv,isFile:Ev,isBlob:$v,isRegExp:Wv,isFunction:An,isStream:Av,isURLSearchParams:Pv,isTypedArray:Vv,isFileList:Tv,forEach:xi,merge:Uc,extend:Lv,trim:Iv,stripBOM:Nv,inherits:Dv,toFlatObject:Rv,kindOf:cl,kindOfTest:cr,endsWith:Mv,toArray:Fv,forEachEntry:Hv,matchAll:Uv,isHTMLForm:jv,hasOwnProperty:sm,hasOwnProp:sm,reduceDescriptors:jh,freezeMethods:qv,toObjectSet:Gv,toCamelCase:Bv,noop:Kv,toFiniteNumber:Zv,findKey:Vh,global:Hh,isContextDefined:Uh,ALPHABET:Bh,generateString:Yv,isSpecCompliantForm:Xv,toJSONObject:Jv,isAsyncFn:Qv,isThenable:eb};function Xe(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}te.inherits(Xe,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:te.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wh=Xe.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(Xe,qh);Object.defineProperty(Wh,"isAxiosError",{value:!0});Xe.from=(e,t,n,r,o,s)=>{const i=Object.create(Wh);return te.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Xe.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const tb=null;function jc(e){return te.isPlainObject(e)||te.isArray(e)}function Gh(e){return te.endsWith(e,"[]")?e.slice(0,-2):e}function am(e,t,n){return e?e.concat(t).map(function(o,s){return o=Gh(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function nb(e){return te.isArray(e)&&!e.some(jc)}const rb=te.toFlatObject(te,{},null,function(t){return/^is[A-Z]/.test(t)});function ml(e,t,n){if(!te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=te.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,b){return!te.isUndefined(b[_])});const r=n.metaTokens,o=n.visitor||d,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&te.isSpecCompliantForm(t);if(!te.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(te.isDate(h))return h.toISOString();if(!l&&te.isBlob(h))throw new Xe("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(h)||te.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,b){let C=h;if(h&&!b&&typeof h=="object"){if(te.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(te.isArray(h)&&nb(h)||(te.isFileList(h)||te.endsWith(_,"[]"))&&(C=te.toArray(h)))return _=Gh(_),C.forEach(function(y,z){!(te.isUndefined(y)||y===null)&&t.append(i===!0?am([_],z,s):i===null?_:_+"[]",u(y))}),!1}return jc(h)?!0:(t.append(am(b,_,s),u(h)),!1)}const m=[],f=Object.assign(rb,{defaultVisitor:d,convertValue:u,isVisitable:jc});function p(h,_){if(!te.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(h),te.forEach(h,function(C,k){(!(te.isUndefined(C)||C===null)&&o.call(t,C,te.isString(k)?k.trim():k,_,f))===!0&&p(C,_?_.concat(k):[k])}),m.pop()}}if(!te.isObject(e))throw new TypeError("data must be an object");return p(e),t}function lm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Gu(e,t){this._pairs=[],e&&ml(e,this,t)}const Kh=Gu.prototype;Kh.append=function(t,n){this._pairs.push([t,n])};Kh.toString=function(t){const n=t?function(r){return t.call(this,r,lm)}:lm;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ob(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Zh(e,t,n){if(!t)return e;const r=n&&n.encode||ob,o=n&&n.serialize;let s;if(o?s=o(t,n):s=te.isURLSearchParams(t)?t.toString():new Gu(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class cm{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){te.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Yh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sb=typeof URLSearchParams<"u"?URLSearchParams:Gu,ib=typeof FormData<"u"?FormData:null,ab=typeof Blob<"u"?Blob:null,lb={isBrowser:!0,classes:{URLSearchParams:sb,FormData:ib,Blob:ab},protocols:["http","https","file","blob","url","data"]},Xh=typeof window<"u"&&typeof document<"u",cb=(e=>Xh&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),ub=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",db=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xh,hasStandardBrowserEnv:cb,hasStandardBrowserWebWorkerEnv:ub},Symbol.toStringTag,{value:"Module"})),nr={...db,...lb};function mb(e,t){return ml(e,new nr.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return nr.isNode&&te.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function fb(e){return te.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function pb(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function Jh(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&te.isArray(o)?o.length:i,l?(te.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!te.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&te.isArray(o[i])&&(o[i]=pb(o[i])),!a)}if(te.isFormData(e)&&te.isFunction(e.entries)){const n={};return te.forEachEntry(e,(r,o)=>{t(fb(r),o,n,0)}),n}return null}function hb(e,t,n){if(te.isString(e))try{return(t||JSON.parse)(e),te.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ku={transitional:Yh,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=te.isObject(t);if(s&&te.isHTMLForm(t)&&(t=new FormData(t)),te.isFormData(t))return o?JSON.stringify(Jh(t)):t;if(te.isArrayBuffer(t)||te.isBuffer(t)||te.isStream(t)||te.isFile(t)||te.isBlob(t))return t;if(te.isArrayBufferView(t))return t.buffer;if(te.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return mb(t,this.formSerializer).toString();if((a=te.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ml(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),hb(t)):t}],transformResponse:[function(t){const n=this.transitional||Ku.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&te.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Xe.from(a,Xe.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:nr.classes.FormData,Blob:nr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch"],e=>{Ku.headers[e]={}});const Zu=Ku,_b=te.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"]),gb=e=>{const t={};let n,r,o;return e&&e.split(`
|
||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&_b[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},um=Symbol("internals");function $s(e){return e&&String(e).trim().toLowerCase()}function ga(e){return e===!1||e==null?e:te.isArray(e)?e.map(ga):String(e)}function yb(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 vb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Yl(e,t,n,r,o){if(te.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!te.isString(t)){if(te.isString(r))return t.indexOf(r)!==-1;if(te.isRegExp(r))return r.test(t)}}function bb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function zb(e,t){const n=te.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class fl{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const d=$s(l);if(!d)throw new Error("header name must be a non-empty string");const m=te.findKey(o,d);(!m||o[m]===void 0||u===!0||u===void 0&&o[m]!==!1)&&(o[m||l]=ga(a))}const i=(a,l)=>te.forEach(a,(u,d)=>s(u,d,l));return te.isPlainObject(t)||t instanceof this.constructor?i(t,n):te.isString(t)&&(t=t.trim())&&!vb(t)?i(gb(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=$s(t),t){const r=te.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return yb(o);if(te.isFunction(n))return n.call(this,o,r);if(te.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$s(t),t){const r=te.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Yl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=$s(i),i){const a=te.findKey(r,i);a&&(!n||Yl(r,r[a],a,n))&&(delete r[a],o=!0)}}return te.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Yl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return te.forEach(this,(o,s)=>{const i=te.findKey(r,s);if(i){n[i]=ga(o),delete n[s];return}const a=t?bb(s):String(s).trim();a!==s&&delete n[s],n[a]=ga(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return te.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&te.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[um]=this[um]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=$s(i);r[a]||(zb(o,i),r[a]=!0)}return te.isArray(t)?t.forEach(s):s(t),this}}fl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);te.reduceDescriptors(fl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});te.freezeMethods(fl);const gr=fl;function Xl(e,t){const n=this||Zu,r=t||n,o=gr.from(r.headers);let s=r.data;return te.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Qh(e){return!!(e&&e.__CANCEL__)}function Si(e,t,n){Xe.call(this,e??"canceled",Xe.ERR_CANCELED,t,n),this.name="CanceledError"}te.inherits(Si,Xe,{__CANCEL__:!0});function Cb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Xe("Request failed with status code "+n.status,[Xe.ERR_BAD_REQUEST,Xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const wb=nr.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];te.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),te.isString(r)&&i.push("path="+r),te.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function kb(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xb(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function e_(e,t){return e&&!kb(t)?xb(e,t):t}const Sb=nr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=te.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function Eb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $b(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[s];i||(i=u),n[o]=l,r[o]=u;let m=s,f=0;for(;m!==o;)f+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function dm(e,t){let n=0;const r=$b(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const d={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const Tb=typeof XMLHttpRequest<"u",Ab=Tb&&function(e){return new Promise(function(n,r){let o=e.data;const s=gr.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(te.isFormData(o)){if(nr.hasStandardBrowserEnv||nr.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[_,...b]=d?d.split(";").map(C=>C.trim()).filter(Boolean):[];s.setContentType([_||"multipart/form-data",...b].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(_+":"+b))}const f=e_(e.baseURL,e.url);m.open(e.method.toUpperCase(),Zh(f,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function p(){if(!m)return;const _=gr.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),C={data:!i||i==="text"||i==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:_,config:e,request:m};Cb(function(y){n(y),u()},function(y){r(y),u()},C),m=null}if("onloadend"in m?m.onloadend=p:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(p)},m.onabort=function(){m&&(r(new Xe("Request aborted",Xe.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new Xe("Network Error",Xe.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const C=e.transitional||Yh;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new Xe(b,C.clarifyTimeoutError?Xe.ETIMEDOUT:Xe.ECONNABORTED,e,m)),m=null},nr.hasStandardBrowserEnv&&(a&&te.isFunction(a)&&(a=a(e)),a||a!==!1&&Sb(f))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&wb.read(e.xsrfCookieName);_&&s.set(e.xsrfHeaderName,_)}o===void 0&&s.setContentType(null),"setRequestHeader"in m&&te.forEach(s.toJSON(),function(b,C){m.setRequestHeader(C,b)}),te.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),i&&i!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",dm(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",dm(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=_=>{m&&(r(!_||_.type?new Si(null,e,m):_),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=Eb(f);if(h&&nr.protocols.indexOf(h)===-1){r(new Xe("Unsupported protocol "+h+":",Xe.ERR_BAD_REQUEST,e));return}m.send(o||null)})},Bc={http:tb,xhr:Ab};te.forEach(Bc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const mm=e=>`- ${e}`,Ob=e=>te.isFunction(e)||e===null||e===!1,t_={getAdapter:e=>{e=te.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!Ob(n)&&(r=Bc[(i=String(n)).toLowerCase()],r===void 0))throw new Xe(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
|
||
`+s.map(mm).join(`
|
||
`):" "+mm(s[0]):"as no adapter specified";throw new Xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Bc};function Jl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Si(null,e)}function fm(e){return Jl(e),e.headers=gr.from(e.headers),e.data=Xl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),t_.getAdapter(e.adapter||Zu.adapter)(e).then(function(r){return Jl(e),r.data=Xl.call(e,e.transformResponse,r),r.headers=gr.from(r.headers),r},function(r){return Qh(r)||(Jl(e),r&&r.response&&(r.response.data=Xl.call(e,e.transformResponse,r.response),r.response.headers=gr.from(r.response.headers))),Promise.reject(r)})}const pm=e=>e instanceof gr?{...e}:e;function ss(e,t){t=t||{};const n={};function r(u,d,m){return te.isPlainObject(u)&&te.isPlainObject(d)?te.merge.call({caseless:m},u,d):te.isPlainObject(d)?te.merge({},d):te.isArray(d)?d.slice():d}function o(u,d,m){if(te.isUndefined(d)){if(!te.isUndefined(u))return r(void 0,u,m)}else return r(u,d,m)}function s(u,d){if(!te.isUndefined(d))return r(void 0,d)}function i(u,d){if(te.isUndefined(d)){if(!te.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,m){if(m in t)return r(u,d);if(m in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,d)=>o(pm(u),pm(d),!0)};return te.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||o,f=m(e[d],t[d],d);te.isUndefined(f)&&m!==a||(n[d]=f)}),n}const n_="1.6.8",Yu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Yu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const hm={};Yu.transitional=function(t,n,r){function o(s,i){return"[Axios v"+n_+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Xe(o(i," has been removed"+(n?" in "+n:"")),Xe.ERR_DEPRECATED);return n&&!hm[i]&&(hm[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function Pb(e,t,n){if(typeof e!="object")throw new Xe("options must be an object",Xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Xe("option "+s+" must be "+l,Xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Xe("Unknown option "+s,Xe.ERR_BAD_OPTION)}}const Wc={assertOptions:Pb,validators:Yu},Er=Wc.validators;class Aa{constructor(t){this.defaults=t,this.interceptors={request:new cm,response:new cm}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ss(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Wc.assertOptions(r,{silentJSONParsing:Er.transitional(Er.boolean),forcedJSONParsing:Er.transitional(Er.boolean),clarifyTimeoutError:Er.transitional(Er.boolean)},!1),o!=null&&(te.isFunction(o)?n.paramsSerializer={serialize:o}:Wc.assertOptions(o,{encode:Er.function,serialize:Er.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&te.merge(s.common,s[n.method]);s&&te.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=gr.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[fm.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(b){_.call(this,b);break}}try{d=fm.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=ss(this.defaults,t);const n=e_(t.baseURL,t.url);return Zh(n,t.params,t.paramsSerializer)}}te.forEach(["delete","get","head","options"],function(t){Aa.prototype[t]=function(n,r){return this.request(ss(r||{},{method:t,url:n,data:(r||{}).data}))}});te.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(ss(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Aa.prototype[t]=n(),Aa.prototype[t+"Form"]=n(!0)});const ya=Aa;class Xu{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Si(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Xu(function(o){t=o}),cancel:t}}}const Ib=Xu;function Lb(e){return function(n){return e.apply(null,n)}}function Nb(e){return te.isObject(e)&&e.isAxiosError===!0}const qc={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(qc).forEach(([e,t])=>{qc[t]=e});const Db=qc;function r_(e){const t=new ya(e),n=Rh(ya.prototype.request,t);return te.extend(n,ya.prototype,t,{allOwnKeys:!0}),te.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return r_(ss(e,o))},n}const ue=r_(Zu);ue.Axios=ya;ue.CanceledError=Si;ue.CancelToken=Ib;ue.isCancel=Qh;ue.VERSION=n_;ue.toFormData=ml;ue.AxiosError=Xe;ue.Cancel=ue.CanceledError;ue.all=function(t){return Promise.all(t)};ue.spread=Lb;ue.isAxiosError=Nb;ue.mergeConfig=ss;ue.AxiosHeaders=gr;ue.formToJSON=e=>Jh(te.isHTMLForm(e)?new FormData(e):e);ue.getAdapter=t_.getAdapter;ue.HttpStatusCode=Db;ue.default=ue;/*!
|
||
* shared v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Oa=typeof window<"u",Jr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Rb=(e,t,n)=>Mb({l:e,k:t,s:n}),Mb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Mt=e=>typeof e=="number"&&isFinite(e),Fb=e=>s_(e)==="[object Date]",Pa=e=>s_(e)==="[object RegExp]",pl=e=>Je(e)&&Object.keys(e).length===0,Gt=Object.assign;let _m;const Ju=()=>_m||(_m=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gm(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Vb=Object.prototype.hasOwnProperty;function Ia(e,t){return Vb.call(e,t)}const Rt=Array.isArray,At=e=>typeof e=="function",ke=e=>typeof e=="string",kt=e=>typeof e=="boolean",at=e=>e!==null&&typeof e=="object",Hb=e=>at(e)&&At(e.then)&&At(e.catch),o_=Object.prototype.toString,s_=e=>o_.call(e),Je=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Ub=e=>e==null?"":Rt(e)||Je(e)&&e.toString===o_?JSON.stringify(e,null,2):String(e);function jb(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function hl(e){let t=e;return()=>++t}function Bb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Vi=e=>!at(e)||Rt(e);function va(e,t){if(Vi(e)||Vi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{Vi(r[s])||Vi(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
|
||
* message-compiler v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Wb(e,t,n){return{line:e,column:t,offset:n}}function La(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const qb=/\{([0-9a-zA-Z]+)\}/g;function i_(e,...t){return t.length===1&&Gb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(qb,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const a_=Object.assign,ym=e=>typeof e=="string",Gb=e=>e!==null&&typeof e=="object";function l_(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Qu={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Kb={[Qu.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Zb(e,t,...n){const r=i_(Kb[e]||"",...n||[]),o={message:String(r),code:e};return t&&(o.location=t),o}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},Yb={[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 ys(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=i_((o||Yb)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function Xb(e){throw e}const dr=" ",Jb="\r",Xt=`
|
||
`,Qb="\u2028",ez="\u2029";function tz(e){const t=e;let n=0,r=1,o=1,s=0;const i=N=>t[N]===Jb&&t[N+1]===Xt,a=N=>t[N]===Xt,l=N=>t[N]===ez,u=N=>t[N]===Qb,d=N=>i(N)||a(N)||l(N)||u(N),m=()=>n,f=()=>r,p=()=>o,h=()=>s,_=N=>i(N)||l(N)||u(N)?Xt:t[N],b=()=>_(n),C=()=>_(n+s);function k(){return s=0,d(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function y(){return i(n+s)&&s++,s++,t[n+s]}function z(){n=0,r=1,o=1,s=0}function x(N=0){s=N}function w(){const N=n+s;for(;N!==n;)k();s=0}return{index:m,line:f,column:p,peekOffset:h,charAt:_,currentChar:b,currentPeek:C,next:k,peek:y,reset:z,resetPeek:x,skipToPeek:w}}const $r=void 0,nz=".",vm="'",rz="tokenizer";function oz(e,t={}){const n=t.location!==!1,r=tz(e),o=()=>r.index(),s=()=>Wb(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:d}=t;function m(S,$,R,...J){const me=u();if($.column+=R,$.offset+=R,d){const oe=n?La(me.startLoc,$):null,H=ys(S,oe,{domain:rz,args:J});d(H)}}function f(S,$,R){S.endLoc=s(),S.currentType=$;const J={type:$};return n&&(J.loc=La(S.startLoc,S.endLoc)),R!=null&&(J.value=R),J}const p=S=>f(S,14);function h(S,$){return S.currentChar()===$?(S.next(),$):(m(Pe.EXPECTED_TOKEN,s(),0,$),"")}function _(S){let $="";for(;S.currentPeek()===dr||S.currentPeek()===Xt;)$+=S.currentPeek(),S.peek();return $}function b(S){const $=_(S);return S.skipToPeek(),$}function C(S){if(S===$r)return!1;const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$===95}function k(S){if(S===$r)return!1;const $=S.charCodeAt(0);return $>=48&&$<=57}function y(S,$){const{currentType:R}=$;if(R!==2)return!1;_(S);const J=C(S.currentPeek());return S.resetPeek(),J}function z(S,$){const{currentType:R}=$;if(R!==2)return!1;_(S);const J=S.currentPeek()==="-"?S.peek():S.currentPeek(),me=k(J);return S.resetPeek(),me}function x(S,$){const{currentType:R}=$;if(R!==2)return!1;_(S);const J=S.currentPeek()===vm;return S.resetPeek(),J}function w(S,$){const{currentType:R}=$;if(R!==8)return!1;_(S);const J=S.currentPeek()===".";return S.resetPeek(),J}function N(S,$){const{currentType:R}=$;if(R!==9)return!1;_(S);const J=C(S.currentPeek());return S.resetPeek(),J}function D(S,$){const{currentType:R}=$;if(!(R===8||R===12))return!1;_(S);const J=S.currentPeek()===":";return S.resetPeek(),J}function O(S,$){const{currentType:R}=$;if(R!==10)return!1;const J=()=>{const oe=S.currentPeek();return oe==="{"?C(S.peek()):oe==="@"||oe==="%"||oe==="|"||oe===":"||oe==="."||oe===dr||!oe?!1:oe===Xt?(S.peek(),J()):U(S,!1)},me=J();return S.resetPeek(),me}function V(S){_(S);const $=S.currentPeek()==="|";return S.resetPeek(),$}function X(S){const $=_(S),R=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:R,hasSpace:$.length>0}}function U(S,$=!0){const R=(me=!1,oe="",H=!1)=>{const K=S.currentPeek();return K==="{"?oe==="%"?!1:me:K==="@"||!K?oe==="%"?!0:me:K==="%"?(S.peek(),R(me,"%",!0)):K==="|"?oe==="%"||H?!0:!(oe===dr||oe===Xt):K===dr?(S.peek(),R(!0,dr,H)):K===Xt?(S.peek(),R(!0,Xt,H)):!0},J=R();return $&&S.resetPeek(),J}function W(S,$){const R=S.currentChar();return R===$r?$r:$(R)?(S.next(),R):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 Z(S){const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36||$===45}function se(S){return W(S,Z)}function ae(S){const $=S.charCodeAt(0);return $>=48&&$<=57}function Be(S){return W(S,ae)}function ot(S){const $=S.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102}function Ve(S){return W(S,ot)}function He(S){let $="",R="";for(;$=Be(S);)R+=$;return R}function st(S){b(S);const $=S.currentChar();return $!=="%"&&m(Pe.EXPECTED_TOKEN,s(),0,$),S.next(),"%"}function it(S){let $="";for(;;){const R=S.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R==="%")if(U(S))$+=R,S.next();else break;else if(R===dr||R===Xt)if(U(S))$+=R,S.next();else{if(V(S))break;$+=R,S.next()}else $+=R,S.next()}return $}function lt(S){b(S);let $="",R="";for(;$=se(S);)R+=$;return S.currentChar()===$r&&m(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),R}function Ne(S){b(S);let $="";return S.currentChar()==="-"?(S.next(),$+=`-${He(S)}`):$+=He(S),S.currentChar()===$r&&m(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),$}function G(S){return S!==vm&&S!==Xt}function de(S){b(S),h(S,"'");let $="",R="";for(;$=W(S,G);)$==="\\"?R+=ce(S):R+=$;const J=S.currentChar();return J===Xt||J===$r?(m(Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),J===Xt&&(S.next(),h(S,"'")),R):(h(S,"'"),R)}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,s(),0,$),""}}function ge(S,$,R){h(S,$);let J="";for(let me=0;me<R;me++){const oe=Ve(S);if(!oe){m(Pe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${$}${J}${S.currentChar()}`);break}J+=oe}return`\\${$}${J}`}function Ue(S){return S!=="{"&&S!=="}"&&S!==dr&&S!==Xt}function qe(S){b(S);let $="",R="";for(;$=W(S,Ue);)R+=$;return R}function T(S){let $="",R="";for(;$=he(S);)R+=$;return R}function I(S){const $=R=>{const J=S.currentChar();return J==="{"||J==="%"||J==="@"||J==="|"||J==="("||J===")"||!J||J===dr?R:(R+=J,S.next(),$(R))};return $("")}function B(S){b(S);const $=h(S,"|");return b(S),$}function Q(S,$){let R=null;switch(S.currentChar()){case"{":return $.braceNest>=1&&m(Pe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),R=f($,2,"{"),b(S),$.braceNest++,R;case"}":return $.braceNest>0&&$.currentType===2&&m(Pe.EMPTY_PLACEHOLDER,s(),0),S.next(),R=f($,3,"}"),$.braceNest--,$.braceNest>0&&b(S),$.inLinked&&$.braceNest===0&&($.inLinked=!1),R;case"@":return $.braceNest>0&&m(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),R=Y(S,$)||p($),$.braceNest=0,R;default:{let me=!0,oe=!0,H=!0;if(V(S))return $.braceNest>0&&m(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),R=f($,1,B(S)),$.braceNest=0,$.inLinked=!1,R;if($.braceNest>0&&($.currentType===5||$.currentType===6||$.currentType===7))return m(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),$.braceNest=0,le(S,$);if(me=y(S,$))return R=f($,5,lt(S)),b(S),R;if(oe=z(S,$))return R=f($,6,Ne(S)),b(S),R;if(H=x(S,$))return R=f($,7,de(S)),b(S),R;if(!me&&!oe&&!H)return R=f($,13,qe(S)),m(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,R.value),b(S),R;break}}return R}function Y(S,$){const{currentType:R}=$;let J=null;const me=S.currentChar();switch((R===8||R===9||R===12||R===10)&&(me===Xt||me===dr)&&m(Pe.INVALID_LINKED_FORMAT,s(),0),me){case"@":return S.next(),J=f($,8,"@"),$.inLinked=!0,J;case".":return b(S),S.next(),f($,9,".");case":":return b(S),S.next(),f($,10,":");default:return V(S)?(J=f($,1,B(S)),$.braceNest=0,$.inLinked=!1,J):w(S,$)||D(S,$)?(b(S),Y(S,$)):N(S,$)?(b(S),f($,12,T(S))):O(S,$)?(b(S),me==="{"?Q(S,$)||J:f($,11,I(S))):(R===8&&m(Pe.INVALID_LINKED_FORMAT,s(),0),$.braceNest=0,$.inLinked=!1,le(S,$))}}function le(S,$){let R={type:14};if($.braceNest>0)return Q(S,$)||p($);if($.inLinked)return Y(S,$)||p($);switch(S.currentChar()){case"{":return Q(S,$)||p($);case"}":return m(Pe.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),f($,3,"}");case"@":return Y(S,$)||p($);default:{if(V(S))return R=f($,1,B(S)),$.braceNest=0,$.inLinked=!1,R;const{isModulo:me,hasSpace:oe}=X(S);if(me)return oe?f($,0,it(S)):f($,4,st(S));if(U(S))return f($,0,it(S));break}}return R}function pe(){const{currentType:S,offset:$,startLoc:R,endLoc:J}=l;return l.lastType=S,l.lastOffset=$,l.lastStartLoc=R,l.lastEndLoc=J,l.offset=o(),l.startLoc=s(),r.currentChar()===$r?f(l,14):le(r,l)}return{nextToken:pe,currentOffset:o,currentPosition:s,context:u}}const sz="parser",iz=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function az(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 lz(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function o(y,z,x,w,...N){const D=y.currentPosition();if(D.offset+=w,D.column+=w,n){const O=t?La(x,D):null,V=ys(z,O,{domain:sz,args:N});n(V)}}function s(y,z,x,w,...N){const D=y.currentPosition();if(D.offset+=w,D.column+=w,r){const O=t?La(x,D):null;r(Zb(z,O,N))}}function i(y,z,x){const w={type:y};return t&&(w.start=z,w.end=z,w.loc={start:x,end:x}),w}function a(y,z,x,w){w&&(y.type=w),t&&(y.end=z,y.loc&&(y.loc.end=x))}function l(y,z){const x=y.context(),w=i(3,x.offset,x.startLoc);return w.value=z,a(w,y.currentOffset(),y.currentPosition()),w}function u(y,z){const x=y.context(),{lastOffset:w,lastStartLoc:N}=x,D=i(5,w,N);return D.index=parseInt(z,10),y.nextToken(),a(D,y.currentOffset(),y.currentPosition()),D}function d(y,z,x){const w=y.context(),{lastOffset:N,lastStartLoc:D}=w,O=i(4,N,D);return O.key=z,x===!0&&(O.modulo=!0),y.nextToken(),a(O,y.currentOffset(),y.currentPosition()),O}function m(y,z){const x=y.context(),{lastOffset:w,lastStartLoc:N}=x,D=i(9,w,N);return D.value=z.replace(iz,az),y.nextToken(),a(D,y.currentOffset(),y.currentPosition()),D}function f(y){const z=y.nextToken(),x=y.context(),{lastOffset:w,lastStartLoc:N}=x,D=i(8,w,N);return z.type!==12?(o(y,Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),D.value="",a(D,w,N),{nextConsumeToken:z,node:D}):(z.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Rn(z)),D.value=z.value||"",a(D,y.currentOffset(),y.currentPosition()),{node:D})}function p(y,z){const x=y.context(),w=i(7,x.offset,x.startLoc);return w.value=z,a(w,y.currentOffset(),y.currentPosition()),w}function h(y){const z=y.context(),x=i(6,z.offset,z.startLoc);let w=y.nextToken();if(w.type===9){const N=f(y);x.modifier=N.node,w=N.nextConsumeToken||y.nextToken()}switch(w.type!==10&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(w)),w=y.nextToken(),w.type===2&&(w=y.nextToken()),w.type){case 11:w.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(w)),x.key=p(y,w.value||"");break;case 5:w.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(w)),x.key=d(y,w.value||"");break;case 6:w.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(w)),x.key=u(y,w.value||"");break;case 7:w.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(w)),x.key=m(y,w.value||"");break;default:{o(y,Pe.UNEXPECTED_EMPTY_LINKED_KEY,z.lastStartLoc,0);const N=y.context(),D=i(7,N.offset,N.startLoc);return D.value="",a(D,N.offset,N.startLoc),x.key=D,a(x,N.offset,N.startLoc),{nextConsumeToken:w,node:x}}}return a(x,y.currentOffset(),y.currentPosition()),{node:x}}function _(y){const z=y.context(),x=z.currentType===1?y.currentOffset():z.offset,w=z.currentType===1?z.endLoc:z.startLoc,N=i(2,x,w);N.items=[];let D=null,O=null;do{const U=D||y.nextToken();switch(D=null,U.type){case 0:U.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(U)),N.items.push(l(y,U.value||""));break;case 6:U.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(U)),N.items.push(u(y,U.value||""));break;case 4:O=!0;break;case 5:U.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(U)),N.items.push(d(y,U.value||"",!!O)),O&&(s(y,Qu.USE_MODULO_SYNTAX,z.lastStartLoc,0,Rn(U)),O=null);break;case 7:U.value==null&&o(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Rn(U)),N.items.push(m(y,U.value||""));break;case 8:{const W=h(y);N.items.push(W.node),D=W.nextConsumeToken||null;break}}}while(z.currentType!==14&&z.currentType!==1);const V=z.currentType===1?z.lastOffset:y.currentOffset(),X=z.currentType===1?z.lastEndLoc:y.currentPosition();return a(N,V,X),N}function b(y,z,x,w){const N=y.context();let D=w.items.length===0;const O=i(1,z,x);O.cases=[],O.cases.push(w);do{const V=_(y);D||(D=V.items.length===0),O.cases.push(V)}while(N.currentType!==14);return D&&o(y,Pe.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),a(O,y.currentOffset(),y.currentPosition()),O}function C(y){const z=y.context(),{offset:x,startLoc:w}=z,N=_(y);return z.currentType===14?N:b(y,x,w,N)}function k(y){const z=oz(y,a_({},e)),x=z.context(),w=i(0,x.offset,x.startLoc);return t&&w.loc&&(w.loc.source=y),w.body=C(z),e.onCacheKey&&(w.cacheKey=e.onCacheKey(y)),x.currentType!==14&&o(z,Pe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,y[x.offset]||""),a(w,z.currentOffset(),z.currentPosition()),w}return{parse:k}}function Rn(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 cz(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function bm(e,t){for(let n=0;n<e.length;n++)ed(e[n],t)}function ed(e,t){switch(e.type){case 1:bm(e.cases,t),t.helper("plural");break;case 2:bm(e.items,t);break;case 6:{ed(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 uz(e,t={}){const n=cz(e);n.helper("normalize"),e.body&&ed(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function dz(e){const t=e.body;return t.type===2?zm(t):t.cases.forEach(n=>zm(n)),e}function zm(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=l_(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 mz="minifier";function Mo(e){switch(e.t=e.type,e.type){case 0:{const t=e;Mo(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++)Mo(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++)Mo(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;Mo(t.key),t.k=t.key,delete t.key,t.modifier&&(Mo(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 ys(Pe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:mz,args:[e.type]})}delete e.type}const fz="parser";function pz(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:s}=t,i=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function u(b,C){a.code+=b}function d(b,C=!0){const k=C?o:"";u(s?k+" ".repeat(b):k)}function m(b=!0){const C=++a.indentLevel;b&&d(C)}function f(b=!0){const C=--a.indentLevel;b&&d(C)}function p(){d(a.indentLevel)}return{context:l,push:u,indent:m,deindent:f,newline:p,helper:b=>`_${b}`,needIndent:()=>a.needIndent}}function hz(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),is(e,t.key),t.modifier?(e.push(", "),is(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function _z(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(is(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function gz(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(is(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function yz(e,t){t.body?is(e,t.body):e.push("null")}function is(e,t){const{helper:n}=e;switch(t.type){case 0:yz(e,t);break;case 1:gz(e,t);break;case 2:_z(e,t);break;case 6:hz(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 ys(Pe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:fz,args:[t.type]})}}const vz=(e,t={})=>{const n=ym(t.mode)?t.mode:"normal",r=ym(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
||
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=pz(e,{mode:n,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${l_(a.map(m=>`${m}: _${m}`),", ")} } = ctx`),l.newline()),l.push("return "),is(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 bz(e,t={}){const n=a_({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=lz(n).parse(e);return r?(s&&dz(a),o&&Mo(a),{ast:a,code:""}):(uz(a,n),vz(a,n))}/*!
|
||
* core-base v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function zz(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ju().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qr=[];Qr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Qr[1]={w:[1],".":[2],"[":[4],o:[7]};Qr[2]={w:[2],i:[3,0],0:[3,0]};Qr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Qr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Qr[5]={"'":[4,0],o:8,l:[5,0]};Qr[6]={'"':[4,0],o:8,l:[6,0]};const Cz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function wz(e){return Cz.test(e)}function kz(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 xz(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 Sz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:wz(t)?kz(t):"*"+t}function Ez(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,u,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,i===void 0||(i=Sz(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=xz(s),m=Qr[r],u=m[l]||m.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=f[u[1]],d&&(a=s,d()===!1))))return;if(r===7)return t}}const Cm=new Map;function $z(e,t){return at(e)?e[t]:null}function Tz(e,t){if(!at(e))return null;let n=Cm.get(t);if(n||(n=Ez(t),n&&Cm.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0||At(o))return null;o=i,s++}return o}const Az=e=>e,Oz=e=>"",Pz="text",Iz=e=>e.length===0?"":jb(e),Lz=Ub;function wm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Nz(e){const t=Mt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Mt(e.named.count)||Mt(e.named.n))?Mt(e.named.count)?e.named.count:Mt(e.named.n)?e.named.n:t:t}function Dz(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Rz(e={}){const t=e.locale,n=Nz(e),r=at(e.pluralRules)&&ke(t)&&At(e.pluralRules[t])?e.pluralRules[t]:wm,o=at(e.pluralRules)&&ke(t)&&At(e.pluralRules[t])?wm:void 0,s=C=>C[r(n,C.length,o)],i=e.list||[],a=C=>i[C],l=e.named||{};Mt(e.pluralIndex)&&Dz(n,l);const u=C=>l[C];function d(C){const k=At(e.messages)?e.messages(C):at(e.messages)?e.messages[C]:!1;return k||(e.parent?e.parent.message(C):Oz)}const m=C=>e.modifiers?e.modifiers[C]:Az,f=Je(e.processor)&&At(e.processor.normalize)?e.processor.normalize:Iz,p=Je(e.processor)&&At(e.processor.interpolate)?e.processor.interpolate:Lz,h=Je(e.processor)&&ke(e.processor.type)?e.processor.type:Pz,b={list:a,named:u,plural:s,linked:(C,...k)=>{const[y,z]=k;let x="text",w="";k.length===1?at(y)?(w=y.modifier||w,x=y.type||x):ke(y)&&(w=y||w):k.length===2&&(ke(y)&&(w=y||w),ke(z)&&(x=z||x));const N=d(C)(b),D=x==="vnode"&&Rt(N)&&w?N[0]:N;return w?m(w)(D,x):D},message:d,type:h,interpolate:p,normalize:f,values:Gt({},i,l)};return b}let ci=null;function Mz(e){ci=e}function Fz(e,t,n){ci&&ci.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Vz=Hz("function:translate");function Hz(e){return t=>ci&&ci.emit(e,t)}const c_=Qu.__EXTEND_POINT__,ro=hl(c_),Uz={NOT_FOUND_KEY:c_,FALLBACK_TO_TRANSLATE:ro(),CANNOT_FORMAT_NUMBER:ro(),FALLBACK_TO_NUMBER_FORMAT:ro(),CANNOT_FORMAT_DATE:ro(),FALLBACK_TO_DATE_FORMAT:ro(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ro(),__EXTEND_POINT__:ro()},u_=Pe.__EXTEND_POINT__,oo=hl(u_),rr={INVALID_ARGUMENT:u_,INVALID_DATE_ARGUMENT:oo(),INVALID_ISO_DATE_ARGUMENT:oo(),NOT_SUPPORT_NON_STRING_MESSAGE:oo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:oo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:oo(),NOT_SUPPORT_LOCALE_TYPE:oo(),__EXTEND_POINT__:oo()};function _r(e){return ys(e,null,void 0)}function td(e,t){return t.locale!=null?km(t.locale):km(e.locale)}let Ql;function km(e){if(ke(e))return e;if(At(e)){if(e.resolvedOnce&&Ql!=null)return Ql;if(e.constructor.name==="Function"){const t=e();if(Hb(t))throw _r(rr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ql=t}else throw _r(rr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw _r(rr.NOT_SUPPORT_LOCALE_TYPE)}function jz(e,t,n){return[...new Set([n,...Rt(t)?t:at(t)?Object.keys(t):ke(t)?[t]:[n]])]}function d_(e,t,n){const r=ke(n)?n:Na,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Rt(i);)i=xm(s,i,t);const a=Rt(t)||!Je(t)?t:t.default?t.default:null;i=ke(a)?[a]:a,Rt(i)&&xm(s,i,!1),o.__localeChainCache.set(r,s)}return s}function xm(e,t,n){let r=!0;for(let o=0;o<t.length&&kt(r);o++){const s=t[o];ke(s)&&(r=Bz(e,t[o],n))}return r}function Bz(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=Wz(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Wz(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Rt(n)||Je(n))&&n[o]&&(r=n[o])}return r}const qz="9.13.1",_l=-1,Na="en-US",Sm="",Em=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Gz(){return{upper:(e,t)=>t==="text"&&ke(e)?e.toUpperCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ke(e)?e.toLowerCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ke(e)?Em(e):t==="vnode"&&at(e)&&"__v_isVNode"in e?Em(e.children):e}}let m_;function Kz(e){m_=e}let f_;function Zz(e){f_=e}let p_;function Yz(e){p_=e}let h_=null;const Xz=e=>{h_=e},Jz=()=>h_;let __=null;const $m=e=>{__=e},Qz=()=>__;let Tm=0;function e0(e={}){const t=At(e.onWarn)?e.onWarn:Bb,n=ke(e.version)?e.version:qz,r=ke(e.locale)||At(e.locale)?e.locale:Na,o=At(r)?Na:r,s=Rt(e.fallbackLocale)||Je(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Je(e.messages)?e.messages:{[o]:{}},a=Je(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=Je(e.numberFormats)?e.numberFormats:{[o]:{}},u=Gt({},e.modifiers||{},Gz()),d=e.pluralRules||{},m=At(e.missing)?e.missing:null,f=kt(e.missingWarn)||Pa(e.missingWarn)?e.missingWarn:!0,p=kt(e.fallbackWarn)||Pa(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,b=At(e.postTranslation)?e.postTranslation:null,C=Je(e.processor)?e.processor:null,k=kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,z=At(e.messageCompiler)?e.messageCompiler:m_,x=At(e.messageResolver)?e.messageResolver:f_||$z,w=At(e.localeFallbacker)?e.localeFallbacker:p_||jz,N=at(e.fallbackContext)?e.fallbackContext:void 0,D=e,O=at(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=at(D.__numberFormatters)?D.__numberFormatters:new Map,X=at(D.__meta)?D.__meta:{};Tm++;const U={version:n,cid:Tm,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:m,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:b,processor:C,warnHtmlMessage:k,escapeParameter:y,messageCompiler:z,messageResolver:x,localeFallbacker:w,fallbackContext:N,onWarn:t,__meta:X};return U.datetimeFormats=a,U.numberFormats=l,U.__datetimeFormatters=O,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&Fz(U,n,X),U}function nd(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return ke(a)?a:t}else return t}function Ts(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function t0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function n0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(t0(e,t[r]))return!0;return!1}function ec(e){return n=>r0(n,e)}function r0(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((s,i)=>[...s,Am(e,i)],[]))}else return Am(e,n)}function Am(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((o,s)=>[...o,Gc(e,s)],[]);return e.normalize(r)}}function Gc(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,o=r.m||r.modifier;return e.linked(Gc(e,r.k||r.key),o?Gc(e,o):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 o0=e=>e;let Hi=Object.create(null);const as=e=>at(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function s0(e,t={}){let n=!1;const r=t.onError||Xb;return t.onError=o=>{n=!0,r(o)},{...bz(e,t),detectError:n}}function i0(e,t){if(ke(e)){kt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||o0)(e),o=Hi[r];if(o)return o;const{ast:s,detectError:i}=s0(e,{...t,location:!1,jit:!0}),a=ec(s);return i?a:Hi[r]=a}else{const n=e.cacheKey;if(n){const r=Hi[n];return r||(Hi[n]=ec(e))}else return ec(e)}}const Om=()=>"",En=e=>At(e);function Pm(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,u]=Kc(...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=ke(u.default)||kt(u.default)?kt(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:"",_=n||h!=="",b=td(e,u);f&&a0(u);let[C,k,y]=p?[l,b,a[b]||{}]:g_(e,l,b,i,m,d),z=C,x=l;if(!p&&!(ke(z)||as(z)||En(z))&&_&&(z=h,x=z),!p&&(!(ke(z)||as(z)||En(z))||!ke(k)))return o?_l:l;let w=!1;const N=()=>{w=!0},D=En(z)?z:y_(e,l,k,z,x,N);if(w)return z;const O=u0(e,k,y,u),V=Rz(O),X=l0(e,D,V),U=r?r(X,l):X;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:ke(l)?l:En(z)?z.key:"",locale:k||(En(z)?z.locale:""),format:ke(z)?z:En(z)?z.source:"",message:U};W.meta=Gt({},e.__meta,Jz()||{}),Vz(W)}return U}function a0(e){Rt(e.list)?e.list=e.list.map(t=>ke(t)?gm(t):t):at(e.named)&&Object.keys(e.named).forEach(t=>{ke(e.named[t])&&(e.named[t]=gm(e.named[t]))})}function g_(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,d=u(e,r,n);let m={},f,p=null;const h="translate";for(let _=0;_<d.length&&(f=d[_],m=i[f]||{},(p=l(m,t))===null&&(p=m[t]),!(ke(p)||as(p)||En(p)));_++)if(!n0(f,d)){const b=nd(e,t,f,s,h);b!==t&&(p=b)}return[p,f,m]}function y_(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(En(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,c0(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function l0(e,t,n){return t(n)}function Kc(...e){const[t,n,r]=e,o={};if(!ke(t)&&!Mt(t)&&!En(t)&&!as(t))throw _r(rr.INVALID_ARGUMENT);const s=Mt(t)?String(t):(En(t),t);return Mt(n)?o.plural=n:ke(n)?o.default=n:Je(n)&&!pl(n)?o.named=n:Rt(n)&&(o.list=n),Mt(r)?o.plural=r:ke(r)?o.default=r:Je(r)&&Gt(o,r),[s,o]}function c0(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>Rb(t,n,i)}}function u0(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:d}=e,f={locale:t,modifiers:o,pluralRules:s,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=g_(d,p,t,a,l,u);h=i(_,p)}if(ke(h)||as(h)){let _=!1;const C=y_(e,p,t,h,p,()=>{_=!0});return _?Om:C}else return En(h)?h:Om}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Mt(r.plural)&&(f.pluralIndex=r.plural),f}function Im(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,d,m]=Zc(...t),f=kt(d.missingWarn)?d.missingWarn:e.missingWarn;kt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=td(e,d),_=i(e,o,h);if(!ke(l)||l==="")return new Intl.DateTimeFormat(h,m).format(u);let b={},C,k=null;const y="datetime format";for(let w=0;w<_.length&&(C=_[w],b=n[C]||{},k=b[l],!Je(k));w++)nd(e,l,C,f,y);if(!Je(k)||!ke(C))return r?_l:l;let z=`${C}__${l}`;pl(m)||(z=`${z}__${JSON.stringify(m)}`);let x=a.get(z);return x||(x=new Intl.DateTimeFormat(C,Gt({},k,m)),a.set(z,x)),p?x.formatToParts(u):x.format(u)}const v_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Zc(...e){const[t,n,r,o]=e,s={};let i={},a;if(ke(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw _r(rr.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 _r(rr.INVALID_ISO_DATE_ARGUMENT)}}else if(Fb(t)){if(isNaN(t.getTime()))throw _r(rr.INVALID_DATE_ARGUMENT);a=t}else if(Mt(t))a=t;else throw _r(rr.INVALID_ARGUMENT);return ke(n)?s.key=n:Je(n)&&Object.keys(n).forEach(l=>{v_.includes(l)?i[l]=n[l]:s[l]=n[l]}),ke(r)?s.locale=r:Je(r)&&(i=r),Je(o)&&(i=o),[s.key||"",a,s,i]}function Lm(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Nm(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,d,m]=Yc(...t),f=kt(d.missingWarn)?d.missingWarn:e.missingWarn;kt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=td(e,d),_=i(e,o,h);if(!ke(l)||l==="")return new Intl.NumberFormat(h,m).format(u);let b={},C,k=null;const y="number format";for(let w=0;w<_.length&&(C=_[w],b=n[C]||{},k=b[l],!Je(k));w++)nd(e,l,C,f,y);if(!Je(k)||!ke(C))return r?_l:l;let z=`${C}__${l}`;pl(m)||(z=`${z}__${JSON.stringify(m)}`);let x=a.get(z);return x||(x=new Intl.NumberFormat(C,Gt({},k,m)),a.set(z,x)),p?x.formatToParts(u):x.format(u)}const b_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Yc(...e){const[t,n,r,o]=e,s={};let i={};if(!Mt(t))throw _r(rr.INVALID_ARGUMENT);const a=t;return ke(n)?s.key=n:Je(n)&&Object.keys(n).forEach(l=>{b_.includes(l)?i[l]=n[l]:s[l]=n[l]}),ke(r)?s.locale=r:Je(r)&&(i=r),Je(o)&&(i=o),[s.key||"",a,s,i]}function Dm(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}zz();/**
|
||
* @vue/shared v3.4.23
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function gl(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ut={},qo=[],ln=()=>{},d0=()=>!1,Ei=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rd=e=>e.startsWith("onUpdate:"),bt=Object.assign,od=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},m0=Object.prototype.hasOwnProperty,tt=(e,t)=>m0.call(e,t),ve=Array.isArray,Go=e=>vs(e)==="[object Map]",xo=e=>vs(e)==="[object Set]",Rm=e=>vs(e)==="[object Date]",f0=e=>vs(e)==="[object RegExp]",Ie=e=>typeof e=="function",zt=e=>typeof e=="string",zr=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",sd=e=>(mt(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),z_=Object.prototype.toString,vs=e=>z_.call(e),p0=e=>vs(e).slice(8,-1),C_=e=>vs(e)==="[object Object]",id=e=>zt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ko=gl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},h0=/-(\w)/g,Qt=yl(e=>e.replace(h0,(t,n)=>n?n.toUpperCase():"")),_0=/\B([A-Z])/g,yn=yl(e=>e.replace(_0,"-$1").toLowerCase()),$i=yl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gs=yl(e=>e?`on${$i(e)}`:""),qn=(e,t)=>!Object.is(e,t),Zo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},w_=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Da=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ra=e=>{const t=zt(e)?Number(e):NaN;return isNaN(t)?e:t};let Mm;const k_=()=>Mm||(Mm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),g0="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",y0=gl(g0);function eo(e){if(ve(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=zt(r)?C0(r):eo(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(zt(e)||mt(e))return e}const v0=/;(?![^(]*\))/g,b0=/:([^]+)/,z0=/\/\*[^]*?\*\//g;function C0(e){const t={};return e.replace(z0,"").split(v0).forEach(n=>{if(n){const r=n.split(b0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ze(e){let t="";if(zt(e))t=e;else if(ve(e))for(let n=0;n<e.length;n++){const r=ze(e[n]);r&&(t+=r+" ")}else if(mt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fs(e){if(!e)return null;let{class:t,style:n}=e;return t&&!zt(t)&&(e.class=ze(t)),n&&(e.style=eo(n)),e}const w0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",k0=gl(w0);function x_(e){return!!e||e===""}function x0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Kr(e[r],t[r]);return n}function Kr(e,t){if(e===t)return!0;let n=Rm(e),r=Rm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=zr(e),r=zr(t),n||r)return e===t;if(n=ve(e),r=ve(t),n||r)return n&&r?x0(e,t):!1;if(n=mt(e),r=mt(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Kr(e[i],t[i]))return!1}}return String(e)===String(t)}function vl(e,t){return e.findIndex(n=>Kr(n,t))}const g=e=>zt(e)?e:e==null?"":ve(e)||mt(e)&&(e.toString===z_||!Ie(e.toString))?JSON.stringify(e,S_,2):String(e),S_=(e,t)=>t&&t.__v_isRef?S_(e,t.value):Go(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[tc(r,s)+" =>"]=o,n),{})}:xo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>tc(n))}:zr(t)?tc(t):mt(t)&&!ve(t)&&!C_(t)?String(t):t,tc=(e,t="")=>{var n;return zr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.23
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let _n;class ad{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_n,!t&&_n&&(this.index=(_n.scopes||(_n.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_n;try{return _n=this,t()}finally{_n=n}}}on(){_n=this}off(){_n=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function ld(e){return new ad(e)}function E_(e,t=_n){t&&t.active&&t.effects.push(e)}function $_(){return _n}function S0(e){_n&&_n.cleanups.push(e)}let _o;class ls{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,E_(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,to();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(E0(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),no()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Gr,n=_o;try{return Gr=!0,_o=this,this._runnings++,Fm(this),this.fn()}finally{Vm(this),this._runnings--,_o=n,Gr=t}}stop(){var t;this.active&&(Fm(this),Vm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function E0(e){return e.value}function Fm(e){e._trackId++,e._depsLength=0}function Vm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)T_(e.deps[t],e);e.deps.length=e._depsLength}}function T_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function $0(e,t){e.effect instanceof ls&&(e=e.effect.fn);const n=new ls(e,ln,()=>{n.dirty&&n.run()});t&&(bt(n,t),t.scope&&E_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function T0(e){e.effect.stop()}let Gr=!0,Xc=0;const A_=[];function to(){A_.push(Gr),Gr=!1}function no(){const e=A_.pop();Gr=e===void 0?!0:e}function cd(){Xc++}function ud(){for(Xc--;!Xc&&Jc.length;)Jc.shift()()}function O_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&T_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Jc=[];function P_(e,t,n){cd();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Jc.push(r.scheduler)))}ud()}const I_=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ma=new WeakMap,go=Symbol(""),Qc=Symbol("");function un(e,t,n){if(Gr&&_o){let r=Ma.get(e);r||Ma.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=I_(()=>r.delete(n))),O_(_o,o)}}function yr(e,t,n,r,o,s){const i=Ma.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"||!zr(d)&&d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ve(e)?id(n)&&a.push(i.get("length")):(a.push(i.get(go)),Go(e)&&a.push(i.get(Qc)));break;case"delete":ve(e)||(a.push(i.get(go)),Go(e)&&a.push(i.get(Qc)));break;case"set":Go(e)&&a.push(i.get(go));break}cd();for(const l of a)l&&P_(l,4);ud()}function A0(e,t){var n;return(n=Ma.get(e))==null?void 0:n.get(t)}const O0=gl("__proto__,__v_isRef,__isVue"),L_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zr)),Hm=P0();function P0(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ye(this);for(let s=0,i=this.length;s<i;s++)un(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Ye)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){to(),cd();const r=Ye(this)[t].apply(this,n);return ud(),no(),r}}),e}function I0(e){zr(e)||(e=String(e));const t=Ye(this);return un(t,"has",e),t.hasOwnProperty(e)}class N_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?H_:V_:s?F_:M_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ve(t);if(!o){if(i&&tt(Hm,n))return Reflect.get(Hm,n,r);if(n==="hasOwnProperty")return I0}const a=Reflect.get(t,n,r);return(zr(n)?L_.has(n):O0(n))||(o||un(t,"get",n),s)?a:Vt(a)?i&&id(n)?a:a.value:mt(a)?o?fd(a):bs(a):a}}class D_ extends N_{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=cs(s);if(!ui(r)&&!cs(r)&&(s=Ye(s),r=Ye(r)),!ve(t)&&Vt(s)&&!Vt(r))return l?!1:(s.value=r,!0)}const i=ve(t)&&id(n)?Number(n)<t.length:tt(t,n),a=Reflect.set(t,n,r,o);return t===Ye(o)&&(i?qn(r,s)&&yr(t,"set",n,r):yr(t,"add",n,r)),a}deleteProperty(t,n){const r=tt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&yr(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!zr(n)||!L_.has(n))&&un(t,"has",n),r}ownKeys(t){return un(t,"iterate",ve(t)?"length":go),Reflect.ownKeys(t)}}class R_ extends N_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const L0=new D_,N0=new R_,D0=new D_(!0),R0=new R_(!0),dd=e=>e,bl=e=>Reflect.getPrototypeOf(e);function Ui(e,t,n=!1,r=!1){e=e.__v_raw;const o=Ye(e),s=Ye(t);n||(qn(t,s)&&un(o,"get",t),un(o,"get",s));const{has:i}=bl(o),a=r?dd:n?hd:di;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function ji(e,t=!1){const n=this.__v_raw,r=Ye(n),o=Ye(e);return t||(qn(e,o)&&un(r,"has",e),un(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Bi(e,t=!1){return e=e.__v_raw,!t&&un(Ye(e),"iterate",go),Reflect.get(e,"size",e)}function Um(e){e=Ye(e);const t=Ye(this);return bl(t).has.call(t,e)||(t.add(e),yr(t,"add",e,e)),this}function jm(e,t){t=Ye(t);const n=Ye(this),{has:r,get:o}=bl(n);let s=r.call(n,e);s||(e=Ye(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?qn(t,i)&&yr(n,"set",e,t):yr(n,"add",e,t),this}function Bm(e){const t=Ye(this),{has:n,get:r}=bl(t);let o=n.call(t,e);o||(e=Ye(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&yr(t,"delete",e,void 0),s}function Wm(){const e=Ye(this),t=e.size!==0,n=e.clear();return t&&yr(e,"clear",void 0,void 0),n}function Wi(e,t){return function(r,o){const s=this,i=s.__v_raw,a=Ye(i),l=t?dd:e?hd:di;return!e&&un(a,"iterate",go),i.forEach((u,d)=>r.call(o,l(u),l(d),s))}}function qi(e,t,n){return function(...r){const o=this.__v_raw,s=Ye(o),i=Go(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),d=n?dd:t?hd:di;return!t&&un(s,"iterate",l?Qc:go),{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 Tr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function M0(){const e={get(s){return Ui(this,s)},get size(){return Bi(this)},has:ji,add:Um,set:jm,delete:Bm,clear:Wm,forEach:Wi(!1,!1)},t={get(s){return Ui(this,s,!1,!0)},get size(){return Bi(this)},has:ji,add:Um,set:jm,delete:Bm,clear:Wm,forEach:Wi(!1,!0)},n={get(s){return Ui(this,s,!0)},get size(){return Bi(this,!0)},has(s){return ji.call(this,s,!0)},add:Tr("add"),set:Tr("set"),delete:Tr("delete"),clear:Tr("clear"),forEach:Wi(!0,!1)},r={get(s){return Ui(this,s,!0,!0)},get size(){return Bi(this,!0)},has(s){return ji.call(this,s,!0)},add:Tr("add"),set:Tr("set"),delete:Tr("delete"),clear:Tr("clear"),forEach:Wi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=qi(s,!1,!1),n[s]=qi(s,!0,!1),t[s]=qi(s,!1,!0),r[s]=qi(s,!0,!0)}),[e,n,t,r]}const[F0,V0,H0,U0]=M0();function zl(e,t){const n=t?e?U0:H0:e?V0:F0;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(tt(n,o)&&o in r?n:r,o,s)}const j0={get:zl(!1,!1)},B0={get:zl(!1,!0)},W0={get:zl(!0,!1)},q0={get:zl(!0,!0)},M_=new WeakMap,F_=new WeakMap,V_=new WeakMap,H_=new WeakMap;function G0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function K0(e){return e.__v_skip||!Object.isExtensible(e)?0:G0(p0(e))}function bs(e){return cs(e)?e:Cl(e,!1,L0,j0,M_)}function md(e){return Cl(e,!1,D0,B0,F_)}function fd(e){return Cl(e,!0,N0,W0,V_)}function Z0(e){return Cl(e,!0,R0,q0,H_)}function Cl(e,t,n,r,o){if(!mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=K0(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Yo(e){return cs(e)?Yo(e.__v_raw):!!(e&&e.__v_isReactive)}function cs(e){return!!(e&&e.__v_isReadonly)}function ui(e){return!!(e&&e.__v_isShallow)}function pd(e){return e?!!e.__v_raw:!1}function Ye(e){const t=e&&e.__v_raw;return t?Ye(t):e}function U_(e){return Object.isExtensible(e)&&w_(e,"__v_skip",!0),e}const di=e=>mt(e)?bs(e):e,hd=e=>mt(e)?fd(e):e;class j_{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ls(()=>t(this._value),()=>Xo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Ye(this);return(!t._cacheable||t.effect.dirty)&&qn(t._value,t._value=t.effect.run())&&Xo(t,4),_d(t),t.effect._dirtyLevel>=2&&Xo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Y0(e,t,n=!1){let r,o;const s=Ie(e);return s?(r=e,o=ln):(r=e.get,o=e.set),new j_(r,o,s||!o,n)}function _d(e){var t;Gr&&_o&&(e=Ye(e),O_(_o,(t=e.dep)!=null?t:e.dep=I_(()=>e.dep=void 0,e instanceof j_?e:void 0)))}function Xo(e,t=4,n){e=Ye(e);const r=e.dep;r&&P_(r,t)}function Vt(e){return!!(e&&e.__v_isRef===!0)}function sr(e){return B_(e,!1)}function gd(e){return B_(e,!0)}function B_(e,t){return Vt(e)?e:new X0(e,t)}class X0{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ye(t),this._value=n?t:di(t)}get value(){return _d(this),this._value}set value(t){const n=this.__v_isShallow||ui(t)||cs(t);t=n?t:Ye(t),qn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:di(t),Xo(this,4))}}function J0(e){Xo(e,4)}function vn(e){return Vt(e)?e.value:e}function Q0(e){return Ie(e)?e():vn(e)}const eC={get:(e,t,n)=>vn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Vt(o)&&!Vt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function yd(e){return Yo(e)?e:new Proxy(e,eC)}class tC{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>_d(this),()=>Xo(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function W_(e){return new tC(e)}function nC(e){const t=ve(e)?new Array(e.length):{};for(const n in e)t[n]=q_(e,n);return t}class rC{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 A0(Ye(this._object),this._key)}}class oC{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function sC(e,t,n){return Vt(e)?e:Ie(e)?new oC(e):mt(e)&&arguments.length>1?q_(e,t,n):sr(e)}function q_(e,t,n){const r=e[t];return Vt(r)?r:new rC(e,t,n)}const iC={GET:"get",HAS:"has",ITERATE:"iterate"},aC={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
|
||
* @vue/runtime-core v3.4.23
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function lC(e,t){}const cC={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"},uC={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 vr(e,t,n,r){try{return r?e(...r):e()}catch(o){So(o,t,n)}}function zn(e,t,n,r){if(Ie(e)){const o=vr(e,t,n,r);return o&&sd(o)&&o.catch(s=>{So(s,t,n)}),o}if(ve(e)){const o=[];for(let s=0;s<e.length;s++)o.push(zn(e[s],t,n,r));return o}}function So(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){to(),vr(l,null,10,[e,i,a]),no();return}}dC(e,n,o,r)}function dC(e,t,n,r=!0){console.error(e)}let mi=!1,eu=!1;const Bt=[];let tr=0;const Jo=[];let Rr=null,fo=0;const G_=Promise.resolve();let vd=null;function zs(e){const t=vd||G_;return e?t.then(this?e.bind(this):e):t}function mC(e){let t=tr+1,n=Bt.length;for(;t<n;){const r=t+n>>>1,o=Bt[r],s=fi(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function wl(e){(!Bt.length||!Bt.includes(e,mi&&e.allowRecurse?tr+1:tr))&&(e.id==null?Bt.push(e):Bt.splice(mC(e.id),0,e),K_())}function K_(){!mi&&!eu&&(eu=!0,vd=G_.then(Z_))}function fC(e){const t=Bt.indexOf(e);t>tr&&Bt.splice(t,1)}function Fa(e){ve(e)?Jo.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?fo+1:fo))&&Jo.push(e),K_()}function qm(e,t,n=mi?tr+1:0){for(;n<Bt.length;n++){const r=Bt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Bt.splice(n,1),n--,r()}}}function Va(e){if(Jo.length){const t=[...new Set(Jo)].sort((n,r)=>fi(n)-fi(r));if(Jo.length=0,Rr){Rr.push(...t);return}for(Rr=t,fo=0;fo<Rr.length;fo++)Rr[fo]();Rr=null,fo=0}}const fi=e=>e.id==null?1/0:e.id,pC=(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 Z_(e){eu=!1,mi=!0,Bt.sort(pC);try{for(tr=0;tr<Bt.length;tr++){const t=Bt[tr];t&&t.active!==!1&&vr(t,null,14)}}finally{tr=0,Bt.length=0,Va(),mi=!1,vd=null,(Bt.length||Jo.length)&&Z_()}}let Fo,Gi=[];function Y_(e,t){var n,r;Fo=e,Fo?(Fo.enabled=!0,Gi.forEach(({event:o,args:s})=>Fo.emit(o,...s)),Gi=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Y_(s,t)}),setTimeout(()=>{Fo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Gi=[])},3e3)):Gi=[]}function hC(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ut;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||ut;f&&(o=n.map(p=>zt(p)?p.trim():p)),m&&(o=n.map(Da))}let a,l=r[a=Gs(t)]||r[a=Gs(Qt(t))];!l&&s&&(l=r[a=Gs(yn(t))]),l&&zn(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,zn(u,e,6,o)}}function X_(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!Ie(e)){const l=u=>{const d=X_(u,t,!0);d&&(a=!0,bt(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(mt(e)&&r.set(e,null),null):(ve(s)?s.forEach(l=>i[l]=null):bt(i,s),mt(e)&&r.set(e,i),i)}function kl(e,t){return!e||!Ei(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,yn(t))||tt(e,t))}let Lt=null,xl=null;function pi(e){const t=Lt;return Lt=e,xl=e&&e.type.__scopeId||null,t}function _C(e){xl=e}function gC(){xl=null}const yC=e=>L;function L(e,t=Lt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&cu(-1);const s=pi(t);let i;try{i=e(...o)}finally{pi(s),r._d&&cu(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ba(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:l,emit:u,render:d,renderCache:m,data:f,setupState:p,ctx:h,inheritAttrs:_}=e;let b,C;const k=pi(e);try{if(n.shapeFlag&4){const z=o||r,x=z;b=gn(d.call(x,z,m,s,p,f,h)),C=l}else{const z=t;b=gn(z.length>1?z(s,{attrs:l,slots:a,emit:u}):z(s,null)),C=t.props?l:bC(l)}}catch(z){Xs.length=0,So(z,e,1),b=v(Kt)}let y=b;if(C&&_!==!1){const z=Object.keys(C),{shapeFlag:x}=y;z.length&&x&7&&(i&&z.some(rd)&&(C=zC(C,i)),y=ar(y,C))}return n.dirs&&(y=ar(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,pi(k),b}function vC(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Yr(o)){if(o.type!==Kt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const bC=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ei(n))&&((t||(t={}))[n]=e[n]);return t},zC=(e,t)=>{const n={};for(const r in e)(!rd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function CC(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Gm(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]&&!kl(u,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Gm(r,i,u):!0:!!i;return!1}function Gm(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!kl(n,s))return!0}return!1}function bd({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 zd="components",wC="directives";function A(e,t){return wd(zd,e,!0,t)||e}const J_=Symbol.for("v-ndc");function Sl(e){return zt(e)?wd(zd,e,!1)||e:e||J_}function Cd(e){return wd(wC,e)}function wd(e,t,n=!0,r=!1){const o=Lt||Dt;if(o){const s=o.type;if(e===zd){const a=pu(s,!1);if(a&&(a===t||a===Qt(t)||a===$i(Qt(t))))return s}const i=Km(o[e]||s[e],t)||Km(o.appContext[e],t);return!i&&r?s:i}}function Km(e,t){return e&&(e[t]||e[Qt(t)]||e[$i(Qt(t))])}const Q_=e=>e.__isSuspense;let tu=0;const kC={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,u){if(e==null)SC(t,n,r,o,s,i,a,l,u);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}EC(e,t,n,r,o,i,a,l,u)}},hydrate:$C,create:kd,normalize:TC},xC=kC;function hi(e,t){const n=e.props&&e.props[t];Ie(n)&&n()}function SC(e,t,n,r,o,s,i,a,l){const{p:u,o:{createElement:d}}=l,m=d("div"),f=e.suspense=kd(e,o,r,t,m,n,s,i,a,l);u(null,f.pendingBranch=e.ssContent,m,null,r,f,s,i),f.deps>0?(hi(e,"onPending"),hi(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,i),Qo(f,e.ssFallback)):f.resolve(!1,!0)}function EC(e,t,n,r,o,s,i,a,{p:l,um:u,o:{createElement:d}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:b,isHydrating:C}=m;if(_)m.pendingBranch=f,jn(f,_)?(l(_,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():b&&(C||(l(h,p,n,r,o,null,s,i,a),Qo(m,p)))):(m.pendingId=tu++,C?(m.isHydrating=!1,m.activeBranch=_):u(_,o,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),b?(l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():(l(h,p,n,r,o,null,s,i,a),Qo(m,p))):h&&jn(f,h)?(l(h,f,n,r,o,m,s,i,a),m.resolve(!0)):(l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0&&m.resolve()));else if(h&&jn(f,h))l(h,f,n,r,o,m,s,i,a),Qo(m,f);else if(hi(t,"onPending"),m.pendingBranch=f,f.shapeFlag&512?m.pendingId=f.component.suspenseId:m.pendingId=tu++,l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0)m.resolve();else{const{timeout:k,pendingId:y}=m;k>0?setTimeout(()=>{m.pendingId===y&&m.fallback(p)},k):k===0&&m.fallback(p)}}function kd(e,t,n,r,o,s,i,a,l,u,d=!1){const{p:m,m:f,um:p,n:h,o:{parentNode:_,remove:b}}=u;let C;const k=AC(e);k&&t!=null&&t.pendingBranch&&(C=t.pendingId,t.deps++);const y=e.props?Ra(e.props.timeout):void 0,z=s,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:tu++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(w=!1,N=!1){const{vnode:D,activeBranch:O,pendingBranch:V,pendingId:X,effects:U,parentComponent:W,container:ne}=x;let he=!1;x.isHydrating?x.isHydrating=!1:w||(he=O&&V.transition&&V.transition.mode==="out-in",he&&(O.transition.afterLeave=()=>{X===x.pendingId&&(f(V,ne,s===z?h(O):s,0),Fa(U))}),O&&(_(O.el)!==x.hiddenContainer&&(s=h(O)),p(O,W,x,!0)),he||f(V,ne,s,0)),Qo(x,V),x.pendingBranch=null,x.isInFallback=!1;let Z=x.parent,se=!1;for(;Z;){if(Z.pendingBranch){Z.effects.push(...U),se=!0;break}Z=Z.parent}!se&&!he&&Fa(U),x.effects=[],k&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!N&&t.resolve()),hi(D,"onResolve")},fallback(w){if(!x.pendingBranch)return;const{vnode:N,activeBranch:D,parentComponent:O,container:V,namespace:X}=x;hi(N,"onFallback");const U=h(D),W=()=>{x.isInFallback&&(m(null,w,V,U,O,null,X,a,l),Qo(x,w))},ne=w.transition&&w.transition.mode==="out-in";ne&&(D.transition.afterLeave=W),x.isInFallback=!0,p(D,O,null,!0),ne||W()},move(w,N,D){x.activeBranch&&f(x.activeBranch,w,N,D),x.container=w},next(){return x.activeBranch&&h(x.activeBranch)},registerDep(w,N){const D=!!x.pendingBranch;D&&x.deps++;const O=w.vnode.el;w.asyncDep.catch(V=>{So(V,w,0)}).then(V=>{if(w.isUnmounted||x.isUnmounted||x.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:X}=w;mu(w,V,!1),O&&(X.el=O);const U=!O&&w.subTree.el;N(w,X,_(O||w.subTree.el),O?null:h(w.subTree),x,i,l),U&&b(U),bd(w,X.el),D&&--x.deps===0&&x.resolve()})},unmount(w,N){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,w,N),x.pendingBranch&&p(x.pendingBranch,n,w,N)}};return x}function $C(e,t,n,r,o,s,i,a,l){const u=t.suspense=kd(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),d=l(e,u.pendingBranch=t.ssContent,n,u,s,i);return u.deps===0&&u.resolve(!1,!0),d}function TC(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Zm(r?n.default:n),e.ssFallback=r?Zm(n.fallback):v(Kt)}function Zm(e){let t;if(Ie(e)){const n=wo&&e._c;n&&(e._d=!1,E()),e=e(),n&&(e._d=!0,t=cn,Ng())}return ve(e)&&(e=vC(e)),e=gn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function eg(e,t){t&&t.pendingBranch?ve(e)?t.effects.push(...e):t.effects.push(e):Fa(e)}function Qo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,bd(r,o))}function AC(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const tg=Symbol.for("v-scx"),ng=()=>Wn(tg);function rg(e,t){return Ti(e,null,t)}function og(e,t){return Ti(e,null,{flush:"post"})}function sg(e,t){return Ti(e,null,{flush:"sync"})}const Ki={};function Cn(e,t,n){return Ti(e,t,n)}function Ti(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:a}=ut){if(t&&s){const w=t;t=(...N)=>{w(...N),x()}}const l=Dt,u=w=>r===!0?w:po(w,r===!1?1:void 0);let d,m=!1,f=!1;if(Vt(e)?(d=()=>e.value,m=ui(e)):Yo(e)?(d=()=>u(e),m=!0):ve(e)?(f=!0,m=e.some(w=>Yo(w)||ui(w)),d=()=>e.map(w=>{if(Vt(w))return w.value;if(Yo(w))return u(w);if(Ie(w))return vr(w,l,2)})):Ie(e)?t?d=()=>vr(e,l,2):d=()=>(p&&p(),zn(e,l,3,[h])):d=ln,t&&r){const w=d;d=()=>po(w())}let p,h=w=>{p=y.onStop=()=>{vr(w,l,4),p=y.onStop=void 0}},_;if(Pi)if(h=ln,t?n&&zn(t,l,3,[d(),f?[]:void 0,h]):d(),o==="sync"){const w=ng();_=w.__watcherHandles||(w.__watcherHandles=[])}else return ln;let b=f?new Array(e.length).fill(Ki):Ki;const C=()=>{if(!(!y.active||!y.dirty))if(t){const w=y.run();(r||m||(f?w.some((N,D)=>qn(N,b[D])):qn(w,b)))&&(p&&p(),zn(t,l,3,[w,b===Ki?void 0:f&&b[0]===Ki?[]:b,h]),b=w)}else y.run()};C.allowRecurse=!!t;let k;o==="sync"?k=C:o==="post"?k=()=>Ut(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),k=()=>wl(C));const y=new ls(d,ln,k),z=$_(),x=()=>{y.stop(),z&&od(z.effects,y)};return t?n?C():b=y.run():o==="post"?Ut(y.run.bind(y),l&&l.suspense):y.run(),_&&_.push(x),x}function OC(e,t,n){const r=this.proxy,o=zt(e)?e.includes(".")?ig(r,e):()=>r[e]:e.bind(r,r);let s;Ie(t)?s=t:(s=t.handler,n=t);const i=ko(this),a=Ti(o,s.bind(r),n);return i(),a}function ig(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function po(e,t,n=0,r){if(!mt(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Vt(e))po(e.value,t,n,r);else if(ve(e))for(let o=0;o<e.length;o++)po(e[o],t,n,r);else if(xo(e)||Go(e))e.forEach(o=>{po(o,t,n,r)});else if(C_(e))for(const o in e)po(e[o],t,n,r);return e}function pt(e,t){if(Lt===null)return e;const n=Ol(Lt)||Lt.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=ut]=t[o];s&&(Ie(s)&&(s={mounted:s,updated:s}),s.deep&&po(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function er(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(to(),zn(l,n,8,[e.el,a,e,t]),no())}}const Mr=Symbol("_leaveCb"),Zi=Symbol("_enterCb");function xd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Cs(()=>{e.isMounted=!0}),Al(()=>{e.isUnmounting=!0}),e}const kn=[Function,Array],Sd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kn,onEnter:kn,onAfterEnter:kn,onEnterCancelled:kn,onBeforeLeave:kn,onLeave:kn,onAfterLeave:kn,onLeaveCancelled:kn,onBeforeAppear:kn,onAppear:kn,onAfterAppear:kn,onAppearCancelled:kn},PC={name:"BaseTransition",props:Sd,setup(e,{slots:t}){const n=Dn(),r=xd();return()=>{const o=t.default&&El(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const f of o)if(f.type!==Kt){s=f;break}}const i=Ye(e),{mode:a}=i;if(r.isLeaving)return nc(s);const l=Ym(s);if(!l)return nc(s);const u=us(l,i,r,n);Co(l,u);const d=n.subTree,m=d&&Ym(d);if(m&&m.type!==Kt&&!jn(l,m)){const f=us(m,i,r,n);if(Co(m,f),a==="out-in")return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},nc(s);a==="in-out"&&l.type!==Kt&&(f.delayLeave=(p,h,_)=>{const b=lg(r,m);b[String(m.key)]=m,p[Mr]=()=>{h(),p[Mr]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return s}}},ag=PC;function lg(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 us(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:m,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:b,onAfterAppear:C,onAppearCancelled:k}=t,y=String(e.key),z=lg(n,e),x=(D,O)=>{D&&zn(D,r,9,O)},w=(D,O)=>{const V=O[1];x(D,O),ve(D)?D.every(X=>X.length<=1)&&V():D.length<=1&&V()},N={mode:s,persisted:i,beforeEnter(D){let O=a;if(!n.isMounted)if(o)O=_||a;else return;D[Mr]&&D[Mr](!0);const V=z[y];V&&jn(e,V)&&V.el[Mr]&&V.el[Mr](),x(O,[D])},enter(D){let O=l,V=u,X=d;if(!n.isMounted)if(o)O=b||l,V=C||u,X=k||d;else return;let U=!1;const W=D[Zi]=ne=>{U||(U=!0,ne?x(X,[D]):x(V,[D]),N.delayedLeave&&N.delayedLeave(),D[Zi]=void 0)};O?w(O,[D,W]):W()},leave(D,O){const V=String(e.key);if(D[Zi]&&D[Zi](!0),n.isUnmounting)return O();x(m,[D]);let X=!1;const U=D[Mr]=W=>{X||(X=!0,O(),W?x(h,[D]):x(p,[D]),D[Mr]=void 0,z[V]===e&&delete z[V])};z[V]=e,f?w(f,[D,U]):U()},clone(D){return us(D,t,n,r)}};return N}function nc(e){if(Ai(e))return e=ar(e),e.children=null,e}function Ym(e){return Ai(e)?e.children?e.children[0]:void 0:e}function Co(e,t){e.shapeFlag&6&&e.component?Co(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function El(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ce?(i.patchFlag&128&&o++,r=r.concat(El(i.children,t,a))):(t||i.type!==Kt)&&r.push(a!=null?ar(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function wr(e,t){return Ie(e)?bt({name:e.name},t,{setup:e}):e}const yo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function IC(e){Ie(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,u,d=0;const m=()=>(d++,l=null,f()),f=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,b)=>{a(h,()=>_(m()),()=>b(h),d+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),u=h,h)))};return wr({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=Dt;if(u)return()=>rc(u,p);const h=k=>{l=null,So(k,p,13,!r)};if(i&&p.suspense||Pi)return f().then(k=>()=>rc(k,p)).catch(k=>(h(k),()=>r?v(r,{error:k}):null));const _=sr(!1),b=sr(),C=sr(!!o);return o&&setTimeout(()=>{C.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!b.value){const k=new Error(`Async component timed out after ${s}ms.`);h(k),b.value=k}},s),f().then(()=>{_.value=!0,p.parent&&Ai(p.parent.vnode)&&(p.parent.effect.dirty=!0,wl(p.parent.update))}).catch(k=>{h(k),b.value=k}),()=>{if(_.value&&u)return rc(u,p);if(b.value&&r)return v(r,{error:b.value});if(n&&!C.value)return v(n)}}})}function rc(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=v(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Ai=e=>e.type.__isKeepAlive,LC={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dn(),r=n.ctx;if(!r.renderer)return()=>{const k=t.default&&t.default();return k&&k.length===1?k[0]:k};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:m}}}=r,f=m("div");r.activate=(k,y,z,x,w)=>{const N=k.component;u(k,y,z,0,a),l(N.vnode,k,y,z,N,a,x,k.slotScopeIds,w),Ut(()=>{N.isDeactivated=!1,N.a&&Zo(N.a);const D=k.props&&k.props.onVnodeMounted;D&&on(D,N.parent,k)},a)},r.deactivate=k=>{const y=k.component;u(k,f,null,1,a),Ut(()=>{y.da&&Zo(y.da);const z=k.props&&k.props.onVnodeUnmounted;z&&on(z,y.parent,k),y.isDeactivated=!0},a)};function p(k){oc(k),d(k,n,a,!0)}function h(k){o.forEach((y,z)=>{const x=pu(y.type);x&&(!k||!k(x))&&_(z)})}function _(k){const y=o.get(k);!i||!jn(y,i)?p(y):i&&oc(i),o.delete(k),s.delete(k)}Cn(()=>[e.include,e.exclude],([k,y])=>{k&&h(z=>Vs(k,z)),y&&h(z=>!Vs(y,z))},{flush:"post",deep:!0});let b=null;const C=()=>{b!=null&&o.set(b,sc(n.subTree))};return Cs(C),Tl(C),Al(()=>{o.forEach(k=>{const{subTree:y,suspense:z}=n,x=sc(y);if(k.type===x.type&&k.key===x.key){oc(x);const w=x.component.da;w&&Ut(w,z);return}p(k)})}),()=>{if(b=null,!t.default)return i=null;const k=t.default(),y=k[0];if(k.length>1)return i=null,k;if(!Yr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let z=sc(y);const x=z.type,w=pu(yo(z)?z.type.__asyncResolved||{}:x),{include:N,exclude:D,max:O}=e;if(N&&(!w||!Vs(N,w))||D&&w&&Vs(D,w))return i=z,y;const V=z.key==null?x:z.key,X=o.get(V);return z.el&&(z=ar(z),y.shapeFlag&128&&(y.ssContent=z)),b=V,X?(z.el=X.el,z.component=X.component,z.transition&&Co(z,z.transition),z.shapeFlag|=512,s.delete(V),s.add(V)):(s.add(V),O&&s.size>parseInt(O,10)&&_(s.values().next().value)),z.shapeFlag|=256,i=z,Q_(y.type)?y:z}}},NC=LC;function Vs(e,t){return ve(e)?e.some(n=>Vs(n,t)):zt(e)?e.split(",").includes(t):f0(e)?e.test(t):!1}function cg(e,t){dg(e,"a",t)}function ug(e,t){dg(e,"da",t)}function dg(e,t,n=Dt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($l(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ai(o.parent.vnode)&&DC(r,t,n,o),o=o.parent}}function DC(e,t,n,r){const o=$l(t,e,r,!0);Oi(()=>{od(r[t],o)},n)}function oc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function sc(e){return e.shapeFlag&128?e.ssContent:e}function $l(e,t,n=Dt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;to();const a=ko(n),l=zn(t,n,e,i);return a(),no(),l});return r?o.unshift(s):o.push(s),s}}const kr=e=>(t,n=Dt)=>(!Pi||e==="sp")&&$l(e,(...r)=>t(...r),n),mg=kr("bm"),Cs=kr("m"),fg=kr("bu"),Tl=kr("u"),Al=kr("bum"),Oi=kr("um"),pg=kr("sp"),hg=kr("rtg"),_g=kr("rtc");function gg(e,t=Dt){$l("ec",e,t)}function Ct(e,t,n,r){let o;const s=n&&n[r];if(ve(e)||zt(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(mt(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const u=i[a];o[a]=t(e[u],u,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function Ed(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ve(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function vt(e,t,n={},r,o){if(Lt.isCE||Lt.parent&&yo(Lt.parent)&&Lt.parent.isCE)return t!=="default"&&(n.name=t),v("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),E();const i=s&&yg(s(n)),a=xe(Ce,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function yg(e){return e.some(t=>Yr(t)?!(t.type===Kt||t.type===Ce&&!yg(t.children)):!0)?e:null}function RC(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Gs(r)]=e[r];return n}const nu=e=>e?Vg(e)?Ol(e)||e.proxy:nu(e.parent):null,Ks=bt(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=>nu(e.parent),$root:e=>nu(e.root),$emit:e=>e.emit,$options:e=>$d(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,wl(e.update)}),$nextTick:e=>e.n||(e.n=zs.bind(e.proxy)),$watch:e=>OC.bind(e)}),ic=(e,t)=>e!==ut&&!e.__isScriptSetup&&tt(e,t),ru={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(ic(r,t))return i[t]=1,r[t];if(o!==ut&&tt(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&tt(u,t))return i[t]=3,s[t];if(n!==ut&&tt(n,t))return i[t]=4,n[t];ou&&(i[t]=0)}}const d=Ks[t];let m,f;if(d)return t==="$attrs"&&un(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:o,ctx:s}=e;return ic(o,t)?(o[t]=n,!0):r!==ut&&tt(r,t)?(r[t]=n,!0):tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==ut&&tt(e,i)||ic(t,i)||(a=s[0])&&tt(a,i)||tt(r,i)||tt(Ks,i)||tt(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:tt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},MC=bt({},ru,{get(e,t){if(t!==Symbol.unscopables)return ru.get(e,t,e)},has(e,t){return t[0]!=="_"&&!y0(t)}});function FC(){return null}function VC(){return null}function HC(e){}function UC(e){}function jC(){return null}function BC(){}function WC(e,t){return null}function qC(){return vg().slots}function GC(){return vg().attrs}function vg(){const e=Dn();return e.setupContext||(e.setupContext=jg(e))}function _i(e){return ve(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function KC(e,t){const n=_i(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?ve(o)||Ie(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function ZC(e,t){return!e||!t?e||t:ve(e)&&ve(t)?e.concat(t):bt({},_i(e),_i(t))}function YC(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function XC(e){const t=Dn();let n=e();return du(),sd(n)&&(n=n.catch(r=>{throw ko(t),r})),[n,()=>ko(t)]}let ou=!0;function JC(e){const t=$d(e),n=e.proxy,r=e.ctx;ou=!1,t.beforeCreate&&Xm(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:d,beforeMount:m,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:b,beforeDestroy:C,beforeUnmount:k,destroyed:y,unmounted:z,render:x,renderTracked:w,renderTriggered:N,errorCaptured:D,serverPrefetch:O,expose:V,inheritAttrs:X,components:U,directives:W,filters:ne}=t;if(u&&QC(u,r,null),i)for(const se in i){const ae=i[se];Ie(ae)&&(r[se]=ae.bind(n))}if(o){const se=o.call(n,n);mt(se)&&(e.data=bs(se))}if(ou=!0,s)for(const se in s){const ae=s[se],Be=Ie(ae)?ae.bind(n,n):Ie(ae.get)?ae.get.bind(n,n):ln,ot=!Ie(ae)&&Ie(ae.set)?ae.set.bind(n):ln,Ve=Ft({get:Be,set:ot});Object.defineProperty(r,se,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:He=>Ve.value=He})}if(a)for(const se in a)bg(a[se],r,n,se);if(l){const se=Ie(l)?l.call(n):l;Reflect.ownKeys(se).forEach(ae=>{Zs(ae,se[ae])})}d&&Xm(d,e,"c");function Z(se,ae){ve(ae)?ae.forEach(Be=>se(Be.bind(n))):ae&&se(ae.bind(n))}if(Z(mg,m),Z(Cs,f),Z(fg,p),Z(Tl,h),Z(cg,_),Z(ug,b),Z(gg,D),Z(_g,w),Z(hg,N),Z(Al,k),Z(Oi,z),Z(pg,O),ve(V))if(V.length){const se=e.exposed||(e.exposed={});V.forEach(ae=>{Object.defineProperty(se,ae,{get:()=>n[ae],set:Be=>n[ae]=Be})})}else e.exposed||(e.exposed={});x&&e.render===ln&&(e.render=x),X!=null&&(e.inheritAttrs=X),U&&(e.components=U),W&&(e.directives=W)}function QC(e,t,n=ln){ve(e)&&(e=su(e));for(const r in e){const o=e[r];let s;mt(o)?"default"in o?s=Wn(o.from||r,o.default,!0):s=Wn(o.from||r):s=Wn(o),Vt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Xm(e,t,n){zn(ve(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bg(e,t,n,r){const o=r.includes(".")?ig(n,r):()=>n[r];if(zt(e)){const s=t[e];Ie(s)&&Cn(o,s)}else if(Ie(e))Cn(o,e.bind(n));else if(mt(e))if(ve(e))e.forEach(s=>bg(s,t,n,r));else{const s=Ie(e.handler)?e.handler.bind(n):t[e.handler];Ie(s)&&Cn(o,s,e)}}function $d(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>Ha(l,u,i,!0)),Ha(l,t,i)),mt(t)&&s.set(t,l),l}function Ha(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Ha(e,s,n,!0),o&&o.forEach(i=>Ha(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=ew[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const ew={data:Jm,props:Qm,emits:Qm,methods:Hs,computed:Hs,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:Hs,directives:Hs,watch:nw,provide:Jm,inject:tw};function Jm(e,t){return t?e?function(){return bt(Ie(e)?e.call(this,this):e,Ie(t)?t.call(this,this):t)}:t:e}function tw(e,t){return Hs(su(e),su(t))}function su(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 Hs(e,t){return e?bt(Object.create(null),e,t):t}function Qm(e,t){return e?ve(e)&&ve(t)?[...new Set([...e,...t])]:bt(Object.create(null),_i(e),_i(t??{})):t}function nw(e,t){if(!e)return t;if(!t)return e;const n=bt(Object.create(null),e);for(const r in t)n[r]=Zt(e[r],t[r]);return n}function zg(){return{app:null,config:{isNativeTag:d0,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 rw=0;function ow(e,t){return function(r,o=null){Ie(r)||(r=bt({},r)),o!=null&&!mt(o)&&(o=null);const s=zg(),i=new WeakSet;let a=!1;const l=s.app={_uid:rw++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Wg,get config(){return s.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 s.mixins.includes(u)||s.mixins.push(u),l},component(u,d){return d?(s.components[u]=d,l):s.components[u]},directive(u,d){return d?(s.directives[u]=d,l):s.directives[u]},mount(u,d,m){if(!a){const f=v(r,o);return f.appContext=s,m===!0?m="svg":m===!1&&(m=void 0),d&&t?t(f,u):e(f,u,m),a=!0,l._container=u,u.__vue_app__=l,Ol(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,d){return s.provides[u]=d,l},runWithContext(u){const d=es;es=l;try{return u()}finally{es=d}}};return l}}let es=null;function Zs(e,t){if(Dt){let n=Dt.provides;const r=Dt.parent&&Dt.parent.provides;r===n&&(n=Dt.provides=Object.create(r)),n[e]=t}}function Wn(e,t,n=!1){const r=Dt||Lt;if(r||es){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:es._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ie(t)?t.call(r&&r.proxy):t}}function sw(){return!!(Dt||Lt||es)}const Cg=Object.create(null),iu=()=>Object.create(Cg),wg=e=>Object.getPrototypeOf(e)===Cg;function iw(e,t,n,r=!1){const o={},s=iu();e.propsDefaults=Object.create(null),kg(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:md(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function aw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ye(o),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let m=0;m<d.length;m++){let f=d[m];if(kl(e.emitsOptions,f))continue;const p=t[f];if(l)if(tt(s,f))p!==s[f]&&(s[f]=p,u=!0);else{const h=Qt(f);o[h]=au(l,a,h,p,e,!1)}else p!==s[f]&&(s[f]=p,u=!0)}}}else{kg(e,t,o,s)&&(u=!0);let d;for(const m in a)(!t||!tt(t,m)&&((d=yn(m))===m||!tt(t,d)))&&(l?n&&(n[m]!==void 0||n[d]!==void 0)&&(o[m]=au(l,a,m,void 0,e,!0)):delete o[m]);if(s!==a)for(const m in s)(!t||!tt(t,m))&&(delete s[m],u=!0)}u&&yr(e.attrs,"set","")}function kg(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Ko(l))continue;const u=t[l];let d;o&&tt(o,d=Qt(l))?!s||!s.includes(d)?n[d]=u:(a||(a={}))[d]=u:kl(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(s){const l=Ye(n),u=a||ut;for(let d=0;d<s.length;d++){const m=s[d];n[m]=au(o,l,m,u[m],e,!tt(u,m))}}return i}function au(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=tt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Ie(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const d=ko(o);r=u[n]=l.call(null,t),d()}}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===yn(n))&&(r=!0))}return r}function xg(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!Ie(e)){const d=m=>{l=!0;const[f,p]=xg(m,t,!0);bt(i,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!s&&!l)return mt(e)&&r.set(e,qo),qo;if(ve(s))for(let d=0;d<s.length;d++){const m=Qt(s[d]);ef(m)&&(i[m]=ut)}else if(s)for(const d in s){const m=Qt(d);if(ef(m)){const f=s[d],p=i[m]=ve(f)||Ie(f)?{type:f}:bt({},f);if(p){const h=rf(Boolean,p.type),_=rf(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 ef(e){return e[0]!=="$"&&!Ko(e)}function tf(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function nf(e,t){return tf(e)===tf(t)}function rf(e,t){return ve(t)?t.findIndex(n=>nf(n,e)):Ie(t)&&nf(t,e)?0:-1}const Sg=e=>e[0]==="_"||e==="$stable",Td=e=>ve(e)?e.map(gn):[gn(e)],lw=(e,t,n)=>{if(t._n)return t;const r=L((...o)=>Td(t(...o)),n);return r._c=!1,r},Eg=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Sg(o))continue;const s=e[o];if(Ie(s))t[o]=lw(o,s,r);else if(s!=null){const i=Td(s);t[o]=()=>i}}},$g=(e,t)=>{const n=Td(t);e.slots.default=()=>n},cw=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ye(t),w_(e.slots,"_",n)):Eg(t,e.slots=iu())}else e.slots=iu(),t&&$g(e,t)},uw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ut;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(bt(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Eg(t,o)),i=t}else t&&($g(e,t),i={default:1});if(s)for(const a in o)!Sg(a)&&i[a]==null&&delete o[a]};function Ua(e,t,n,r,o=!1){if(ve(e)){e.forEach((f,p)=>Ua(f,t&&(ve(t)?t[p]:t),n,r,o));return}if(yo(r)&&!o)return;const s=r.shapeFlag&4?Ol(r.component)||r.component.proxy:r.el,i=o?null:s,{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&&(zt(u)?(d[u]=null,tt(m,u)&&(m[u]=null)):Vt(u)&&(u.value=null)),Ie(l))vr(l,a,12,[i,d]);else{const f=zt(l),p=Vt(l);if(f||p){const h=()=>{if(e.f){const _=f?tt(m,l)?m[l]:d[l]:l.value;o?ve(_)&&od(_,s):ve(_)?_.includes(s)||_.push(s):f?(d[l]=[s],tt(m,l)&&(m[l]=d[l])):(l.value=[s],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,Ut(h,n)):h()}}}let Ar=!1;const dw=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",mw=e=>e.namespaceURI.includes("MathML"),Yi=e=>{if(dw(e))return"svg";if(mw(e))return"mathml"},Xi=e=>e.nodeType===8;function fw(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,d=(y,z)=>{if(!z.hasChildNodes()){n(null,y,z),Va(),z._vnode=y;return}Ar=!1,m(z.firstChild,y,null,null,null),Va(),z._vnode=y,Ar&&console.error("Hydration completed but contains mismatches.")},m=(y,z,x,w,N,D=!1)=>{D=D||!!z.dynamicChildren;const O=Xi(y)&&y.data==="[",V=()=>_(y,z,x,w,N,O),{type:X,ref:U,shapeFlag:W,patchFlag:ne}=z;let he=y.nodeType;z.el=y,ne===-2&&(D=!1,z.dynamicChildren=null);let Z=null;switch(X){case Zr:he!==3?z.children===""?(l(z.el=o(""),i(y),y),Z=y):Z=V():(y.data!==z.children&&(Ar=!0,y.data=z.children),Z=s(y));break;case Kt:k(y)?(Z=s(y),C(z.el=y.content.firstChild,y,x)):he!==8||O?Z=V():Z=s(y);break;case vo:if(O&&(y=s(y),he=y.nodeType),he===1||he===3){Z=y;const se=!z.children.length;for(let ae=0;ae<z.staticCount;ae++)se&&(z.children+=Z.nodeType===1?Z.outerHTML:Z.data),ae===z.staticCount-1&&(z.anchor=Z),Z=s(Z);return O?s(Z):Z}else V();break;case Ce:O?Z=h(y,z,x,w,N,D):Z=V();break;default:if(W&1)(he!==1||z.type.toLowerCase()!==y.tagName.toLowerCase())&&!k(y)?Z=V():Z=f(y,z,x,w,N,D);else if(W&6){z.slotScopeIds=N;const se=i(y);if(O?Z=b(y):Xi(y)&&y.data==="teleport start"?Z=b(y,y.data,"teleport end"):Z=s(y),t(z,se,null,x,w,Yi(se),D),yo(z)){let ae;O?(ae=v(Ce),ae.anchor=Z?Z.previousSibling:se.lastChild):ae=y.nodeType===3?xt(""):v("div"),ae.el=y,z.component.subTree=ae}}else W&64?he!==8?Z=V():Z=z.type.hydrate(y,z,x,w,N,D,e,p):W&128&&(Z=z.type.hydrate(y,z,x,w,Yi(i(y)),N,D,e,m))}return U!=null&&Ua(U,null,w,z),Z},f=(y,z,x,w,N,D)=>{D=D||!!z.dynamicChildren;const{type:O,props:V,patchFlag:X,shapeFlag:U,dirs:W,transition:ne}=z,he=O==="input"||O==="option";if(he||X!==-1){W&&er(z,null,x,"created");let Z=!1;if(k(y)){Z=Pg(w,ne)&&x&&x.vnode.props&&x.vnode.props.appear;const ae=y.content.firstChild;Z&&ne.beforeEnter(ae),C(ae,y,x),z.el=y=ae}if(U&16&&!(V&&(V.innerHTML||V.textContent))){let ae=p(y.firstChild,z,y,x,w,N,D);for(;ae;){Ar=!0;const Be=ae;ae=ae.nextSibling,a(Be)}}else U&8&&y.textContent!==z.children&&(Ar=!0,y.textContent=z.children);if(V)if(he||!D||X&48)for(const ae in V)(he&&(ae.endsWith("value")||ae==="indeterminate")||Ei(ae)&&!Ko(ae)||ae[0]===".")&&r(y,ae,null,V[ae],void 0,void 0,x);else V.onClick&&r(y,"onClick",null,V.onClick,void 0,void 0,x);let se;(se=V&&V.onVnodeBeforeMount)&&on(se,x,z),W&&er(z,null,x,"beforeMount"),((se=V&&V.onVnodeMounted)||W||Z)&&eg(()=>{se&&on(se,x,z),Z&&ne.enter(y),W&&er(z,null,x,"mounted")},w)}return y.nextSibling},p=(y,z,x,w,N,D,O)=>{O=O||!!z.dynamicChildren;const V=z.children,X=V.length;for(let U=0;U<X;U++){const W=O?V[U]:V[U]=gn(V[U]);if(y)y=m(y,W,w,N,D,O);else{if(W.type===Zr&&!W.children)continue;Ar=!0,n(null,W,x,null,w,N,Yi(x),D)}}return y},h=(y,z,x,w,N,D)=>{const{slotScopeIds:O}=z;O&&(N=N?N.concat(O):O);const V=i(y),X=p(s(y),z,V,x,w,N,D);return X&&Xi(X)&&X.data==="]"?s(z.anchor=X):(Ar=!0,l(z.anchor=u("]"),V,X),X)},_=(y,z,x,w,N,D)=>{if(Ar=!0,z.el=null,D){const X=b(y);for(;;){const U=s(y);if(U&&U!==X)a(U);else break}}const O=s(y),V=i(y);return a(y),n(null,z,V,O,x,w,Yi(V),N),O},b=(y,z="[",x="]")=>{let w=0;for(;y;)if(y=s(y),y&&Xi(y)&&(y.data===z&&w++,y.data===x)){if(w===0)return s(y);w--}return y},C=(y,z,x)=>{const w=z.parentNode;w&&w.replaceChild(y,z);let N=x;for(;N;)N.vnode.el===z&&(N.vnode.el=N.subTree.el=y),N=N.parent},k=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[d,m]}const Ut=eg;function Tg(e){return Og(e)}function Ag(e){return Og(e,fw)}function Og(e,t){const n=k_();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:d,parentNode:m,nextSibling:f,setScopeId:p=ln,insertStaticContent:h}=e,_=(T,I,B,Q=null,Y=null,le=null,pe=void 0,S=null,$=!!I.dynamicChildren)=>{if(T===I)return;T&&!jn(T,I)&&(Q=G(T),He(T,Y,le,!0),T=null),I.patchFlag===-2&&($=!1,I.dynamicChildren=null);const{type:R,ref:J,shapeFlag:me}=I;switch(R){case Zr:b(T,I,B,Q);break;case Kt:C(T,I,B,Q);break;case vo:T==null&&k(I,B,Q,pe);break;case Ce:U(T,I,B,Q,Y,le,pe,S,$);break;default:me&1?x(T,I,B,Q,Y,le,pe,S,$):me&6?W(T,I,B,Q,Y,le,pe,S,$):(me&64||me&128)&&R.process(T,I,B,Q,Y,le,pe,S,$,ge)}J!=null&&Y&&Ua(J,T&&T.ref,le,I||T,!I)},b=(T,I,B,Q)=>{if(T==null)r(I.el=a(I.children),B,Q);else{const Y=I.el=T.el;I.children!==T.children&&u(Y,I.children)}},C=(T,I,B,Q)=>{T==null?r(I.el=l(I.children||""),B,Q):I.el=T.el},k=(T,I,B,Q)=>{[T.el,T.anchor]=h(T.children,I,B,Q,T.el,T.anchor)},y=({el:T,anchor:I},B,Q)=>{let Y;for(;T&&T!==I;)Y=f(T),r(T,B,Q),T=Y;r(I,B,Q)},z=({el:T,anchor:I})=>{let B;for(;T&&T!==I;)B=f(T),o(T),T=B;o(I)},x=(T,I,B,Q,Y,le,pe,S,$)=>{I.type==="svg"?pe="svg":I.type==="math"&&(pe="mathml"),T==null?w(I,B,Q,Y,le,pe,S,$):O(T,I,Y,le,pe,S,$)},w=(T,I,B,Q,Y,le,pe,S)=>{let $,R;const{props:J,shapeFlag:me,transition:oe,dirs:H}=T;if($=T.el=i(T.type,le,J&&J.is,J),me&8?d($,T.children):me&16&&D(T.children,$,null,Q,Y,ac(T,le),pe,S),H&&er(T,null,Q,"created"),N($,T,T.scopeId,pe,Q),J){for(const be in J)be!=="value"&&!Ko(be)&&s($,be,null,J[be],le,T.children,Q,Y,Ne);"value"in J&&s($,"value",null,J.value,le),(R=J.onVnodeBeforeMount)&&on(R,Q,T)}H&&er(T,null,Q,"beforeMount");const K=Pg(Y,oe);K&&oe.beforeEnter($),r($,I,B),((R=J&&J.onVnodeMounted)||K||H)&&Ut(()=>{R&&on(R,Q,T),K&&oe.enter($),H&&er(T,null,Q,"mounted")},Y)},N=(T,I,B,Q,Y)=>{if(B&&p(T,B),Q)for(let le=0;le<Q.length;le++)p(T,Q[le]);if(Y){let le=Y.subTree;if(I===le){const pe=Y.vnode;N(T,pe,pe.scopeId,pe.slotScopeIds,Y.parent)}}},D=(T,I,B,Q,Y,le,pe,S,$=0)=>{for(let R=$;R<T.length;R++){const J=T[R]=S?Fr(T[R]):gn(T[R]);_(null,J,I,B,Q,Y,le,pe,S)}},O=(T,I,B,Q,Y,le,pe)=>{const S=I.el=T.el;let{patchFlag:$,dynamicChildren:R,dirs:J}=I;$|=T.patchFlag&16;const me=T.props||ut,oe=I.props||ut;let H;if(B&&so(B,!1),(H=oe.onVnodeBeforeUpdate)&&on(H,B,I,T),J&&er(I,T,B,"beforeUpdate"),B&&so(B,!0),R?V(T.dynamicChildren,R,S,B,Q,ac(I,Y),le):pe||ae(T,I,S,null,B,Q,ac(I,Y),le,!1),$>0){if($&16)X(S,I,me,oe,B,Q,Y);else if($&2&&me.class!==oe.class&&s(S,"class",null,oe.class,Y),$&4&&s(S,"style",me.style,oe.style,Y),$&8){const K=I.dynamicProps;for(let be=0;be<K.length;be++){const M=K[be],F=me[M],q=oe[M];(q!==F||M==="value")&&s(S,M,F,q,Y,T.children,B,Q,Ne)}}$&1&&T.children!==I.children&&d(S,I.children)}else!pe&&R==null&&X(S,I,me,oe,B,Q,Y);((H=oe.onVnodeUpdated)||J)&&Ut(()=>{H&&on(H,B,I,T),J&&er(I,T,B,"updated")},Q)},V=(T,I,B,Q,Y,le,pe)=>{for(let S=0;S<I.length;S++){const $=T[S],R=I[S],J=$.el&&($.type===Ce||!jn($,R)||$.shapeFlag&70)?m($.el):B;_($,R,J,null,Q,Y,le,pe,!0)}},X=(T,I,B,Q,Y,le,pe)=>{if(B!==Q){if(B!==ut)for(const S in B)!Ko(S)&&!(S in Q)&&s(T,S,B[S],null,pe,I.children,Y,le,Ne);for(const S in Q){if(Ko(S))continue;const $=Q[S],R=B[S];$!==R&&S!=="value"&&s(T,S,R,$,pe,I.children,Y,le,Ne)}"value"in Q&&s(T,"value",B.value,Q.value,pe)}},U=(T,I,B,Q,Y,le,pe,S,$)=>{const R=I.el=T?T.el:a(""),J=I.anchor=T?T.anchor:a("");let{patchFlag:me,dynamicChildren:oe,slotScopeIds:H}=I;H&&(S=S?S.concat(H):H),T==null?(r(R,B,Q),r(J,B,Q),D(I.children||[],B,J,Y,le,pe,S,$)):me>0&&me&64&&oe&&T.dynamicChildren?(V(T.dynamicChildren,oe,B,Y,le,pe,S),(I.key!=null||Y&&I===Y.subTree)&&Ad(T,I,!0)):ae(T,I,B,J,Y,le,pe,S,$)},W=(T,I,B,Q,Y,le,pe,S,$)=>{I.slotScopeIds=S,T==null?I.shapeFlag&512?Y.ctx.activate(I,B,Q,pe,$):ne(I,B,Q,Y,le,pe,$):he(T,I,$)},ne=(T,I,B,Q,Y,le,pe)=>{const S=T.component=Fg(T,Q,Y);if(Ai(T)&&(S.ctx.renderer=ge),Hg(S),S.asyncDep){if(Y&&Y.registerDep(S,Z),!T.el){const $=S.subTree=v(Kt);C(null,$,I,B)}}else Z(S,T,I,B,Y,le,pe)},he=(T,I,B)=>{const Q=I.component=T.component;if(CC(T,I,B))if(Q.asyncDep&&!Q.asyncResolved){se(Q,I,B);return}else Q.next=I,fC(Q.update),Q.effect.dirty=!0,Q.update();else I.el=T.el,Q.vnode=I},Z=(T,I,B,Q,Y,le,pe)=>{const S=()=>{if(T.isMounted){let{next:J,bu:me,u:oe,parent:H,vnode:K}=T;{const re=Ig(T);if(re){J&&(J.el=K.el,se(T,J,pe)),re.asyncDep.then(()=>{T.isUnmounted||S()});return}}let be=J,M;so(T,!1),J?(J.el=K.el,se(T,J,pe)):J=K,me&&Zo(me),(M=J.props&&J.props.onVnodeBeforeUpdate)&&on(M,H,J,K),so(T,!0);const F=ba(T),q=T.subTree;T.subTree=F,_(q,F,m(q.el),G(q),T,Y,le),J.el=F.el,be===null&&bd(T,F.el),oe&&Ut(oe,Y),(M=J.props&&J.props.onVnodeUpdated)&&Ut(()=>on(M,H,J,K),Y)}else{let J;const{el:me,props:oe}=I,{bm:H,m:K,parent:be}=T,M=yo(I);if(so(T,!1),H&&Zo(H),!M&&(J=oe&&oe.onVnodeBeforeMount)&&on(J,be,I),so(T,!0),me&&qe){const F=()=>{T.subTree=ba(T),qe(me,T.subTree,T,Y,null)};M?I.type.__asyncLoader().then(()=>!T.isUnmounted&&F()):F()}else{const F=T.subTree=ba(T);_(null,F,B,Q,T,Y,le),I.el=F.el}if(K&&Ut(K,Y),!M&&(J=oe&&oe.onVnodeMounted)){const F=I;Ut(()=>on(J,be,F),Y)}(I.shapeFlag&256||be&&yo(be.vnode)&&be.vnode.shapeFlag&256)&&T.a&&Ut(T.a,Y),T.isMounted=!0,I=B=Q=null}},$=T.effect=new ls(S,ln,()=>wl(R),T.scope),R=T.update=()=>{$.dirty&&$.run()};R.id=T.uid,so(T,!0),R()},se=(T,I,B)=>{I.component=T;const Q=T.vnode.props;T.vnode=I,T.next=null,aw(T,I.props,Q,B),uw(T,I.children,B),to(),qm(T),no()},ae=(T,I,B,Q,Y,le,pe,S,$=!1)=>{const R=T&&T.children,J=T?T.shapeFlag:0,me=I.children,{patchFlag:oe,shapeFlag:H}=I;if(oe>0){if(oe&128){ot(R,me,B,Q,Y,le,pe,S,$);return}else if(oe&256){Be(R,me,B,Q,Y,le,pe,S,$);return}}H&8?(J&16&&Ne(R,Y,le),me!==R&&d(B,me)):J&16?H&16?ot(R,me,B,Q,Y,le,pe,S,$):Ne(R,Y,le,!0):(J&8&&d(B,""),H&16&&D(me,B,Q,Y,le,pe,S,$))},Be=(T,I,B,Q,Y,le,pe,S,$)=>{T=T||qo,I=I||qo;const R=T.length,J=I.length,me=Math.min(R,J);let oe;for(oe=0;oe<me;oe++){const H=I[oe]=$?Fr(I[oe]):gn(I[oe]);_(T[oe],H,B,null,Y,le,pe,S,$)}R>J?Ne(T,Y,le,!0,!1,me):D(I,B,Q,Y,le,pe,S,$,me)},ot=(T,I,B,Q,Y,le,pe,S,$)=>{let R=0;const J=I.length;let me=T.length-1,oe=J-1;for(;R<=me&&R<=oe;){const H=T[R],K=I[R]=$?Fr(I[R]):gn(I[R]);if(jn(H,K))_(H,K,B,null,Y,le,pe,S,$);else break;R++}for(;R<=me&&R<=oe;){const H=T[me],K=I[oe]=$?Fr(I[oe]):gn(I[oe]);if(jn(H,K))_(H,K,B,null,Y,le,pe,S,$);else break;me--,oe--}if(R>me){if(R<=oe){const H=oe+1,K=H<J?I[H].el:Q;for(;R<=oe;)_(null,I[R]=$?Fr(I[R]):gn(I[R]),B,K,Y,le,pe,S,$),R++}}else if(R>oe)for(;R<=me;)He(T[R],Y,le,!0),R++;else{const H=R,K=R,be=new Map;for(R=K;R<=oe;R++){const De=I[R]=$?Fr(I[R]):gn(I[R]);De.key!=null&&be.set(De.key,R)}let M,F=0;const q=oe-K+1;let re=!1,ye=0;const $e=new Array(q);for(R=0;R<q;R++)$e[R]=0;for(R=H;R<=me;R++){const De=T[R];if(F>=q){He(De,Y,le,!0);continue}let nt;if(De.key!=null)nt=be.get(De.key);else for(M=K;M<=oe;M++)if($e[M-K]===0&&jn(De,I[M])){nt=M;break}nt===void 0?He(De,Y,le,!0):($e[nt-K]=R+1,nt>=ye?ye=nt:re=!0,_(De,I[nt],B,null,Y,le,pe,S,$),F++)}const Re=re?pw($e):qo;for(M=Re.length-1,R=q-1;R>=0;R--){const De=K+R,nt=I[De],Ae=De+1<J?I[De+1].el:Q;$e[R]===0?_(null,nt,B,Ae,Y,le,pe,S,$):re&&(M<0||R!==Re[M]?Ve(nt,B,Ae,2):M--)}}},Ve=(T,I,B,Q,Y=null)=>{const{el:le,type:pe,transition:S,children:$,shapeFlag:R}=T;if(R&6){Ve(T.component.subTree,I,B,Q);return}if(R&128){T.suspense.move(I,B,Q);return}if(R&64){pe.move(T,I,B,ge);return}if(pe===Ce){r(le,I,B);for(let me=0;me<$.length;me++)Ve($[me],I,B,Q);r(T.anchor,I,B);return}if(pe===vo){y(T,I,B);return}if(Q!==2&&R&1&&S)if(Q===0)S.beforeEnter(le),r(le,I,B),Ut(()=>S.enter(le),Y);else{const{leave:me,delayLeave:oe,afterLeave:H}=S,K=()=>r(le,I,B),be=()=>{me(le,()=>{K(),H&&H()})};oe?oe(le,K,be):be()}else r(le,I,B)},He=(T,I,B,Q=!1,Y=!1)=>{const{type:le,props:pe,ref:S,children:$,dynamicChildren:R,shapeFlag:J,patchFlag:me,dirs:oe}=T;if(S!=null&&Ua(S,null,B,T,!0),J&256){I.ctx.deactivate(T);return}const H=J&1&&oe,K=!yo(T);let be;if(K&&(be=pe&&pe.onVnodeBeforeUnmount)&&on(be,I,T),J&6)lt(T.component,B,Q);else{if(J&128){T.suspense.unmount(B,Q);return}H&&er(T,null,I,"beforeUnmount"),J&64?T.type.remove(T,I,B,Y,ge,Q):R&&(le!==Ce||me>0&&me&64)?Ne(R,I,B,!1,!0):(le===Ce&&me&384||!Y&&J&16)&&Ne($,I,B),Q&&st(T)}(K&&(be=pe&&pe.onVnodeUnmounted)||H)&&Ut(()=>{be&&on(be,I,T),H&&er(T,null,I,"unmounted")},B)},st=T=>{const{type:I,el:B,anchor:Q,transition:Y}=T;if(I===Ce){it(B,Q);return}if(I===vo){z(T);return}const le=()=>{o(B),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(T.shapeFlag&1&&Y&&!Y.persisted){const{leave:pe,delayLeave:S}=Y,$=()=>pe(B,le);S?S(T.el,le,$):$()}else le()},it=(T,I)=>{let B;for(;T!==I;)B=f(T),o(T),T=B;o(I)},lt=(T,I,B)=>{const{bum:Q,scope:Y,update:le,subTree:pe,um:S}=T;Q&&Zo(Q),Y.stop(),le&&(le.active=!1,He(pe,T,I,B)),S&&Ut(S,I),Ut(()=>{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,Q=!1,Y=!1,le=0)=>{for(let pe=le;pe<T.length;pe++)He(T[pe],I,B,Q,Y)},G=T=>T.shapeFlag&6?G(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,qm(),Va(),de=!1),I._vnode=T},ge={p:_,um:He,m:Ve,r:st,mt:ne,mc:D,pc:ae,pbc:V,n:G,o:e};let Ue,qe;return t&&([Ue,qe]=t(ge)),{render:ce,hydrate:Ue,createApp:ow(ce,Ue)}}function ac({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 so({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Pg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ad(e,t,n=!1){const r=e.children,o=t.children;if(ve(r)&&ve(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Fr(o[s]),a.el=i.el),n||Ad(i,a)),a.type===Zr&&(a.el=i.el)}}function pw(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<u?s=a+1:i=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Ig(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ig(t)}const hw=e=>e.__isTeleport,Ys=e=>e&&(e.disabled||e.disabled===""),of=e=>typeof SVGElement<"u"&&e instanceof SVGElement,sf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,lu=(e,t)=>{const n=e&&e.to;return zt(n)?t?t(n):null:n},_w={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:d,pc:m,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:b}}=u,C=Ys(t.props);let{shapeFlag:k,children:y,dynamicChildren:z}=t;if(e==null){const x=t.el=_(""),w=t.anchor=_("");p(x,n,r),p(w,n,r);const N=t.target=lu(t.props,h),D=t.targetAnchor=_("");N&&(p(D,N),i==="svg"||of(N)?i="svg":(i==="mathml"||sf(N))&&(i="mathml"));const O=(V,X)=>{k&16&&d(y,V,X,o,s,i,a,l)};C?O(n,w):N&&O(N,D)}else{t.el=e.el;const x=t.anchor=e.anchor,w=t.target=e.target,N=t.targetAnchor=e.targetAnchor,D=Ys(e.props),O=D?n:w,V=D?x:N;if(i==="svg"||of(w)?i="svg":(i==="mathml"||sf(w))&&(i="mathml"),z?(f(e.dynamicChildren,z,O,o,s,i,a),Ad(e,t,!0)):l||m(e,t,O,V,o,s,i,a,!1),C)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ji(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const X=t.target=lu(t.props,h);X&&Ji(t,X,null,u,0)}else D&&Ji(t,w,N,u,1)}Lg(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:u,targetAnchor:d,target:m,props:f}=e;if(m&&s(d),i&&s(u),a&16){const p=i||!Ys(f);for(let h=0;h<l.length;h++){const _=l[h];o(_,t,n,p,!!_.dynamicChildren)}}},move:Ji,hydrate:gw};function Ji(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:d}=e,m=s===2;if(m&&r(i,t,n),(!m||Ys(d))&&l&16)for(let f=0;f<u.length;f++)o(u[f],t,n,2);m&&r(a,t,n)}function gw(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l}},u){const d=t.target=lu(t.props,l);if(d){const m=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Ys(t.props))t.anchor=u(i(e),t,a(e),n,r,o,s),t.targetAnchor=m;else{t.anchor=i(e);let f=m;for(;f;)if(f=i(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}u(m,t,d,n,r,o,s)}Lg(t)}return t.anchor&&i(t.anchor)}const Nn=_w;function Lg(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 Ce=Symbol.for("v-fgt"),Zr=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),vo=Symbol.for("v-stc"),Xs=[];let cn=null;function E(e=!1){Xs.push(cn=e?null:[])}function Ng(){Xs.pop(),cn=Xs[Xs.length-1]||null}let wo=1;function cu(e){wo+=e}function Dg(e){return e.dynamicChildren=wo>0?cn||qo:null,Ng(),wo>0&&cn&&cn.push(e),e}function P(e,t,n,r,o,s){return Dg(c(e,t,n,r,o,s,!0))}function xe(e,t,n,r,o){return Dg(v(e,t,n,r,o,!0))}function Yr(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}function yw(e){}const Rg=({key:e})=>e??null,za=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?zt(e)||Vt(e)||Ie(e)?{i:Lt,r:e,k:t,f:!!n}:e:null);function c(e,t=null,n=null,r=0,o=null,s=e===Ce?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rg(t),ref:t&&za(t),scopeId:xl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Lt};return a?(Od(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=zt(n)?8:16),wo>0&&!i&&cn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&cn.push(l),l}const v=vw;function vw(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===J_)&&(e=Kt),Yr(e)){const a=ar(e,t,!0);return n&&Od(a,n),wo>0&&!s&&cn&&(a.shapeFlag&6?cn[cn.indexOf(e)]=a:cn.push(a)),a.patchFlag|=-2,a}if(Ew(e)&&(e=e.__vccOpts),t){t=Mg(t);let{class:a,style:l}=t;a&&!zt(a)&&(t.class=ze(a)),mt(l)&&(pd(l)&&!ve(l)&&(l=bt({},l)),t.style=eo(l))}const i=zt(e)?1:Q_(e)?128:hw(e)?64:mt(e)?4:Ie(e)?2:0;return c(e,t,n,r,o,i,s,!0)}function Mg(e){return e?pd(e)||wg(e)?bt({},e):e:null}function ar(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?jo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Rg(a),ref:t&&t.ref?n&&o?ve(o)?o.concat(za(t)):[o,za(t)]:za(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ar(e.ssContent),ssFallback:e.ssFallback&&ar(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function xt(e=" ",t=0){return v(Zr,null,e,t)}function bw(e,t){const n=v(vo,null,e);return n.staticCount=t,n}function ee(e="",t=!1){return t?(E(),xe(Kt,null,e)):v(Kt,null,e)}function gn(e){return e==null||typeof e=="boolean"?v(Kt):ve(e)?v(Ce,null,e.slice()):typeof e=="object"?Fr(e):v(Zr,null,String(e))}function Fr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ar(e)}function Od(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 o=t.default;o&&(o._c&&(o._d=!1),Od(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!wg(t)?t._ctx=Lt:o===3&&Lt&&(Lt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ie(t)?(t={default:t,_ctx:Lt},n=32):(t=String(t),r&64?(n=16,t=[xt(t)]):n=8);e.children=t,e.shapeFlag|=n}function jo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=ze([t.class,r.class]));else if(o==="style")t.style=eo([t.style,r.style]);else if(Ei(o)){const s=t[o],i=r[o];i&&s!==i&&!(ve(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function on(e,t,n,r=null){zn(e,t,7,[n,r])}const zw=zg();let Cw=0;function Fg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||zw,s={uid:Cw++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ad(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xg(r,o),emitsOptions:X_(r,o),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 s.ctx={_:s},s.root=t?t.root:s,s.emit=hC.bind(null,s),e.ce&&e.ce(s),s}let Dt=null;const Dn=()=>Dt||Lt;let ja,uu;{const e=k_(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};ja=t("__VUE_INSTANCE_SETTERS__",n=>Dt=n),uu=t("__VUE_SSR_SETTERS__",n=>Pi=n)}const ko=e=>{const t=Dt;return ja(e),e.scope.on(),()=>{e.scope.off(),ja(t)}},du=()=>{Dt&&Dt.scope.off(),ja(null)};function Vg(e){return e.vnode.shapeFlag&4}let Pi=!1;function Hg(e,t=!1){t&&uu(t);const{props:n,children:r}=e.vnode,o=Vg(e);iw(e,n,o,t),cw(e,r);const s=o?ww(e,t):void 0;return t&&uu(!1),s}function ww(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ru);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?jg(e):null,s=ko(e);to();const i=vr(r,e,0,[e.props,o]);if(no(),s(),sd(i)){if(i.then(du,du),t)return i.then(a=>{mu(e,a,t)}).catch(a=>{So(a,e,0)});e.asyncDep=i}else mu(e,i,t)}else Ug(e,t)}function mu(e,t,n){Ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mt(t)&&(e.setupState=yd(t)),Ug(e,n)}let Ba,fu;function kw(e){Ba=e,fu=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,MC))}}const xw=()=>!Ba;function Ug(e,t,n){const r=e.type;if(!e.render){if(!t&&Ba&&!r.render){const o=r.template||$d(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=bt(bt({isCustomElement:s,delimiters:a},i),l);r.render=Ba(o,u)}}e.render=r.render||ln,fu&&fu(e)}{const o=ko(e);to();try{JC(e)}finally{no(),o()}}}const Sw={get(e,t){return un(e,"get",""),e[t]}};function jg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Sw),slots:e.slots,emit:e.emit,expose:t}}function Ol(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(yd(U_(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ks)return Ks[n](e)},has(t,n){return n in t||n in Ks}}))}function pu(e,t=!0){return Ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Ew(e){return Ie(e)&&"__vccOpts"in e}const Ft=(e,t)=>Y0(e,t,Pi);function $w(e,t,n=ut){const r=Dn(),o=Qt(t),s=yn(t),i=W_((l,u)=>{let d;return sg(()=>{const m=e[t];qn(d,m)&&(d=m,u())}),{get(){return l(),n.get?n.get(d):d},set(m){const f=r.vnode.props;!(f&&(t in f||o in f||s in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f||`onUpdate:${s}`in f))&&qn(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 or(e,t,n){const r=arguments.length;return r===2?mt(t)&&!ve(t)?Yr(t)?v(e,null,[t]):v(e,t):v(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yr(n)&&(n=[n]),v(e,t,n))}function Tw(){}function Aw(e,t,n,r){const o=n[r];if(o&&Bg(o,e))return o;const s=t();return s.memo=e.slice(),n[r]=s}function Bg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(qn(n[r],t[r]))return!1;return wo>0&&cn&&cn.push(e),!0}const Wg="3.4.23",Ow=ln,Pw=uC,Iw=Fo,Lw=Y_,Nw={createComponentInstance:Fg,setupComponent:Hg,renderComponentRoot:ba,setCurrentRenderingInstance:pi,isVNode:Yr,normalizeVNode:gn},Dw=Nw,Rw=null,Mw=null,Fw=null;/**
|
||
* @vue/runtime-dom v3.4.23
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Vw="http://www.w3.org/2000/svg",Hw="http://www.w3.org/1998/Math/MathML",Vr=typeof document<"u"?document:null,af=Vr&&Vr.createElement("template"),Uw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Vr.createElementNS(Vw,e):t==="mathml"?Vr.createElementNS(Hw,e):Vr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Vr.createTextNode(e),createComment:e=>Vr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Vr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{af.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=af.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]}},Or="transition",As="animation",ds=Symbol("_vtc"),Nt=(e,{slots:t})=>or(ag,Gg(e),t);Nt.displayName="Transition";const qg={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},jw=Nt.props=bt({},Sd,qg),io=(e,t=[])=>{ve(e)?e.forEach(n=>n(...t)):e&&e(...t)},lf=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function Gg(e){const t={};for(const U in e)U in qg||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Bw(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:C,onEnter:k,onEnterCancelled:y,onLeave:z,onLeaveCancelled:x,onBeforeAppear:w=C,onAppear:N=k,onAppearCancelled:D=y}=t,O=(U,W,ne)=>{Dr(U,W?d:a),Dr(U,W?u:i),ne&&ne()},V=(U,W)=>{U._isLeaving=!1,Dr(U,m),Dr(U,p),Dr(U,f),W&&W()},X=U=>(W,ne)=>{const he=U?N:k,Z=()=>O(W,U,ne);io(he,[W,Z]),cf(()=>{Dr(W,U?l:s),pr(W,U?d:a),lf(he)||uf(W,r,_,Z)})};return bt(t,{onBeforeEnter(U){io(C,[U]),pr(U,s),pr(U,i)},onBeforeAppear(U){io(w,[U]),pr(U,l),pr(U,u)},onEnter:X(!1),onAppear:X(!0),onLeave(U,W){U._isLeaving=!0;const ne=()=>V(U,W);pr(U,m),Zg(),pr(U,f),cf(()=>{U._isLeaving&&(Dr(U,m),pr(U,p),lf(z)||uf(U,r,b,ne))}),io(z,[U,ne])},onEnterCancelled(U){O(U,!1),io(y,[U])},onAppearCancelled(U){O(U,!0),io(D,[U])},onLeaveCancelled(U){V(U),io(x,[U])}})}function Bw(e){if(e==null)return null;if(mt(e))return[lc(e.enter),lc(e.leave)];{const t=lc(e);return[t,t]}}function lc(e){return Ra(e)}function pr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ds]||(e[ds]=new Set)).add(t)}function Dr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ds];n&&(n.delete(t),n.size||(e[ds]=void 0))}function cf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ww=0;function uf(e,t,n,r){const o=e._endId=++Ww,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Kg(e,t);if(!i)return r();const u=i+"end";let d=0;const m=()=>{e.removeEventListener(u,f),s()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(u,f)}function Kg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Or}Delay`),s=r(`${Or}Duration`),i=df(o,s),a=r(`${As}Delay`),l=r(`${As}Duration`),u=df(a,l);let d=null,m=0,f=0;t===Or?i>0&&(d=Or,m=i,f=s.length):t===As?u>0&&(d=As,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?Or:As:null,f=d?d===Or?s.length:l.length:0);const p=d===Or&&/\b(transform|all)(,|$)/.test(r(`${Or}Property`).toString());return{type:d,timeout:m,propCount:f,hasTransform:p}}function df(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>mf(n)+mf(e[r])))}function mf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Zg(){return document.body.offsetHeight}function qw(e,t,n){const r=e[ds];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wa=Symbol("_vod"),Yg=Symbol("_vsh"),gi={beforeMount(e,{value:t},{transition:n}){e[Wa]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Os(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),Os(e,!0),r.enter(e)):r.leave(e,()=>{Os(e,!1)}):Os(e,t))},beforeUnmount(e,{value:t}){Os(e,t)}};function Os(e,t){e.style.display=t?e[Wa]:"none",e[Yg]=!t}function Gw(){gi.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Xg=Symbol("");function Kw(e){const t=Dn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>_u(s,o))},r=()=>{const o=e(t.proxy);hu(t.subTree,o),n(o)};Cs(()=>{og(r);const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Oi(()=>o.disconnect())})}function hu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{hu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)_u(e.el,t);else if(e.type===Ce)e.children.forEach(n=>hu(n,t));else if(e.type===vo){let{el:n,anchor:r}=e;for(;n&&(_u(n,t),n!==r);)n=n.nextSibling}}function _u(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Xg]=r}}const Zw=/(^|;)\s*display\s*:/;function Yw(e,t,n){const r=e.style,o=zt(n);let s=!1;if(n&&!o){if(t)if(zt(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ca(r,a,"")}else for(const i in t)n[i]==null&&Ca(r,i,"");for(const i in n)i==="display"&&(s=!0),Ca(r,i,n[i])}else if(o){if(t!==n){const i=r[Xg];i&&(n+=";"+i),r.cssText=n,s=Zw.test(n)}}else t&&e.removeAttribute("style");Wa in e&&(e[Wa]=s?r.display:"",e[Yg]&&(r.display="none"))}const ff=/\s*!important$/;function Ca(e,t,n){if(ve(n))n.forEach(r=>Ca(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Xw(e,t);ff.test(n)?e.setProperty(yn(r),n.replace(ff,""),"important"):e[r]=n}}const pf=["Webkit","Moz","ms"],cc={};function Xw(e,t){const n=cc[t];if(n)return n;let r=Qt(t);if(r!=="filter"&&r in e)return cc[t]=r;r=$i(r);for(let o=0;o<pf.length;o++){const s=pf[o]+r;if(s in e)return cc[t]=s}return t}const hf="http://www.w3.org/1999/xlink";function Jw(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(hf,t.slice(6,t.length)):e.setAttributeNS(hf,t,n);else{const s=k0(t);n==null||s&&!x_(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Qw(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const u=a==="OPTION"?e.getAttribute("value")||"":e.value,d=n??"";(u!==d||!("_value"in e))&&(e.value=d),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=x_(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function hr(e,t,n,r){e.addEventListener(t,n,r)}function ek(e,t,n,r){e.removeEventListener(t,n,r)}const _f=Symbol("_vei");function tk(e,t,n,r,o=null){const s=e[_f]||(e[_f]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=nk(t);if(r){const u=s[t]=sk(r,o);hr(e,a,u,l)}else i&&(ek(e,a,i,l),s[t]=void 0)}}const gf=/(?:Once|Passive|Capture)$/;function nk(e){let t;if(gf.test(e)){t={};let r;for(;r=e.match(gf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yn(e.slice(2)),t]}let uc=0;const rk=Promise.resolve(),ok=()=>uc||(rk.then(()=>uc=0),uc=Date.now());function sk(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;zn(ik(r,n.value),t,5,[r])};return n.value=e,n.attached=ok(),n}function ik(e,t){if(ve(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const yf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ak=(e,t,n,r,o,s,i,a,l)=>{const u=o==="svg";t==="class"?qw(e,r,u):t==="style"?Yw(e,n,r):Ei(t)?rd(t)||tk(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):lk(e,t,r,u))?Qw(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Jw(e,t,r,u))};function lk(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&yf(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return yf(t)&&zt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Jg(e,t){const n=wr(e);class r extends Pl{constructor(s){super(n,s,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const ck=e=>Jg(e,ly),uk=typeof HTMLElement<"u"?HTMLElement:class{};class Pl extends uk{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),zs(()=>{this._connected||(gu(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:s,styles:i}=r;let a;if(s&&!ve(s))for(const l in s){const u=s[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Ra(this._props[l])),(a||(a=Object.create(null)))[Qt(l)]=!0)}this._numberProps=a,o&&this._resolveProps(r),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=ve(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(Qt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=Qt(t);this._numberProps&&this._numberProps[r]&&(n=Ra(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(yn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(yn(t),n+""):n||this.removeAttribute(yn(t))))}_update(){gu(this._createVNode(),this.shadowRoot)}_createVNode(){const t=v(this._def,bt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(s,i)=>{this.dispatchEvent(new CustomEvent(s,{detail:i}))};n.emit=(s,...i)=>{r(s,i),yn(s)!==s&&r(yn(s),i)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Pl){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function dk(e="$style"){{const t=Dn();if(!t)return ut;const n=t.type.__cssModules;if(!n)return ut;const r=n[e];return r||ut}}const Qg=new WeakMap,ey=new WeakMap,qa=Symbol("_moveCb"),vf=Symbol("_enterCb"),ty={name:"TransitionGroup",props:bt({},jw,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Dn(),r=xd();let o,s;return Tl(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!gk(o[0].el,n.vnode.el,i))return;o.forEach(pk),o.forEach(hk);const a=o.filter(_k);Zg(),a.forEach(l=>{const u=l.el,d=u.style;pr(u,i),d.transform=d.webkitTransform=d.transitionDuration="";const m=u[qa]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",m),u[qa]=null,Dr(u,i))};u.addEventListener("transitionend",m)})}),()=>{const i=Ye(e),a=Gg(i);let l=i.tag||Ce;if(o=[],s)for(let u=0;u<s.length;u++){const d=s[u];d.el&&d.el instanceof Element&&(o.push(d),Co(d,us(d,a,r,n)),Qg.set(d,d.el.getBoundingClientRect()))}s=t.default?El(t.default()):[];for(let u=0;u<s.length;u++){const d=s[u];d.key!=null&&Co(d,us(d,a,r,n))}return v(l,null,s)}}},mk=e=>delete e.mode;ty.props;const fk=ty;function pk(e){const t=e.el;t[qa]&&t[qa](),t[vf]&&t[vf]()}function hk(e){ey.set(e,e.el.getBoundingClientRect())}function _k(e){const t=Qg.get(e),n=ey.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function gk(e,t,n){const r=e.cloneNode(),o=e[ds];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=Kg(r);return s.removeChild(r),i}const Xr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?n=>Zo(t,n):t};function yk(e){e.target.composing=!0}function bf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const On=Symbol("_assign"),dn={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[On]=Xr(o);const s=r||o.props&&o.props.type==="number";hr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Da(a)),e[On](a)}),n&&hr(e,"change",()=>{e.value=e.value.trim()}),t||(hr(e,"compositionstart",yk),hr(e,"compositionend",bf),hr(e,"change",bf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[On]=Xr(s),e.composing)return;const i=(o||e.type==="number")&&!/^0\d/.test(e.value)?Da(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},Pn={deep:!0,created(e,t,n){e[On]=Xr(n),hr(e,"change",()=>{const r=e._modelValue,o=ms(e),s=e.checked,i=e[On];if(ve(r)){const a=vl(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const u=[...r];u.splice(a,1),i(u)}}else if(xo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(ny(e,s))})},mounted:zf,beforeUpdate(e,t,n){e[On]=Xr(n),zf(e,t,n)}};function zf(e,{value:t,oldValue:n},r){e._modelValue=t,ve(t)?e.checked=vl(t,r.props.value)>-1:xo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Kr(t,ny(e,!0)))}const Pd={created(e,{value:t},n){e.checked=Kr(t,n.props.value),e[On]=Xr(n),hr(e,"change",()=>{e[On](ms(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[On]=Xr(r),t!==n&&(e.checked=Kr(t,r.props.value))}},Id={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=xo(t);hr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Da(ms(i)):ms(i));e[On](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,zs(()=>{e._assigning=!1})}),e[On]=Xr(r)},mounted(e,{value:t,modifiers:{number:n}}){Cf(e,t)},beforeUpdate(e,t,n){e[On]=Xr(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Cf(e,t)}};function Cf(e,t,n){const r=e.multiple,o=ve(t);if(!(r&&!o&&!xo(t))){for(let s=0,i=e.options.length;s<i;s++){const a=e.options[s],l=ms(a);if(r)if(o){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=vl(t,l)>-1}else a.selected=t.has(l);else if(Kr(ms(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ms(e){return"_value"in e?e._value:e.value}function ny(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ry={created(e,t,n){Qi(e,t,n,null,"created")},mounted(e,t,n){Qi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Qi(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Qi(e,t,n,r,"updated")}};function oy(e,t){switch(e){case"SELECT":return Id;case"TEXTAREA":return dn;default:switch(t){case"checkbox":return Pn;case"radio":return Pd;default:return dn}}}function Qi(e,t,n,r,o){const i=oy(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function vk(){dn.getSSRProps=({value:e})=>({value:e}),Pd.getSSRProps=({value:e},t)=>{if(t.props&&Kr(t.props.value,e))return{checked:!0}},Pn.getSSRProps=({value:e},t)=>{if(ve(e)){if(t.props&&vl(e,t.props.value)>-1)return{checked:!0}}else if(xo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ry.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=oy(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const bk=["ctrl","shift","alt","meta"],zk={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)=>bk.some(n=>e[`${n}Key`]&&!t.includes(n))},_t=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=zk[t[i]];if(a&&a(o,t))return}return e(o,...s)})},Ck={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},sn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=yn(o.key);if(t.some(i=>i===s||Ck[i]===s))return e(o)})},sy=bt({patchProp:ak},Uw);let Js,wf=!1;function iy(){return Js||(Js=Tg(sy))}function ay(){return Js=wf?Js:Ag(sy),wf=!0,Js}const gu=(...e)=>{iy().render(...e)},ly=(...e)=>{ay().hydrate(...e)},cy=(...e)=>{const t=iy().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=dy(r);if(!o)return;const s=t._component;!Ie(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,uy(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},wk=(...e)=>{const t=ay().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=dy(r);if(o)return n(o,!0,uy(o))},t};function uy(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function dy(e){return zt(e)?document.querySelector(e):e}let kf=!1;const kk=()=>{kf||(kf=!0,vk(),Gw())};/**
|
||
* vue v3.4.23
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const xk=()=>{},Sk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:ag,BaseTransitionPropsValidators:Sd,Comment:Kt,DeprecationTypes:Fw,EffectScope:ad,ErrorCodes:cC,ErrorTypeStrings:Pw,Fragment:Ce,KeepAlive:NC,ReactiveEffect:ls,Static:vo,Suspense:xC,Teleport:Nn,Text:Zr,TrackOpTypes:iC,Transition:Nt,TransitionGroup:fk,TriggerOpTypes:aC,VueElement:Pl,assertNumber:lC,callWithAsyncErrorHandling:zn,callWithErrorHandling:vr,camelize:Qt,capitalize:$i,cloneVNode:ar,compatUtils:Mw,compile:xk,computed:Ft,createApp:cy,createBlock:xe,createCommentVNode:ee,createElementBlock:P,createElementVNode:c,createHydrationRenderer:Ag,createPropsRestProxy:YC,createRenderer:Tg,createSSRApp:wk,createSlots:Ed,createStaticVNode:bw,createTextVNode:xt,createVNode:v,customRef:W_,defineAsyncComponent:IC,defineComponent:wr,defineCustomElement:Jg,defineEmits:VC,defineExpose:HC,defineModel:BC,defineOptions:UC,defineProps:FC,defineSSRCustomElement:ck,defineSlots:jC,devtools:Iw,effect:$0,effectScope:ld,getCurrentInstance:Dn,getCurrentScope:$_,getTransitionRawChildren:El,guardReactiveProps:Mg,h:or,handleError:So,hasInjectionContext:sw,hydrate:ly,initCustomFormatter:Tw,initDirectivesForSSR:kk,inject:Wn,isMemoSame:Bg,isProxy:pd,isReactive:Yo,isReadonly:cs,isRef:Vt,isRuntimeOnly:xw,isShallow:ui,isVNode:Yr,markRaw:U_,mergeDefaults:KC,mergeModels:ZC,mergeProps:jo,nextTick:zs,normalizeClass:ze,normalizeProps:Fs,normalizeStyle:eo,onActivated:cg,onBeforeMount:mg,onBeforeUnmount:Al,onBeforeUpdate:fg,onDeactivated:ug,onErrorCaptured:gg,onMounted:Cs,onRenderTracked:_g,onRenderTriggered:hg,onScopeDispose:S0,onServerPrefetch:pg,onUnmounted:Oi,onUpdated:Tl,openBlock:E,popScopeId:gC,provide:Zs,proxyRefs:yd,pushScopeId:_C,queuePostFlushCb:Fa,reactive:bs,readonly:fd,ref:sr,registerRuntimeCompiler:kw,render:gu,renderList:Ct,renderSlot:vt,resolveComponent:A,resolveDirective:Cd,resolveDynamicComponent:Sl,resolveFilter:Rw,resolveTransitionHooks:us,setBlockTracking:cu,setDevtoolsHook:Lw,setTransitionHooks:Co,shallowReactive:md,shallowReadonly:Z0,shallowRef:gd,ssrContextKey:tg,ssrUtils:Dw,stop:T0,toDisplayString:g,toHandlerKey:Gs,toHandlers:RC,toRaw:Ye,toRef:sC,toRefs:nC,toValue:Q0,transformVNodeArgs:yw,triggerRef:J0,unref:vn,useAttrs:GC,useCssModule:dk,useCssVars:Kw,useModel:$w,useSSRContext:ng,useSlots:qC,useTransitionState:xd,vModelCheckbox:Pn,vModelDynamic:ry,vModelRadio:Pd,vModelSelect:Id,vModelText:dn,vShow:gi,version:Wg,warn:Ow,watch:Cn,watchEffect:rg,watchPostEffect:og,watchSyncEffect:sg,withAsyncContext:XC,withCtx:L,withDefaults:WC,withDirectives:pt,withKeys:sn,withMemo:Aw,withModifiers:_t,withScopeId:yC},Symbol.toStringTag,{value:"Module"}));function Ek(){return my().__VUE_DEVTOOLS_GLOBAL_HOOK__}function my(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const $k=typeof Proxy=="function",Tk="devtools-plugin:setup",Ak="plugin:settings:set";let Ao,yu;function Ok(){var e;return Ao!==void 0||(typeof window<"u"&&window.performance?(Ao=!0,yu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Ao=!0,yu=globalThis.perf_hooks.performance):Ao=!1),Ao}function Pk(){return Ok()?yu.now():Date.now()}class Ik{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Pk()}},n&&n.on(Ak,(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 Lk(e,t){const n=e,r=my(),o=Ek(),s=$k&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Tk,e,t);else{const i=s?new Ik(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
||
* vue-i18n v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Nk="9.13.1";function Dk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ju().__INTLIFY_PROD_DEVTOOLS__=!1)}const fy=Uz.__EXTEND_POINT__,mr=hl(fy);mr(),mr(),mr(),mr(),mr(),mr(),mr(),mr(),mr();const py=rr.__EXTEND_POINT__,tn=hl(py),In={UNEXPECTED_RETURN_TYPE:py,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 Gn(e,...t){return ys(e,null,void 0)}const vu=Jr("__translateVNode"),bu=Jr("__datetimeParts"),zu=Jr("__numberParts"),Rk=Jr("__setPluralRules"),Mk=Jr("__injectWithOption"),Cu=Jr("__dispose");function yi(e){if(!at(e))return e;for(const t in e)if(Ia(e,t))if(!t.includes("."))at(e[t])&&yi(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]={}),!at(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),at(o[n[r]])&&yi(o[n[r]])}return e}function hy(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Je(n)?n:Rt(r)?{}:{[e]:{}};if(Rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},va(u,i[l])):va(u,i)}else ke(a)&&va(JSON.parse(a),i)}),o==null&&s)for(const a in i)Ia(i,a)&&yi(i[a]);return i}function _y(e){return e.type}function Fk(e,t,n){let r=at(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=hy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(at(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(at(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function xf(e){return v(Zr,null,e,0)}const Sf="__INTLIFY_META__",Ef=()=>[],Vk=()=>!1;let $f=0;function Tf(e){return(t,n,r,o)=>e(n,r,Dn()||void 0,o)}const Hk=()=>{const e=Dn();let t=null;return e&&(t=_y(e)[Sf])?{[Sf]:t}:null};function gy(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=Oa?sr:gd,a=!!e.translateExistCompatible;let l=kt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:ke(e.locale)?e.locale:Na),d=i(n&&l?n.fallbackLocale.value:ke(e.fallbackLocale)||Rt(e.fallbackLocale)||Je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(hy(u.value,e)),f=i(Je(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Je(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:kt(e.missingWarn)||Pa(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:kt(e.fallbackWarn)||Pa(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:kt(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,k=At(e.missing)?e.missing:null,y=At(e.missing)?Tf(e.missing):null,z=At(e.postTranslation)?e.postTranslation:null,x=n?n.warnHtmlMessage:kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const N=n?n.modifiers:Je(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,O;O=(()=>{o&&$m(null);const H={version:Nk,locale:u.value,fallbackLocale:d.value,messages:m.value,modifiers:N,pluralRules:D,missing:y===null?void 0:y,missingWarn:h,fallbackWarn:_,fallbackFormat:C,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:x,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};H.datetimeFormats=f.value,H.numberFormats=p.value,H.__datetimeFormatters=Je(O)?O.__datetimeFormatters:void 0,H.__numberFormatters=Je(O)?O.__numberFormatters:void 0;const K=e0(H);return o&&$m(K),K})(),Ts(O,u.value,d.value);function X(){return[u.value,d.value,m.value,f.value,p.value]}const U=Ft({get:()=>u.value,set:H=>{u.value=H,O.locale=u.value}}),W=Ft({get:()=>d.value,set:H=>{d.value=H,O.fallbackLocale=d.value,Ts(O,u.value,H)}}),ne=Ft(()=>m.value),he=Ft(()=>f.value),Z=Ft(()=>p.value);function se(){return At(z)?z:null}function ae(H){z=H,O.postTranslation=H}function Be(){return k}function ot(H){H!==null&&(y=Tf(H)),k=H,O.missing=y}const Ve=(H,K,be,M,F,q)=>{X();let re;try{__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=n?Qz():void 0),re=H(O)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(O.fallbackContext=void 0)}if(be!=="translate exists"&&Mt(re)&&re===_l||be==="translate exists"&&!re){const[ye,$e]=K();return n&&b?M(n):F(ye)}else{if(q(re))return re;throw Gn(In.UNEXPECTED_RETURN_TYPE)}};function He(...H){return Ve(K=>Reflect.apply(Pm,null,[K,...H]),()=>Kc(...H),"translate",K=>Reflect.apply(K.t,K,[...H]),K=>K,K=>ke(K))}function st(...H){const[K,be,M]=H;if(M&&!at(M))throw Gn(In.INVALID_ARGUMENT);return He(K,be,Gt({resolvedMessage:!0},M||{}))}function it(...H){return Ve(K=>Reflect.apply(Im,null,[K,...H]),()=>Zc(...H),"datetime format",K=>Reflect.apply(K.d,K,[...H]),()=>Sm,K=>ke(K))}function lt(...H){return Ve(K=>Reflect.apply(Nm,null,[K,...H]),()=>Yc(...H),"number format",K=>Reflect.apply(K.n,K,[...H]),()=>Sm,K=>ke(K))}function Ne(H){return H.map(K=>ke(K)||Mt(K)||kt(K)?xf(String(K)):K)}const de={normalize:Ne,interpolate:H=>H,type:"vnode"};function ce(...H){return Ve(K=>{let be;const M=K;try{M.processor=de,be=Reflect.apply(Pm,null,[M,...H])}finally{M.processor=null}return be},()=>Kc(...H),"translate",K=>K[vu](...H),K=>[xf(K)],K=>Rt(K))}function ge(...H){return Ve(K=>Reflect.apply(Nm,null,[K,...H]),()=>Yc(...H),"number format",K=>K[zu](...H),Ef,K=>ke(K)||Rt(K))}function Ue(...H){return Ve(K=>Reflect.apply(Im,null,[K,...H]),()=>Zc(...H),"datetime format",K=>K[bu](...H),Ef,K=>ke(K)||Rt(K))}function qe(H){D=H,O.pluralRules=D}function T(H,K){return Ve(()=>{if(!H)return!1;const be=ke(K)?K:u.value,M=Q(be),F=O.messageResolver(M,H);return a?F!=null:as(F)||En(F)||ke(F)},()=>[H],"translate exists",be=>Reflect.apply(be.te,be,[H,K]),Vk,be=>kt(be))}function I(H){let K=null;const be=d_(O,d.value,u.value);for(let M=0;M<be.length;M++){const F=m.value[be[M]]||{},q=O.messageResolver(F,H);if(q!=null){K=q;break}}return K}function B(H){const K=I(H);return K??(n?n.tm(H)||{}:{})}function Q(H){return m.value[H]||{}}function Y(H,K){if(s){const be={[H]:K};for(const M in be)Ia(be,M)&&yi(be[M]);K=be[H]}m.value[H]=K,O.messages=m.value}function le(H,K){m.value[H]=m.value[H]||{};const be={[H]:K};if(s)for(const M in be)Ia(be,M)&&yi(be[M]);K=be[H],va(K,m.value[H]),O.messages=m.value}function pe(H){return f.value[H]||{}}function S(H,K){f.value[H]=K,O.datetimeFormats=f.value,Lm(O,H,K)}function $(H,K){f.value[H]=Gt(f.value[H]||{},K),O.datetimeFormats=f.value,Lm(O,H,K)}function R(H){return p.value[H]||{}}function J(H,K){p.value[H]=K,O.numberFormats=p.value,Dm(O,H,K)}function me(H,K){p.value[H]=Gt(p.value[H]||{},K),O.numberFormats=p.value,Dm(O,H,K)}$f++,n&&Oa&&(Cn(n.locale,H=>{l&&(u.value=H,O.locale=H,Ts(O,u.value,d.value))}),Cn(n.fallbackLocale,H=>{l&&(d.value=H,O.fallbackLocale=H,Ts(O,u.value,d.value))}));const oe={id:$f,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,Ts(O,u.value,d.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ne,get modifiers(){return N},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(H){h=H,O.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(H){_=H,O.fallbackWarn=_},get fallbackRoot(){return b},set fallbackRoot(H){b=H},get fallbackFormat(){return C},set fallbackFormat(H){C=H,O.fallbackFormat=C},get warnHtmlMessage(){return x},set warnHtmlMessage(H){x=H,O.warnHtmlMessage=H},get escapeParameter(){return w},set escapeParameter(H){w=H,O.escapeParameter=H},t:He,getLocaleMessage:Q,setLocaleMessage:Y,mergeLocaleMessage:le,getPostTranslationHandler:se,setPostTranslationHandler:ae,getMissingHandler:Be,setMissingHandler:ot,[Rk]:qe};return oe.datetimeFormats=he,oe.numberFormats=Z,oe.rt=st,oe.te=T,oe.tm=B,oe.d=it,oe.n=lt,oe.getDateTimeFormat=pe,oe.setDateTimeFormat=S,oe.mergeDateTimeFormat=$,oe.getNumberFormat=R,oe.setNumberFormat=J,oe.mergeNumberFormat=me,oe[Mk]=r,oe[vu]=ce,oe[bu]=Ue,oe[zu]=ge,oe}const Ld={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Uk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ce?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function yy(e){return Ce}const jk=wr({name:"i18n-t",props:Gt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Mt(e)||!isNaN(e)}},Ld),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Nd({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(m=>m!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ke(e.plural)?+e.plural:e.plural);const a=Uk(t,s),l=o[vu](e.keypath,a,i),u=Gt({},r),d=ke(e.tag)||at(e.tag)?e.tag:yy();return or(d,u,l)}}}),Af=jk;function Bk(e){return Rt(e)&&!ke(e[0])}function vy(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),ke(e.format)?i.key=e.format:at(e.format)&&(ke(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Gt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,i,a);let u=[i.key];Rt(l)?u=l.map((f,p)=>{const h=o[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return Bk(_)&&(_[0].key=`${f.type}-${p}`),_}):ke(l)&&(u=[l]);const d=Gt({},s),m=ke(e.tag)||at(e.tag)?e.tag:yy();return or(m,d,u)}}const Wk=wr({name:"i18n-n",props:Gt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ld),setup(e,t){const n=e.i18n||Nd({useScope:e.scope,__useComponent:!0});return vy(e,t,b_,(...r)=>n[zu](...r))}}),Of=Wk,qk=wr({name:"i18n-d",props:Gt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ld),setup(e,t){const n=e.i18n||Nd({useScope:e.scope,__useComponent:!0});return vy(e,t,v_,(...r)=>n[bu](...r))}}),Pf=qk;function Gk(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 Kk(e){const t=i=>{const{instance:a,modifiers:l,value:u}=i;if(!a||!a.$)throw Gn(In.UNEXPECTED_ERROR);const d=Gk(e,a.$),m=If(u);return[Reflect.apply(d.t,d,[...Lf(m)]),d]};return{created:(i,a)=>{const[l,u]=t(a);Oa&&e.global===u&&(i.__i18nWatcher=Cn(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{Oa&&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=If(a);i.textContent=Reflect.apply(l.t,l,[...Lf(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function If(e){if(ke(e))return{path:e};if(Je(e)){if(!("path"in e))throw Gn(In.REQUIRED_VALUE,"path");return e}else throw Gn(In.INVALID_VALUE)}function Lf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return ke(n)&&(i.locale=n),Mt(o)&&(i.plural=o),Mt(s)&&(i.plural=s),[t,a,i]}function Zk(e,t,...n){const r=Je(n[0])?n[0]:{},o=!!r.useI18nComponentName;(kt(r.globalInstall)?r.globalInstall:!0)&&([o?"i18n":Af.name,"I18nT"].forEach(i=>e.component(i,Af)),[Of.name,"I18nN"].forEach(i=>e.component(i,Of)),[Pf.name,"I18nD"].forEach(i=>e.component(i,Pf))),e.directive("t",Kk(t))}const Yk=Jr("global-vue-i18n");function Xk(e={},t){const n=kt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,i]=Jk(e),a=Jr("");function l(m){return o.get(m)||null}function u(m,f){o.set(m,f)}function d(m){o.delete(m)}{const m={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,m),Je(p[0])){const b=p[0];m.__composerExtend=b.__composerExtend,m.__vueI18nExtend=b.__vueI18nExtend}let h=null;n&&(h=ix(f,m.global)),Zk(f,m,...p);const _=f.unmount;f.unmount=()=>{h&&h(),m.dispose(),_()}},get global(){return i},dispose(){s.stop()},__instances:o,__getInstance:l,__setInstance:u,__deleteInstance:d};return m}}function Nd(e={}){const t=Dn();if(t==null)throw Gn(In.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Gn(In.NOT_INSTALLED);const n=Qk(t),r=tx(n),o=_y(t),s=ex(e,o);if(s==="global")return Fk(r,e,o),r;if(s==="parent"){let l=nx(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Gt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=gy(l),i.__composerExtend&&(a[Cu]=i.__composerExtend(a)),ox(i,t,a),i.__setInstance(t,a)}return a}function Jk(e,t,n){const r=ld();{const o=r.run(()=>gy(e));if(o==null)throw Gn(In.UNEXPECTED_ERROR);return[r,o]}}function Qk(e){{const t=Wn(e.isCE?Yk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Gn(e.isCE?In.NOT_INSTALLED_WITH_PROVIDE:In.UNEXPECTED_ERROR);return t}}function ex(e,t){return pl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tx(e){return e.mode==="composition"?e.global:e.global.__composer}function nx(e,t,n=!1){let r=null;const o=t.root;let s=rx(t,n);for(;s!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function rx(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ox(e,t,n){Cs(()=>{},t),Oi(()=>{const r=n;e.__deleteInstance(t);const o=r[Cu];o&&(o(),delete r[Cu])},t)}const sx=["locale","fallbackLocale","availableLocales"],Nf=["t","rt","d","n","tm","te"];function ix(e,t){const n=Object.create(null);return sx.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Gn(In.UNEXPECTED_ERROR);const i=Vt(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Nf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Gn(In.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Nf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Dk();Kz(i0);Zz(Tz);Yz(d_);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ju();e.__INTLIFY__=!0,Mz(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const dc=e=>e&&typeof e=="object"&&!Array.isArray(e),wu=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(dc(e)&&dc(n))for(const r in n)dc(n[r])?(e[r]||Object.assign(e,{[r]:{}}),wu(e[r],n[r])):Object.assign(e,{[r]:n[r]});return wu(e,...t)},ax=wu({},{de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite…"])},title:e=>{const{normalize:t}=e;return t(["Podcast hinzufügen"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gelöschten und veränderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinesisch (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten löschen "])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track kann nicht gespielt werden"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", Beschränkungsgrund: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Hörbuch"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["Über"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"])},stream:e=>{const{normalize:t}=e;return t(["HTTP-stream"])},volume:e=>{const{normalize:t}=e;return t(["Lautstärke"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},settings:e=>{const{normalize:t}=e;return t(["Einstellungen"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Oberfläche erstellt mit ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," und ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterstützung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},more:e=>{const{normalize:t}=e;return t(["mehr"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Gesamte Spielzeit"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["vor ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Neu eingelesen"])},uptime:e=>{const{normalize:t}=e;return t(["Laufzeit"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Künstler › Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Künstler › Erscheinungsdatum"])},title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])},"recently-released":e=>{const{normalize:t}=e;return t(["Kürzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Inhalt"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Künstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Künstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["Künstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbücher"])])},title:e=>{const{normalize:t}=e;return t(["Hörbücher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Autor"]),t([n(r("count"))," Autor"]),t([n(r("count"))," Autoren"])])},title:e=>{const{normalize:t}=e;return t(["Autoren"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Autoren"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponisten"])])},title:e=>{const{normalize:t}=e;return t(["Komponisten"])}},files:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Dateien"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Kürzlich gespielt"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Verlauf"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Tracks durch Auswählen aus der Bibliothek anfügen"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlisten"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Podcast"]),t([n(r("count"))," Podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Alle abgespielten markieren"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Neue Episoden"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Station"]),t([n(r("count"))," Station"]),t([n(r("count"))," Stationen"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell läuft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten für die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell läuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterstützung für Last.fm erstellt."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet für "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für OwnTone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausgänge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Ordner"])},plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf löschen"])},pause:e=>{const{normalize:t}=e;return t(["Wiedergabe anhalten"])},play:e=>{const{normalize:t}=e;return t(["Wiedergeben"])},repeat:e=>{const{normalize:t}=e;return t(["Alle Tracks wiederholen"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Tracks einmal lesen"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Aktuellen Track wiederholen"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Rückwärts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorwärts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zufällig wiedergeben"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Tracks in Reihenfolge wiedergeben"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Zum vorherigen Track springen"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Zum nächsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Liedtexte anzeigen/verbergen"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Fehlender Websocket-Port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Anfrage gescheitert (Status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Warteschlange zu Playlist ",n(r("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])},undefined:e=>{const{normalize:t}=e;return t(["Unbestimmt"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}}},{en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add stream"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Update library"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinese (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", restriction reason: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Audiobook"])},music:e=>{const{normalize:t}=e;return t(["Music"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["About"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Web interface built with ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," and ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiled with support for ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},more:e=>{const{normalize:t}=e;return t(["more"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Total playtime"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Update"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," ago"])},updated:e=>{const{normalize:t}=e;return t(["Updated"])},uptime:e=>{const{normalize:t}=e;return t(["Uptime"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artist › Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artist › Release date"])},title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides the content only appearing in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide the content from Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artist"]),t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobooks"])])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," author"]),t([n(r("count"))," author"]),t([n(r("count"))," authors"])])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," composer"]),t([n(r("count"))," composer"]),t([n(r("count"))," composers"])])},title:e=>{const{normalize:t}=e;return t(["Composers"])}},files:{play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Files"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["History"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlists"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Mark All Played"])},"new-episodes":e=>{const{normalize:t}=e;return t(["New Episodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Update"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Add stream"])},clear:e=>{const{normalize:t}=e;return t(["Clear"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Folder"])},plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Toggle lyrics"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Missing websocket port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Request failed (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Queue saved to playlist ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track appended to the queue"]),t([n(r("count"))," tracks appended to the queue"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])},undefined:e=>{const{normalize:t}=e;return t(["Undefined"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}}},{fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file d’attente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajoutés, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])},zh:e=>{const{normalize:t}=e;return t(["Chinois (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas être lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", raison de la restriction : ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Livre audio"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["À propos"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison d’un problème réseau"])},stream:e=>{const{normalize:t}=e;return t(["Flux HTTP"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},settings:e=>{const{normalize:t}=e;return t(["Réglages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Interface utilisateur construite avec ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," et ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compilé avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},more:e=>{const{normalize:t}=e;return t(["plus"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Durée totale de lecture"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["il y a ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis à jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes n’apparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui n’apparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artiste › Nom"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artiste › Date de sortie"])},title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties récentes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque le contenu qui n’apparaît que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer le contenu de Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n’apparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n’apparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),t([n(r("count"))," auteurs"])])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeurs"])])},title:e=>{const{normalize:t}=e;return t(["Compositeurs"])}},files:{play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Fichiers"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Historique"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Ajoutez des pistes en parcourant votre bibliothèque"])},live:e=>{const{normalize:t}=e;return t(["En direct"])},title:e=>{const{normalize:t}=e;return t(["La file d’attente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux épisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer l’historique"])},queue:e=>{const{normalize:t}=e;return t(["File d’attente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs d’illustrations suivants :"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN qu’elle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage d’enceinte et vérification d’appareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes d’albums"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous sélectionnez plus d’éléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre d’albums affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['L’étiquette de genre de la piste actuelle est comparée en vérifiant si l’un des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l’étiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustrations dans la liste d’albums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["L’option Last.fm n’est pas présente."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["L’option Spotify n’est pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser l’accès à l’API"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez l’accès à l’API de Spotify"])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accès supplémentaires suivants :"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom d’utilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Listes de lecture en vedette"])},"new-releases":e=>{const{normalize:t}=e;return t(["Nouvelle sorties"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("count"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Dossier"])},plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer l’historique"])},pause:e=>{const{normalize:t}=e;return t(["Mettre la lecture en pause"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},repeat:e=>{const{normalize:t}=e;return t(["Répéter toutes les pistes"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Lire les pistes une fois"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Répéter la piste en cours"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Reculer dans la piste"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Avancer dans la piste"])},shuffle:e=>{const{normalize:t}=e;return t(["Lire les pistes aléatoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans l’ordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer à la piste précédente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer à la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arrêter la lecture"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Voir/Cacher les paroles"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à l’enregistrement du réglage)"])},saved:e=>{const{normalize:t}=e;return t([" (réglage enregistré)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec de connexion au serveur"])},"missing-port":e=>{const{normalize:t}=e;return t(["Port websocket manquant"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La requête a échoué (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La file d’attente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste ajoutée à la file d’attente"]),t([n(r("count"))," pistes ajoutées à la file d’attente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file d’attente est vide"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Aujourd’hui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])},undefined:e=>{const{normalize:t}=e;return t(["Indéfini"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stéréo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," canal"]),t([n(r("count"))," canaux"])])}}}},{zh:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["链接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["流"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["添加一个可生成播放列表的播客RSS链接,这将允许OwnTone管理订阅"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["处理中…"])},title:e=>{const{normalize:t}=e;return t(["添加播客"])}},stream:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["加载中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["添加流"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},artist:e=>{const{normalize:t}=e;return t(["专辑艺人"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名称"])},save:e=>{const{normalize:t}=e;return t(["保存"])},saving:e=>{const{normalize:t}=e;return t(["保存中…"])},title:e=>{const{normalize:t}=e;return t(["保存播放清单到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遥控配对"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对码"])},title:e=>{const{normalize:t}=e;return t(["请求遥控配对"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉丝数"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["评论"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["标记为最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有内容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["仅更新RSS订阅内容"])},info:e=>{const{normalize:t}=e;return t(["扫描新的、删除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["仅更新本地资料库"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地资料库…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新扫描未修改文件的元数据"])},rescan:e=>{const{normalize:t}=e;return t(["重新扫描"])},spotify:e=>{const{normalize:t}=e;return t(["仅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["更新资料库"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德语 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英语 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法语 (Français)"])},zh:e=>{const{normalize:t}=e;return t(["中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客吗?"])},"info-2":e=>{const{normalize:t}=e;return t(["这也将移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目无法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([",被限制原因:",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["专辑"])},audiobook:e=>{const{normalize:t}=e;return t(["有声读物"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},podcast:e=>{const{normalize:t}=e;return t(["播客"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["关于"])},albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP流错误:流载入失败或者由于网络原因无法载入"])},stream:e=>{const{normalize:t}=e;return t(["HTTP流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},settings:e=>{const{normalize:t}=e;return t(["设置"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["更新资料库"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面贡献者包括 ",n(r("bulma")),",",n(r("mdi")),",",n(r("vuejs")),",",n(r("axios"))," 和 ",n(r("others"))])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["编译支持来自于 ",n(r("options"))])},library:e=>{const{normalize:t}=e;return t(["资料库"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["总播放时长"])},tracks:e=>{const{normalize:t}=e;return t(["曲目总数"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新于"])},uptime:e=>{const{normalize:t}=e;return t(["运行时长"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的专辑"])},title:e=>{const{normalize:t}=e;return t(["专辑"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["艺人 › 名称"])},"artist-date":e=>{const{normalize:t}=e;return t(["艺人 › 发行日期"])},title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近发行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏只出现在Spotify库中的内容"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的内容"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位艺人"]),t([n(r("count"))," 位艺人"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的艺人"])},title:e=>{const{normalize:t}=e;return t(["艺人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个有声读物"]),t([n(r("count"))," 个有声读物"])])},title:e=>{const{normalize:t}=e;return t(["有声读物"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},genres:e=>{const{normalize:t}=e;return t(["流派"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近添加"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},history:e=>{const{normalize:t}=e;return t(["历史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["浏览资料库添加曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清单是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["最后播放"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播客"]),t([n(r("count"))," 个播客"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部标记为已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新单集"])},title:e=>{const{normalize:t}=e;return t(["播客"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["添加流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},edit:e=>{const{normalize:t}=e;return t(["编辑"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隐藏历史"])},title:e=>{const{normalize:t}=e;return t(["清单"])},save:e=>{const{normalize:t}=e;return t(["保存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个电台"]),t([n(r("count"))," 个电台"])])},title:e=>{const{normalize:t}=e;return t(["广播电台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表达式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前缀,则可以通过智能播放列表查询语言 ",n(r("help"))," 进行搜索"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["资料库"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面,这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中,也可以通过广播电台在线提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您还可以从以下素材提供者获取封面:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["没有活跃的配对请求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对代码"])},"pairing-request":e=>{const{normalize:t}=e;return t(["远程配对请求来自于 "])},pairing:e=>{const{normalize:t}=e;return t(["遥控配对"])},send:e=>{const{normalize:t}=e;return t(["发送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["扬声器配对和设备验证"])},"verification-code":e=>{const{normalize:t}=e;return t(["验证码"])},verify:e=>{const{normalize:t}=e;return t(["验证"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["专辑列表"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},language:e=>{const{normalize:t}=e;return t(["语言"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["选择顶部导航栏菜单项"])},"navigation-items":e=>{const{normalize:t}=e;return t(["导航条"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”页面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近添加”页面上显示的专辑数量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近添加”页面"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗号分隔流派,作曲家会在“正在播放的页面”上显示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始终显示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["仅显示列出的流派的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果启用,当前播放曲目的作曲家将显示在“正在播放页面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["显示作曲家"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”页面显示文件路径"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用户名和密码登录以启用记录功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自Last.fm的官方支持"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登录为 "])},requirements:e=>{const{normalize:t}=e;return t(["您必须拥有 Spotify付费帐户"])},scopes:e=>{const{normalize:t}=e;return t(["访问 Spotify Web API 可以扫描您的 Spotify库。所需范围是:"])},user:e=>{const{normalize:t}=e;return t(["授予访问权限"])},authorize:e=>{const{normalize:t}=e;return t(["授权 Web API 访问"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},reauthorize:e=>{const{normalize:t}=e;return t(["请重新授权 Web API 访问权限,以授予 OwnTone 以下附加访问权限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密码"])},username:e=>{const{normalize:t}=e;return t(["用户名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概览"])},"online-services":e=>{const{normalize:t}=e;return t(["在线服务"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遥控和输出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新发行"])},"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["文件夹"])},plain:e=>{const{normalize:t}=e;return t(["简单"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除历史"])},pause:e=>{const{normalize:t}=e;return t(["暂停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重复播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目仅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重复当前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在当前曲目后退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在当前曲目前进"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按顺序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["显示/隐藏歌词"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (设置保存错误)"])},saved:e=>{const{normalize:t}=e;return t([" (设置已保存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["无法连接到 OwnTone 服务器"])},"missing-port":e=>{const{normalize:t}=e;return t(["缺少 websocket 端口"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["请求失败 (状态:",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清单以添加到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["已附加到队列的 ",n(r("count"))," 只曲目"]),t(["已附加到队列的 ",n(r("count"))," 只曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清单是空的"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])},undefined:e=>{const{normalize:t}=e;return t(["未定义"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["单声道"])},stereo:e=>{const{normalize:t}=e;return t(["立体声"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}}),Il=Xk({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:ax,missingWarn:!1});/*!
|
||
* vuex v4.1.0
|
||
* (c) 2022 Evan You
|
||
* @license MIT
|
||
*/var lx="store";function ws(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function cx(e){return e!==null&&typeof e=="object"}function ux(e){return e&&typeof e.then=="function"}function dx(e,t){return function(){return e(t)}}function by(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 zy(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;Ll(e,n,[],e._modules.root,!0),Dd(e,n,t)}function Dd(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=ld(!0);l.run(function(){ws(s,function(u,d){i[d]=dx(u,e),a[d]=Ft(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=bs({data:t}),e._scope=l,e.strict&&_x(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function Ll(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!s&&!o){var a=Rd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=mx(e,i,n);r.forEachMutation(function(d,m){var f=i+m;fx(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;px(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;hx(e,f,d,u)}),r.forEachChild(function(d,m){Ll(e,t,n.concat(m),d,o)})}function mx(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=Ga(s,i,a),u=l.payload,d=l.options,m=l.type;return(!d||!d.root)&&(m=t+m),e.dispatch(m,u)},commit:r?e.commit:function(s,i,a){var l=Ga(s,i,a),u=l.payload,d=l.options,m=l.type;(!d||!d.root)&&(m=t+m),e.commit(m,u,d)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Cy(e,t)}},state:{get:function(){return Rd(e.state,n)}}}),o}function Cy(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function fx(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function px(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return ux(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function hx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function _x(e){Cn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Rd(e,t){return t.reduce(function(n,r){return n[r]},e)}function Ga(e,t,n){return cx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var gx="vuex bindings",Df="vuex:mutations",mc="vuex:actions",Oo="vuex",yx=0;function vx(e,t){Lk({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:[gx]},function(n){n.addTimelineLayer({id:Df,label:"Vuex Mutations",color:Rf}),n.addTimelineLayer({id:mc,label:"Vuex Actions",color:Rf}),n.addInspector({id:Oo,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Oo)if(r.filter){var o=[];Sy(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[xy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Oo){var o=r.nodeId;Cy(t,o),r.state=Cx(kx(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Oo){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,o){var s={};r.payload&&(s.payload=r.payload),s.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(Oo),n.sendInspectorState(Oo),n.addTimelineEvent({layerId:Df,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,o){var s={};r.payload&&(s.payload=r.payload),r._id=yx++,r._time=Date.now(),s.state=o,n.addTimelineEvent({layerId:mc,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,o){var s={},i=Date.now()-r._time;s.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(s.payload=r.payload),s.state=o,n.addTimelineEvent({layerId:mc,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var Rf=8702998,bx=6710886,zx=16777215,wy={label:"namespaced",textColor:zx,backgroundColor:bx};function ky(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function xy(e,t){return{id:t||"root",label:ky(t),tags:e.namespaced?[wy]:[],children:Object.keys(e._children).map(function(n){return xy(e._children[n],t+n+"/")})}}function Sy(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?[wy]:[]}),Object.keys(t._children).forEach(function(o){Sy(e,t._children[o],n,r+o+"/")})}function Cx(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var s=wx(t);o.getters=Object.keys(s).map(function(i){return{key:i.endsWith("/")?ky(i):i,editable:!1,value:ku(function(){return s[i]})}})}return o}function wx(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var o=t,s=r.pop();r.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[s]=ku(function(){return e[n]})}else t[n]=ku(function(){return e[n]})}),t}function kx(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,o,s){var i=r[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+t+'".');return s===n.length-1?i:i._children},t==="root"?e:e.root._children)}function ku(e){try{return e()}catch(t){return t}}var Yn=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)||{}},Ey={namespaced:{configurable:!0}};Ey.namespaced.get=function(){return!!this._rawModule.namespaced};Yn.prototype.addChild=function(t,n){this._children[t]=n};Yn.prototype.removeChild=function(t){delete this._children[t]};Yn.prototype.getChild=function(t){return this._children[t]};Yn.prototype.hasChild=function(t){return t in this._children};Yn.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)};Yn.prototype.forEachChild=function(t){ws(this._children,t)};Yn.prototype.forEachGetter=function(t){this._rawModule.getters&&ws(this._rawModule.getters,t)};Yn.prototype.forEachAction=function(t){this._rawModule.actions&&ws(this._rawModule.actions,t)};Yn.prototype.forEachMutation=function(t){this._rawModule.mutations&&ws(this._rawModule.mutations,t)};Object.defineProperties(Yn.prototype,Ey);var Eo=function(t){this.register([],t,!1)};Eo.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Eo.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};Eo.prototype.update=function(t){$y([],this.root,t)};Eo.prototype.register=function(t,n,r){var o=this;r===void 0&&(r=!0);var s=new Yn(n,r);if(t.length===0)this.root=s;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],s)}n.modules&&ws(n.modules,function(a,l){o.register(t.concat(l),a,r)})};Eo.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],o=n.getChild(r);o&&o.runtime&&n.removeChild(r)};Eo.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function $y(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;$y(e.concat(r),t.getChild(r),n.modules[r])}}function xx(e){return new fn(e)}var fn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var o=t.strict;o===void 0&&(o=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Eo(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var i=this,a=this,l=a.dispatch,u=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,h){return u.call(i,f,p,h)},this.strict=o;var d=this._modules.root.state;Ll(this,d,[],this._modules.root),Dd(this,d),r.forEach(function(m){return m(n)})},Md={state:{configurable:!0}};fn.prototype.install=function(t,n){t.provide(n||lx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&vx(t,this)};Md.state.get=function(){return this._state.data};Md.state.set=function(e){};fn.prototype.commit=function(t,n,r){var o=this,s=Ga(t,n,r),i=s.type,a=s.payload,l={type:i,payload:a},u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(m){m(a)})}),this._subscribers.slice().forEach(function(d){return d(l,o.state)}))};fn.prototype.dispatch=function(t,n){var r=this,o=Ga(t,n),s=o.type,i=o.payload,a={type:s,payload:i},l=this._actions[s];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,r.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,m){u.then(function(f){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}d(f)},function(f){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,f)})}catch{}m(f)})})}};fn.prototype.subscribe=function(t,n){return by(t,this._subscribers,n)};fn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return by(r,this._actionSubscribers,n)};fn.prototype.watch=function(t,n,r){var o=this;return Cn(function(){return t(o.state,o.getters)},n,Object.assign({},r))};fn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};fn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Ll(this,this.state,t,this._modules.get(t),r.preserveState),Dd(this,this.state)};fn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Rd(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),zy(this)};fn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};fn.prototype.hotUpdate=function(t){this._modules.update(t),zy(this,!0)};fn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(fn.prototype,Md);const ht=xx({state(){return{albums_sort:1,artist_albums_sort:1,artist_tracks_sort:1,artists_sort:1,composer_tracks_sort:1,config:{buildoptions:[],version:"",websocket_port:0},genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,lastfm:{},library:{albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",updated_at:"01",updating:!1},lyrics:{content:[],pane:!1},notifications:{list:[],next_id:1},outputs:[],pairing:{},player:{consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0},queue:{count:0,items:[],version:0},recent_searches:[],rss_count:{},search_query:"",search_source:"search-library",settings:{categories:[]},show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,spotify:{},update_dialog_scan_kind:""}},getters:{now_playing:e=>e.queue.items.find(t=>t.id===e.player.item_id)??{},settings_option:e=>(t,n)=>{var r;return((r=e.settings.categories.find(o=>o.name===t))==null?void 0:r.options.find(o=>o.name===n))??{}},settings_option_recently_added_limit:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="recently_added_limit"))==null?void 0:r.value)??100},settings_option_show_composer_for_genre:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_composer_for_genre"))==null?void 0:r.value)??null},settings_option_show_composer_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_composer_now_playing"))==null?void 0:r.value)??!1},settings_option_show_filepath_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_filepath_now_playing"))==null?void 0:r.value)??!1},settings_webinterface:e=>{var t;return((t=e.settings)==null?void 0:t.categories.find(n=>n.name==="webinterface"))??null}},mutations:{[$h](e,t){e.config=t},[Nh](e,t){e.settings=t},[Oh](e,t){e.library=t},[Ah](e,t){e.rss_count=t},[Ph](e,t){e.outputs=t},[Wu](e,t){e.player=t},[Lh](e,t){e.queue=t},[Hc](e,t){e.lyrics.content=t},[Th](e,t){e.lastfm=t},[Dh](e,t){e.spotify=t},[Ih](e,t){e.pairing=t},[Uu](e,t){e.search_query=t},[ju](e,t){e.search_source=t},[xh](e,t){e.composer_tracks_sort=t},[Sh](e,t){e.genre_tracks_sort=t},[ll](e,t){e.hide_singles=t},[wi](e,t){e.hide_spotify=t},[Ch](e,t){e.artists_sort=t},[wh](e,t){e.artist_albums_sort=t},[kh](e,t){e.artist_tracks_sort=t},[zh](e,t){e.albums_sort=t},[Eh](e,t){e.show_only_next_items=t},[rs](e,t){e.show_burger_menu=t},[os](e,t){e.show_player_menu=t},[ki](e,t){e.show_update_dialog=t},[Bu](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,text:n.text,timeout:n.timeout,topic:n.topic,type:n.type};if(r.topic){const o=t.notifications.list.findIndex(s=>s.topic===r.topic);if(o>=0){t.notifications.list.splice(o,1,r);return}}t.notifications.list.push(r),n.timeout>0&&setTimeout(()=>{this.dispatch("delete_notification",r)},n.timeout)},add_recent_search({commit:e,state:t},n){const r=t.recent_searches.indexOf(n);r!==-1&&t.recent_searches.splice(r,1),t.recent_searches.splice(0,0,n),t.recent_searches.length>5&&t.recent_searches.pop()},remove_recent_search({commit:e,state:t},n){const r=t.recent_searches.indexOf(n);r!==-1&&t.recent_searches.splice(r,1)},delete_notification({commit:e,state:t},n){const r=t.notifications.list.indexOf(n);r!==-1&&t.notifications.list.splice(r,1)},update_settings_option({commit:e,state:t},n){const r=t.settings.categories.find(s=>s.name===n.category),o=r.options.find(s=>s.name===n.name);o.value=n.value}}}),{t:Vo}=Il.global;ue.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&ht.dispatch("add_notification",{text:Vo("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",void 0,{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`,void 0,{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}`,void 0)},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",void 0,{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}`,void 0,{params:t})},library_update(e){return ue.put("./api/update",void 0,{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",void 0,{params:e})},player_play_expression(e,t,n){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:t};return ue.post("./api/queue/items/add",void 0,{params:r})},player_play_uri(e,t,n){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:t,uris:e};return ue.post("./api/queue/items/add",void 0,{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:Vo("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:Vo("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",void 0,{params:{expression:e}}).then(t=>(ht.dispatch("add_notification",{text:Vo("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",void 0,{params:t}).then(n=>(ht.dispatch("add_notification",{text:Vo("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",void 0,{params:{name:e}}).then(t=>(ht.dispatch("add_notification",{text:Vo("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,o]of t)n[r]=o;return n},Sx={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=""})}}},Ex={key:0,class:"modal is-active"},$x={class:"modal-content"},Tx={class:"card"},Ax={class:"card-content"},Ox=["textContent"],Px=["textContent"],Ix={class:"field"},Lx={class:"control"},Nx=["placeholder"],Dx={class:"card-footer is-clipped"},Rx=["textContent"],Mx=["textContent"];function Fx(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",Ex,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",$x,[c("div",Tx,[c("div",Ax,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,Ox),c("form",{onSubmit:t[2]||(t[2]=_t((...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a),["prevent"]))},[c("label",{class:"label",textContent:g(s.pairing.remote)},null,8,Px),c("div",Ix,[c("div",Lx,[pt(c("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,Nx),[[dn,o.pairing_req.pin]])])])],32)]),c("footer",Dx,[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:g(e.$t("dialog.remote-pairing.cancel"))},null,8,Rx)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a))},[v(i,{class:"icon",name:"cellphone",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,Mx)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const Vx=ie(Sx,[["render",Fx]]),Hx={name:"ModalDialog",props:{close_action:{default:"dialog.cancel",type:String},delete_action:{default:"",type:String},ok_action:{default:"",type:String},show:Boolean,title:{required:!0,type:String}},emits:["delete","close","ok"]},Ux={key:0,class:"modal is-active"},jx={class:"modal-content"},Bx={class:"card"},Wx={class:"card-content"},qx=["textContent"],Gx={class:"card-footer is-clipped"},Kx=["textContent"],Zx=["textContent"],Yx=["textContent"];function Xx(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",Ux,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",jx,[c("div",Bx,[c("div",Wx,[n.title?(E(),P("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,qx)):ee("",!0),vt(e.$slots,"modal-content")]),c("footer",Gx,[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:g(n.close_action)},null,8,Kx)]),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:g(n.delete_action)},null,8,Zx)])):ee("",!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:g(n.ok_action)},null,8,Yx)])):ee("",!0)])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):ee("",!0)]),_:3})}const Fd=ie(Hx,[["render",Xx]]),Jx={name:"ModalDialogUpdate",components:{ModalDialog:Fd},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(Bu,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)}}},Qx={key:0},eS=["textContent"],tS={key:0,class:"field"},nS={class:"control"},rS={class:"select is-small"},oS=["textContent"],sS=["textContent"],iS=["textContent"],aS=["textContent"],lS={class:"field"},cS=["textContent"],uS={key:1},dS=["textContent"];function mS(e,t,n,r,o,s){const i=A("modal-dialog");return E(),xe(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:s.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:s.update_library,onClose:t[2]||(t[2]=a=>s.close())},{"modal-content":L(()=>[s.library.updating?(E(),P("div",uS,[c("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,dS)])):(E(),P("div",Qx,[c("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,eS),s.spotify_enabled||s.rss.tracks>0?(E(),P("div",tS,[c("div",nS,[c("div",rS,[pt(c("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>s.update_dialog_scan_kind=a)},[c("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,oS),c("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,sS),s.spotify_enabled?(E(),P("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,iS)):ee("",!0),s.rss.tracks>0?(E(),P("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,aS)):ee("",!0)],512),[[Id,s.update_dialog_scan_kind]])])])])):ee("",!0),c("div",lS,[pt(c("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=a=>o.rescan_metadata=a),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[Pn,o.rescan_metadata]]),c("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,cS)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const fS=ie(Jx,[["render",mS]]),pS={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}}},hS=["value","disabled","max"];function _S(e,t,n,r,o,s){return E(),P("input",{value:n.value,disabled:n.disabled,class:ze(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:eo({"--ratio":s.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,hS)}const Vd=ie(pS,[["render",_S]]),gS={name:"NavbarItemLink",props:{exact:Boolean,to:{required:!0,type:Object}},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(rs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(os,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(rs,!1),this.show_player_menu&&this.$store.commit(os,!1),this.$router.push(this.to)}}},yS=["href"];function vS(e,t,n,r,o,s){return E(),P("a",{class:ze(["navbar-item",{"is-active":s.is_active}]),href:s.full_path(),onClick:t[0]||(t[0]=_t(i=>s.open_link(),["stop","prevent"]))},[vt(e.$slots,"default")],10,yS)}const Ty=ie(gS,[["render",vS]]);var bS="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",zS="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",CS="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",wS="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",kS="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",xS="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",SS="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",ES="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",Nl="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",$S="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",TS="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",AS="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",OS="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",PS="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",IS="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",LS="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",NS="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",DS="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",RS="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",MS="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",FS="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",VS="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",HS="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",US="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",jS="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",BS="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",WS="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",qS="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",GS="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",KS="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",ZS="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",YS="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",XS="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",JS="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",QS="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",eE="M14,19H18V5H14M6,19H10V5H6V19Z",tE="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",nE="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",rE="M8,5.14V19.14L19,12.14L8,5.14Z",oE="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",sE="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",iE="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",aE="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",lE="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",cE="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",uE="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",dE="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",mE="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",fE="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",pE="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",hE="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",_E="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",gE="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",yE="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",vE="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",bE="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",zE="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",CE="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",kE="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",xE="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",SE="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",EE="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 $E={name:"NavbarItemOutput",components:{ControlSlider:Vd},props:{output:{required:!0,type:Object}},data(){return{cursor:Nl,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)}}},TE={class:"navbar-item"},AE={class:"level is-mobile"},OE={class:"level-left is-flex-grow-1"},PE={class:"level-item is-flex-grow-0"},IE={class:"level-item"},LE={class:"is-flex-grow-1"},NE=["textContent"];function DE(e,t,n,r,o,s){const i=A("mdicon"),a=A("control-slider");return E(),P("div",TE,[c("div",AE,[c("div",OE,[c("div",PE,[c("a",{class:ze(["button is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>s.set_enabled&&s.set_enabled(...l))},[v(i,{class:"icon",name:s.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),c("div",IE,[c("div",LE,[c("p",{class:ze(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,NE),v(a,{value:o.volume,"onUpdate:value":t[1]||(t[1]=l=>o.volume=l),disabled:!n.output.selected,max:100,cursor:o.cursor,onChange:s.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const RE=ie($E,[["render",DE]]),ME={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 FE(e,t,n,r,o,s){const i=A("mdicon");return E(),P("a",{class:ze({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...a)=>s.toggle_consume_mode&&s.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 VE=ie(ME,[["render",FE]]),HE={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 UE(e,t,n,r,o,s){const i=A("mdicon");return E(),P("a",{class:ze({"is-info":s.is_active}),onClick:t[0]||(t[0]=(...a)=>s.toggle_lyrics&&s.toggle_lyrics(...a))},[v(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const jE=ie(HE,[["render",UE]]),BE={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()}}},WE=["disabled"];function qE(e,t,n,r,o,s){const i=A("mdicon");return E(),P("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_next&&s.play_next(...a))},[v(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,WE)}const GE=ie(BE,[["render",qE]]),KE={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()}}},ZE=["disabled"];function YE(e,t,n,r,o,s){const i=A("mdicon");return E(),P("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.toggle_play_pause&&s.toggle_play_pause(...a))},[v(i,{name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],8,ZE)}const XE=ie(KE,[["render",YE]]),JE={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()}}},QE=["disabled"];function e2(e,t,n,r,o,s){const i=A("mdicon");return E(),P("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_previous&&s.play_previous(...a))},[v(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,QE)}const t2=ie(JE,[["render",e2]]),n2={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 r2(e,t,n,r,o,s){const i=A("mdicon");return E(),P("a",{class:ze({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>s.toggle_repeat_mode&&s.toggle_repeat_mode(...a))},[v(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],2)}const o2=ie(n2,[["render",r2]]),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)}}},i2=["disabled"];function a2(e,t,n,r,o,s){const i=A("mdicon");return s.visible?(E(),P("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[v(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,i2)):ee("",!0)}const l2=ie(s2,[["render",a2]]),c2={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)}}},u2=["disabled"];function d2(e,t,n,r,o,s){const i=A("mdicon");return s.visible?(E(),P("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[v(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,u2)):ee("",!0)}const m2=ie(c2,[["render",d2]]),f2={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 p2(e,t,n,r,o,s){const i=A("mdicon");return E(),P("a",{class:ze({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>s.toggle_shuffle_mode&&s.toggle_shuffle_mode(...a))},[v(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],2)}const h2=ie(f2,[["render",p2]]),Ps={audio:new Audio,context:null,play(e){this.stop(),this.context.resume().then(()=>{this.audio.src=`${String(e||"")}?x=${Date.now()}`,this.audio.crossOrigin="anonymous",this.audio.load()})},setVolume(e){this.audio&&(this.audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},setup(){return this.context=new(window.AudioContext||window.webkitAudioContext),this.context.createMediaElementSource(this.audio).connect(this.context.destination),this.audio.addEventListener("canplaythrough",t=>{this.audio.play()}),this.audio.addEventListener("canplay",t=>{this.audio.play()}),this.audio},stop(){try{this.audio.pause()}catch{}try{this.audio.stop()}catch{}try{this.audio.close()}catch{}}},_2={name:"NavbarBottom",components:{ControlSlider:Vd,NavbarItemLink:Ty,NavbarItemOutput:RE,PlayerButtonConsume:VE,PlayerButtonLyrics:jE,PlayerButtonNext:GE,PlayerButtonPlayPause:XE,PlayerButtonPrevious:t2,PlayerButtonRepeat:o2,PlayerButtonSeekBack:l2,PlayerButtonSeekForward:m2,PlayerButtonShuffle:h2},data(){return{cursor:Nl,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(os,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(){Ps.setVolume(this.stream_volume/100)},change_volume(){j.player_volume(this.player.volume)},closeAudio(){Ps.stop(),this.playing=!1},on_click_outside_outputs(){this.show_outputs_menu=!1},playChannel(){this.playing||(this.loading=!0,Ps.play("/stream.mp3"),Ps.setVolume(this.stream_volume/100))},setupAudio(){const e=Ps.setup();e.addEventListener("waiting",t=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",t=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",t=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",t=>{this.closeAudio(),this.$store.dispatch("add_notification",{text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},togglePlay(){this.loading||(this.playing&&this.closeAudio(),this.playChannel())},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()}}},g2={class:"navbar-dropdown is-right fd-width-auto"},y2={class:"navbar-item"},v2={class:"level is-mobile"},b2={class:"level-left is-flex-grow-1"},z2={class:"level-item is-flex-grow-0"},C2={class:"level-item"},w2=["textContent"],k2=c("hr",{class:"my-3"},null,-1),x2=c("hr",{class:"my-3"},null,-1),S2={class:"navbar-item"},E2={class:"level is-mobile"},$2={class:"level-left is-flex-grow-1"},T2={class:"level-item is-flex-grow-0"},A2={class:"level-item"},O2={class:"is-flex-grow-1"},P2=["textContent"],I2={href:"stream.mp3",class:"heading ml-2",target:"_blank"},L2=c("hr",{class:"my-3"},null,-1),N2={class:"navbar-item is-justify-content-center"},D2={class:"buttons has-addons"},R2={class:"navbar-brand is-flex-grow-1"},M2={class:"fd-is-text-clipped"},F2=["textContent"],V2=c("br",null,null,-1),H2=["textContent"],U2=["textContent"],j2={class:"navbar-item"},B2={class:"buttons has-addons is-centered"},W2=c("hr",{class:"my-3"},null,-1),q2={class:"navbar-item"},G2={class:"level is-mobile"},K2={class:"level-left is-flex-grow-1"},Z2={class:"level-item is-flex-grow-0"},Y2={class:"level-item"},X2={class:"is-flex-grow-1"},J2=["textContent"],Q2=c("hr",{class:"my-3"},null,-1),e$=c("hr",{class:"my-3"},null,-1),t$={class:"navbar-item mb-5"},n$={class:"level is-mobile"},r$={class:"level-left is-flex-grow-1"},o$={class:"level-item is-flex-grow-0"},s$={class:"level-item"},i$={class:"is-flex-grow-1"},a$=["textContent"],l$={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function c$(e,t,n,r,o,s){const i=A("mdicon"),a=A("control-slider"),l=A("navbar-item-output"),u=A("player-button-repeat"),d=A("player-button-shuffle"),m=A("player-button-consume"),f=A("player-button-lyrics"),p=A("navbar-item-link"),h=A("player-button-previous"),_=A("player-button-seek-back"),b=A("player-button-play-pause"),C=A("player-button-seek-forward"),k=A("player-button-next");return E(),P("nav",{class:ze(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":s.is_now_playing_page,"is-dark":!s.is_now_playing_page}]),role:"navigation","aria-label":"player controls"},[c("div",{class:ze(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":s.show_player_menu}])},[c("div",g2,[c("div",y2,[c("div",v2,[c("div",b2,[c("div",z2,[c("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...y)=>s.toggle_mute_volume&&s.toggle_mute_volume(...y))},[v(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",C2,[c("div",null,[c("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,w2),v(a,{value:s.player.volume,"onUpdate:value":t[1]||(t[1]=y=>s.player.volume=y),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),k2,(E(!0),P(Ce,null,Ct(s.outputs,y=>(E(),xe(l,{key:y.id,output:y},null,8,["output"]))),128)),x2,c("div",S2,[c("div",E2,[c("div",$2,[c("div",T2,[c("a",{class:ze(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[2]||(t[2]=(...y)=>s.togglePlay&&s.togglePlay(...y))},[v(i,{class:"icon",name:"broadcast",size:"18"})],2)]),c("div",A2,[c("div",O2,[c("div",{class:ze(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,P2),c("a",I2,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),v(a,{value:o.stream_volume,"onUpdate:value":t[3]||(t[3]=y=>o.stream_volume=y),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),L2,c("div",N2,[c("div",D2,[v(u,{class:"button"}),v(d,{class:"button"}),v(m,{class:"button"}),v(f,{class:"button"})])])])],2),c("div",R2,[v(p,{to:{name:"queue"},exact:"",class:"mr-auto"},{default:L(()=>[v(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),s.is_now_playing_page?ee("",!0):(E(),xe(p,{key:0,to:{name:"now-playing"},exact:"",class:"is-expanded is-clipped is-size-7"},{default:L(()=>[c("div",M2,[c("strong",{textContent:g(s.now_playing.title)},null,8,F2),V2,c("span",{textContent:g(s.now_playing.artist)},null,8,H2),s.now_playing.album?(E(),P("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:s.now_playing.album}))},null,8,U2)):ee("",!0)])]),_:1})),s.is_now_playing_page?(E(),xe(h,{key:1,class:"navbar-item px-2",icon_size:24})):ee("",!0),s.is_now_playing_page?(E(),xe(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):ee("",!0),v(b,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),s.is_now_playing_page?(E(),xe(C,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):ee("",!0),s.is_now_playing_page?(E(),xe(k,{key:4,class:"navbar-item px-2",icon_size:24})):ee("",!0),c("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=y=>s.show_player_menu=!s.show_player_menu)},[v(i,{class:"icon",name:s.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),c("div",{class:ze(["navbar-menu is-hidden-desktop",{"is-active":s.show_player_menu}])},[c("div",j2,[c("div",B2,[v(u,{class:"button"}),v(d,{class:"button"}),v(m,{class:"button"}),v(f,{class:"button"})])]),W2,c("div",q2,[c("div",G2,[c("div",K2,[c("div",Z2,[c("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...y)=>s.toggle_mute_volume&&s.toggle_mute_volume(...y))},[v(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",Y2,[c("div",X2,[c("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,J2),v(a,{value:s.player.volume,"onUpdate:value":t[6]||(t[6]=y=>s.player.volume=y),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),Q2,(E(!0),P(Ce,null,Ct(s.outputs,y=>(E(),xe(l,{key:y.id,output:y},null,8,["output"]))),128)),e$,c("div",t$,[c("div",n$,[c("div",r$,[c("div",o$,[c("a",{class:ze(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[7]||(t[7]=(...y)=>s.togglePlay&&s.togglePlay(...y))},[v(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),c("div",s$,[c("div",i$,[c("div",{class:ze(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,a$),c("a",l$,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),v(a,{value:o.stream_volume,"onUpdate:value":t[8]||(t[8]=y=>o.stream_volume=y),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])],2)],2)}const u$=ie(_2,[["render",c$]]),d$={name:"NavbarTop",components:{NavbarItemLink:Ty},data(){return{show_settings_menu:!1}},computed:{search_name:{get(){return this.$store.state.search_source}},show_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobooks").value},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(rs,e)}},show_files(){return this.$store.getters.settings_option("webinterface","show_menu_item_files").value},show_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},show_player_menu(){return this.$store.state.show_player_menu},show_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},show_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},show_radio(){return this.$store.getters.settings_option("webinterface","show_menu_item_radio").value},show_search(){return this.$store.getters.settings_option("webinterface","show_menu_item_search").value},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(ki,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}}},m$={class:"navbar-brand"},f$=c("span",null,null,-1),p$=c("span",null,null,-1),h$=c("span",null,null,-1),_$=[f$,p$,h$],g$=c("div",{class:"navbar-start"},null,-1),y$={class:"navbar-end"},v$={class:"navbar-item is-arrowless is-hidden-touch"},b$={class:"navbar-dropdown is-right"},z$=["textContent"],C$=["textContent"],w$=["textContent"],k$=["textContent"],x$=["textContent"],S$=["textContent"],E$=["textContent"],$$=["textContent"],T$=["textContent"],A$=["textContent"],O$=["textContent"],P$=c("hr",{class:"my-3"},null,-1),I$=["textContent"];function L$(e,t,n,r,o,s){const i=A("mdicon"),a=A("navbar-item-link");return E(),P("nav",{class:"navbar is-light is-fixed-top",style:eo(s.zindex),role:"navigation","aria-label":"main navigation"},[c("div",m$,[s.show_playlists?(E(),xe(a,{key:0,to:{name:"playlists"}},{default:L(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):ee("",!0),s.show_music?(E(),xe(a,{key:1,to:{name:"music"}},{default:L(()=>[v(i,{class:"icon",name:"music",size:"16"})]),_:1})):ee("",!0),s.show_podcasts?(E(),xe(a,{key:2,to:{name:"podcasts"}},{default:L(()=>[v(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):ee("",!0),s.show_audiobooks?(E(),xe(a,{key:3,to:{name:"audiobooks"}},{default:L(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):ee("",!0),s.show_radio?(E(),xe(a,{key:4,to:{name:"radio"}},{default:L(()=>[v(i,{class:"icon",name:"radio",size:"16"})]),_:1})):ee("",!0),s.show_files?(E(),xe(a,{key:5,to:{name:"files"}},{default:L(()=>[v(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):ee("",!0),s.show_search?(E(),xe(a,{key:6,to:{name:s.search_name}},{default:L(()=>[v(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):ee("",!0),c("div",{class:ze(["navbar-burger",{"is-active":s.show_burger_menu}]),onClick:t[0]||(t[0]=l=>s.show_burger_menu=!s.show_burger_menu)},_$,2)]),c("div",{class:ze(["navbar-menu",{"is-active":s.show_burger_menu}])},[g$,c("div",y$,[c("div",{class:ze(["navbar-item has-dropdown is-hoverable",{"is-active":o.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>s.on_click_outside_settings&&s.on_click_outside_settings(...l))},[c("a",v$,[v(i,{class:"icon",name:"menu",size:"24"})]),c("div",b$,[v(a,{to:{name:"playlists"}},{default:L(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"}),c("b",{textContent:g(e.$t("navigation.playlists"))},null,8,z$)]),_:1}),v(a,{to:{name:"music"},exact:""},{default:L(()=>[v(i,{class:"icon",name:"music",size:"16"}),c("b",{textContent:g(e.$t("navigation.music"))},null,8,C$)]),_:1}),v(a,{to:{name:"music-artists"}},{default:L(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.artists"))},null,8,w$)]),_:1}),v(a,{to:{name:"music-albums"}},{default:L(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.albums"))},null,8,k$)]),_:1}),v(a,{to:{name:"music-genres"}},{default:L(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.genres"))},null,8,x$)]),_:1}),s.spotify_enabled?(E(),xe(a,{key:0,to:{name:"music-spotify"}},{default:L(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.spotify"))},null,8,S$)]),_:1})):ee("",!0),v(a,{to:{name:"podcasts"}},{default:L(()=>[v(i,{class:"icon",name:"microphone",size:"16"}),c("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,E$)]),_:1}),v(a,{to:{name:"audiobooks"}},{default:L(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"}),c("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,$$)]),_:1}),v(a,{to:{name:"radio"}},{default:L(()=>[v(i,{class:"icon",name:"radio",size:"16"}),c("b",{textContent:g(e.$t("navigation.radio"))},null,8,T$)]),_:1}),v(a,{to:{name:"files"}},{default:L(()=>[v(i,{class:"icon",name:"folder-open",size:"16"}),c("b",{textContent:g(e.$t("navigation.files"))},null,8,A$)]),_:1}),v(a,{to:{name:s.search_name}},{default:L(()=>[v(i,{class:"icon",name:"magnify",size:"16"}),c("b",{textContent:g(e.$t("navigation.search"))},null,8,O$)]),_:1},8,["to"]),P$,v(a,{to:{name:"settings-webinterface"}},{default:L(()=>[xt(g(e.$t("navigation.settings")),1)]),_:1}),c("a",{class:"navbar-item",onClick:t[1]||(t[1]=_t(l=>s.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,I$),v(a,{to:{name:"about"}},{default:L(()=>[xt(g(e.$t("navigation.about")),1)]),_:1})])],2)])],2),pt(c("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>o.show_settings_menu=!1)},null,512),[[gi,o.show_settings_menu]])],4)}const N$=ie(d$,[["render",L$]]),D$={name:"NotificationList",computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.dispatch("delete_notification",e)}}},R$={key:0,class:"notifications"},M$={class:"columns is-centered"},F$={class:"column is-half"},V$=["onClick"],H$=["textContent"];function U$(e,t,n,r,o,s){return s.notifications.length>0?(E(),P("section",R$,[c("div",M$,[c("div",F$,[(E(!0),P(Ce,null,Ct(s.notifications,i=>(E(),P("div",{key:i.id,class:ze(["notification",i.type?`is-${i.type}`:""])},[c("button",{class:"delete",onClick:a=>s.remove(i)},null,8,V$),c("div",{class:"text",textContent:g(i.text)},null,8,H$)],2))),128))])])])):ee("",!0)}const j$=ie(D$,[["render",U$],["__scopeId","data-v-422ad582"]]);var Ay=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Oy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Py={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Ay,function(){if(!("WebSocket"in window))return;function t(n,r,o){var s={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};o||(o={});for(var i in s)typeof o[i]<"u"?this[i]=o[i]:this[i]=s[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,u=!1,d=!1,m=document.createElement("div");m.addEventListener("open",function(p){a.onopen(p)}),m.addEventListener("close",function(p){a.onclose(p)}),m.addEventListener("connecting",function(p){a.onconnecting(p)}),m.addEventListener("message",function(p){a.onmessage(p)}),m.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=m.addEventListener.bind(m),this.removeEventListener=m.removeEventListener.bind(m),this.dispatchEvent=m.dispatchEvent.bind(m);function f(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else m.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),d=!0,h.close(),d=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var C=f("open");C.isReconnect=p,p=!1,m.dispatchEvent(C)},l.onclose=function(b){if(clearTimeout(k),l=null,u)a.readyState=WebSocket.CLOSED,m.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var C=f("connecting");C.code=b.code,C.reason=b.reason,C.wasClean=b.wasClean,m.dispatchEvent(C),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),m.dispatchEvent(f("close")));var k=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},k>a.maxReconnectInterval?a.maxReconnectInterval:k)}},l.onmessage=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var C=f("message");C.data=b.data,m.dispatchEvent(C)},l.onerror=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),m.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(p=1e3),u=!0,l&&l.close(p,h)},this.refresh=function(){l&&l.close()}}return t.prototype.onopen=function(n){},t.prototype.onclose=function(n){},t.prototype.onconnecting=function(n){},t.prototype.onmessage=function(n){},t.prototype.onerror=function(n){},t.debugAll=!1,t.CONNECTING=WebSocket.CONNECTING,t.OPEN=WebSocket.OPEN,t.CLOSING=WebSocket.CLOSING,t.CLOSED=WebSocket.CLOSED,t})})(Py);var B$=Py.exports;const W$=Dl(B$),q$={name:"App",components:{NavbarTop:N$,NavbarBottom:u$,NotificationList:j$,ModalDialogRemotePairing:Vx,ModalDialogUpdate:fS},data(){return{token_timer_id:0,reconnect_attempts:0,pairing_active:!1}},computed:{show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(rs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(os,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(ki,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($h,e),this.$store.commit(ll,e.hide_singles),document.title=e.library_name,this.open_ws(),this.$Progress.finish()}).catch(()=>{this.$store.dispatch("add_notification",{text:this.$t("server.connection-failed"),type:"danger",topic:"connection"})})},open_ws(){if(this.$store.state.config.websocket_port<=0){this.$store.dispatch("add_notification",{text:this.$t("server.missing-port"),type:"danger"});return}const e=this;let t="ws://";window.location.protocol==="https:"&&(t="wss://");let n=`${t+window.location.hostname}:${e.$store.state.config.websocket_port}`;const r=new W$(n,"notify",{reconnectInterval:1e3,maxReconnectInterval:2e3});r.onopen=()=>{e.reconnect_attempts=0,r.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing()};let o=!1;function s(){o||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),o=!0,setTimeout(()=>{o=!1},500))}window.addEventListener("focus",s),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&s()}),r.onmessage=i=>{const a=JSON.parse(i.data);(a.notify.includes("update")||a.notify.includes("database"))&&e.update_library_stats(),(a.notify.includes("player")||a.notify.includes("options")||a.notify.includes("volume"))&&e.update_player_status(),(a.notify.includes("outputs")||a.notify.includes("volume"))&&e.update_outputs(),a.notify.includes("queue")&&e.update_queue(),a.notify.includes("spotify")&&e.update_spotify(),a.notify.includes("lastfm")&&e.update_lastfm(),a.notify.includes("pairing")&&e.update_pairing()}},update_library_stats(){j.library_stats().then(({data:e})=>{this.$store.commit(Oh,e)}),j.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(Ah,e)})},update_outputs(){j.outputs().then(({data:e})=>{this.$store.commit(Ph,e.outputs)})},update_player_status(){j.player_status().then(({data:e})=>{this.$store.commit(Wu,e),this.update_lyrics()})},update_queue(){j.queue().then(({data:e})=>{this.$store.commit(Lh,e),this.update_lyrics()})},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(Hc,t.lyrics)}):this.$store.commit(Hc)},update_settings(){j.settings().then(({data:e})=>{this.$store.commit(Nh,e)})},update_lastfm(){j.lastfm().then(({data:e})=>{this.$store.commit(Th,e)})},update_spotify(){j.spotify().then(({data:e})=>{this.$store.commit(Dh,e),this.token_timer_id>0&&(window.clearTimeout(this.token_timer_id),this.token_timer_id=0),e.webapi_token_expires_in>0&&e.webapi_token&&(this.token_timer_id=window.setTimeout(this.update_spotify,1e3*e.webapi_token_expires_in))})},update_pairing(){j.pairing().then(({data:e})=>{this.$store.commit(Ih,e),this.pairing_active=e.active})},update_is_clipped(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}},template:"<App/>"},G$={id:"app"};function K$(e,t,n,r,o,s){const i=A("navbar-top"),a=A("vue-progress-bar"),l=A("router-view"),u=A("modal-dialog-remote-pairing"),d=A("modal-dialog-update"),m=A("notification-list"),f=A("navbar-bottom");return E(),P("div",G$,[v(i),v(a,{class:"has-background-info"}),v(l,null,{default:L(({Component:p})=>[(E(),xe(Sl(p)))]),_:1}),v(u,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),v(d,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),pt(v(m,null,null,512),[[gi,!s.show_burger_menu]]),v(f),pt(c("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[gi,s.show_burger_menu||s.show_player_menu]])])}const Z$=ie(q$,[["render",K$]]),Iy=function(){return document.ontouchstart!==null?"click":"touchstart"},Ka="__vue_click_away__",Ly=function(e,t,n){Ny(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[Ka]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(Iy(),e[Ka],!1)},Ny=function(e){document.removeEventListener(Iy(),e[Ka],!1),delete e[Ka]},Y$=function(e,t,n){t.value!==t.oldValue&&Ly(e,t,n)},X$={install:function(e){e.directive("click-away",J$)}},J$={mounted:Ly,updated:Y$,unmounted:Ny};var Qn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Qn||{});const Q$=typeof window<"u"&&window!==null,eT=oT(),tT=Object.prototype.propertyIsEnumerable,Mf=Object.getOwnPropertySymbols;function Qs(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function nT(e){return typeof e=="object"?e===null:typeof e!="function"}function rT(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function oT(){return Q$&&"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(!Qs(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Mf!="function")return e;for(const n of t){const r=Mf(n);for(const o of r)tT.call(n,o)&&(e[o]=n[o])}return e}function Dy(e,...t){let n=0;for(nT(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Qs(t[n])){for(const r of Object.keys(t[n]))rT(r)&&(Qs(e[r])&&Qs(t[n][r])?Dy(e[r],t[n][r]):e[r]=t[n][r]);sT(e,t[n])}return e}const Ff="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",iT="",aT={rootMargin:"0px",threshold:0},Po="data-lazy-timeout-id";class lT{constructor(t){this.options={loading:Ff,error:iT,observerOptions:aT,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Dy(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:o,error:s,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Qn.LOADING,i,t),t.setAttribute("src",o||Ff),eT||(this.loadImages(t,r,s,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,s,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:o,lifecycle:s,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,o,s,i)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,o){this._setImageSrc(t,n,r,o)}_setImageSrc(t,n,r,o){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Qn.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(Qn.ERROR,o,t),(s=this._realObserver(t))==null||s.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,o,s){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,u=>{s&&s>0?this._delayedIntersectionCallback(t,u,s,n,r,o):this._intersectionCallback(t,u,n,r,o)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,o,s){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,o,s))}_delayedIntersectionCallback(t,n,r,o,s,i){if(n.isIntersecting){if(n.target.hasAttribute(Po))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(Po)},r);n.target.setAttribute(Po,String(a))}else n.target.hasAttribute(Po)&&(clearTimeout(Number(n.target.getAttribute(Po))),n.target.removeAttribute(Po))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,o=this.options.error,s=this.options.lifecycle,i=this.options.delay;return Qs(t)&&(n=t.src,r=t.loading||this.options.loading,o=t.error||this.options.error,s=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:o,lifecycle:s,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Qn.LOADING:r==null||r.setAttribute("lazy",Qn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Qn.LOADED:r==null||r.setAttribute("lazy",Qn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Qn.ERROR:r==null||r.setAttribute("lazy",Qn.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 cT={install(e,t){const n=new lT(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 Ry={exports:{}};const My=Oy(Sk);(function(e){e.exports=function(t){var n={};function r(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=t,r.c=n,r.d=function(o,s,i){r.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:i})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,s){if(s&1&&(o=r(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var a in o)r.d(i,a,(function(l){return o[l]}).bind(null,a));return i},r.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(s,"a",s),s},r.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var o,s,i;(function(a,l){s=[],o=l,i=typeof o=="function"?o.apply(n,s):o,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(z){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,m=u.exec(z.stack)||d.exec(z.stack),f=m&&m[1]||!1,p=m&&m[2]||!1,h=document.location.href.replace(document.location.hash,""),_,b,C,k=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=_.replace(b,"$1").trim());for(var y=0;y<k.length;y++)if(k[y].readyState==="interactive"||k[y].src===f||f===h&&k[y].innerHTML&&k[y].innerHTML.trim()===C)return k[y];return null}}return a})},"8bbf":function(t,n){t.exports=My},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var o=window.document.currentScript;{var s=r("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,b,C,k,y){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:C.finalStyle},null,4)}var u=typeof window<"u",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=u?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},b=Object(a.computed)(function(){var C=_.options,k=!!C.show,y=C.location,z={"z-index":999999,"background-color":C.canSuccess?C.color:C.failedColor,opacity:C.show?1:0,position:C.position};return y==="top"||y==="bottom"?(y==="top"?z.top="0px":z.bottom="0px",C.inverse?z.right="0px":z.left="0px",z.width=_.percent+"%",z.height=C.thickness,z.transition=(k?"width "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity):(y==="left"||y==="right")&&(y==="left"?z.left="0px":z.right="0px",C.inverse?z.top="0px":z.bottom="0px",z.height=_.percent+"%",z.width=C.thickness,z.transition=(k?"height "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity),z});return{progress:_,finalStyle:b}}};d.render=l;var m=d;function f(h,_){for(var b=1,C,k;b<arguments.length;++b){k=arguments[b];for(C in k)Object.prototype.hasOwnProperty.call(k,C)&&(h[C]=k[C])}return h}var p={install:function(_,b){var C={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},k=f(C,b),y=Object(a.reactive)({percent:0,options:k});_.provide("RADON_LOADING_BAR",y);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(w){var N=this;w||(w=3e3),y.percent=0,y.options.show=!0,y.options.canSuccess=!0,this.state.cut=1e4/Math.floor(w),clearInterval(this.state.timer),this.state.timer=setInterval(function(){N.increase(N.state.cut*Math.random()),y.percent>95&&y.options.autoFinish&&N.finish()},100)},set:function(w){y.options.show=!0,y.options.canSuccess=!0,y.percent=Math.floor(w)},get:function(){return Math.floor(y.percent)},increase:function(w){y.percent=Math.min(99,y.percent+Math.floor(w))},decrease:function(w){y.percent=y.percent-Math.floor(w)},hide:function(){var w=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){y.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){y.percent=0},100),y.options.autoRevert&&setTimeout(function(){w.revert()},300)})},y.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){y.percent=100,this.hide()},fail:function(){y.options.canSuccess=!1,y.percent=100,this.hide()},setFailColor:function(w){y.options.failedColor=w},setColor:function(w){y.options.color=w},setLocation:function(w){y.options.location=w},setTransition:function(w){y.options.transition=w},tempFailColor:function(w){this.state.tFailColor=y.options.failedColor,y.options.failedColor=w},tempColor:function(w){this.state.tColor=y.options.color,y.options.color=w},tempLocation:function(w){this.state.tLocation=y.options.location,y.options.location=w},tempTransition:function(w){this.state.tTransition=y.options.transition,y.options.transition=w},revertColor:function(){y.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){y.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){y.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){y.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){y.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(w){for(var N in w.func){var D=w.func[N];switch(D.call){case"color":switch(D.modifier){case"set":this.setColor(D.argument);break;case"temp":this.tempColor(D.argument);break}break;case"fail":switch(D.modifier){case"set":this.setFailColor(D.argument);break;case"temp":this.tempFailColor(D.argument);break}break;case"location":switch(D.modifier){case"set":this.setLocation(D.argument);break;case"temp":this.tempLocation(D.argument);break}break;case"transition":switch(D.modifier){case"set":this.setTransition(D.argument);break;case"temp":this.tempTransition(D.argument);break}break}}}};_.component("vue-progress-bar",m),_.config.globalProperties.$Progress=z}};n.default=p}})})(Ry);var uT=Ry.exports;const dT=Dl(uT);class $o extends Error{}class mT extends $o{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class fT extends $o{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class pT extends $o{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Bo extends $o{}class Fy extends $o{constructor(t){super(`Invalid unit ${t}`)}}class an extends $o{}class Pr extends $o{constructor(){super("Zone is an abstract class")}}const _e="numeric",Kn="short",wn="long",Za={year:_e,month:_e,day:_e},Vy={year:_e,month:Kn,day:_e},hT={year:_e,month:Kn,day:_e,weekday:Kn},Hy={year:_e,month:wn,day:_e},Uy={year:_e,month:wn,day:_e,weekday:wn},jy={hour:_e,minute:_e},By={hour:_e,minute:_e,second:_e},Wy={hour:_e,minute:_e,second:_e,timeZoneName:Kn},qy={hour:_e,minute:_e,second:_e,timeZoneName:wn},Gy={hour:_e,minute:_e,hourCycle:"h23"},Ky={hour:_e,minute:_e,second:_e,hourCycle:"h23"},Zy={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:Kn},Yy={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:wn},Xy={year:_e,month:_e,day:_e,hour:_e,minute:_e},Jy={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},Qy={year:_e,month:Kn,day:_e,hour:_e,minute:_e},e1={year:_e,month:Kn,day:_e,hour:_e,minute:_e,second:_e},_T={year:_e,month:Kn,day:_e,weekday:Kn,hour:_e,minute:_e},t1={year:_e,month:wn,day:_e,hour:_e,minute:_e,timeZoneName:Kn},n1={year:_e,month:wn,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:Kn},r1={year:_e,month:wn,day:_e,weekday:wn,hour:_e,minute:_e,timeZoneName:wn},o1={year:_e,month:wn,day:_e,weekday:wn,hour:_e,minute:_e,second:_e,timeZoneName:wn};class Ii{get type(){throw new Pr}get name(){throw new Pr}get ianaName(){return this.name}get isUniversal(){throw new Pr}offsetName(t,n){throw new Pr}formatOffset(t,n){throw new Pr}offset(t){throw new Pr}equals(t){throw new Pr}get isValid(){throw new Pr}}let fc=null;class Rl extends Ii{static get instance(){return fc===null&&(fc=new Rl),fc}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return f1(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 wa={};function gT(e){return wa[e]||(wa[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"})),wa[e]}const yT={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),[,o,s,i,a,l,u,d]=r;return[i,o,s,a,l,u,d]}function bT(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],a=yT[s];s==="era"?r[a]=i:Fe(a)||(r[a]=parseInt(i,10))}return r}let ea={};class Cr extends Ii{static create(t){return ea[t]||(ea[t]=new Cr(t)),ea[t]}static resetCache(){ea={},wa={}}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=Cr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return f1(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=gT(this.name);let[o,s,i,a,l,u,d]=r.formatToParts?bT(r,n):vT(r,n);a==="BC"&&(o=-Math.abs(o)+1);const f=Fl({year:o,month:s,day:i,hour:l===24?0:l,minute:u,second:d,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(f-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let Vf={};function zT(e,t={}){const n=JSON.stringify([e,t]);let r=Vf[n];return r||(r=new Intl.ListFormat(e,t),Vf[n]=r),r}let xu={};function Su(e,t={}){const n=JSON.stringify([e,t]);let r=xu[n];return r||(r=new Intl.DateTimeFormat(e,t),xu[n]=r),r}let Eu={};function CT(e,t={}){const n=JSON.stringify([e,t]);let r=Eu[n];return r||(r=new Intl.NumberFormat(e,t),Eu[n]=r),r}let $u={};function wT(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=$u[o];return s||(s=new Intl.RelativeTimeFormat(e,t),$u[o]=s),s}let Us=null;function kT(){return Us||(Us=new Intl.DateTimeFormat().resolvedOptions().locale,Us)}let Hf={};function xT(e){let t=Hf[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,Hf[e]=t}return t}function ST(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,o;try{r=Su(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);r=Su(l).resolvedOptions(),o=l}const{numberingSystem:s,calendar:i}=r;return[o,s,i]}}function ET(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function $T(e){const t=[];for(let n=1;n<=12;n++){const r=Le.utc(2009,n,1);t.push(e(r))}return t}function TT(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 ta(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function AT(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 OT{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:o,floor:s,...i}=r;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=CT(t,a)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):Bd(t,3);return It(n,this.padTo)}}}class PT{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&Cr.create(a).valid?(o=a,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||o,this.dtf=Su(n,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class IT{constructor(t,n,r){this.opts={style:"long",...r},!n&&d1()&&(this.rtf=wT(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):QT(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const LT={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,o,s=!1){const i=t||Ot.defaultLocale,a=i||(s?"en-US":kT()),l=n||Ot.defaultNumberingSystem,u=r||Ot.defaultOutputCalendar,d=Tu(o)||Ot.defaultWeekSettings;return new dt(a,l,u,d,i)}static resetCache(){Us=null,xu={},Eu={},$u={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:o}={}){return dt.create(t,n,r,o)}constructor(t,n,r,o,s){const[i,a,l]=ST(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=o,this.intl=ET(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=AT(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,Tu(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 ta(this,t,_1,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=$T(s=>this.extract(s,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return ta(this,t,v1,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=TT(s=>this.extract(s,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return ta(this,void 0,()=>b1,()=>{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 ta(this,t,z1,()=>{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 o=this.dtFormatter(t,n),s=o.formatToParts(),i=s.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new OT(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new PT(t,this.intl,n)}relFormatter(t={}){return new IT(this.intl,this.isEnglish(),t)}listFormatter(t={}){return zT(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:m1()?xT(this.locale):LT}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 pc=null;class Jt extends Ii{static get utcInstance(){return pc===null&&(pc=new Jt(0)),pc}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(Vl(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 NT extends Ii{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 Br(e,t){if(Fe(e)||e===null)return t;if(e instanceof Ii)return e;if(MT(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Rl.instance:n==="utc"||n==="gmt"?Jt.utcInstance:Jt.parseSpecifier(n)||Cr.create(e)}else return bo(e)?Jt.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new NT(e)}let Uf=()=>Date.now(),jf="system",Bf=null,Wf=null,qf=null,Gf=60,Kf,Zf=null;class Ot{static get now(){return Uf}static set now(t){Uf=t}static set defaultZone(t){jf=t}static get defaultZone(){return Br(jf,Rl.instance)}static get defaultLocale(){return Bf}static set defaultLocale(t){Bf=t}static get defaultNumberingSystem(){return Wf}static set defaultNumberingSystem(t){Wf=t}static get defaultOutputCalendar(){return qf}static set defaultOutputCalendar(t){qf=t}static get defaultWeekSettings(){return Zf}static set defaultWeekSettings(t){Zf=Tu(t)}static get twoDigitCutoffYear(){return Gf}static set twoDigitCutoffYear(t){Gf=t%100}static get throwOnInvalid(){return Kf}static set throwOnInvalid(t){Kf=t}static resetCaches(){dt.resetCache(),Cr.resetCache()}}class Bn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const s1=[0,31,59,90,120,151,181,212,243,273,304,334],i1=[0,31,60,91,121,152,182,213,244,274,305,335];function $n(e,t){return new Bn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Hd(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function a1(e,t,n){return n+(Li(e)?i1:s1)[t-1]}function l1(e,t){const n=Li(e)?i1:s1,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function Ud(e,t){return(e-t+7)%7+1}function Ya(e,t=4,n=1){const{year:r,month:o,day:s}=e,i=a1(r,o,s),a=Ud(Hd(r,o,s),n);let l=Math.floor((i-a+14-t)/7),u;return l<1?(u=r-1,l=vi(u,t,n)):l>vi(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:a,...Hl(e)}}function Yf(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:s}=e,i=Ud(Hd(r,1,t),n),a=ts(r);let l=o*7+s-i-7+t,u;l<1?(u=r-1,l+=ts(u)):l>a?(u=r+1,l-=ts(r)):u=r;const{month:d,day:m}=l1(u,l);return{year:u,month:d,day:m,...Hl(e)}}function hc(e){const{year:t,month:n,day:r}=e,o=a1(t,n,r);return{year:t,ordinal:o,...Hl(e)}}function Xf(e){const{year:t,ordinal:n}=e,{month:r,day:o}=l1(t,n);return{year:t,month:r,day:o,...Hl(e)}}function Jf(e,t){if(!Fe(e.localWeekday)||!Fe(e.localWeekNumber)||!Fe(e.localWeekYear)){if(!Fe(e.weekday)||!Fe(e.weekNumber)||!Fe(e.weekYear))throw new Bo("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 DT(e,t=4,n=1){const r=Ml(e.weekYear),o=Tn(e.weekNumber,1,vi(e.weekYear,t,n)),s=Tn(e.weekday,1,7);return r?o?s?!1:$n("weekday",e.weekday):$n("week",e.weekNumber):$n("weekYear",e.weekYear)}function RT(e){const t=Ml(e.year),n=Tn(e.ordinal,1,ts(e.year));return t?n?!1:$n("ordinal",e.ordinal):$n("year",e.year)}function c1(e){const t=Ml(e.year),n=Tn(e.month,1,12),r=Tn(e.day,1,Xa(e.year,e.month));return t?n?r?!1:$n("day",e.day):$n("month",e.month):$n("year",e.year)}function u1(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=Tn(t,0,23)||t===24&&n===0&&r===0&&o===0,i=Tn(n,0,59),a=Tn(r,0,59),l=Tn(o,0,999);return s?i?a?l?!1:$n("millisecond",o):$n("second",r):$n("minute",n):$n("hour",t)}function Fe(e){return typeof e>"u"}function bo(e){return typeof e=="number"}function Ml(e){return typeof e=="number"&&e%1===0}function MT(e){return typeof e=="string"}function FT(e){return Object.prototype.toString.call(e)==="[object Date]"}function d1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function m1(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function VT(e){return Array.isArray(e)?e:[e]}function Qf(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const s=[t(o),o];return r&&n(r[0],s[0])===r[0]?r:s},null)[1]}function HT(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function fs(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Tu(e){if(e==null)return null;if(typeof e!="object")throw new an("Week settings must be an object");if(!Tn(e.firstDay,1,7)||!Tn(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Tn(t,1,7)))throw new an("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Tn(e,t,n){return Ml(e)&&e>=t&&e<=n}function UT(e,t){return e-t*Math.floor(e/t)}function It(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 ao(e){if(!(Fe(e)||e===null||e===""))return parseFloat(e)}function jd(e){if(!(Fe(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Bd(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Li(e){return e%4===0&&(e%100!==0||e%400===0)}function ts(e){return Li(e)?366:365}function Xa(e,t){const n=UT(t-1,12)+1,r=e+(t-n)/12;return n===2?Li(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Fl(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 ep(e,t,n){return-Ud(Hd(e,1,t),n)+t-1}function vi(e,t=4,n=1){const r=ep(e,t,n),o=ep(e+1,t,n);return(ts(e)-r+o)/7}function Au(e){return e>99?e:e>Ot.twoDigitCutoffYear?1900+e:2e3+e}function f1(e,t,n,r=null){const o=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(s.timeZone=r);const i={timeZoneName:t,...s},a=new Intl.DateTimeFormat(n,i).formatToParts(o).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Vl(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function p1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new an(`Invalid unit value ${e}`);return t}function Ja(e,t){const n={};for(const r in e)if(fs(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=p1(o)}return n}function ei(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${It(n,2)}:${It(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${It(n,2)}${It(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Hl(e){return HT(e,["hour","minute","second","millisecond"])}const jT=["January","February","March","April","May","June","July","August","September","October","November","December"],h1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],BT=["J","F","M","A","M","J","J","A","S","O","N","D"];function _1(e){switch(e){case"narrow":return[...BT];case"short":return[...h1];case"long":return[...jT];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 g1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],y1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],WT=["M","T","W","T","F","S","S"];function v1(e){switch(e){case"narrow":return[...WT];case"short":return[...y1];case"long":return[...g1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const b1=["AM","PM"],qT=["Before Christ","Anno Domini"],GT=["BC","AD"],KT=["B","A"];function z1(e){switch(e){case"narrow":return[...KT];case"short":return[...GT];case"long":return[...qT];default:return null}}function ZT(e){return b1[e.hour<12?0:1]}function YT(e,t){return v1(t)[e.weekday-1]}function XT(e,t){return _1(t)[e.month-1]}function JT(e,t){return z1(t)[e.year<0?0:1]}function QT(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&s){const m=e==="days";switch(t){case 1:return m?"tomorrow":`next ${o[e][0]}`;case-1:return m?"yesterday":`last ${o[e][0]}`;case 0:return m?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,u=o[e],d=r?l?u[1]:u[2]||u[1]:l?o[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function tp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const eA={D:Za,DD:Vy,DDD:Hy,DDDD:Uy,t:jy,tt:By,ttt:Wy,tttt:qy,T:Gy,TT:Ky,TTT:Zy,TTTT:Yy,f:Xy,ff:Qy,fff:t1,ffff:r1,F:Jy,FF:e1,FFF:n1,FFFF:o1};class Wt{static create(t,n={}){return new Wt(t,n)}static parseFormat(t){let n=null,r="",o=!1;const s=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||a===n?r+=a:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(t){return eA[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 It(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",s=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?ZT(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?XT(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),u=(p,h)=>r?YT(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=Wt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},m=p=>r?JT(t,p):s({era:p},"era"),f=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return o?s({day:"numeric"},"day"):this.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?s({month:"numeric"},"month"):this.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?s({year:"numeric"},"year"):this.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return m("short");case"GG":return m("long");case"GGGGG":return m("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return tp(Wt.parseFormat(n),f)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=l=>u=>{const d=r(u);return d?this.num(l.get(d),u.length):u},s=Wt.parseFormat(n),i=s.reduce((l,{literal:u,val:d})=>u?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return tp(s,o(a))}}const C1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ks(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function xs(...e){return t=>e.reduce(([n,r,o],s)=>{const[i,a,l]=s(t,o);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function Ss(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function w1(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Hr(t[n+o]);return[r,null,n+o]}}const k1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,tA=`(?:${k1.source}?(?:\\[(${C1.source})\\])?)?`,Wd=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,x1=RegExp(`${Wd.source}${tA}`),qd=RegExp(`(?:T${x1.source})?`),nA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,rA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,oA=/(\d{4})-?(\d{3})/,sA=w1("weekYear","weekNumber","weekDay"),iA=w1("year","ordinal"),aA=/(\d{4})-(\d\d)-(\d\d)/,S1=RegExp(`${Wd.source} ?(?:${k1.source}|(${C1.source}))?`),lA=RegExp(`(?: ${S1.source})?`);function ns(e,t,n){const r=e[t];return Fe(r)?n:Hr(r)}function cA(e,t){return[{year:ns(e,t),month:ns(e,t+1,1),day:ns(e,t+2,1)},null,t+3]}function Es(e,t){return[{hours:ns(e,t,0),minutes:ns(e,t+1,0),seconds:ns(e,t+2,0),milliseconds:jd(e[t+3])},null,t+4]}function Ni(e,t){const n=!e[t]&&!e[t+1],r=Vl(e[t+1],e[t+2]),o=n?null:Jt.instance(r);return[{},o,t+3]}function Di(e,t){const n=e[t]?Cr.create(e[t]):null;return[{},n,t+1]}const uA=RegExp(`^T?${Wd.source}$`),dA=/^-?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 mA(e){const[t,n,r,o,s,i,a,l,u]=e,d=t[0]==="-",m=l&&l[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:f(ao(n)),months:f(ao(r)),weeks:f(ao(o)),days:f(ao(s)),hours:f(ao(i)),minutes:f(ao(a)),seconds:f(ao(l),l==="-0"),milliseconds:f(jd(u),m)}]}const fA={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Gd(e,t,n,r,o,s,i){const a={year:t.length===2?Au(Hr(t)):Hr(t),month:h1.indexOf(n)+1,day:Hr(r),hour:Hr(o),minute:Hr(s)};return i&&(a.second=Hr(i)),e&&(a.weekday=e.length>3?g1.indexOf(e)+1:y1.indexOf(e)+1),a}const pA=/^(?:(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 hA(e){const[,t,n,r,o,s,i,a,l,u,d,m]=e,f=Gd(t,o,r,n,s,i,a);let p;return l?p=fA[l]:u?p=0:p=Vl(d,m),[f,new Jt(p)]}function _A(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const gA=/^(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$/,yA=/^(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 np(e){const[,t,n,r,o,s,i,a]=e;return[Gd(t,o,r,n,s,i,a),Jt.utcInstance]}function bA(e){const[,t,n,r,o,s,i,a]=e;return[Gd(t,a,n,r,o,s,i),Jt.utcInstance]}const zA=ks(nA,qd),CA=ks(rA,qd),wA=ks(oA,qd),kA=ks(x1),E1=xs(cA,Es,Ni,Di),xA=xs(sA,Es,Ni,Di),SA=xs(iA,Es,Ni,Di),EA=xs(Es,Ni,Di);function $A(e){return Ss(e,[zA,E1],[CA,xA],[wA,SA],[kA,EA])}function TA(e){return Ss(_A(e),[pA,hA])}function AA(e){return Ss(e,[gA,np],[yA,np],[vA,bA])}function OA(e){return Ss(e,[dA,mA])}const PA=xs(Es);function IA(e){return Ss(e,[uA,PA])}const LA=ks(aA,lA),NA=ks(S1),DA=xs(Es,Ni,Di);function RA(e){return Ss(e,[LA,E1],[NA,DA])}const rp="Invalid Duration",$1={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}},MA={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},...$1},xn=146097/400,Io=146097/4800,FA={years:{quarters:4,months:12,weeks:xn/7,days:xn,hours:xn*24,minutes:xn*24*60,seconds:xn*24*60*60,milliseconds:xn*24*60*60*1e3},quarters:{months:3,weeks:xn/28,days:xn/4,hours:xn*24/4,minutes:xn*24*60/4,seconds:xn*24*60*60/4,milliseconds:xn*24*60*60*1e3/4},months:{weeks:Io/7,days:Io,hours:Io*24,minutes:Io*24*60,seconds:Io*24*60*60,milliseconds:Io*24*60*60*1e3},...$1},ho=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],VA=ho.slice(0).reverse();function Ir(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 Ge(r)}function T1(e,t){let n=t.milliseconds??0;for(const r of VA.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function op(e,t){const n=T1(e,t)<0?-1:1;ho.reduceRight((r,o)=>{if(Fe(t[o]))return r;if(r){const s=t[r]*n,i=e[o][r],a=Math.floor(s/i);t[o]+=a*n,t[r]-=a*i*n}return o},null),ho.reduce((r,o)=>{if(Fe(t[o]))return r;if(r){const s=t[r]%1;t[r]-=s,t[o]+=s*e[r][o]}return o},null)}function HA(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Ge{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?FA:MA;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 Ge.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 Ge({values:Ja(t,Ge.normalizeUnit),loc:dt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(bo(t))return Ge.fromMillis(t);if(Ge.isDuration(t))return t;if(typeof t=="object")return Ge.fromObject(t);throw new an(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=OA(t);return r?Ge.fromObject(r,n):Ge.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=IA(t);return r?Ge.fromObject(r,n):Ge.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 Bn?t:new Bn(t,n);if(Ot.throwOnInvalid)throw new pT(r);return new Ge({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 Fy(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Wt.create(this.loc,r).formatDurationFromString(this,t):rp}toHuman(t={}){if(!this.isValid)return rp;const n=ho.map(r=>{const o=this.values[r];return Fe(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(o)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Bd(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?T1(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Ge.fromDurationLike(t),r={};for(const o of ho)(fs(n.values,o)||fs(this.values,o))&&(r[o]=n.get(o)+this.get(o));return Ir(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Ge.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]=p1(t(this.values[r],r));return Ir(this,{values:n},!0)}get(t){return this[Ge.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Ja(t,Ge.normalizeUnit)};return Ir(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:o}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:r};return Ir(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return op(this.matrix,t),Ir(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=HA(this.normalize().shiftToAll().toObject());return Ir(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Ge.normalizeUnit(i));const n={},r={},o=this.toObject();let s;for(const i of ho)if(t.indexOf(i)>=0){s=i;let a=0;for(const u in r)a+=this.matrix[u][i]*r[u],r[u]=0;bo(o[i])&&(a+=o[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else bo(o[i])&&(r[i]=o[i]);for(const i in r)r[i]!==0&&(n[s]+=i===s?r[i]:r[i]/this.matrix[s][i]);return op(this.matrix,n),Ir(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 Ir(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of ho)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Lo="Invalid Interval";function UA(e,t){return!e||!e.isValid?$t.invalid("missing or invalid start"):!t||!t.isValid?$t.invalid("missing or invalid end"):t<e?$t.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 $t{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 Bn?t:new Bn(t,n);if(Ot.throwOnInvalid)throw new fT(r);return new $t({invalid:r})}static fromDateTimes(t,n){const r=Ls(t),o=Ls(n),s=UA(r,o);return s??new $t({start:r,end:o})}static after(t,n){const r=Ge.fromDurationLike(n),o=Ls(t);return $t.fromDateTimes(o,o.plus(r))}static before(t,n){const r=Ge.fromDurationLike(n),o=Ls(t);return $t.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,i;try{s=Le.fromISO(r,n),i=s.isValid}catch{i=!1}let a,l;try{a=Le.fromISO(o,n),l=a.isValid}catch{l=!1}if(i&&l)return $t.fromDateTimes(s,a);if(i){const u=Ge.fromISO(o,n);if(u.isValid)return $t.after(s,u)}else if(l){const u=Ge.fromISO(r,n);if(u.isValid)return $t.before(a,u)}}return $t.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let o;return n!=null&&n.useLocaleWeeks?o=this.end.reconfigure({locale:r.locale}):o=this.end,o=o.startOf(t,n),Math.floor(o.diff(r,t).get(t))+(o.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?$t.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Ls).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),r=[];let{s:o}=this,s=0;for(;o<this.e;){const i=n[s]||this.e,a=+i>+this.e?this.e:i;r.push($t.fromDateTimes(o,a)),o=a,s+=1}return r}splitBy(t){const n=Ge.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,s;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*o));s=+a>+this.e?this.e:a,i.push($t.fromDateTimes(r,s)),r=s,o+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:$t.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 $t.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,s)=>o.s-s.s).reduce(([o,s],i)=>s?s.overlaps(i)||s.abutsStart(i)?[o,s.union(i)]:[o.concat([s]),i]:[o,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],s=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...s),a=i.sort((l,u)=>l.time-u.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&o.push($t.fromDateTimes(n,l.time)),n=null);return $t.merge(o)}difference(...t){return $t.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Lo}[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=Za,n={}){return this.isValid?Wt.create(this.s.loc.clone(n),t).formatInterval(this):Lo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Lo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Lo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Lo}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Lo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ge.invalid(this.invalidReason)}mapEndpoints(t){return $t.fromDateTimes(t(this.s),t(this.e))}}class na{static hasDST(t=Ot.defaultZone){const n=Le.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Cr.isValidZone(t)}static normalizeZone(t){return Br(t,Ot.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:o=null,outputCalendar:s="gregory"}={}){return(o||dt.create(n,r,s)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||dt.create(n,r,s)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||dt.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||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:d1(),localeWeek:m1()}}}function sp(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Ge.fromMillis(r).as("days"))}function jA(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=sp(l,u);return(d-d%7)/7}],["days",sp]],o={},s=e;let i,a;for(const[l,u]of r)n.indexOf(l)>=0&&(i=l,o[l]=u(e,t),a=s.plus(o),a>t?(o[l]--,e=s.plus(o),e>t&&(a=e,o[l]--,e=s.plus(o))):e=a);return[e,o,a,i]}function BA(e,t,n,r){let[o,s,i,a]=jA(e,t,n);const l=t-o,u=n.filter(m=>["hours","minutes","seconds","milliseconds"].indexOf(m)>=0);u.length===0&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(s[a]=(s[a]||0)+l/(i-o)));const d=Ge.fromObject(s,r);return u.length>0?Ge.fromMillis(l,r).shiftTo(...u).plus(d):d}const Kd={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ip={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]},WA=Kd.hanidec.replace(/[\[|\]]/g,"").split("");function qA(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(Kd.hanidec)!==-1)t+=WA.indexOf(e[n]);else for(const o in ip){const[s,i]=ip[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}function Mn({numberingSystem:e},t=""){return new RegExp(`${Kd[e||"latn"]}${t}`)}const GA="missing Intl.DateTimeFormat.formatToParts support";function rt(e,t=n=>n){return{regex:e,deser:([n])=>t(qA(n))}}const KA=" ",A1=`[ ${KA}]`,O1=new RegExp(A1,"g");function ZA(e){return e.replace(/\./g,"\\.?").replace(O1,A1)}function ap(e){return e.replace(/\./g,"").replace(O1," ").toLowerCase()}function Fn(e,t){return e===null?null:{regex:RegExp(e.map(ZA).join("|")),deser:([n])=>e.findIndex(r=>ap(n)===ap(r))+t}}function lp(e,t){return{regex:e,deser:([,n,r])=>Vl(n,r),groups:t}}function ra(e){return{regex:e,deser:([t])=>t}}function YA(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function XA(e,t){const n=Mn(t),r=Mn(t,"{2}"),o=Mn(t,"{3}"),s=Mn(t,"{4}"),i=Mn(t,"{6}"),a=Mn(t,"{1,2}"),l=Mn(t,"{1,3}"),u=Mn(t,"{1,6}"),d=Mn(t,"{1,9}"),m=Mn(t,"{2,4}"),f=Mn(t,"{4,6}"),p=b=>({regex:RegExp(YA(b.val)),deser:([C])=>C,literal:!0}),_=(b=>{if(e.literal)return p(b);switch(b.val){case"G":return Fn(t.eras("short"),0);case"GG":return Fn(t.eras("long"),0);case"y":return rt(u);case"yy":return rt(m,Au);case"yyyy":return rt(s);case"yyyyy":return rt(f);case"yyyyyy":return rt(i);case"M":return rt(a);case"MM":return rt(r);case"MMM":return Fn(t.months("short",!0),1);case"MMMM":return Fn(t.months("long",!0),1);case"L":return rt(a);case"LL":return rt(r);case"LLL":return Fn(t.months("short",!1),1);case"LLLL":return Fn(t.months("long",!1),1);case"d":return rt(a);case"dd":return rt(r);case"o":return rt(l);case"ooo":return rt(o);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(o);case"u":return ra(d);case"uu":return ra(a);case"uuu":return rt(n);case"a":return Fn(t.meridiems(),0);case"kkkk":return rt(s);case"kk":return rt(m,Au);case"W":return rt(a);case"WW":return rt(r);case"E":case"c":return rt(n);case"EEE":return Fn(t.weekdays("short",!1),1);case"EEEE":return Fn(t.weekdays("long",!1),1);case"ccc":return Fn(t.weekdays("short",!0),1);case"cccc":return Fn(t.weekdays("long",!0),1);case"Z":case"ZZ":return lp(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return lp(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return ra(/[a-z_+-/]{1,256}?/i);case" ":return ra(/[^\S\n\r]/);default:return p(b)}})(e)||{invalidReason:GA};return _.token=e,_}const JA={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 QA(e,t,n){const{type:r,value:o}=e;if(r==="literal"){const l=/^\s+$/.test(o);return{literal:!l,val:l?" ":o}}const s=t[r];let i=r;r==="hour"&&(t.hour12!=null?i=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?i="hour12":i="hour24":i=n.hour12?"hour12":"hour24");let a=JA[i];if(typeof a=="object"&&(a=a[s]),a)return{literal:!1,val:a}}function eO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function tO(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if(fs(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(o[a.token.val[0]]=a.deser(r.slice(s,s+l))),s+=l}return[r,o]}else return[r,{}]}function nO(e){const t=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return Fe(e.z)||(n=Cr.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=jd(e.u)),[Object.keys(e).reduce((s,i)=>{const a=t(i);return a&&(s[a]=e[i]),s},{}),n,r]}let _c=null;function rO(){return _c||(_c=Le.fromMillis(1555555555555)),_c}function oO(e,t){if(e.literal)return e;const n=Wt.macroTokenToFormatOpts(e.val),r=L1(n,t);return r==null||r.includes(void 0)?e:r}function P1(e,t){return Array.prototype.concat(...e.map(n=>oO(n,t)))}function I1(e,t,n){const r=P1(Wt.parseFormat(n),e),o=r.map(i=>XA(i,e)),s=o.find(i=>i.invalidReason);if(s)return{input:t,tokens:r,invalidReason:s.invalidReason};{const[i,a]=eO(o),l=RegExp(i,"i"),[u,d]=tO(t,l,a),[m,f,p]=d?nO(d):[null,null,void 0];if(fs(d,"a")&&fs(d,"H"))throw new Bo("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:o,specificOffset:s,invalidReason:i}=I1(e,t,n);return[r,o,s,i]}function L1(e,t){if(!e)return null;const r=Wt.create(t,e).dtFormatter(rO()),o=r.formatToParts(),s=r.resolvedOptions();return o.map(i=>QA(i,e,s))}const gc="Invalid DateTime",cp=864e13;function oa(e){return new Bn("unsupported zone",`the zone "${e.name}" is not supported`)}function yc(e){return e.weekData===null&&(e.weekData=Ya(e.c)),e.weekData}function vc(e){return e.localWeekData===null&&(e.localWeekData=Ya(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function lo(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 N1(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const s=n.offset(r);return o===s?[r,o]:[e-Math.min(o,s)*60*1e3,Math.max(o,s)]}function sa(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 ka(e,t,n){return N1(Fl(e),t,n)}function up(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,s={...e.c,year:r,month:o,day:Math.min(e.c.day,Xa(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Ge.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=Fl(s);let[l,u]=N1(a,n,e.zone);return i!==0&&(l+=i,u=e.zone.offset(l)),{ts:l,o:u}}function Is(e,t,n,r,o,s){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,u=Le.fromObject(e,{...n,zone:l,specificOffset:s});return i?u:u.setZone(a)}else return Le.invalid(new Bn("unparsable",`the input "${o}" can't be parsed as ${r}`))}function ia(e,t,n=!0){return e.isValid?Wt.create(dt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function bc(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=It(e.c.year,n?6:4),t?(r+="-",r+=It(e.c.month),r+="-",r+=It(e.c.day)):(r+=It(e.c.month),r+=It(e.c.day)),r}function dp(e,t,n,r,o,s){let i=It(e.c.hour);return t?(i+=":",i+=It(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=It(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=It(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=It(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=It(Math.trunc(-e.o/60)),i+=":",i+=It(Math.trunc(-e.o%60))):(i+="+",i+=It(Math.trunc(e.o/60)),i+=":",i+=It(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}const D1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},iO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},aO={ordinal:1,hour:0,minute:0,second:0,millisecond:0},R1=["year","month","day","hour","minute","second","millisecond"],lO=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],cO=["year","ordinal","hour","minute","second","millisecond"];function uO(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 Fy(e);return t}function mp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return uO(e)}}function fp(e,t){const n=Br(t.zone,Ot.defaultZone),r=dt.fromObject(t),o=Ot.now();let s,i;if(Fe(e.year))s=o;else{for(const u of R1)Fe(e[u])&&(e[u]=D1[u]);const a=c1(e)||u1(e);if(a)return Le.invalid(a);const l=n.offset(o);[s,i]=ka(e,l,n)}return new Le({ts:s,zone:n,loc:r,o:i})}function pp(e,t,n){const r=Fe(n.round)?!0:n.round,o=(i,a)=>(i=Bd(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),s=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return o(s(n.unit),n.unit);for(const i of n.units){const a=s(i);if(Math.abs(a)>=1)return o(a,i)}return o(e>t?-0:0,n.units[n.units.length-1])}function hp(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||Ot.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Bn("invalid input"):null)||(n.isValid?null:oa(n));this.ts=Fe(t.ts)?Ot.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);o=sa(this.ts,a),r=Number.isNaN(o.year)?new Bn("invalid input"):null,o=r?null:o,s=r?null:a}this._zone=n,this.loc=t.loc||dt.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=o,this.o=s,this.isLuxonDateTime=!0}static now(){return new Le({})}static local(){const[t,n]=hp(arguments),[r,o,s,i,a,l,u]=n;return fp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static utc(){const[t,n]=hp(arguments),[r,o,s,i,a,l,u]=n;return t.zone=Jt.utcInstance,fp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=FT(t)?t.valueOf():NaN;if(Number.isNaN(r))return Le.invalid("invalid input");const o=Br(n.zone,Ot.defaultZone);return o.isValid?new Le({ts:r,zone:o,loc:dt.fromObject(n)}):Le.invalid(oa(o))}static fromMillis(t,n={}){if(bo(t))return t<-cp||t>cp?Le.invalid("Timestamp out of range"):new Le({ts:t,zone:Br(n.zone,Ot.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(bo(t))return new Le({ts:t*1e3,zone:Br(n.zone,Ot.defaultZone),loc:dt.fromObject(n)});throw new an("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Br(n.zone,Ot.defaultZone);if(!r.isValid)return Le.invalid(oa(r));const o=dt.fromObject(n),s=Ja(t,mp),{minDaysInFirstWeek:i,startOfWeek:a}=Jf(s,o),l=Ot.now(),u=Fe(n.specificOffset)?r.offset(l):n.specificOffset,d=!Fe(s.ordinal),m=!Fe(s.year),f=!Fe(s.month)||!Fe(s.day),p=m||f,h=s.weekYear||s.weekNumber;if((p||d)&&h)throw new Bo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&d)throw new Bo("Can't mix ordinal dates with month/day");const _=h||s.weekday&&!p;let b,C,k=sa(l,u);_?(b=lO,C=iO,k=Ya(k,i,a)):d?(b=cO,C=aO,k=hc(k)):(b=R1,C=D1);let y=!1;for(const V of b){const X=s[V];Fe(X)?y?s[V]=C[V]:s[V]=k[V]:y=!0}const z=_?DT(s,i,a):d?RT(s):c1(s),x=z||u1(s);if(x)return Le.invalid(x);const w=_?Yf(s,i,a):d?Xf(s):s,[N,D]=ka(w,u,r),O=new Le({ts:N,zone:r,o:D,loc:o});return s.weekday&&p&&t.weekday!==O.weekday?Le.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${O.toISO()}`):O}static fromISO(t,n={}){const[r,o]=$A(t);return Is(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=TA(t);return Is(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=AA(t);return Is(r,o,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:o=null,numberingSystem:s=null}=r,i=dt.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),[a,l,u,d]=sO(i,t,n);return d?Le.invalid(d):Is(a,l,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Le.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=RA(t);return Is(r,o,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 Bn?t:new Bn(t,n);if(Ot.throwOnInvalid)throw new mT(r);return new Le({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=L1(t,dt.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return P1(Wt.parseFormat(t),dt.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?yc(this).weekYear:NaN}get weekNumber(){return this.isValid?yc(this).weekNumber:NaN}get weekday(){return this.isValid?yc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?vc(this).weekday:NaN}get localWeekNumber(){return this.isValid?vc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?vc(this).weekYear:NaN}get ordinal(){return this.isValid?hc(this.c).ordinal:NaN}get monthShort(){return this.isValid?na.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?na.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?na.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?na.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=Fl(this.c),o=this.zone.offset(r-t),s=this.zone.offset(r+t),i=this.zone.offset(r-o*n),a=this.zone.offset(r-s*n);if(i===a)return[this];const l=r-i*n,u=r-a*n,d=sa(l,i),m=sa(u,a);return d.hour===m.hour&&d.minute===m.minute&&d.second===m.second&&d.millisecond===m.millisecond?[lo(this,{ts:l}),lo(this,{ts:u})]:[this]}get isInLeapYear(){return Li(this.year)}get daysInMonth(){return Xa(this.year,this.month)}get daysInYear(){return this.isValid?ts(this.year):NaN}get weeksInWeekYear(){return this.isValid?vi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?vi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=Wt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(Jt.instance(t),n)}toLocal(){return this.setZone(Ot.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Br(t,Ot.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),i=this.toObject();[o]=ka(i,s,t)}return lo(this,{ts:o,zone:t})}else return Le.invalid(oa(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return lo(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Ja(t,mp),{minDaysInFirstWeek:r,startOfWeek:o}=Jf(n,this.loc),s=!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 Bo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new Bo("Can't mix ordinal dates with month/day");let m;s?m=Yf({...Ya(this.c,r,o),...n},r,o):Fe(n.ordinal)?(m={...this.toObject(),...n},Fe(n.day)&&(m.day=Math.min(Xa(m.year,m.month),m.day))):m=Xf({...hc(this.c),...n});const[f,p]=ka(m,this.o,this.zone);return lo(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=Ge.fromDurationLike(t);return lo(this,up(this,n))}minus(t){if(!this.isValid)return this;const n=Ge.fromDurationLike(t).negate();return lo(this,up(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},o=Ge.normalizeUnit(t);switch(o){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(o==="weeks")if(n){const s=this.loc.getStartOfWeek(),{weekday:i}=this;i<s&&(r.weekNumber=this.weekNumber-1),r.weekday=s}else r.weekday=1;if(o==="quarters"){const s=Math.ceil(this.month/3);r.month=(s-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?Wt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):gc}toLocaleString(t=Za,n={}){return this.isValid?Wt.create(this.loc.clone(n),t).formatDateTime(this):gc}toLocaleParts(t={}){return this.isValid?Wt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=bc(this,i);return a+="T",a+=dp(this,i,n,r,o,s),a}toISODate({format:t="extended"}={}){return this.isValid?bc(this,t==="extended"):null}toISOWeekDate(){return ia(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(o?"T":"")+dp(this,i==="extended",n,t,r,s):null}toRFC2822(){return ia(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ia(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?bc(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),ia(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():gc}[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 Ge.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=VT(n).map(Ge.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,u=BA(a,l,s,o);return i?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Le.now(),t,n)}until(t){return this.isValid?$t.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const o=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(n,r)<=o&&o<=s.endOf(n,r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||Le.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(o=t.unit,s=void 0),pp(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?pp(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 Qf(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Le.isDateTime))throw new an("max requires all arguments be DateTimes");return Qf(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:s=null}=r,i=dt.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});return I1(i,t,n)}static fromStringExplain(t,n,r={}){return Le.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return Za}static get DATE_MED(){return Vy}static get DATE_MED_WITH_WEEKDAY(){return hT}static get DATE_FULL(){return Hy}static get DATE_HUGE(){return Uy}static get TIME_SIMPLE(){return jy}static get TIME_WITH_SECONDS(){return By}static get TIME_WITH_SHORT_OFFSET(){return Wy}static get TIME_WITH_LONG_OFFSET(){return qy}static get TIME_24_SIMPLE(){return Gy}static get TIME_24_WITH_SECONDS(){return Ky}static get TIME_24_WITH_SHORT_OFFSET(){return Zy}static get TIME_24_WITH_LONG_OFFSET(){return Yy}static get DATETIME_SHORT(){return Xy}static get DATETIME_SHORT_WITH_SECONDS(){return Jy}static get DATETIME_MED(){return Qy}static get DATETIME_MED_WITH_SECONDS(){return e1}static get DATETIME_MED_WITH_WEEKDAY(){return _T}static get DATETIME_FULL(){return t1}static get DATETIME_FULL_WITH_SECONDS(){return n1}static get DATETIME_HUGE(){return r1}static get DATETIME_HUGE_WITH_SECONDS(){return o1}}function Ls(e){if(Le.isDateTime(e))return e;if(e&&e.valueOf&&bo(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:zc,locale:Cc}=Il.global,dO={channels(e){return e===1?zc("filter.mono"):e===2?zc("filter.stereo"):e?zc("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(Cc.value).toLocaleString(Le.DATE_FULL)},datetime(e){return Le.fromISO(e).setLocale(Cc.value).toLocaleString(Le.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Ge.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Ge.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Ge.fromObject({minutes:t}).shiftTo("minutes").toHuman()},durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return Ge.fromMillis(e).toFormat(t)},number(e){return e.toLocaleString(Cc.value)},timeFromNow(e){const t=Le.now().diff(Le.fromISO(e));return this.durationInDays(t.as("milliseconds"))}},mO={mdiAccountMusic:bS,mdiAlbum:zS,mdiArrowCollapseDown:wS,mdiBookOpenPageVariant:kS,mdiBookOpenVariant:xS,mdiBookshelf:SS,mdiBroadcast:ES,mdiCancel:Nl,mdiCast:$S,mdiCastVariant:TS,mdiCellphone:AS,mdiCheck:OS,mdiChevronDown:PS,mdiChevronUp:IS,mdiContentSave:LS,mdiDelete:NS,mdiDeleteEmpty:DS,mdiDotsHorizontal:RS,mdiDotsVertical:MS,mdiDragHorizontal:FS,mdiFastForward30:VS,mdiFileMusic:HS,mdiFileOutline:US,mdiFire:jS,mdiFolder:BS,mdiFolderOpen:WS,mdiHistory:qS,mdiLoading:GS,mdiMagnify:KS,mdiMenu:ZS,mdiMicrophone:YS,mdiMusic:XS,mdiMusicBoxMultiple:JS,mdiOpenInNew:QS,mdiPause:eE,mdiPencil:tE,mdiPipe:nE,mdiPlay:rE,mdiPlaylistPlay:oE,mdiPlaylistPlus:sE,mdiRadio:iE,mdiRadioTower:aE,mdiRefresh:lE,mdiRepeat:cE,mdiRepeatOff:uE,mdiRepeatOnce:dE,mdiRewind10:mE,mdiRss:fE,mdiScriptTextOutline:pE,mdiScriptTextPlay:hE,mdiServer:_E,mdiShuffle:gE,mdiShuffleDisabled:yE,mdiSkipBackward:vE,mdiSkipForward:bE,mdiSpeaker:zE,mdiSpotify:CE,mdiStop:wE,mdiSubdirectoryArrowLeft:kE,mdiVolumeHigh:xE,mdiVolumeOff:SE,mdiWeb:EE},fO={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}},pO=e=>e.charAt(0).toUpperCase()+e.slice(1),hO=e=>e.split("-").map(pO).join(""),_O=(e,t,n)=>{const r=e[`mdi${hO(t.name)}`]||CS,o={role:t.role,"aria-label":t.ariaLabel,...n},s={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:o,svgAttrs:s,pathAttrs:{d:r}}},gO=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),yO=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:fO,...t,render:e(r)})}}),vO=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=_O(e,this,this.$attrs);return or("span",{...n,class:gO(this,this)},[or("svg",r,[this.title?or("title",[this.title]):void 0,or("path",o)])])},bO=yO(vO);/*!
|
||
* vue-router v4.3.2
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Ho=typeof document<"u";function zO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ct=Object.assign;function wc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Zn(o)?o.map(e):e(o)}return n}const ti=()=>{},Zn=Array.isArray,M1=/#/g,CO=/&/g,wO=/\//g,kO=/=/g,xO=/\?/g,F1=/\+/g,SO=/%5B/g,EO=/%5D/g,V1=/%5E/g,$O=/%60/g,H1=/%7B/g,TO=/%7C/g,U1=/%7D/g,AO=/%20/g;function Zd(e){return encodeURI(""+e).replace(TO,"|").replace(SO,"[").replace(EO,"]")}function OO(e){return Zd(e).replace(H1,"{").replace(U1,"}").replace(V1,"^")}function Ou(e){return Zd(e).replace(F1,"%2B").replace(AO,"+").replace(M1,"%23").replace(CO,"%26").replace($O,"`").replace(H1,"{").replace(U1,"}").replace(V1,"^")}function PO(e){return Ou(e).replace(kO,"%3D")}function IO(e){return Zd(e).replace(M1,"%23").replace(xO,"%3F")}function LO(e){return e==null?"":IO(e).replace(wO,"%2F")}function bi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const NO=/\/$/,DO=e=>e.replace(NO,"");function kc(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=VO(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:bi(i)}}function RO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function _p(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function MO(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ps(t.matched[r],n.matched[o])&&j1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function j1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!FO(e[n],t[n]))return!1;return!0}function FO(e,t){return Zn(e)?gp(e,t):Zn(t)?gp(t,e):e===t}function gp(e,t){return Zn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function VO(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var 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 HO(e){if(!e)if(Ho){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DO(e)}const UO=/^[^#]+#/;function jO(e,t){return e.replace(UO,"#")+t}function BO(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 Ul=()=>({left:window.scrollX,top:window.scrollY});function WO(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=BO(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function yp(e,t){return(history.state?history.state.position-t:-1)+e}const Pu=new Map;function qO(e,t){Pu.set(e,t)}function GO(e){const t=Pu.get(e);return Pu.delete(e),t}let KO=()=>location.protocol+"//"+location.host;function B1(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),_p(l,"")}return _p(n,e)+r+o}function ZO(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=B1(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);o.forEach(C=>{C(n.value,h,{delta:b,type:zi.pop,direction:b?b>0?ni.forward:ni.back:ni.unknown})})};function l(){i=n.value}function u(f){o.push(f);const p=()=>{const h=o.indexOf(f);h>-1&&o.splice(h,1)};return s.push(p),p}function d(){const{history:f}=window;f.state&&f.replaceState(ct({},f.state,{scroll:Ul()}),"")}function m(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:u,destroy:m}}function vp(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ul():null}}function YO(e){const{history:t,location:n}=window,r={value:B1(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,d){const m=e.indexOf("#"),f=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:KO()+e+l;try{t[d?"replaceState":"pushState"](u,"",f),o.value=u}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function i(l,u){const d=ct({},t.state,vp(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,d,!0),r.value=l}function a(l,u){const d=ct({},o.value,t.state,{forward:l,scroll:Ul()});s(d.current,d,!0);const m=ct({},vp(r.value,l,null),{position:d.position+1},u);s(l,m,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function XO(e){e=HO(e);const t=YO(e),n=ZO(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ct({location:"",base:e,go:r,createHref:jO.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function JO(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),XO(e)}function QO(e){return typeof e=="string"||e&&typeof e=="object"}function W1(e){return typeof e=="string"||typeof e=="symbol"}const Lr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},q1=Symbol("");var bp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(bp||(bp={}));function hs(e,t){return ct(new Error,{type:e,[q1]:!0},t)}function fr(e,t){return e instanceof Error&&q1 in e&&(t==null||!!(e.type&t))}const zp="[^/]+?",e8={sensitive:!1,strict:!1,start:!0,end:!0},t8=/[.+*?^${}()[\]/\\]/g;function n8(e,t){const n=ct({},e8,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const d=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let m=0;m<u.length;m++){const f=u[m];let p=40+(n.sensitive?.25:0);if(f.type===0)m||(o+="/"),o+=f.value.replace(t8,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:b,regexp:C}=f;s.push({name:h,repeatable:_,optional:b});const k=C||zp;if(k!==zp){p+=10;try{new RegExp(`(${k})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${h}" (${k}): `+z.message)}}let y=_?`((?:${k})(?:/(?:${k}))*)`:`(${k})`;m||(y=b&&u.length<2?`(?:/${y})`:"/"+y),b&&(y+="?"),o+=y,p+=20,b&&(p+=-8),_&&(p+=-20),k===".*"&&(p+=-50)}d.push(p)}r.push(d)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(u){const d=u.match(i),m={};if(!d)return null;for(let f=1;f<d.length;f++){const p=d[f]||"",h=s[f-1];m[h.name]=p&&h.repeatable?p.split("/"):p}return m}function l(u){let d="",m=!1;for(const f of e){(!m||!d.endsWith("/"))&&(d+="/"),m=!1;for(const p of f)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:b}=p,C=h in u?u[h]:"";if(Zn(C)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const k=Zn(C)?C.join("/"):C;if(!k)if(b)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);d+=k}}return d||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function r8(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 o8(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=r8(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Cp(r))return 1;if(Cp(o))return-1}return o.length-r.length}function Cp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const s8={type:0,value:""},i8=/[a-zA-Z0-9_]/;function a8(e){if(!e)return[[]];if(e==="/")return[[s8]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",d="";function m(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&m(),i()):l===":"?(m(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:i8.test(l)?f():(m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),m(),i(),o}function l8(e,t,n){const r=n8(a8(e.path),n),o=ct(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function c8(e,t){const n=[],r=new Map;t=xp({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function s(d,m,f){const p=!f,h=u8(d);h.aliasOf=f&&f.record;const _=xp(t,d),b=[h];if("alias"in d){const y=typeof d.alias=="string"?[d.alias]:d.alias;for(const z of y)b.push(ct({},h,{components:f?f.record.components:h.components,path:z,aliasOf:f?f.record:h}))}let C,k;for(const y of b){const{path:z}=y;if(m&&z[0]!=="/"){const x=m.record.path,w=x[x.length-1]==="/"?"":"/";y.path=m.record.path+(z&&w+z)}if(C=l8(y,m,_),f?f.alias.push(C):(k=k||C,k!==C&&k.alias.push(C),p&&d.name&&!kp(C)&&i(d.name)),h.children){const x=h.children;for(let w=0;w<x.length;w++)s(x[w],C,f&&f.children[w])}f=f||C,(C.record.components&&Object.keys(C.record.components).length||C.record.name||C.record.redirect)&&l(C)}return k?()=>{i(k)}:ti}function i(d){if(W1(d)){const m=r.get(d);m&&(r.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let m=0;for(;m<n.length&&o8(d,n[m])>=0&&(d.record.path!==n[m].record.path||!G1(d,n[m]));)m++;n.splice(m,0,d),d.record.name&&!kp(d)&&r.set(d.record.name,d)}function u(d,m){let f,p={},h,_;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw hs(1,{location:d});_=f.record.name,p=ct(wp(m.params,f.keys.filter(k=>!k.optional).concat(f.parent?f.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),d.params&&wp(d.params,f.keys.map(k=>k.name))),h=f.stringify(p)}else if(d.path!=null)h=d.path,f=n.find(k=>k.re.test(h)),f&&(p=f.parse(h),_=f.record.name);else{if(f=m.name?r.get(m.name):n.find(k=>k.re.test(m.path)),!f)throw hs(1,{location:d,currentLocation:m});_=f.record.name,p=ct({},m.params,d.params),h=f.stringify(p)}const b=[];let C=f;for(;C;)b.unshift(C.record),C=C.parent;return{name:_,path:h,params:p,matched:b,meta:m8(b)}}return e.forEach(d=>s(d)),{addRoute:s,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function wp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function u8(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:d8(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 d8(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 kp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function m8(e){return e.reduce((t,n)=>ct(t,n.meta),{})}function xp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function G1(e,t){return t.children.some(n=>n===e||G1(e,n))}function f8(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(F1," "),i=s.indexOf("="),a=bi(i<0?s:s.slice(0,i)),l=i<0?null:bi(s.slice(i+1));if(a in t){let u=t[a];Zn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Sp(e){let t="";for(let n in e){const r=e[n];if(n=PO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Zn(r)?r.map(s=>s&&Ou(s)):[r&&Ou(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function p8(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Zn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const h8=Symbol(""),Ep=Symbol(""),Yd=Symbol(""),K1=Symbol(""),Iu=Symbol("");function Ns(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ur(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=f=>{f===!1?l(hs(4,{from:n,to:t})):f instanceof Error?l(f):QO(f)?l(hs(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},d=s(()=>e.call(r&&r.instances[o],t,n,u));let m=Promise.resolve(d);e.length<3&&(m=m.then(u)),m.catch(f=>l(f))})}function xc(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(_8(l)){const d=(l.__vccOpts||l)[t];d&&s.push(Ur(d,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const m=zO(d)?d.default:d;i.components[a]=m;const p=(m.__vccOpts||m)[t];return p&&Ur(p,n,r,i,a,o)()}))}}return s}function _8(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $p(e){const t=Wn(Yd),n=Wn(K1),r=Ft(()=>{const l=vn(e.to);return t.resolve(l)}),o=Ft(()=>{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(ps.bind(null,d));if(f>-1)return f;const p=Tp(l[u-2]);return u>1&&Tp(d)===p&&m[m.length-1].path!==p?m.findIndex(ps.bind(null,l[u-2])):f}),s=Ft(()=>o.value>-1&&b8(n.params,r.value.params)),i=Ft(()=>o.value>-1&&o.value===n.matched.length-1&&j1(n.params,r.value.params));function a(l={}){return v8(l)?t[vn(e.replace)?"replace":"push"](vn(e.to)).catch(ti):Promise.resolve()}return{route:r,href:Ft(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const g8=wr({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:$p,setup(e,{slots:t}){const n=bs($p(e)),{options:r}=Wn(Yd),o=Ft(()=>({[Ap(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ap(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:or("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),y8=g8;function v8(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 b8(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Zn(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Tp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ap=(e,t,n)=>e??t??n,z8=wr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Wn(Iu),o=Ft(()=>e.route||r.value),s=Wn(Ep,0),i=Ft(()=>{let u=vn(s);const{matched:d}=o.value;let m;for(;(m=d[u])&&!m.components;)u++;return u}),a=Ft(()=>o.value.matched[i.value]);Zs(Ep,Ft(()=>i.value+1)),Zs(h8,a),Zs(Iu,o);const l=sr();return Cn(()=>[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||!ps(d,p)||!f)&&(d.enterCallbacks[m]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=o.value,d=e.name,m=a.value,f=m&&m.components[d];if(!f)return Op(n.default,{Component:f,route:u});const p=m.props[d],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,b=or(f,ct({},h,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(m.instances[d]=null)},ref:l}));return Op(n.default,{Component:b,route:u})||b}}});function Op(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const C8=z8;function w8(e){const t=c8(e.routes,e),n=e.parseQuery||f8,r=e.stringifyQuery||Sp,o=e.history,s=Ns(),i=Ns(),a=Ns(),l=gd(Lr);let u=Lr;Ho&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=wc.bind(null,G=>""+G),m=wc.bind(null,LO),f=wc.bind(null,bi);function p(G,de){let ce,ge;return W1(G)?(ce=t.getRecordMatcher(G),ge=de):ge=G,t.addRoute(ge,ce)}function h(G){const de=t.getRecordMatcher(G);de&&t.removeRoute(de)}function _(){return t.getRoutes().map(G=>G.record)}function b(G){return!!t.getRecordMatcher(G)}function C(G,de){if(de=ct({},de||l.value),typeof G=="string"){const I=kc(n,G,de.path),B=t.resolve({path:I.path},de),Q=o.createHref(I.fullPath);return ct(I,B,{params:f(B.params),hash:bi(I.hash),redirectedFrom:void 0,href:Q})}let ce;if(G.path!=null)ce=ct({},G,{path:kc(n,G.path,de.path).path});else{const I=ct({},G.params);for(const B in I)I[B]==null&&delete I[B];ce=ct({},G,{params:m(I)}),de.params=m(de.params)}const ge=t.resolve(ce,de),Ue=G.hash||"";ge.params=d(f(ge.params));const qe=RO(r,ct({},G,{hash:OO(Ue),path:ge.path})),T=o.createHref(qe);return ct({fullPath:qe,hash:Ue,query:r===Sp?p8(G.query):G.query||{}},ge,{redirectedFrom:void 0,href:T})}function k(G){return typeof G=="string"?kc(n,G,l.value.path):ct({},G)}function y(G,de){if(u!==G)return hs(8,{from:de,to:G})}function z(G){return N(G)}function x(G){return z(ct(k(G),{replace:!0}))}function w(G){const de=G.matched[G.matched.length-1];if(de&&de.redirect){const{redirect:ce}=de;let ge=typeof ce=="function"?ce(G):ce;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=k(ge):{path:ge},ge.params={}),ct({query:G.query,hash:G.hash,params:ge.path!=null?{}:G.params},ge)}}function N(G,de){const ce=u=C(G),ge=l.value,Ue=G.state,qe=G.force,T=G.replace===!0,I=w(ce);if(I)return N(ct(k(I),{state:typeof I=="object"?ct({},Ue,I.state):Ue,force:qe,replace:T}),de||ce);const B=ce;B.redirectedFrom=de;let Q;return!qe&&MO(r,ge,ce)&&(Q=hs(16,{to:B,from:ge}),Ve(ge,ge,!0,!1)),(Q?Promise.resolve(Q):V(B,ge)).catch(Y=>fr(Y)?fr(Y,2)?Y:ot(Y):ae(Y,B,ge)).then(Y=>{if(Y){if(fr(Y,2))return N(ct({replace:T},k(Y.to),{state:typeof Y.to=="object"?ct({},Ue,Y.to.state):Ue,force:qe}),de||B)}else Y=U(B,ge,!0,T,Ue);return X(B,ge,Y),Y})}function D(G,de){const ce=y(G,de);return ce?Promise.reject(ce):Promise.resolve()}function O(G){const de=it.values().next().value;return de&&typeof de.runWithContext=="function"?de.runWithContext(G):G()}function V(G,de){let ce;const[ge,Ue,qe]=k8(G,de);ce=xc(ge.reverse(),"beforeRouteLeave",G,de);for(const I of ge)I.leaveGuards.forEach(B=>{ce.push(Ur(B,G,de))});const T=D.bind(null,G,de);return ce.push(T),Ne(ce).then(()=>{ce=[];for(const I of s.list())ce.push(Ur(I,G,de));return ce.push(T),Ne(ce)}).then(()=>{ce=xc(Ue,"beforeRouteUpdate",G,de);for(const I of Ue)I.updateGuards.forEach(B=>{ce.push(Ur(B,G,de))});return ce.push(T),Ne(ce)}).then(()=>{ce=[];for(const I of qe)if(I.beforeEnter)if(Zn(I.beforeEnter))for(const B of I.beforeEnter)ce.push(Ur(B,G,de));else ce.push(Ur(I.beforeEnter,G,de));return ce.push(T),Ne(ce)}).then(()=>(G.matched.forEach(I=>I.enterCallbacks={}),ce=xc(qe,"beforeRouteEnter",G,de,O),ce.push(T),Ne(ce))).then(()=>{ce=[];for(const I of i.list())ce.push(Ur(I,G,de));return ce.push(T),Ne(ce)}).catch(I=>fr(I,8)?I:Promise.reject(I))}function X(G,de,ce){a.list().forEach(ge=>O(()=>ge(G,de,ce)))}function U(G,de,ce,ge,Ue){const qe=y(G,de);if(qe)return qe;const T=de===Lr,I=Ho?history.state:{};ce&&(ge||T?o.replace(G.fullPath,ct({scroll:T&&I&&I.scroll},Ue)):o.push(G.fullPath,Ue)),l.value=G,Ve(G,de,ce,T),ot()}let W;function ne(){W||(W=o.listen((G,de,ce)=>{if(!lt.listening)return;const ge=C(G),Ue=w(ge);if(Ue){N(ct(Ue,{replace:!0}),ge).catch(ti);return}u=ge;const qe=l.value;Ho&&qO(yp(qe.fullPath,ce.delta),Ul()),V(ge,qe).catch(T=>fr(T,12)?T:fr(T,2)?(N(T.to,ge).then(I=>{fr(I,20)&&!ce.delta&&ce.type===zi.pop&&o.go(-1,!1)}).catch(ti),Promise.reject()):(ce.delta&&o.go(-ce.delta,!1),ae(T,ge,qe))).then(T=>{T=T||U(ge,qe,!1),T&&(ce.delta&&!fr(T,8)?o.go(-ce.delta,!1):ce.type===zi.pop&&fr(T,20)&&o.go(-1,!1)),X(ge,qe,T)}).catch(ti)}))}let he=Ns(),Z=Ns(),se;function ae(G,de,ce){ot(G);const ge=Z.list();return ge.length?ge.forEach(Ue=>Ue(G,de,ce)):console.error(G),Promise.reject(G)}function Be(){return se&&l.value!==Lr?Promise.resolve():new Promise((G,de)=>{he.add([G,de])})}function ot(G){return se||(se=!G,ne(),he.list().forEach(([de,ce])=>G?ce(G):de()),he.reset()),G}function Ve(G,de,ce,ge){const{scrollBehavior:Ue}=e;if(!Ho||!Ue)return Promise.resolve();const qe=!ce&&GO(yp(G.fullPath,0))||(ge||!ce)&&history.state&&history.state.scroll||null;return zs().then(()=>Ue(G,de,qe)).then(T=>T&&WO(T)).catch(T=>ae(T,G,de))}const He=G=>o.go(G);let st;const it=new Set,lt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:_,resolve:C,options:e,push:z,replace:x,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:Z.add,isReady:Be,install(G){const de=this;G.component("RouterLink",y8),G.component("RouterView",C8),G.config.globalProperties.$router=de,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>vn(l)}),Ho&&!st&&l.value===Lr&&(st=!0,z(o.location).catch(Ue=>{}));const ce={};for(const Ue in Lr)Object.defineProperty(ce,Ue,{get:()=>l.value[Ue],enumerable:!0});G.provide(Yd,de),G.provide(K1,md(ce)),G.provide(Iu,l);const ge=G.unmount;it.add(G),G.unmount=function(){it.delete(G),it.size<1&&(u=Lr,W&&W(),W=null,l.value=Lr,st=!1,se=!1),ge()}}};function Ne(G){return G.reduce((de,ce)=>de.then(()=>O(ce)),Promise.resolve())}return lt}function k8(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(u=>ps(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>ps(u,l))||o.push(l))}return[n,r,o]}const x8={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(ki,!0)}}},S8={class:"section"},E8={class:"container"},$8={class:"columns is-centered"},T8={class:"column is-four-fifths has-text-centered-mobile"},A8=["textContent"],O8={class:"section"},P8={class:"container"},I8={class:"columns is-centered"},L8={class:"column is-four-fifths"},N8={class:"content"},D8={class:"level is-mobile"},R8={class:"level-left"},M8={class:"level-item"},F8=["textContent"],V8={class:"level-right"},H8={key:0},U8=["textContent"],j8={key:1},B8=["textContent"],W8={class:"table"},q8=["textContent"],G8=["textContent"],K8=["textContent"],Z8=["textContent"],Y8=["textContent"],X8=["textContent"],J8=["textContent"],Q8=["textContent"],eP=["textContent"],tP={class:"has-text-right"},nP=["textContent"],rP=["textContent"],oP=["textContent"],sP={class:"has-text-right"},iP=["textContent"],aP=["textContent"],lP={class:"section"},cP={class:"container"},uP={class:"columns is-centered"},dP={class:"column is-four-fifths"},mP={class:"content has-text-centered-mobile"},fP=["textContent"],pP=["textContent"],hP=c("a",{href:"https://bulma.io"},"Bulma",-1),_P=c("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),gP=c("a",{href:"https://vuejs.org/"},"Vue.js",-1),yP=c("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),vP=["textContent"];function bP(e,t,n,r,o,s){const i=A("i18n-t");return E(),P("div",null,[c("section",S8,[c("div",E8,[c("div",$8,[c("div",T8,[c("h1",{class:"title is-4",textContent:g(s.config.library_name)},null,8,A8)])])])]),c("section",O8,[c("div",P8,[c("div",I8,[c("div",L8,[c("div",N8,[c("nav",D8,[c("div",R8,[c("div",M8,[c("p",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,F8)])]),c("div",V8,[s.library.updating?(E(),P("div",H8,[c("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,U8)])):(E(),P("div",j8,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>s.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,B8)]))])]),c("table",W8,[c("tbody",null,[c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,q8),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.artists))},null,8,G8)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,K8),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.albums))},null,8,Z8)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,Y8),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.songs))},null,8,X8)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,J8),c("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(s.library.db_playtime*1e3))},null,8,Q8)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,eP),c("td",tP,[c("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,nP),xt(" ("),c("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.updated_at))},null,8,rP),xt(") ")])]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,oP),c("td",sP,[c("span",{textContent:g(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,iP),xt(" ("),c("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.started_at))},null,8,aP),xt(") ")])])])])])])])])]),c("section",lP,[c("div",cP,[c("div",uP,[c("div",dP,[c("div",mP,[c("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:s.config.version}))},null,8,fP),c("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:s.config.buildoptions.join(", ")}))},null,8,pP),v(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:L(()=>[hP]),mdi:L(()=>[_P]),vuejs:L(()=>[gP]),axios:L(()=>[yP]),others:L(()=>[c("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:g(e.$t("page.about.more"))},null,8,vP)]),_:1})])])])])])])}const zP=ie(x8,[["render",bP]]),CP={},wP={class:"hero is-light is-bold"},kP={class:"hero-body"},xP={class:"container"},SP={class:"columns is-centered"},EP={class:"column is-four-fifths"},$P={class:"columns is-flex-direction-row-reverse"},TP={class:"column fd-has-cover"},AP={class:"column m-auto is-three-fifths has-text-centered-mobile"},OP={class:"section pt-0"},PP={class:"container"},IP={class:"columns is-centered"},LP={class:"column is-four-fifths"};function NP(e,t){return E(),P(Ce,null,[c("section",wP,[c("div",kP,[c("div",xP,[c("div",SP,[c("div",EP,[c("div",$P,[c("div",TP,[vt(e.$slots,"heading-right")]),c("div",AP,[vt(e.$slots,"heading-left")])])])])])])]),c("section",OP,[c("div",PP,[c("div",IP,[c("div",LP,[vt(e.$slots,"content"),vt(e.$slots,"footer")])])])])],64)}const jl=ie(CP,[["render",NP]]),DP=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},RP=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,MP=e=>{const t=DP(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="${RP(t)>.5?"#000000":"#FFFFFF"}">
|
||
${e.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},FP={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},artwork_url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return MP({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function VP(e,t,n,r,o,s){const i=Cd("lazy");return E(),P("figure",null,[pt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.artwork_url,lifecycle:o.lifecycle}]])])}const xr=ie(FP,[["render",VP]]),{t:aa,locale:HP}=Il.global,Z1="NO_INDEX",UP=(e,t)=>e-t,jP=(e,t)=>e.localeCompare(t,HP.value),BP=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1);function WP(e){return e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>jP(o[t],s[t])*r;case Number:return(o,s)=>UP(o[t],s[t])*r;case Date:return(o,s)=>BP(o[t],s[t])*r}})}const qP=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},GP=e=>{},KP=[{difference:NaN,text:()=>aa("grouped-list.undefined")},{difference:864e5,text:()=>aa("grouped-list.today")},{difference:6048e5,text:()=>aa("grouped-list.last-week")},{difference:2592e6,text:()=>aa("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],ZP=e=>{var r;const t=new Date(e),n=new Date-t;return(r=KP.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)};function YP({field:e,type:t=void 0}={}){switch(t){case String:return n=>qP(n[e]);case Number:return n=>n[e];case Date:return n=>ZP(n[e]);case"Digits":return n=>GP(n[e]);default:return n=>Z1}}class Ee{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={},s){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indices=[],this.group(s)}group({criteria:t=[],filters:n=[],index:r}={}){const o=YP(r),s=this.items.filter(l=>n.every(u=>u(l)));this.count=s.length;const i=WP(t),a=s.sort((l,u)=>i.reduce((d,m)=>d||m(l,u),0));this.itemsGrouped=a.reduce((l,u)=>{const d=o(u);return l.set(d,[...l.get(d)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys())}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==Z1&&(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 Y1={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(o!==null){var _=o.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new s(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(b,C){function k(w){b&&b(w),p&&p(null,w)}function y(){C&&C(h),p&&p(h,null)}var z=f.type||"GET";if(h.open(z,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var w=null;try{w=h.responseText?JSON.parse(h.responseText):""}catch(N){console.error(N)}h.status>=200&&h.status<300?k(w):y()}},z==="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 b={},C=null;typeof p=="object"?(b=p,C=h):typeof p=="function"&&(C=p);var k=f.type||"GET";return k!=="GET"&&f.postData&&!_?f.postData=a(f.postData,b):f.params=a(f.params,b),u(f,C)},m=function(){};return m.prototype={constructor:t},m.prototype.getGeneric=function(f,p){var h={url:f};return d(h,p)},m.prototype.getMe=function(f,p){var h={url:n+"/me"};return d(h,f,p)},m.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return d(h,f,p)},m.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return d(h,f,p)},m.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return d(h,f,p)},m.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return d(h,f,p)},m.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return d(h,f,p)},m.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.followPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return d(_,p,h)},m.prototype.unfollowUsers=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.unfollowArtists=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.unfollowPlaylist=function(f,p){var h={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return d(h,p)},m.prototype.isFollowingUsers=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.isFollowingArtists=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.areFollowingPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},m.prototype.getFollowedArtists=function(f,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,f,p)},m.prototype.getUser=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)};return d(_,p,h)},m.prototype.getUserPlaylists=function(f,p,h){var _;return typeof f=="string"?_={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=f),d(_,p,h)},m.prototype.getPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f};return d(_,p,h)},m.prototype.getPlaylistTracks=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks"};return d(_,p,h)},m.prototype.getPlaylistCoverImage=function(f,p){var h={url:n+"/playlists/"+f+"/images"};return d(h,p)},m.prototype.createPlaylist=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return d(_,p,h)},m.prototype.changePlaylistDetails=function(f,p,h){var _={url:n+"/playlists/"+f,type:"PUT",postData:p};return d(_,p,h)},m.prototype.addTracksToPlaylist=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return d(b,h,_,!0)},m.prototype.replaceTracksInPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},m.prototype.reorderTracksInPlaylist=function(f,p,h,_,b){var C={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(C,_,b)},m.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(C){return typeof C=="string"?{uri:C}:C}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(b,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var b=p.map(function(k){return typeof k=="string"?{uri:k}:k}),C={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:h}};return d(C,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(b,{},_)},m.prototype.uploadCustomPlaylistCoverImage=function(f,p,h){var _={url:n+"/playlists/"+f+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},m.prototype.getAlbum=function(f,p,h){var _={url:n+"/albums/"+f};return d(_,p,h)},m.prototype.getAlbumTracks=function(f,p,h){var _={url:n+"/albums/"+f+"/tracks"};return d(_,p,h)},m.prototype.getAlbums=function(f,p,h){var _={url:n+"/albums/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getTrack=function(f,p,h){var _={};return _.url=n+"/tracks/"+f,d(_,p,h)},m.prototype.getTracks=function(f,p,h){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtist=function(f,p,h){var _={url:n+"/artists/"+f};return d(_,p,h)},m.prototype.getArtists=function(f,p,h){var _={url:n+"/artists/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtistAlbums=function(f,p,h){var _={url:n+"/artists/"+f+"/albums"};return d(_,p,h)},m.prototype.getArtistTopTracks=function(f,p,h,_){var b={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return d(b,h,_)},m.prototype.getArtistRelatedArtists=function(f,p,h){var _={url:n+"/artists/"+f+"/related-artists"};return d(_,p,h)},m.prototype.getFeaturedPlaylists=function(f,p){var h={url:n+"/browse/featured-playlists"};return d(h,f,p)},m.prototype.getNewReleases=function(f,p){var h={url:n+"/browse/new-releases"};return d(h,f,p)},m.prototype.getCategories=function(f,p){var h={url:n+"/browse/categories"};return d(h,f,p)},m.prototype.getCategory=function(f,p,h){var _={url:n+"/browse/categories/"+f};return d(_,p,h)},m.prototype.getCategoryPlaylists=function(f,p,h){var _={url:n+"/browse/categories/"+f+"/playlists"};return d(_,p,h)},m.prototype.search=function(f,p,h,_){var b={url:n+"/search/",params:{q:f,type:p.join(",")}};return d(b,h,_)},m.prototype.searchAlbums=function(f,p,h){return this.search(f,["album"],p,h)},m.prototype.searchArtists=function(f,p,h){return this.search(f,["artist"],p,h)},m.prototype.searchTracks=function(f,p,h){return this.search(f,["track"],p,h)},m.prototype.searchPlaylists=function(f,p,h){return this.search(f,["playlist"],p,h)},m.prototype.searchShows=function(f,p,h){return this.search(f,["show"],p,h)},m.prototype.searchEpisodes=function(f,p,h){return this.search(f,["episode"],p,h)},m.prototype.getAudioFeaturesForTrack=function(f,p){var h={};return h.url=n+"/audio-features/"+f,d(h,{},p)},m.prototype.getAudioFeaturesForTracks=function(f,p){var h={url:n+"/audio-features",params:{ids:f}};return d(h,{},p)},m.prototype.getAudioAnalysisForTrack=function(f,p){var h={};return h.url=n+"/audio-analysis/"+f,d(h,{},p)},m.prototype.getRecommendations=function(f,p){var h={url:n+"/recommendations"};return d(h,f,p)},m.prototype.getAvailableGenreSeeds=function(f){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},f)},m.prototype.getMyDevices=function(f){var p={url:n+"/me/player/devices"};return d(p,{},f)},m.prototype.getMyCurrentPlaybackState=function(f,p){var h={url:n+"/me/player"};return d(h,f,p)},m.prototype.getMyCurrentPlayingTrack=function(f,p){var h={url:n+"/me/player/currently-playing"};return d(h,f,p)},m.prototype.transferMyPlayback=function(f,p,h){var _=p||{};_.device_ids=f;var b={type:"PUT",url:n+"/me/player",postData:_};return d(b,p,h)},m.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(k){k in f&&(_[k]=f[k])});var b={type:"PUT",url:n+"/me/player/play",params:h,postData:_},C=typeof f=="function"?f:{};return d(b,C,p)},m.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},b={type:"POST",url:n+"/me/player/queue",params:_};return d(b,p,h)},m.prototype.pause=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,f,p)},m.prototype.skipToNext=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,f,p)},m.prototype.skipToPrevious=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,f,p)},m.prototype.seek=function(f,p,h){p=p||{};var _={position_ms:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:_};return d(b,p,h)},m.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:_};return d(b,p,h)},m.prototype.setVolume=function(f,p,h){p=p||{};var _={volume_percent:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:_};return d(b,p,h)},m.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(b,p,h)},m.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,d(_,p,h)},m.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return d(h,f,p)},m.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return d(_,p,h)},m.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,d(_,p,h)},m.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getAccessToken=function(){return r},m.prototype.setAccessToken=function(f){r=f},m.prototype.setPromiseImplementation=function(f){var p=!1;try{var h=new f(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)o=f;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t})(Y1);var XP=Y1.exports;const Xn=Dl(XP),JP={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 Xn;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)}}},QP={key:0,class:"modal is-active"},eI={class:"modal-content"},tI={class:"card"},nI={class:"card-content"},rI=["textContent"],oI=["textContent"],sI={key:0,class:"buttons"},iI=["textContent"],aI=["textContent"],lI={class:"content is-small"},cI={key:0},uI=["textContent"],dI=["textContent"],mI={key:1},fI=["textContent"],pI=["textContent"],hI={key:2},_I=["textContent"],gI=["textContent"],yI={key:3},vI=["textContent"],bI=["textContent"],zI={key:4},CI=["textContent"],wI=["textContent"],kI={key:5},xI=["textContent"],SI=["textContent"],EI={key:6},$I=["textContent"],TI=["textContent"],AI={key:7},OI=["textContent"],PI=["textContent"],II=["textContent"],LI=["textContent"],NI=["textContent"],DI={class:"title is-6"},RI=["textContent"],MI={key:8},FI=["textContent"],VI={class:"title is-6"},HI=["textContent"],UI=["textContent"],jI=["textContent"],BI=["textContent"],WI=["textContent"],qI=["textContent"],GI=["textContent"],KI=["textContent"],ZI={key:9},YI=["textContent"],XI=["textContent"],JI={class:"card-footer"},QI=["textContent"],eL=["textContent"],tL=["textContent"];function nL(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",QP,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",eI,[c("div",tI,[c("div",nI,[c("p",{class:"title is-4",textContent:g(n.item.title)},null,8,rI),c("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,oI),n.item.media_kind==="podcast"?(E(),P("div",sI,[n.item.play_count>0?(E(),P("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>s.mark_new&&s.mark_new(...a)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,iI)):ee("",!0),n.item.play_count===0?(E(),P("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>s.mark_played&&s.mark_played(...a)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,aI)):ee("",!0)])):ee("",!0),c("div",lI,[n.item.album?(E(),P("p",cI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,uI),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.item.album)},null,8,dI)])):ee("",!0),n.item.album_artist&&n.item.media_kind!=="audiobook"?(E(),P("p",mI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,fI),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:g(n.item.album_artist)},null,8,pI)])):ee("",!0),n.item.composer?(E(),P("p",hI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,_I),c("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,gI)])):ee("",!0),n.item.date_released?(E(),P("p",yI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,vI),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.date_released))},null,8,bI)])):n.item.year?(E(),P("p",zI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,CI),c("span",{class:"title is-6",textContent:g(n.item.year)},null,8,wI)])):ee("",!0),n.item.genre?(E(),P("p",kI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,xI),c("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:g(n.item.genre)},null,8,SI)])):ee("",!0),n.item.disc_number?(E(),P("p",EI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,$I),c("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,TI)])):ee("",!0),n.item.length_ms?(E(),P("p",AI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,OI),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,PI)])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,II),c("span",{class:"title is-6",textContent:g(n.item.path)},null,8,LI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,NI),c("span",DI,[c("span",{textContent:g(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,RI)])]),n.item.samplerate?(E(),P("p",MI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,FI),c("span",VI,[c("span",{textContent:g(n.item.type)},null,8,HI),n.item.samplerate?(E(),P("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.item.samplerate}))},null,8,UI)):ee("",!0),n.item.channels?(E(),P("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,jI)):ee("",!0),n.item.bitrate?(E(),P("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.item.bitrate}))},null,8,BI)):ee("",!0)])])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,WI),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.item.time_added))},null,8,qI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,GI),c("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.item.rating/10)}))},null,8,KI)]),n.item.comment?(E(),P("p",ZI,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,YI),c("span",{class:"title is-6",textContent:g(n.item.comment)},null,8,XI)])):ee("",!0)])]),c("footer",JI,[c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,QI)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,eL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,tL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const rL=ie(JP,[["render",nL]]),oL={name:"ListTracks",components:{ModalDialogTrack:rL},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)}}},sL={key:0,class:"mt-6 mb-5 py-2"},iL=["id","textContent"],aL=["onClick"],lL={key:0,class:"media-left is-clickable"},cL={class:"media-content is-clickable is-clipped"},uL=["textContent"],dL=["textContent"],mL=["textContent"],fL=["max","value"],pL={class:"media-right"},hL=["onClick"];function _L(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-track");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,l=>(E(),P(Ce,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:ze(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:u=>s.play(l.item)},[n.show_icon?(E(),P("figure",lL,[v(i,{class:"icon",name:"file-outline",size:"16"})])):ee("",!0),c("div",cL,[c("h1",{class:ze(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:g(l.item.title)},null,10,uL),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(l.item.artist)},null,8,dL),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.item.album)},null,8,mL),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,fL)):ee("",!0)]),c("div",pL,[c("a",{onClick:_t(u=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,hL)])],10,aL)):(E(),P("div",sL,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,iL)]))],64))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["item","show"])]))],64)}const mn=ie(oL,[["render",_L],["__scopeId","data-v-84498238"]]),gL={name:"ModalDialogAlbum",components:{CoverArtwork:xr},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(({data:e})=>{this.$emit("play-count-changed"),this.$emit("close")})},open(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.id}}):this.$router.push({name:"music-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},play(){this.$emit("close"),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)}}},yL={key:0,class:"modal is-active"},vL={class:"modal-content"},bL={class:"card"},zL={class:"card-content"},CL={class:"title is-4"},wL=["textContent"],kL={key:0,class:"buttons"},xL=["textContent"],SL=["textContent"],EL={class:"content is-small"},$L={key:0},TL=["textContent"],AL=["textContent"],OL={key:1},PL=["textContent"],IL=["textContent"],LL={key:2},NL=["textContent"],DL=["textContent"],RL=["textContent"],ML=["textContent"],FL=["textContent"],VL=["textContent"],HL=["textContent"],UL=["textContent"],jL=["textContent"],BL=["textContent"],WL={class:"card-footer"},qL=["textContent"],GL=["textContent"],KL=["textContent"];function ZL(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",yL,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",vL,[c("div",bL,[c("div",zL,[v(i,{artwork_url:n.item.artwork_url,artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["artwork_url","artist","album"]),c("p",CL,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:g(n.item.name)},null,8,wL)]),s.media_kind_resolved==="podcast"?(E(),P("div",kL,[c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>s.mark_played&&s.mark_played(...l)),textContent:g(e.$t("dialog.album.mark-as-played"))},null,8,xL),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:g(e.$t("dialog.album.remove-podcast"))},null,8,SL)):ee("",!0)])):ee("",!0),c("div",EL,[n.item.artist?(E(),P("p",$L,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,TL),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.item.artist)},null,8,AL)])):ee("",!0),n.item.date_released?(E(),P("p",OL,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,PL),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.date_released))},null,8,IL)])):n.item.year?(E(),P("p",LL,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,NL),c("span",{class:"title is-6",textContent:g(n.item.year)},null,8,DL)])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,RL),c("span",{class:"title is-6",textContent:g(n.item.track_count)},null,8,ML)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,FL),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,VL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,HL),c("span",{class:"title is-6",textContent:g(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,UL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,jL),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.item.time_added))},null,8,BL)])])]),c("footer",WL,[c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.queue_add&&s.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,qL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[v(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,GL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>s.play&&s.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,KL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):ee("",!0)]),_:1})}const Bl=ie(gL,[["render",ZL]]),Pp={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()}},YL={name:"PageAlbum",components:{ContentWithHero:jl,CoverArtwork:xr,ListTracks:mn,ModalDialogAlbum:Bl},beforeRouteEnter(e,t,n){Pp.load(e).then(r=>{n(o=>Pp.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){j.player_play_uri(this.album.uri,!0)}}},XL=["textContent"],JL={class:"subtitle is-6 has-text-link"},QL=["textContent"],eN={class:"buttons fd-is-centered-mobile mt-5"},tN=["textContent"],nN=["textContent"];function rN(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks"),u=A("modal-dialog-album"),d=A("content-with-hero");return E(),P("div",null,[v(d,null,{"heading-left":L(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,XL),c("h2",JL,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(o.album.artist)},null,8,QL)]),c("div",eN,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,tN)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":L(()=>[v(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,nN),v(l,{items:o.tracks,uris:o.album.uri},null,8,["items","uris"]),v(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const oN=ie(YL,[["render",rN]]),sN={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)}}},iN={key:0,class:"modal is-active"},aN={class:"modal-content"},lN={class:"card"},cN={class:"card-content"},uN=["textContent"],dN=["textContent"],mN={class:"content is-small"},fN=["textContent"],pN=["textContent"],hN=["textContent"],_N=["textContent"],gN=["textContent"],yN=["textContent"],vN=["textContent"],bN=["textContent"],zN=["textContent"],CN=["textContent"],wN=["textContent"],kN=["textContent"],xN={class:"card-footer"},SN=["textContent"],EN=["textContent"],$N=["textContent"];function TN(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",iN,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",aN,[c("div",lN,[c("div",cN,[c("p",{class:"title is-4",textContent:g(n.item.name)},null,8,uN),c("p",{class:"subtitle",textContent:g(n.item.artists[0].name)},null,8,dN),c("div",mN,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,fN),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.item.album.name)},null,8,pN)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,hN),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:g(n.item.artists[0].name)},null,8,_N)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,gN),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.album.release_date))},null,8,yN)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,vN),c("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,bN)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,zN),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.duration_ms))},null,8,CN)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,wN),c("span",{class:"title is-6",textContent:g(n.item.uri)},null,8,kN)])])]),c("footer",xN,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,SN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add-next"))},null,8,EN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,$N)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const AN=ie(sN,[["render",TN]]),ON={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:AN},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)}}},PN=["onClick"],IN=["textContent"],LN=["textContent"],NN=["textContent"],DN={key:0,class:"subtitle is-7"},RN=["textContent"],MN=["textContent"],FN={class:"media-right"},VN=["onClick"];function HN(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-track-spotify");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,l=>(E(),P("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:ze(["media-content is-clipped",{"is-clickable":l.is_playable,"fd-is-not-allowed":!l.is_playable}]),onClick:u=>s.play(l)},[c("h1",{class:ze(["title is-6",{"has-text-grey-light":!l.is_playable}]),textContent:g(l.name)},null,10,IN),c("h2",{class:ze(["subtitle is-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:g(l.artists[0].name)},null,10,LN),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.album.name)},null,8,NN),l.is_playable?ee("",!0):(E(),P("h2",DN,[xt(" ("),c("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,RN),l.restrictions&&l.restrictions.reason?(E(),P("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,MN)):ee("",!0),xt(") ")]))],10,PN),c("div",FN,[c("a",{onClick:_t(u=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,VN)])]))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Qa=ie(ON,[["render",HN]]),UN={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:xr},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)}}},jN={key:0,class:"modal is-active"},BN={class:"modal-content"},WN={class:"card"},qN={class:"card-content"},GN={class:"title is-4"},KN=["textContent"],ZN={class:"content is-small"},YN=["textContent"],XN=["textContent"],JN=["textContent"],QN=["textContent"],e4=["textContent"],t4=["textContent"],n4={class:"card-footer"},r4=["textContent"],o4=["textContent"],s4=["textContent"];function i4(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",jN,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",BN,[c("div",WN,[c("div",qN,[v(i,{artwork_url:s.artwork_url(n.item),artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:s.artwork_loaded,onError:s.artwork_error},null,8,["artwork_url","artist","album","onLoad","onError"]),c("p",GN,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:g(n.item.name)},null,8,KN)]),c("div",ZN,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,YN),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.item.artists[0].name)},null,8,XN)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,JN),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.item.release_date))},null,8,QN)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,e4),c("span",{class:"title is-6",textContent:g(n.item.album_type)},null,8,t4)])])]),c("footer",n4,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>s.queue_add&&s.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,r4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[v(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add-next"))},null,8,o4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.play&&s.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,s4)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):ee("",!0)]),_:1})}const X1=ie(UN,[["render",i4]]),Ip={load(e){const t=new Xn;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}},a4={name:"PageAlbumSpotify",components:{ContentWithHero:jl,CoverArtwork:xr,ListTracksSpotify:Qa,ModalDialogAlbumSpotify:X1},beforeRouteEnter(e,t,n){Ip.load(e).then(r=>{n(o=>Ip.set(o,r))})},data(){return{album:{artists:[{}],tracks:{}},show_details_modal:!1}},computed:{tracks(){const{album:e}=this;return e.tracks.total?e.tracks.items.map(t=>({...t,album:e})):{}}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},play(){this.show_details_modal=!1,j.player_play_uri(this.album.uri,!0)}}},l4=["textContent"],c4={class:"subtitle is-6 has-text-link"},u4=["textContent"],d4={class:"buttons fd-is-centered-mobile mt-5"},m4=["textContent"],f4=["textContent"];function p4(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks-spotify"),u=A("modal-dialog-album-spotify"),d=A("content-with-hero");return E(),P("div",null,[v(d,null,{"heading-left":L(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,l4),c("h2",c4,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(o.album.artists[0].name)},null,8,u4)]),c("div",d4,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,m4)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":L(()=>[v(a,{artwork_url:s.artwork_url(o.album),artist:o.album.artists[0].name,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,f4),v(l,{items:s.tracks,context_uri:o.album.uri},null,8,["items","context_uri"]),v(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const h4=ie(a4,[["render",p4]]),_4={name:"ContentWithHeading",data(){return{options_visible:!1}},computed:{icon_name(){return this.options_visible?"chevron-up":"chevron-down"},position(){return{hash:this.options_visible?"#top":"#app",query:this.$route.query}}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options_ref))},methods:{onElementObserved(e){e.forEach(({target:t,isIntersecting:n})=>{this.options_visible=n})},visibilityChanged(e){this.options_visible=e}}},g4={class:"section"},y4={class:"container"},v4={class:"columns is-centered"},b4={class:"column is-four-fifths"},z4={key:0},C4={ref:"options_ref",style:{height:"1px"}},w4={class:"buttons is-centered mt-4 mb-2"},k4={id:"top",class:"level is-clipped"},x4={class:"level-left is-flex-shrink-1"},S4={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},E4={class:"level-right has-text-centered-mobile"},$4={class:"mt-4"};function T4(e,t,n,r,o,s){const i=A("mdicon"),a=A("router-link");return E(),P("section",g4,[c("div",y4,[c("div",v4,[c("div",b4,[e.$slots.options?(E(),P("section",z4,[c("div",C4,null,512),vt(e.$slots,"options"),c("nav",w4,[v(a,{class:"button is-small is-white",to:s.position},{default:L(()=>[v(i,{class:"icon is-small",name:s.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):ee("",!0),c("div",{class:ze({"is-full-height":e.$slots.options})},[c("nav",k4,[c("div",x4,[c("div",S4,[c("div",null,[vt(e.$slots,"heading-left")])])]),c("div",E4,[vt(e.$slots,"heading-right")])]),vt(e.$slots,"content"),c("div",$4,[vt(e.$slots,"footer")])],2)])])])])}const Qe=ie(_4,[["render",T4]]),A4={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{is_active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.value)}}},methods:{onClickOutside(e){this.is_active=!1},select(e){this.is_active=!1,this.$emit("update:value",e.id)}}},O4={class:"dropdown-trigger"},P4=["textContent"],I4={id:"dropdown",class:"dropdown-menu",role:"menu"},L4={class:"dropdown-content"},N4=["onClick","textContent"];function D4(e,t,n,r,o,s){const i=A("mdicon"),a=Cd("click-away");return pt((E(),P("div",{class:ze(["dropdown",{"is-active":o.is_active}])},[c("div",O4,[c("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>o.is_active=!o.is_active)},[c("span",{textContent:g(s.option.name)},null,8,P4),v(i,{class:"icon",name:"chevron-down",size:"16"})])]),c("div",I4,[c("div",L4,[(E(!0),P(Ce,null,Ct(n.options,l=>(E(),P("a",{key:l.id,class:ze(["dropdown-item",{"is-active":n.value===l.id}]),onClick:u=>s.select(l),textContent:g(l.name)},null,10,N4))),128))])])],2)),[[a,s.onClickOutside]])}const To=ie(A4,[["render",D4]]),R4={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},M4={class:"buttons is-centered mb-4 fd-is-square"};function F4(e,t,n,r,o,s){const i=A("router-link");return E(),P("section",null,[c("nav",M4,[(E(!0),P(Ce,null,Ct(n.indices,a=>(E(),xe(i,{key:a,class:"button is-small",to:{hash:`#index_${a}`,query:e.$route.query}},{default:L(()=>[xt(g(a),1)]),_:2},1032,["to"]))),128))])])}const Jn=ie(R4,[["render",F4]]),V4={name:"ListAlbums",components:{CoverArtwork:xr,ModalDialog:Fd,ModalDialogAlbum:Bl},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],data(){return{rss_playlist_to_remove:{},selected_item:{},show_details_modal:!1,show_remove_podcast_modal:!1}},computed:{media_kind_resolved(){return this.media_kind||this.selected_item.media_kind},show_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open(e){this.selected_item=e,this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:e.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:e.id}}):this.$router.push({name:"music-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_remove_podcast_dialog(){j.library_album_tracks(this.selected_album.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")})}}},H4={key:0,class:"mt-6 mb-5 py-2"},U4=["id","textContent"],j4=["onClick"],B4={key:0,class:"media-left"},W4={class:"media-content is-clickable is-clipped"},q4=["textContent"],G4=["textContent"],K4=["textContent"],Z4={class:"media-right"},Y4=["onClick"],X4=["textContent"],J4={class:"is-size-7"},Q4=["textContent"],e6=["textContent"];function t6(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("mdicon"),l=A("modal-dialog-album"),u=A("modal-dialog");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,d=>(E(),P(Ce,{key:d.itemId},[d.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:m=>s.open(d.item)},[s.show_artwork?(E(),P("div",B4,[v(i,{artwork_url:d.item.artwork_url,artist:d.item.artist,album:d.item.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])])):ee("",!0),c("div",W4,[c("div",null,[c("h1",{class:"title is-6",textContent:g(d.item.name)},null,8,q4),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(d.item.artist)},null,8,G4),d.item.date_released&&d.item.media_kind==="music"?(E(),P("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:g(e.$filters.date(d.item.date_released))},null,8,K4)):ee("",!0)])]),c("div",Z4,[c("a",{onClick:_t(m=>s.open_dialog(d.item),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Y4)])],8,j4)):(E(),P("div",H4,[c("span",{id:`index_${d.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(d.index)},null,8,U4)]))],64))),128)),(E(),xe(Nn,{to:"#app"},[v(l,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=d=>o.show_details_modal=!1),onRemovePodcast:t[1]||(t[1]=d=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=d=>s.play_count_changed())},null,8,["item","media_kind","show"]),v(u,{delete_action:e.$t("page.podcast.remove"),show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onClose:t[3]||(t[3]=d=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":L(()=>[c("p",{textContent:g(e.$t("list.albums.info-1"))},null,8,X4),c("p",J4,[xt(" ("),c("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,Q4),c("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,e6),xt(") ")])]),_:1},8,["delete_action","show","title","onDelete"])]))],64)}const bn=ie(V4,[["render",t6]]),n6={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},r6={class:"section fd-tabs-section"},o6={class:"container"},s6={class:"columns is-centered"},i6={class:"column is-four-fifths"},a6={class:"tabs is-centered is-small"},l6=["onClick","onKeypress"],c6=["textContent"],u6=["onClick","onKeypress"],d6=["textContent"],m6=["onClick","onKeypress"],f6=["textContent"],p6=["onClick","onKeypress"],h6=["textContent"],_6=["onClick","onKeypress"],g6=["textContent"],y6=["onClick","onKeypress"],v6=["textContent"];function b6(e,t,n,r,o,s){const i=A("mdicon"),a=A("router-link");return E(),P("section",r6,[c("div",o6,[c("div",s6,[c("div",i6,[c("div",a6,[c("ul",null,[v(a,{to:{name:"music-history"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"history",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.history"))},null,8,c6)],40,l6)],2)]),_:1}),v(a,{to:{name:"music-artists"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.artists"))},null,8,d6)],40,u6)],2)]),_:1}),v(a,{to:{name:"music-albums"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.albums"))},null,8,f6)],40,m6)],2)]),_:1}),v(a,{to:{name:"music-genres"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.genres"))},null,8,h6)],40,p6)],2)]),_:1}),v(a,{to:{name:"music-composers"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.composers"))},null,8,g6)],40,_6)],2)]),_:1}),s.spotify_enabled?(E(),xe(a,{key:0,to:{name:"music-spotify"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.music.tabs.spotify"))},null,8,v6)],40,y6)],2)]),_:1})):ee("",!0)])])])])])])}const ur=ie(n6,[["render",b6]]),Lp={load(e){return j.library_albums("music")},set(e,t){e.albums_list=new Ee(t.data)}},z6={name:"PageAlbums",components:{ContentWithHeading:Qe,ControlDropdown:To,IndexButtonList:Jn,ListAlbums:bn,TabsMusic:ur},beforeRouteEnter(e,t,n){Lp.load(e).then(r=>{n(o=>Lp.set(o,r))})},data(){return{albums_list:new Ee,grouping_options:[{id:1,name:this.$t("page.albums.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.albums.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("page.albums.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("page.albums.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("page.albums.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]}},computed:{albums(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e.options),this.albums_list},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(ll,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_option_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit(zh,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},C6={class:"fd-page-with-tabs"},w6={class:"columns"},k6={class:"column"},x6=["textContent"],S6={class:"field"},E6={class:"control"},$6=["textContent"],T6=["textContent"],A6={key:0,class:"field"},O6={class:"control"},P6=["textContent"],I6=["textContent"],L6={class:"column"},N6=["textContent"],D6=["textContent"],R6=["textContent"];function M6(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("control-dropdown"),u=A("list-albums"),d=A("content-with-heading");return E(),P("div",C6,[v(i),v(d,null,{options:L(()=>[v(a,{indices:s.albums.indices},null,8,["indices"]),c("div",w6,[c("div",k6,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,x6),c("div",S6,[c("div",E6,[pt(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[Pn,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,$6)]),c("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,T6)]),s.spotify_enabled?(E(),P("div",A6,[c("div",O6,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[Pn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,P6)]),c("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,I6)])):ee("",!0)]),c("div",L6,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort.title"))},null,8,N6),v(l,{value:s.selected_grouping_option_id,"onUpdate:value":t[2]||(t[2]=m=>s.selected_grouping_option_id=m),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,D6),c("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:s.albums.count}))},null,8,R6)]),"heading-right":L(()=>[]),content:L(()=>[v(u,{items:s.albums},null,8,["items"])]),_:1})])}const F6=ie(z6,[["render",M6]]),V6={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)}}},H6={key:0,class:"modal is-active"},U6={class:"modal-content"},j6={class:"card"},B6={class:"card-content"},W6={class:"title is-4"},q6=["textContent"],G6={class:"content is-small"},K6=["textContent"],Z6=["textContent"],Y6=["textContent"],X6=["textContent"],J6=["textContent"],Q6=["textContent"],e5=["textContent"],t5=["textContent"],n5={class:"card-footer"},r5=["textContent"],o5=["textContent"],s5=["textContent"];function i5(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",H6,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",U6,[c("div",j6,[c("div",B6,[c("p",W6,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,q6)]),c("div",G6,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,K6),c("span",{class:"title is-6",textContent:g(n.item.album_count)},null,8,Z6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,Y6),c("span",{class:"title is-6",textContent:g(n.item.track_count)},null,8,X6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,J6),c("span",{class:"title is-6",textContent:g(e.$t(`data.kind.${n.item.data_kind}`))},null,8,Q6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,e5),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.item.time_added))},null,8,t5)])])]),c("footer",n5,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,r5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,o5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,s5)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const Wl=ie(V6,[["render",i5]]),Np={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)}},a5={name:"PageArtist",components:{ContentWithHeading:Qe,ControlDropdown:To,ListAlbums:bn,ModalDialogArtist:Wl},beforeRouteEnter(e,t,n){Np.load(e).then(r=>{n(o=>Np.set(o,r))})},data(){return{albums_list:new Ee,artist:{},grouping_options:[{id:1,name:this.$t("page.artist.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("page.artist.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}],show_details_modal:!1}},computed:{albums(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e.options),this.albums_list},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(wh,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)}}},l5={class:"columns"},c5={class:"column"},u5=["textContent"],d5={key:0,class:"field"},m5={class:"control"},f5=["textContent"],p5=["textContent"],h5={class:"column"},_5=["textContent"],g5=["textContent"],y5={class:"buttons is-centered"},v5=["textContent"],b5={class:"heading has-text-centered-mobile"},z5=["textContent"],C5=c("span",null," | ",-1),w5=["textContent"];function k5(e,t,n,r,o,s){const i=A("control-dropdown"),a=A("mdicon"),l=A("list-albums"),u=A("modal-dialog-artist"),d=A("content-with-heading");return E(),P("div",null,[v(d,null,{options:L(()=>[c("div",l5,[c("div",c5,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,u5),s.spotify_enabled?(E(),P("div",d5,[c("div",m5,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[Pn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,f5)]),c("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,p5)])):ee("",!0)]),c("div",h5,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,_5),v(i,{value:s.selected_grouping_option_id,"onUpdate:value":t[1]||(t[1]=m=>s.selected_grouping_option_id=m),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,g5)]),"heading-right":L(()=>[c("div",y5,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.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)=>s.play&&s.play(...m))},[v(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,v5)])])]),content:L(()=>[c("p",b5,[c("span",{textContent:g(e.$t("page.artist.album-count",{count:s.albums.count}))},null,8,z5),C5,c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:g(e.$t("page.artist.track-count",{count:s.track_count}))},null,8,w5)]),v(l,{items:s.albums},null,8,["items"]),v(u,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const x5=ie(a5,[["render",k5]]),S5={name:"ListAlbumsSpotify",components:{CoverArtwork:xr,ModalDialogAlbumSpotify:X1},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},computed:{show_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},E5=["onClick"],$5={key:0,class:"media-left is-clickable"},T5={class:"media-content is-clickable is-clipped"},A5=["textContent"],O5=["textContent"],P5=["textContent"],I5={class:"media-right"},L5=["onClick"];function N5(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("mdicon"),l=A("modal-dialog-album-spotify");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,u=>{var d;return E(),P("div",{key:u.id,class:"media is-align-items-center",onClick:m=>s.open(u)},[s.show_artwork?(E(),P("div",$5,[v(i,{artwork_url:s.artwork_url(u),artist:u.artist,album:u.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])])):ee("",!0),c("div",T5,[c("h1",{class:"title is-6",textContent:g(u.name)},null,8,A5),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g((d=u.artists[0])==null?void 0:d.name)},null,8,O5),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g([u.album_type,e.$filters.date(u.release_date)].join(", "))},null,8,P5)]),c("div",I5,[c("a",{onClick:_t(m=>s.open_dialog(u),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,L5)])],8,E5)}),128)),(E(),xe(Nn,{to:"#app"},[v(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=u=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Ci=ie(S5,[["render",N5]]),D5={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)}}},R5={key:0,class:"modal is-active"},M5={class:"modal-content"},F5={class:"card"},V5={class:"card-content"},H5={class:"title is-4"},U5=["textContent"],j5={class:"content is-small"},B5=["textContent"],W5=["textContent"],q5=["textContent"],G5=["textContent"],K5={class:"card-footer"},Z5=["textContent"],Y5=["textContent"],X5=["textContent"];function J5(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",R5,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",M5,[c("div",F5,[c("div",V5,[c("p",H5,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,U5)]),c("div",j5,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,B5),c("span",{class:"title is-6",textContent:g([n.item.popularity,n.item.followers.total].join(" / "))},null,8,W5)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,q5),c("span",{class:"title is-6",textContent:g(n.item.genres.join(", "))},null,8,G5)])])]),c("footer",K5,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,Z5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add-next"))},null,8,Y5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,X5)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const J1=ie(D5,[["render",J5]]);function Q5(e){return e.scrollHeight}function eD(e){return e.scrollWidth}function tD(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function nD(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const rD=c("div",{class:"loading"},"Loading...",-1),oD=c("div",{class:"no-more"},"No more.",-1),sD=c("div",{class:"no-results"},"No results.",-1),iD=c("div",{class:"error"},"Error.",-1),Xd=wr({__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=sr();let o=sr("loading"),s=sr(n.isInitial),i=0;function a(){zs(()=>{var y,z;n.position==="top"?tD((y=n.container)!=null?y:document.documentElement,i):n.position==="left"&&nD((z=n.container)!=null?z:document.documentElement,i)})}function l(y,z){return y===0?s.value?(d(),"no-results"):(u(),"no-more"):y!==void 0&&z!==void 0&&y<z?(u(),"no-more"):(s.value=!1,a(),b(),"loading")}function u(){s.value=!1,h("no-more"),a()}function d(){s.value=!1,h("no-results"),a()}function m(){s.value=!1,h("error"),a()}function f(){s.value=!0,h("loading"),b()}function p(){h("loading"),b()}function h(y){o.value=y}function _(){r.value&&k.unobserve(r.value)}function b(){r.value&&k.observe(r.value)}function C(){return new IntersectionObserver(([y])=>{var z,x;y.isIntersecting&&(n.position==="top"?i=Q5((z=n.container)!=null?z:document.documentElement):n.position==="left"&&(i=eD((x=n.container)!=null?x:document.documentElement)),_(),n.load({loaded:l,noMore:u,noResults:d,error:m},{isFirstLoad:s.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let k;return typeof IntersectionObserver<"u"&&rg(()=>{k&&_(),k=C(),b()},{flush:"post"}),Cn(()=>n.isInitial,y=>{y&&f()}),Cn(s,y=>{y||t("update:isInitial",!1)}),(y,z)=>(E(),P("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[vn(o)==="loading"?vt(y.$slots,"loading",Fs(jo({key:0},{isFirstLoad:vn(s)})),()=>[rD]):vn(o)==="no-more"?vt(y.$slots,"no-more",Fs(jo({key:1},{retry:p})),()=>[oD]):vn(o)==="no-results"?vt(y.$slots,"no-results",Fs(jo({key:2},{retry:p})),()=>[sD]):vn(o)==="error"?vt(y.$slots,"error",Fs(jo({key:3},{retry:p})),()=>[iD]):ee("",!0)],512))}}),Lu=50,Dp={load(e){const t=new Xn;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:Lu,market:ht.state.spotify.webapi_country,offset:0})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},aD={name:"PageArtistSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,ModalDialogArtistSpotify:J1,VueEternalLoading:Xd},beforeRouteEnter(e,t,n){Dp.load(e).then(r=>{n(o=>Dp.set(o,r))})},data(){return{albums:[],artist:{},offset:0,show_details_modal:!1,total:0}},methods:{append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new Xn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:Lu,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,Lu)})},play(){this.show_album_details_modal=!1,j.player_play_uri(this.artist.uri,!0)}}},lD=["textContent"],cD={class:"buttons is-centered"},uD=["textContent"],dD=["textContent"],mD={class:"columns is-centered"},fD={class:"column has-text-centered"};function pD(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-albums-spotify"),l=A("VueEternalLoading"),u=A("modal-dialog-artist-spotify"),d=A("content-with-heading");return E(),P("div",null,[v(d,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,lD)]),"heading-right":L(()=>[c("div",cD,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.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)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,uD)])])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,dD),v(a,{items:o.albums},null,8,["items"]),o.offset<o.total?(E(),xe(l,{key:0,load:s.load_next},{loading:L(()=>[c("div",mD,[c("div",fD,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":L(()=>[xt(" ")]),_:1},8,["load"])):ee("",!0),v(u,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const hD=ie(aD,[["render",pD]]),Rp={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)}},_D={name:"PageArtistTracks",components:{ContentWithHeading:Qe,ControlDropdown:To,IndexButtonList:Jn,ListTracks:mn,ModalDialogArtist:Wl},beforeRouteEnter(e,t,n){Rp.load(e).then(r=>{n(o=>Rp.set(o,r))})},data(){return{artist:{},grouping_options:[{id:1,name:this.$t("page.artist.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.artist.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(kh,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},track_uris(){return this.tracks_list.items.map(e=>e.uri).join()},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.tracks_list.group(e.options),this.tracks_list}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},play(){j.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},gD={class:"columns"},yD={class:"column"},vD=["textContent"],bD={key:0,class:"field"},zD={class:"control"},CD=["textContent"],wD=["textContent"],kD={class:"column"},xD=["textContent"],SD=["textContent"],ED={class:"buttons is-centered"},$D=["textContent"],TD={class:"heading has-text-centered-mobile"},AD=["textContent"],OD=c("span",null," | ",-1),PD=["textContent"];function ID(e,t,n,r,o,s){const i=A("index-button-list"),a=A("control-dropdown"),l=A("mdicon"),u=A("list-tracks"),d=A("modal-dialog-artist"),m=A("content-with-heading");return E(),P("div",null,[v(m,null,{options:L(()=>[v(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",gD,[c("div",yD,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,vD),s.spotify_enabled?(E(),P("div",bD,[c("div",zD,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[Pn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,CD)]),c("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,wD)])):ee("",!0)]),c("div",kD,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,xD),v(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[1]||(t[1]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,SD)]),"heading-right":L(()=>[c("div",ED,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.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)=>s.play&&s.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,$D)])])]),content:L(()=>[c("p",TD,[c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:g(e.$t("page.artist.album-count",{count:s.album_count}))},null,8,AD),OD,c("span",{textContent:g(e.$t("page.artist.track-count",{count:s.tracks.count}))},null,8,PD)]),v(u,{items:s.tracks,uris:s.track_uris},null,8,["items","uris"]),v(d,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const LD=ie(_D,[["render",ID]]),ND={name:"ListArtists",components:{ModalDialogArtist:Wl},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}}},DD={key:0,class:"mt-6 mb-5 py-2"},RD={class:"media-content is-clipped"},MD=["id","textContent"],FD=["onClick"],VD={class:"media-content is-clickable is-clipped"},HD=["textContent"],UD={class:"media-right"},jD=["onClick"];function BD(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-artist");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,l=>(E(),P(Ce,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",VD,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,HD)]),c("div",UD,[c("a",{onClick:_t(u=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,jD)])],8,FD)):(E(),P("div",DD,[c("div",RD,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,MD)])]))],64))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const el=ie(ND,[["render",BD]]),Mp={load(e){return j.library_artists("music")},set(e,t){e.artists_list=new Ee(t.data)}},WD={name:"PageArtists",components:{ContentWithHeading:Qe,ControlDropdown:To,IndexButtonList:Jn,ListArtists:el,TabsMusic:ur},beforeRouteEnter(e,t,n){Mp.load(e).then(r=>{n(o=>Mp.set(o,r))})},data(){return{artists_list:new Ee,grouping_options:[{id:1,name:this.$t("page.artists.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.artists.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]}},computed:{artists(){if(!this.artists_list)return[];const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return e.options.filters=[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e.options),this.artists_list},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(ll,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(wi,e)}},selected_grouping_option_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(Ch,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},qD={class:"fd-page-with-tabs"},GD={class:"columns"},KD={class:"column"},ZD=["textContent"],YD={class:"field"},XD={class:"control"},JD=["textContent"],QD=["textContent"],e3={key:0,class:"field"},t3={class:"control"},n3=["textContent"],r3=["textContent"],o3={class:"column"},s3=["textContent"],i3=["textContent"],a3=["textContent"];function l3(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("control-dropdown"),u=A("list-artists"),d=A("content-with-heading");return E(),P("div",qD,[v(i),v(d,null,{options:L(()=>[v(a,{indices:s.artists.indices},null,8,["indices"]),c("div",GD,[c("div",KD,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,ZD),c("div",YD,[c("div",XD,[pt(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[Pn,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,JD)]),c("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,QD)]),s.spotify_enabled?(E(),P("div",e3,[c("div",t3,[pt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[Pn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,n3)]),c("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,r3)])):ee("",!0)]),c("div",o3,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort.title"))},null,8,s3),v(l,{value:s.selected_grouping_option_id,"onUpdate:value":t[2]||(t[2]=m=>s.selected_grouping_option_id=m),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,i3),c("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:s.artists.count}))},null,8,a3)]),"heading-right":L(()=>[]),content:L(()=>[v(u,{items:s.artists},null,8,["items"])]),_:1})])}const c3=ie(WD,[["render",l3]]),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)}},u3={name:"PageAudiobooksAlbum",components:{ContentWithHero:jl,CoverArtwork:xr,ListTracks:mn,ModalDialogAlbum:Bl},beforeRouteEnter(e,t,n){Fp.load(e).then(r=>{n(o=>Fp.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){j.player_play_uri(this.album.uri,!1)}}},d3=["textContent"],m3={class:"subtitle is-6 has-text-link"},f3=["textContent"],p3={class:"buttons fd-is-centered-mobile mt-5"},h3=["textContent"],_3=["textContent"];function g3(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks"),u=A("modal-dialog-album"),d=A("content-with-hero");return E(),P("div",null,[v(d,null,{"heading-left":L(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,d3),c("h2",m3,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(o.album.artist)},null,8,f3)]),c("div",p3,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,h3)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":L(()=>[v(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,_3),v(l,{items:o.tracks,show_progress:!0,uris:o.album.uri},null,8,["items","uris"]),v(u,{item:o.album,show:o.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const y3=ie(u3,[["render",g3]]),v3={name:"TabsAudiobooks"},b3={class:"section fd-tabs-section"},z3={class:"container"},C3={class:"columns is-centered"},w3={class:"column is-four-fifths"},k3={class:"tabs is-centered is-small"},x3=["onClick","onKeypress"],S3=["textContent"],E3=["onClick","onKeypress"],$3=["textContent"],T3=["onClick","onKeypress"],A3=["textContent"];function O3(e,t,n,r,o,s){const i=A("mdicon"),a=A("router-link");return E(),P("section",b3,[c("div",z3,[c("div",C3,[c("div",w3,[c("div",k3,[c("ul",null,[v(a,{to:{name:"audiobooks-artists"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,S3)],40,x3)],2)]),_:1}),v(a,{to:{name:"audiobooks-albums"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,$3)],40,E3)],2)]),_:1}),v(a,{to:{name:"audiobooks-genres"},custom:""},{default:L(({navigate:l,isActive:u})=>[c("li",{class:ze({"is-active":u})},[c("a",{onClick:l,onKeypress:sn(l,["enter"])},[v(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:g(e.$t("page.audiobooks.tabs.genres"))},null,8,A3)],40,T3)],2)]),_:1})])])])])])])}const Jd=ie(v3,[["render",O3]]),Vp={load(e){return j.library_albums("audiobook")},set(e,t){e.albums=new Ee(t.data,{index:{field:"name_sort",type:String}})}},P3={name:"PageAudiobooksAlbums",components:{ContentWithHeading:Qe,IndexButtonList:Jn,ListAlbums:bn,TabsAudiobooks:Jd},beforeRouteEnter(e,t,n){Vp.load(e).then(r=>{n(o=>Vp.set(o,r))})},data(){return{albums:new Ee}}},I3={class:"fd-page-with-tabs"},L3=["textContent"],N3=["textContent"];function D3(e,t,n,r,o,s){const i=A("tabs-audiobooks"),a=A("index-button-list"),l=A("list-albums"),u=A("content-with-heading");return E(),P("div",I3,[v(i),v(u,null,{options:L(()=>[v(a,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.albums.title"))},null,8,L3),c("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,N3)]),content:L(()=>[v(l,{items:o.albums},null,8,["items"])]),_:1})])}const R3=ie(P3,[["render",D3]]),Hp={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)}},M3={name:"PageAudiobooksArtist",components:{ContentWithHeading:Qe,ListAlbums:bn,ModalDialogArtist:Wl},beforeRouteEnter(e,t,n){Hp.load(e).then(r=>{n(o=>Hp.set(o,r))})},data(){return{albums:new Ee,artist:{},show_details_modal:!1}},methods:{play(){j.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},F3=["textContent"],V3={class:"buttons is-centered"},H3=["textContent"],U3=["textContent"];function j3(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-albums"),l=A("modal-dialog-artist"),u=A("content-with-heading");return E(),P("div",null,[v(u,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,F3)]),"heading-right":L(()=>[c("div",V3,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.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)=>s.play&&s.play(...d))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,H3)])])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,U3),v(a,{items:o.albums},null,8,["items"]),v(l,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const B3=ie(M3,[["render",j3]]),Up={load(e){return j.library_artists("audiobook")},set(e,t){e.artists=new Ee(t.data,{index:{field:"name_sort",type:String}})}},W3={name:"PageAudiobooksArtists",components:{ContentWithHeading:Qe,IndexButtonList:Jn,ListArtists:el,TabsAudiobooks:Jd},beforeRouteEnter(e,t,n){Up.load(e).then(r=>{n(o=>Up.set(o,r))})},data(){return{artists:new Ee}}},q3={class:"fd-page-with-tabs"},G3=["textContent"],K3=["textContent"];function Z3(e,t,n,r,o,s){const i=A("tabs-audiobooks"),a=A("index-button-list"),l=A("list-artists"),u=A("content-with-heading");return E(),P("div",q3,[v(i),v(u,null,{options:L(()=>[v(a,{indices:o.artists.indices},null,8,["indices"])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.artists.title"))},null,8,G3),c("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,K3)]),"heading-right":L(()=>[]),content:L(()=>[v(l,{items:o.artists},null,8,["items"])]),_:1})])}const Y3=ie(W3,[["render",Z3]]),X3={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)}}},J3={key:0,class:"modal is-active"},Q3={class:"modal-content"},eR={class:"card"},tR={class:"card-content"},nR={class:"title is-4"},rR=["textContent"],oR={class:"content is-small"},sR=["textContent"],iR=["textContent"],aR=["textContent"],lR=["textContent"],cR=["textContent"],uR=["textContent"],dR={class:"card-footer"},mR=["textContent"],fR=["textContent"],pR=["textContent"];function hR(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",J3,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",Q3,[c("div",eR,[c("div",tR,[c("p",nR,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,rR)]),c("div",oR,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,sR),c("span",{class:"title is-6",textContent:g(n.item.album_count)},null,8,iR)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,aR),c("span",{class:"title is-6",textContent:g(n.item.track_count)},null,8,lR)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,cR),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,uR)])])]),c("footer",dR,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,mR)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,fR)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,pR)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const Qd=ie(X3,[["render",hR]]),_R={name:"ListGenres",components:{ModalDialogGenre:Qd},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}}},gR={key:0,class:"mt-6 mb-5 py-2"},yR={class:"media-content is-clipped"},vR=["id","textContent"],bR=["onClick"],zR={class:"media-content is-clickable is-clipped"},CR=["textContent"],wR={class:"media-right"},kR=["onClick"];function xR(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-genre");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,l=>(E(),P(Ce,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",zR,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,CR)]),c("div",wR,[c("a",{onClick:_t(u=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,kR)])],8,bR)):(E(),P("div",gR,[c("div",yR,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,vR)])]))],64))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]))],64)}const Q1=ie(_R,[["render",xR]]),jp={load(e){return j.library_genres("audiobook")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},SR={name:"PageAudiobooksGenres",components:{ContentWithHeading:Qe,IndexButtonList:Jn,ListGenres:Q1,TabsAudiobooks:Jd},beforeRouteEnter(e,t,n){jp.load(e).then(r=>{n(o=>jp.set(o,r))})},data(){return{genres:new Ee}}},ER={class:"fd-page-with-tabs"},$R=["textContent"],TR=["textContent"];function AR(e,t,n,r,o,s){const i=A("tabs-audiobooks"),a=A("index-button-list"),l=A("list-genres"),u=A("content-with-heading");return E(),P("div",ER,[v(i),v(u,null,{options:L(()=>[v(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,$R),c("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:o.genres.total}))},null,8,TR)]),content:L(()=>[v(l,{items:o.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const OR=ie(SR,[["render",AR]]),PR={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`)}}},IR={key:0,class:"modal is-active"},LR={class:"modal-content"},NR={class:"card"},DR={class:"card-content"},RR={class:"title is-4"},MR=["textContent"],FR=["textContent"],VR=["textContent"],HR=["textContent"],UR=["textContent"],jR=["textContent"],BR=["textContent"],WR={class:"card-footer"},qR=["textContent"],GR=["textContent"],KR=["textContent"];function ZR(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",IR,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",LR,[c("div",NR,[c("div",DR,[c("p",RR,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:g(n.item.name)},null,8,MR)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,FR),c("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:g(n.item.album_count)},null,8,VR)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,HR),c("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>s.open_tracks&&s.open_tracks(...a)),textContent:g(n.item.track_count)},null,8,UR)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,jR),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,BR)])]),c("footer",WR,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,qR)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,GR)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,KR)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const em=ie(PR,[["render",ZR]]),Bp={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)}},YR={name:"PageComposerAlbums",components:{ContentWithHeading:Qe,ListAlbums:bn,ModalDialogComposer:em},beforeRouteEnter(e,t,n){Bp.load(e).then(r=>{n(o=>Bp.set(o,r))})},data(){return{albums:new Ee,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){j.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},XR=["textContent"],JR={class:"buttons is-centered"},QR=["textContent"],eM={class:"heading has-text-centered-mobile"},tM=["textContent"],nM=c("span",null," | ",-1),rM=["textContent"];function oM(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-albums"),l=A("modal-dialog-composer"),u=A("content-with-heading");return E(),P("div",null,[v(u,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,XR)]),"heading-right":L(()=>[c("div",JR,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.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)=>s.play&&s.play(...d))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,QR)])])]),content:L(()=>[c("p",eM,[c("span",{textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,tM),nM,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,rM)]),v(a,{items:o.albums},null,8,["items"]),v(l,{item:o.composer,show:o.show_details_modal,onClose:t[3]||(t[3]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const sM=ie(YR,[["render",oM]]),Wp={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)}},iM={name:"PageComposerTracks",components:{ContentWithHeading:Qe,ControlDropdown:To,IndexButtonList:Jn,ListTracks:mn,ModalDialogComposer:em},beforeRouteEnter(e,t,n){Wp.load(e).then(r=>{n(o=>Wp.set(o,r))})},data(){return{composer:{},grouping_options:[{id:1,name:this.$t("page.composer.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.composer.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},selected_grouping_option_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(xh,e)}},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},play(){j.player_play_expression(this.expression,!0)}}},aM={class:"columns"},lM={class:"column"},cM=["textContent"],uM=["textContent"],dM={class:"buttons is-centered"},mM=["textContent"],fM={class:"heading has-text-centered-mobile"},pM=["textContent"],hM=c("span",null," | ",-1),_M=["textContent"];function gM(e,t,n,r,o,s){const i=A("index-button-list"),a=A("control-dropdown"),l=A("mdicon"),u=A("list-tracks"),d=A("modal-dialog-composer"),m=A("content-with-heading");return E(),P("div",null,[v(m,null,{options:L(()=>[v(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",aM,[c("div",lM,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,cM),v(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,uM)]),"heading-right":L(()=>[c("div",dM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.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)=>s.play&&s.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,mM)])])]),content:L(()=>[c("p",fM,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_albums&&s.open_albums(...f)),textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,pM),hM,c("span",{textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,_M)]),v(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),v(d,{item:o.composer,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const yM=ie(iM,[["render",gM]]),vM={name:"ListComposers",components:{ModalDialogComposer:em},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}}},bM={key:0,class:"mt-6 mb-5 py-2"},zM={class:"media-content is-clipped"},CM=["id","textContent"],wM=["onClick"],kM={class:"media-content is-clickable is-clipped"},xM=["textContent"],SM={class:"media-right"},EM=["onClick"];function $M(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-composer");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,l=>(E(),P(Ce,{key:l.itemId},[l.isItem?(E(),P("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",kM,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,xM)]),c("div",SM,[c("a",{onClick:_t(u=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,EM)])],8,wM)):(E(),P("div",bM,[c("div",zM,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.index)},null,8,CM)])]))],64))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Nu=ie(vM,[["render",$M]]),qp={load(e){return j.library_composers("music")},set(e,t){e.composers=new Ee(t.data,{index:{field:"name_sort",type:String}})}},TM={name:"PageComposers",components:{ContentWithHeading:Qe,IndexButtonList:Jn,ListComposers:Nu,TabsMusic:ur},beforeRouteEnter(e,t,n){qp.load(e).then(r=>{n(o=>qp.set(o,r))})},data(){return{composers:new Ee}}},AM={class:"fd-page-with-tabs"},OM=["textContent"],PM=["textContent"];function IM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("list-composers"),u=A("content-with-heading");return E(),P("div",AM,[v(i),v(u,null,{options:L(()=>[v(a,{indices:o.composers.indices},null,8,["indices"])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.composers.title"))},null,8,OM),c("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:o.composers.total}))},null,8,PM)]),content:L(()=>[v(l,{items:o.composers},null,8,["items"])]),_:1})])}const LM=ie(TM,[["render",IM]]),NM={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`)}}},DM={key:0,class:"modal is-active"},RM={class:"modal-content"},MM={class:"card"},FM={class:"card-content"},VM=["textContent"],HM={class:"card-footer"},UM=["textContent"],jM=["textContent"],BM=["textContent"];function WM(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",DM,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",RM,[c("div",MM,[c("div",FM,[c("p",{class:"title is-4",textContent:g(n.item)},null,8,VM)]),c("footer",HM,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,UM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,jM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,BM)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const ev=ie(NM,[["render",WM]]),qM={name:"ListDirectories",components:{ModalDialogDirectory:ev},props:{items:{required:!0,type:Array}},data(){return{selected_item:"",show_details_modal:!1}},computed:{current(){var e;return((e=this.$route.query)==null?void 0:e.directory)||"/"}},methods:{open(e){this.$router.push({name:"files",query:{directory:e.path}})},open_dialog(e){this.selected_item=e.path,this.show_details_modal=!0},open_parent(){this.current.slice(0,this.current.lastIndexOf("/"))===""||this.$store.state.config.directories.includes(this.current)?this.$router.push({name:"files"}):this.$router.push({name:"files",query:{directory:this.current.slice(0,this.current.lastIndexOf("/"))}})}}},GM={class:"media-left is-clickable"},KM=c("div",{class:"media-content is-clickable is-clipped"},[c("h1",{class:"title is-6"},"..")],-1),ZM={class:"media-right"},YM=["onClick"],XM={class:"media-left is-clickable"},JM={class:"media-content is-clickable is-clipped"},QM=["textContent"],e7=["textContent"],t7={class:"media-right"},n7=["onClick"];function r7(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-directory");return E(),P(Ce,null,[e.$route.query.directory?(E(),P("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>s.open_parent())},[c("figure",GM,[v(i,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),KM,c("div",ZM,[vt(e.$slots,"actions")])])):ee("",!0),(E(!0),P(Ce,null,Ct(n.items,l=>(E(),P("div",{key:l.path,class:"media is-align-items-center",onClick:u=>s.open(l)},[c("figure",XM,[v(i,{class:"icon",name:"folder",size:"16"})]),c("div",JM,[c("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,QM),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.path)},null,8,e7)]),c("div",t7,[c("a",{onClick:_t(u=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,n7)])],8,YM))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[1]||(t[1]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const o7=ie(qM,[["render",r7]]),s7={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)}}},i7={key:0,class:"modal is-active"},a7={class:"modal-content"},l7={class:"card"},c7={class:"card-content"},u7={class:"title is-4"},d7=["textContent"],m7={class:"content is-small"},f7=["textContent"],p7=["textContent"],h7=["textContent"],_7=["textContent"],g7={key:0},y7=["textContent"],v7=["textContent"],b7={key:0,class:"card-footer"},z7=["textContent"],C7=["textContent"],w7=["textContent"];function k7(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",i7,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",a7,[c("div",l7,[c("div",c7,[c("p",u7,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,d7)]),c("div",m7,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,f7),c("span",{class:"title is-6",textContent:g(n.item.path)},null,8,p7)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,h7),c("span",{class:"title is-6",textContent:g(e.$t(`playlist.type.${n.item.type}`))},null,8,_7)]),n.item.folder?ee("",!0):(E(),P("p",g7,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.tracks"))},null,8,y7),c("span",{class:"title is-6",textContent:g(n.item.item_count)},null,8,v7)]))])]),n.item.folder?ee("",!0):(E(),P("footer",b7,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,z7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,C7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,w7)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const tv=ie(s7,[["render",k7]]),x7={name:"ListPlaylists",components:{ModalDialogPlaylist:tv},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}}},S7=["onClick"],E7={class:"media-left is-clickable"},$7={class:"media-content is-clickable is-clipped"},T7=["textContent"],A7={class:"media-right"},O7=["onClick"];function P7(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-playlist");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(n.items,l=>(E(),P("div",{key:l.itemId,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("figure",E7,[v(i,{class:"icon",name:s.icon_name(l.item),size:"16"},null,8,["name"])]),c("div",$7,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,T7)]),c("div",A7,[c("a",{onClick:_t(u=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,O7)])],8,S7))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const tl=ie(x7,[["render",P7]]),la={load(e){return e.query.directory?j.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new Ee(t.data.playlists),e.tracks=new Ee(t.data.tracks)):(e.$store.state.config.directories?e.dirs=e.$store.state.config.directories.map(n=>({path:n})):j.config().then(n=>{e.dirs=n.data.directories.map(r=>({path:r}))}),e.playlists=new Ee,e.tracks=new Ee)}},I7={name:"PageFiles",components:{ContentWithHeading:Qe,ListDirectories:o7,ListPlaylists:tl,ListTracks:mn,ModalDialogDirectory:ev},beforeRouteEnter(e,t,n){la.load(e).then(r=>{n(o=>la.set(o,r))})},beforeRouteUpdate(e,t,n){la.load(e).then(r=>{la.set(this,r),n()})},data(){return{dirs:[],playlists:new Ee,show_details_modal:!1,tracks:new Ee}},computed:{current_directory(){return this.$route.query&&this.$route.query.directory?this.$route.query.directory:"/"},play_expression(){return`path starts with "${this.current_directory}" order by path asc`}},methods:{play(){j.player_play_expression(this.play_expression,!1)}}},L7=["textContent"],N7=["textContent"],D7={class:"buttons is-centered"},R7=["textContent"];function M7(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-directories"),l=A("list-playlists"),u=A("list-tracks"),d=A("modal-dialog-directory"),m=A("content-with-heading");return E(),P("div",null,[v(m,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,L7),c("p",{class:"title is-7 has-text-grey",textContent:g(s.current_directory)},null,8,N7)]),"heading-right":L(()=>[c("div",D7,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.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)=>s.play&&s.play(...f))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.files.play"))},null,8,R7)])])]),content:L(()=>[v(a,{items:o.dirs},null,8,["items"]),v(l,{items:o.playlists},null,8,["items"]),v(u,{expression:s.play_expression,items:o.tracks,show_icon:!0},null,8,["expression","items"]),v(d,{item:s.current_directory,show:o.show_details_modal,onClose:t[2]||(t[2]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const F7=ie(I7,[["render",M7]]),Gp={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[0],e.albums=new Ee(t[1].data.albums,{index:{field:"name_sort",type:String}})}},V7={name:"PageGenreAlbums",components:{ContentWithHeading:Qe,IndexButtonList:Jn,ListAlbums:bn,ModalDialogGenre:Qd},beforeRouteEnter(e,t,n){Gp.load(e).then(r=>{n(o=>Gp.set(o,r))})},data(){return{albums:new Ee,genre:{},media_kind:this.$route.query.media_kind,show_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){j.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},H7=["textContent"],U7={class:"buttons is-centered"},j7=["textContent"],B7={class:"heading has-text-centered-mobile"},W7=["textContent"],q7=c("span",null," | ",-1),G7=["textContent"];function K7(e,t,n,r,o,s){const i=A("index-button-list"),a=A("mdicon"),l=A("list-albums"),u=A("modal-dialog-genre"),d=A("content-with-heading");return E(),P("div",null,[v(d,null,{options:L(()=>[v(i,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,H7)]),"heading-right":L(()=>[c("div",U7,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.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)=>s.play&&s.play(...m))},[v(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,j7)])])]),content:L(()=>[c("p",B7,[c("span",{textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,W7),q7,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,G7)]),v(l,{items:o.albums},null,8,["items"]),v(u,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[3]||(t[3]=m=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const Z7=ie(V7,[["render",K7]]),Kp={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[0],e.tracks_list=new Ee(t[1].data.tracks)}},Y7={name:"PageGenreTracks",components:{ContentWithHeading:Qe,ControlDropdown:To,IndexButtonList:Jn,ListTracks:mn,ModalDialogGenre:Qd},beforeRouteEnter(e,t,n){Kp.load(e).then(r=>{n(o=>Kp.set(o,r))})},data(){return{genre:{},grouping_options:[{id:1,name:this.$t("page.genre.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.genre.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_grouping_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(Sh,e)}},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){j.player_play_expression(this.expression,!0)}}},X7={class:"columns"},J7={class:"column"},Q7=["textContent"],eF=["textContent"],tF={class:"buttons is-centered"},nF=["textContent"],rF={class:"heading has-text-centered-mobile"},oF=["textContent"],sF=c("span",null," | ",-1),iF=["textContent"];function aF(e,t,n,r,o,s){const i=A("index-button-list"),a=A("control-dropdown"),l=A("mdicon"),u=A("list-tracks"),d=A("modal-dialog-genre"),m=A("content-with-heading");return E(),P("div",null,[v(m,null,{options:L(()=>[v(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",X7,[c("div",J7,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort.title"))},null,8,Q7),v(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,eF)]),"heading-right":L(()=>[c("div",tF,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.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)=>s.play&&s.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,nF)])])]),content:L(()=>[c("p",rF,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_genre&&s.open_genre(...f)),textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,oF),sF,c("span",{textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,iF)]),v(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),v(d,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const lF=ie(Y7,[["render",aF]]),Zp={load(e){return j.library_genres("music")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},cF={name:"PageGenres",components:{ContentWithHeading:Qe,IndexButtonList:Jn,ListGenres:Q1,TabsMusic:ur},beforeRouteEnter(e,t,n){Zp.load(e).then(r=>{n(o=>Zp.set(o,r))})},data(){return{genres:new Ee}}},uF={class:"fd-page-with-tabs"},dF=["textContent"],mF=["textContent"];function fF(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("list-genres"),u=A("content-with-heading");return E(),P("div",uF,[v(i),v(u,null,{options:L(()=>[v(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,dF),c("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:o.genres.total}))},null,8,mF)]),content:L(()=>[v(l,{items:o.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const pF=ie(cF,[["render",fF]]),Yp={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.recently_added=new Ee(t[0].data.albums),e.recently_played=new Ee(t[1].data.tracks)}},hF={name:"PageMusic",components:{ContentWithHeading:Qe,ListAlbums:bn,ListTracks:mn,TabsMusic:ur},beforeRouteEnter(e,t,n){Yp.load(e).then(r=>{n(o=>Yp.set(o,r))})},data(){return{recently_added:[],recently_played:{items:[]},selected_track:{}}}},_F={class:"fd-page-with-tabs"},gF=["textContent"],yF={class:"level"},vF={class:"level-item"},bF=["textContent"],zF={class:"level"},CF={class:"level-item"};function wF(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums"),l=A("router-link"),u=A("content-with-heading"),d=A("list-tracks");return E(),P("div",_F,[v(i),v(u,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,gF)]),content:L(()=>[v(a,{items:o.recently_added},null,8,["items"])]),footer:L(()=>[c("nav",yF,[c("p",vF,[v(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:L(()=>[xt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),v(u,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,bF)]),content:L(()=>[v(d,{items:o.recently_played},null,8,["items"])]),footer:L(()=>[c("nav",zF,[c("p",CF,[v(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:L(()=>[xt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const kF=ie(hF,[["render",wF]]),Xp={load(e){const t=ht.getters.settings_option_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.recently_added=new Ee(t.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},xF={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:Qe,ListAlbums:bn,TabsMusic:ur},beforeRouteEnter(e,t,n){Xp.load(e).then(r=>{n(o=>Xp.set(o,r))})},data(){return{recently_added:new Ee}}},SF={class:"fd-page-with-tabs"},EF=["textContent"];function $F(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums"),l=A("content-with-heading");return E(),P("div",SF,[v(i),v(l,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,EF)]),content:L(()=>[v(a,{items:o.recently_added},null,8,["items"])]),_:1})])}const TF=ie(xF,[["render",$F]]),Jp={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.recently_played=new Ee(t.data.tracks)}},AF={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:Qe,ListTracks:mn,TabsMusic:ur},beforeRouteEnter(e,t,n){Jp.load(e).then(r=>{n(o=>Jp.set(o,r))})},data(){return{recently_played:{}}}},OF={class:"fd-page-with-tabs"},PF=["textContent"];function IF(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-tracks"),l=A("content-with-heading");return E(),P("div",OF,[v(i),v(l,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,PF)]),content:L(()=>[v(a,{items:o.recently_played},null,8,["items"])]),_:1})])}const LF=ie(AF,[["render",IF]]),NF={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)}}},DF={key:0,class:"modal is-active"},RF={class:"modal-content"},MF={class:"card"},FF={class:"card-content"},VF={class:"title is-4"},HF=["textContent"],UF={class:"content is-small"},jF=["textContent"],BF=["textContent"],WF=["textContent"],qF=["textContent"],GF=["textContent"],KF=["textContent"],ZF={class:"card-footer"},YF=["textContent"],XF=["textContent"],JF=["textContent"];function QF(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",DF,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",RF,[c("div",MF,[c("div",FF,[c("p",VF,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:g(n.item.name)},null,8,HF)]),c("div",UF,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,jF),c("span",{class:"title is-6",textContent:g(n.item.owner.display_name)},null,8,BF)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,WF),c("span",{class:"title is-6",textContent:g(n.item.tracks.total)},null,8,qF)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,GF),c("span",{class:"title is-6",textContent:g(n.item.uri)},null,8,KF)])])]),c("footer",ZF,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,YF)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add-next"))},null,8,XF)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,JF)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const nv=ie(NF,[["render",QF]]),eV={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:nv},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}}},tV=["onClick"],nV=["textContent"],rV=["textContent"],oV={class:"media-right"},sV=["onClick"];function iV(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-playlist-spotify");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(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=>s.open(l)},[c("h1",{class:"title is-6",textContent:g(l.name)},null,8,nV),c("h2",{class:"subtitle is-7",textContent:g(l.owner.display_name)},null,8,rV)],8,tV),c("div",oV,[c("a",{onClick:_t(u=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,sV)])]))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const nl=ie(eV,[["render",iV]]),Qp={load(e){return j.spotify().then(({data:t})=>{const n=new Xn;return n.setAccessToken(t.webapi_token),Promise.all([n.getNewReleases({country:t.webapi_country,limit:3}),n.getFeaturedPlaylists({country:t.webapi_country,limit:3})])})},set(e,t){e.new_releases=t[0].albums.items,e.featured_playlists=t[1].playlists.items}},aV={name:"PageMusicSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,ListPlaylistsSpotify:nl,TabsMusic:ur},beforeRouteEnter(e,t,n){Qp.load(e).then(r=>{n(o=>Qp.set(o,r))})},data(){return{featured_playlists:[],new_releases:[]}}},lV={class:"fd-page-with-tabs"},cV=["textContent"],uV={class:"level"},dV={class:"level-item"},mV=["textContent"],fV={class:"level"},pV={class:"level-item"};function hV(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums-spotify"),l=A("router-link"),u=A("content-with-heading"),d=A("list-playlists-spotify");return E(),P("div",lV,[v(i),v(u,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,cV)]),content:L(()=>[v(a,{items:o.new_releases},null,8,["items"])]),footer:L(()=>[c("nav",uV,[c("p",dV,[v(l,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:L(()=>[xt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),v(u,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,mV)]),content:L(()=>[v(d,{items:o.featured_playlists},null,8,["items"])]),footer:L(()=>[c("nav",fV,[c("p",pV,[v(l,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:L(()=>[xt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const _V=ie(aV,[["render",hV]]),eh={load(e){return j.spotify().then(({data:t})=>{const n=new Xn;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.featured_playlists=t.playlists.items}},gV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:Qe,ListPlaylistsSpotify:nl,TabsMusic:ur},beforeRouteEnter(e,t,n){eh.load(e).then(r=>{n(o=>eh.set(o,r))})},data(){return{featured_playlists:[]}}},yV={class:"fd-page-with-tabs"},vV=["textContent"];function bV(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-playlists-spotify"),l=A("content-with-heading");return E(),P("div",yV,[v(i),v(l,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,vV)]),content:L(()=>[v(a,{items:o.featured_playlists},null,8,["items"])]),_:1})])}const zV=ie(gV,[["render",bV]]),th={load(e){return j.spotify().then(({data:t})=>{const n=new Xn;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.new_releases=t.albums.items}},CV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,TabsMusic:ur},beforeRouteEnter(e,t,n){th.load(e).then(r=>{n(o=>th.set(o,r))})},data(){return{new_releases:[]}}},wV={class:"fd-page-with-tabs"},kV=["textContent"];function xV(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums-spotify"),l=A("content-with-heading");return E(),P("div",wV,[v(i),v(l,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,kV)]),content:L(()=>[v(a,{items:o.new_releases},null,8,["items"])]),_:1})])}const SV=ie(CV,[["render",xV]]),EV={name:"LyricsPane",data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.player.state==="play"},verse_index(){if(this.lyrics.length&&this.lyrics[0].time){const e=this.player.item_progress_ms/1e3,t=this.lyrics,n=this.player.item_id!==this.lastItemId,r=this.lastIndex>=0&&this.lastIndex<t.length&&t[this.lastIndex].time>e;if((n||r)&&this.reset_scrolling(),this.lastIndex<t.length-1&&t[this.lastIndex+1].time>e||this.lastIndex===t.length-1)return this.lastIndex;if(this.lastIndex<t.length-2&&t[this.lastIndex+2].time>e)return this.lastIndex+1;let o=0,s=t.length-1,i;for(;o<=s;){i=o+s>>1;const a=t[i],l=t[i+1];if(a.time<=e&&((l==null?void 0:l.time)>e||!l))return i;a.time<e?o=i+1:s=i-1}return-1}return this.reset_scrolling(),-1},lyrics(){const e=this.$store.state.lyrics.content,t=[];if(e){const n=/(\[(\d+):(\d+)(?:\.\d+)?\] ?)?(.*)/;e.split(`
|
||
`).forEach((r,o)=>{const s=n.exec(r);if(s&&s[4]){const i={text:s[4],time:s[2]*60+Number(s[3])};t.push(i)}}),t.forEach((r,o,s)=>{const a=(o<s.length-1?s[o+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(u=>{const d=u.length*a;return l+=d,{duration:d,delay:l,text:u}})})}return t},player(){return this.$store.state.player}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},start_scrolling(e){(e.screenX||e.screenX!==0||e.screenY||e.screenY!==0)&&(this.autoScrolling=!1,this.scrollingTimer&&clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})}}},$V=["textContent"],TV={key:1};function AV(e,t,n,r,o,s){return E(),P("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>o.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>o.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>s.start_scrolling&&s.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>s.start_scrolling&&s.start_scrolling(...i))},[(E(!0),P(Ce,null,Ct(s.lyrics,(i,a)=>(E(),P(Ce,{key:a},[a===s.verse_index?(E(),P("div",{key:0,class:ze({"is-highlighted":s.is_playing})},[(E(!0),P(Ce,null,Ct(i.words,l=>(E(),P("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:eo({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,$V)]))),128))],2)):(E(),P("div",TV,g(i.text),1))],64))),128))],544)}const OV=ie(EV,[["render",AV],["__scopeId","data-v-b7725cdd"]]),PV={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 Xn;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)}}},IV={key:0,class:"modal is-active"},LV={class:"modal-content"},NV={class:"card"},DV={class:"card-content"},RV=["textContent"],MV=["textContent"],FV={class:"content is-small"},VV={key:0},HV=["textContent"],UV=["textContent"],jV={key:1},BV=["textContent"],WV=["textContent"],qV={key:2},GV=["textContent"],KV=["textContent"],ZV={key:3},YV=["textContent"],XV=["textContent"],JV={key:4},QV=["textContent"],e9=["textContent"],t9={key:5},n9=["textContent"],r9=["textContent"],o9={key:6},s9=["textContent"],i9=["textContent"],a9=["textContent"],l9=["textContent"],c9=["textContent"],u9={class:"title is-6"},d9=["textContent"],m9={key:7},f9=["textContent"],p9={class:"title is-6"},h9=["textContent"],_9=["textContent"],g9=["textContent"],y9=["textContent"],v9={class:"card-footer"},b9=["textContent"],z9=["textContent"];function C9(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",IV,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",LV,[c("div",NV,[c("div",DV,[c("p",{class:"title is-4",textContent:g(n.item.title)},null,8,RV),c("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,MV),c("div",FV,[n.item.album?(E(),P("p",VV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,HV),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.item.album)},null,8,UV)])):ee("",!0),n.item.album_artist?(E(),P("p",jV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,BV),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:g(n.item.album_artist)},null,8,WV)])):ee("",!0),n.item.composer?(E(),P("p",qV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,GV),c("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,KV)])):ee("",!0),n.item.year?(E(),P("p",ZV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,YV),c("span",{class:"title is-6",textContent:g(n.item.year)},null,8,XV)])):ee("",!0),n.item.genre?(E(),P("p",JV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,QV),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:g(n.item.genre)},null,8,e9)])):ee("",!0),n.item.disc_number?(E(),P("p",t9,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,n9),c("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,r9)])):ee("",!0),n.item.length_ms?(E(),P("p",o9,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,s9),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,i9)])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,a9),c("span",{class:"title is-6",textContent:g(n.item.path)},null,8,l9)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,c9),c("span",u9,[c("span",{textContent:g(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,d9)])]),n.item.samplerate?(E(),P("p",m9,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,f9),c("span",p9,[c("span",{textContent:g(n.item.type)},null,8,h9),n.item.samplerate?(E(),P("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,_9)):ee("",!0),n.item.channels?(E(),P("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,g9)):ee("",!0),n.item.bitrate?(E(),P("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,y9)):ee("",!0)])])):ee("",!0)])]),c("footer",v9,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.remove&&s.remove(...a))},[v(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,b9)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,z9)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const rv=ie(PV,[["render",C9]]),Nr=1e3,w9={name:"PageNowPlaying",components:{ControlSlider:Vd,CoverArtwork:xr,LyricsPane:OV,ModalDialogQueueItem:rv},data(){return{cursor:Nl,INTERVAL:Nr,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{is_live(){return this.track.length_ms===0},lyrics_visible(){return this.$store.state.lyrics.pane},player(){return this.$store.state.player},track(){return this.$store.getters.now_playing},track_progress:{get(){return Math.floor(this.player.item_progress_ms/Nr)},set(e){this.player.item_progress_ms=e*Nr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Nr)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Nr)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_composer_for_genre(){return this.$store.getters.settings_option_show_composer_for_genre},composer(){return this.settings_option_show_composer_now_playing&&(!this.settings_option_show_composer_for_genre||this.track.genre&&this.settings_option_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.track.composer:null},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing},filepath(){return this.settings_option_show_filepath_now_playing?this.track.path:null}},watch:{player(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Nr))}},created(){j.player_status().then(({data:e})=>{this.$store.commit(Wu,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Nr))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{tick(){this.is_dragged||(this.track_progress+=1)},start_dragging(){this.is_dragged=!0},end_dragging(){this.is_dragged=!1},seek(){this.is_live||j.player_seek_to_pos(this.track_progress*Nr)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},k9={class:"hero is-full-height"},x9={key:0,class:"hero-body is-flex is-align-items-center"},S9={class:"container has-text-centered",style:{"max-width":"500px"}},E9={class:"is-flex is-justify-content-space-between"},$9=["textContent"],T9=["textContent"],A9=["textContent"],O9=["textContent"],P9=["textContent"],I9=["textContent"],L9=["textContent"],N9={key:1,class:"hero-body is-flex is-align-items-center"},D9={class:"container has-text-centered"},R9=["textContent"],M9=["textContent"];function F9(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("lyrics-pane"),l=A("control-slider"),u=A("modal-dialog-queue-item");return E(),P("div",k9,[s.track.id>0?(E(),P("div",x9,[c("div",S9,[v(i,{artwork_url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:ze(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":s.lyrics_visible}]),onClick:t[0]||(t[0]=d=>s.open_dialog(s.track))},null,8,["artwork_url","artist","album","class"]),s.lyrics_visible?(E(),xe(a,{key:0})):ee("",!0),v(l,{value:s.track_progress,"onUpdate:value":t[1]||(t[1]=d=>s.track_progress=d),class:"mt-5",disabled:s.is_live,max:s.track_progress_max,cursor:o.cursor,onChange:s.seek,onMousedown:s.start_dragging,onMouseup:s.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),c("div",E9,[c("p",{class:"subtitle is-7",textContent:g(s.track_elapsed_time)},null,8,$9),c("p",{class:"subtitle is-7",textContent:g(s.track_total_time)},null,8,T9)]),c("p",{class:"title is-5",textContent:g(s.track.title)},null,8,A9),c("p",{class:"title is-6",textContent:g(s.track.artist)},null,8,O9),s.composer?(E(),P("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(s.composer)},null,8,P9)):ee("",!0),s.track.album?(E(),P("p",{key:2,class:"subtitle is-6",textContent:g(s.track.album)},null,8,I9)):ee("",!0),s.filepath?(E(),P("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:g(s.filepath)},null,8,L9)):ee("",!0)])])):(E(),P("div",N9,[c("div",D9,[c("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,R9),c("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,M9)])])),v(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["show","item"])])}const V9=ie(w9,[["render",F9]]),ca={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)}},H9={name:"PagePlaylistFolder",components:{ContentWithHeading:Qe,ListPlaylists:tl},beforeRouteEnter(e,t,n){ca.load(e).then(r=>{n(o=>ca.set(o,r))})},beforeRouteUpdate(e,t,n){ca.load(e).then(r=>{ca.set(this,r),n()})},data(){return{playlist:{},playlists_list:new Ee}},computed:{playlists(){return this.playlists_list.group({filters:[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]}),this.playlists_list},radio_playlists(){return this.$store.state.config.radio_playlists}}},U9=["textContent"],j9=["textContent"];function B9(e,t,n,r,o,s){const i=A("list-playlists"),a=A("content-with-heading");return E(),P("div",null,[v(a,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(o.playlist.id===0?e.$t("page.playlists.title"):o.playlist.name)},null,8,U9),c("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,j9)]),content:L(()=>[v(i,{items:s.playlists},null,8,["items"])]),_:1})])}const W9=ie(H9,[["render",B9]]),nh={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)}},q9={name:"PagePlaylistTracks",components:{ContentWithHeading:Qe,ListTracks:mn,ModalDialogPlaylist:tv},beforeRouteEnter(e,t,n){nh.load(e).then(r=>{n(o=>nh.set(o,r))})},data(){return{playlist:{},show_details_modal:!1,tracks:new Ee}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join():this.playlist.uri}},methods:{play(){j.player_play_uri(this.uris,!0)}}},G9=["textContent"],K9={class:"buttons is-centered"},Z9=["textContent"],Y9=["textContent"];function X9(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-tracks"),l=A("modal-dialog-playlist"),u=A("content-with-heading");return E(),P("div",null,[v(u,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,G9)]),"heading-right":L(()=>[c("div",K9,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.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)=>s.play&&s.play(...d))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,Z9)])])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,Y9),v(a,{items:o.tracks,uris:s.uris},null,8,["items","uris"]),v(l,{item:o.playlist,show:o.show_details_modal,uris:s.uris,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const J9=ie(q9,[["render",X9]]),Du=50,rh={load(e){const t=new Xn;return t.setAccessToken(ht.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:Du,market:ht.state.spotify.webapi_country,offset:0})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},Q9={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:Qe,ListTracksSpotify:Qa,ModalDialogPlaylistSpotify:nv,VueEternalLoading:Xd},beforeRouteEnter(e,t,n){rh.load(e).then(r=>{n(o=>rh.set(o,r))})},data(){return{offset:0,playlist:{tracks:{}},show_playlist_details_modal:!1,total:0,tracks:[]}},methods:{append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const{track:r}=n;r&&(r.is_playable&&(r.position=++t),this.tracks.push(r))}),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new Xn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Du,market:ht.state.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,Du)})},play(){this.show_details_modal=!1,j.player_play_uri(this.playlist.uri,!0)}}},eH=["textContent"],tH={class:"buttons is-centered"},nH=["textContent"],rH=["textContent"],oH={class:"columns is-centered"},sH={class:"column has-text-centered"};function iH(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-tracks-spotify"),l=A("VueEternalLoading"),u=A("modal-dialog-playlist-spotify"),d=A("content-with-heading");return E(),P("div",null,[v(d,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,eH)]),"heading-right":L(()=>[c("div",tH,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.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)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,nH)])])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,rH),v(a,{items:o.tracks,context_uri:o.playlist.uri},null,8,["items","context_uri"]),o.offset<o.total?(E(),xe(l,{key:0,load:s.load_next},{loading:L(()=>[c("div",oH,[c("div",sH,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":L(()=>[xt(" ")]),_:1},8,["load"])):ee("",!0),v(u,{item:o.playlist,show:o.show_playlist_details_modal,onClose:t[2]||(t[2]=m=>o.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const aH=ie(Q9,[["render",iH]]),oh={load(e){return Promise.all([j.library_album(e.params.id),j.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data.tracks)}},lH={name:"PagePodcast",components:{ContentWithHero:jl,CoverArtwork:xr,ListTracks:mn,ModalDialog:Fd,ModalDialogAlbum:Bl},beforeRouteEnter(e,t,n){oh.load(e).then(r=>{n(o=>oh.set(o,r))})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new Ee}},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"})})}}},cH=["textContent"],uH=c("h2",{class:"subtitle is-6"}," ",-1),dH={class:"buttons fd-is-centered-mobile mt-5"},mH=["textContent"],fH=["textContent"],pH=["textContent"],hH={class:"is-size-7"},_H=["textContent"],gH=["textContent"];function yH(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks"),u=A("modal-dialog-album"),d=A("modal-dialog"),m=A("content-with-hero");return E(),P("div",null,[v(m,null,{"heading-left":L(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,cH),uH,c("div",dH,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>s.play&&s.play(...f))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.podcast.play"))},null,8,mH)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":L(()=>[v(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:L(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:g(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,fH),v(l,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["items","onPlayCountChanged"]),v(u,{item:o.album,show:o.show_details_modal,media_kind:"podcast",onClose:t[3]||(t[3]=f=>o.show_details_modal=!1),onPlayCountChanged:s.reload_tracks,onRemovePodcast:s.open_remove_podcast_dialog},null,8,["item","show","onPlayCountChanged","onRemovePodcast"]),v(d,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=f=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":L(()=>[c("p",{textContent:g(e.$t("page.podcast.remove-info-1"))},null,8,pH),c("p",hH,[xt(" ("),c("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,_H),c("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,gH),xt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const vH=ie(lH,[["render",yH]]),bH={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}}},zH={key:0,class:"modal is-active"},CH={class:"modal-content"},wH={class:"card-content"},kH=["textContent"],xH={class:"field"},SH={class:"control has-icons-left"},EH=["placeholder","disabled"],$H=["textContent"],TH={key:0,class:"card-footer"},AH={class:"card-footer-item has-text-dark"},OH=["textContent"],PH={key:1,class:"card-footer is-clipped"},IH=["textContent"],LH=["textContent"];function NH(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",zH,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",CH,[c("form",{class:"card",onSubmit:t[5]||(t[5]=_t((...a)=>s.add_stream&&s.add_stream(...a),["prevent"]))},[c("div",wH,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,kH),c("div",xH,[c("p",SH,[pt(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,EH),[[dn,o.url]]),v(i,{class:"icon is-left",name:"rss",size:"16"})]),c("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,$H)])]),o.loading?(E(),P("footer",TH,[c("a",AH,[v(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,OH)])])):(E(),P("footer",PH,[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:g(e.$t("dialog.add.rss.cancel"))},null,8,IH)]),c("a",{class:ze([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,LH)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const DH=ie(bH,[["render",NH]]),sh={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.new_episodes=new Ee(t[1].data.tracks)}},RH={name:"PagePodcasts",components:{ContentWithHeading:Qe,ListAlbums:bn,ListTracks:mn,ModalDialogAddRss:DH},beforeRouteEnter(e,t,n){sh.load(e).then(r=>{n(o=>sh.set(o,r))})},data(){return{albums:[],new_episodes:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played(){this.new_episodes.items.forEach(e=>{j.library_track_update(e.id,{play_count:"increment"})}),this.new_episodes.items={}},open_add_podcast_dialog(e){this.show_url_modal=!0},reload_new_episodes(){j.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=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(Bu,"rss"),this.$store.commit(ki,!0)}}},MH=["textContent"],FH={class:"buttons is-centered"},VH=["textContent"],HH=["textContent"],UH=["textContent"],jH={class:"buttons is-centered"},BH=["textContent"],WH=["textContent"];function qH(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-tracks"),l=A("content-with-heading"),u=A("list-albums"),d=A("modal-dialog-add-rss");return E(),P("div",null,[o.new_episodes.items.length>0?(E(),xe(l,{key:0},{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,MH)]),"heading-right":L(()=>[c("div",FH,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=(...m)=>s.mark_all_played&&s.mark_all_played(...m))},[v(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,VH)])])]),content:L(()=>[v(a,{items:o.new_episodes,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):ee("",!0),v(l,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,HH),c("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,UH)]),"heading-right":L(()=>[c("div",jH,[s.rss.tracks>0?(E(),P("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...m)=>s.update_rss&&s.update_rss(...m))},[v(i,{class:"icon",name:"refresh",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,BH)])):ee("",!0),c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...m)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...m))},[v(i,{class:"icon",name:"rss",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,WH)])])]),content:L(()=>[v(u,{items:o.albums,onPlayCountChanged:t[3]||(t[3]=m=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=m=>s.reload_podcasts())},null,8,["items"]),v(d,{show:o.show_url_modal,onClose:t[5]||(t[5]=m=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=m=>s.reload_podcasts())},null,8,["show"])]),_:1})])}const GH=ie(RH,[["render",qH]]),KH={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})}}},ZH={key:0,class:"media is-align-items-center"},YH={key:0,class:"media-left"},XH=["textContent"],JH=["textContent"],QH=["textContent"],eU={class:"media-right"};function tU(e,t,n,r,o,s){const i=A("mdicon");return s.is_next||!n.show_only_next_items?(E(),P("div",ZH,[n.edit_mode?(E(),P("div",YH,[v(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):ee("",!0),c("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[c("h1",{class:ze(["title is-6",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next}]),textContent:g(n.item.title)},null,10,XH),c("h2",{class:ze(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:g(n.item.artist)},null,10,JH),c("h2",{class:ze(["subtitle is-7",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:g(n.item.album)},null,10,QH)]),c("div",eU,[vt(e.$slots,"actions")])])):ee("",!0)}const nU=ie(KH,[["render",tU]]),rU={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})}}},oU={key:0,class:"modal is-active"},sU={class:"modal-content"},iU={class:"card-content"},aU=["textContent"],lU={class:"field"},cU={class:"control has-icons-left"},uU=["placeholder","disabled"],dU={key:0,class:"card-footer"},mU={class:"card-footer-item has-text-dark"},fU=["textContent"],pU={key:1,class:"card-footer is-clipped"},hU=["textContent"],_U=["textContent"],gU=["textContent"];function yU(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",oU,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",sU,[c("form",{class:"card",onSubmit:t[6]||(t[6]=_t((...a)=>s.play&&s.play(...a),["prevent"]))},[c("div",iU,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,aU),c("div",lU,[c("p",cU,[pt(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,uU),[[dn,o.url]]),v(i,{class:"icon is-left",name:"web",size:"16"})])])]),o.loading?(E(),P("footer",dU,[c("a",mU,[v(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,fU)])])):(E(),P("footer",pU,[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:g(e.$t("dialog.add.stream.cancel"))},null,8,hU)]),c("a",{class:ze([{"is-disabled":o.disabled},"card-footer-item has-text-dark"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.add"))},null,8,_U)],2),c("a",{class:ze([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,gU)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const vU=ie(rU,[["render",yU]]),bU={name:"ModalDialogPlaylistSave",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,playlist_name:"",loading:!1}},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})}}},zU={key:0,class:"modal is-active"},CU={class:"modal-content"},wU={class:"card-content"},kU=["textContent"],xU={class:"field"},SU={class:"control has-icons-left"},EU=["placeholder","disabled"],$U={key:0,class:"card-footer"},TU={class:"card-footer-item has-text-dark"},AU=["textContent"],OU={key:1,class:"card-footer is-clipped"},PU=["textContent"],IU=["textContent"];function LU(e,t,n,r,o,s){const i=A("mdicon");return E(),xe(Nt,{name:"fade"},{default:L(()=>[n.show?(E(),P("div",zU,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",CU,[c("form",{class:"card",onSubmit:t[5]||(t[5]=_t((...a)=>s.save&&s.save(...a),["prevent"]))},[c("div",wU,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,kU),c("div",xU,[c("p",SU,[pt(c("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.playlist_name=a),class:"input is-shadowless",type:"text",pattern:".+",required:"",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_name&&s.check_name(...a))},null,40,EU),[[dn,o.playlist_name]]),v(i,{class:"icon is-left",name:"file-music",size:"16"})])])]),o.loading?(E(),P("footer",$U,[c("a",TU,[v(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,AU)])])):(E(),P("footer",OU,[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:g(e.$t("dialog.playlist.save.cancel"))},null,8,PU)]),c("a",{class:ze([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.save&&s.save(...a))},[v(i,{class:"icon",name:"content-save",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,IU)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const NU=ie(bU,[["render",LU]]);var ov={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function ih(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ih(Object(n),!0).forEach(function(r){DU(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ih(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function xa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xa=function(t){return typeof t}:xa=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xa(e)}function DU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ln(){return Ln=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},Ln.apply(this,arguments)}function RU(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function MU(e,t){if(e==null)return{};var n=RU(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function FU(e){return VU(e)||HU(e)||UU(e)||jU()}function VU(e){if(Array.isArray(e))return Ru(e)}function HU(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function UU(e,t){if(e){if(typeof e=="string")return Ru(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 Ru(e,t)}}function Ru(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 jU(){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 BU="1.14.0";function br(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Sr=br(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ri=br(/Edge/i),ah=br(/firefox/i),ri=br(/safari/i)&&!br(/chrome/i)&&!br(/android/i),sv=br(/iP(ad|od|hone)/i),WU=br(/chrome/i)&&br(/android/i),iv={capture:!1,passive:!1};function Ke(e,t,n){e.addEventListener(t,n,!Sr&&iv)}function We(e,t,n){e.removeEventListener(t,n,!Sr&&iv)}function rl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function qU(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Un(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&rl(e,t):rl(e,t))||r&&e===n)return e;if(e===n)break}while(e=qU(e))}return null}var lh=/\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(lh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(lh," ")}}function we(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function zo(e,t){var n="";if(typeof e=="string")n=e;else do{var r=we(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function av(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function ir(){var e=document.scrollingElement;return e||document.documentElement}function yt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,d,m;if(e!==window&&e.parentNode&&e!==ir()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,u=s.right,d=s.height,m=s.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!Sr))do if(o&&o.getBoundingClientRect&&(we(o,"transform")!=="none"||n&&we(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(we(o,"border-top-width")),a-=f.left+parseInt(we(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=zo(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,u=a+m)}return{top:i,left:a,bottom:l,right:u,width:m,height:d}}}function ch(e,t,n){for(var r=qr(e,!0),o=yt(e)[t];r;){var s=yt(r)[n],i=void 0;if(n==="top"||n==="left"?i=o>=s:i=o<=s,!i)return r;if(r===ir())break;r=qr(r,!1)}return!1}function _s(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Oe.ghost&&(r||i[s]!==Oe.dragged)&&Un(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function tm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||we(n,"display")==="none"||t&&!rl(n,t));)n=n.previousElementSibling;return n||null}function Tt(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||rl(e,t))&&n++;return n}function uh(e){var t=0,n=0,r=ir();if(e)do{var o=zo(e),s=o.a,i=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function GU(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 qr(e,t){if(!e||!e.getBoundingClientRect)return ir();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=we(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return ir();if(r||t)return n;r=!0}}while(n=n.parentNode);return ir()}function KU(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Sc(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 oi;function lv(e,t){return function(){if(!oi){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),oi=setTimeout(function(){oi=void 0},t)}}}function ZU(){clearTimeout(oi),oi=void 0}function cv(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function nm(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 dh(e,t){we(e,"position","absolute"),we(e,"top",t.top),we(e,"left",t.left),we(e,"width",t.width),we(e,"height",t.height)}function Ec(e){we(e,"position",""),we(e,"top",""),we(e,"left",""),we(e,"width",""),we(e,"height","")}var qt="Sortable"+new Date().getTime();function YU(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(we(o,"display")==="none"||o===Oe.ghost)){e.push({target:o,rect:yt(o)});var s=lr({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=zo(o,!0);i&&(s.top-=i.f,s.left-=i.e)}o.fromRect=s}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(GU(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var s=!1,i=0;e.forEach(function(a){var l=0,u=a.target,d=u.fromRect,m=yt(u),f=u.prevFromRect,p=u.prevToRect,h=a.rect,_=zo(u,!0);_&&(m.top-=_.f,m.left-=_.e),u.toRect=m,u.thisAnimationDuration&&Sc(f,m)&&!Sc(d,m)&&(h.top-m.top)/(h.left-m.left)===(d.top-m.top)/(d.left-m.left)&&(l=JU(h,f,p,o.options)),Sc(m,d)||(u.prevFromRect=d,u.prevToRect=m,l||(l=o.options.animation),o.animate(u,h,m,l)),l&&(s=!0,i=Math.max(i,l),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},l),u.thisAnimationDuration=l)}),clearTimeout(t),s?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,o,s,i){if(i){we(r,"transition",""),we(r,"transform","");var a=zo(this.el),l=a&&a.a,u=a&&a.d,d=(o.left-s.left)/(l||1),m=(o.top-s.top)/(u||1);r.animatingX=!!d,r.animatingY=!!m,we(r,"transform","translate3d("+d+"px,"+m+"px,0)"),this.forRepaintDummy=XU(r),we(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),we(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){we(r,"transition",""),we(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function XU(e){return e.offsetWidth}function JU(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 No=[],$c={initializeByDefault:!0},Mi={mount:function(t){for(var n in $c)$c.hasOwnProperty(n)&&!(n in t)&&(t[n]=$c[n]);No.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),No.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";No.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][s]&&n[i.pluginName][s](lr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](lr({sortable:n},r)))})},initializePlugins:function(t,n,r,o){No.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,Ln(r,u.defaults)}});for(var s in t.options)if(t.options.hasOwnProperty(s)){var i=this.modifyOption(t,s,t.options[s]);typeof i<"u"&&(t.options[s]=i)}},getEventProperties:function(t,n){var r={};return No.forEach(function(o){typeof o.eventProperties=="function"&&Ln(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return No.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function js(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,s=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,m=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[qt],!!t){var _,b=t.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Sr&&!Ri?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=o||n,_.clone=s,_.oldIndex=l,_.newIndex=u,_.oldDraggableIndex=d,_.newDraggableIndex=m,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var k=lr(lr({},h),Mi.getEventProperties(r,t));for(var y in k)_[y]=k[y];n&&n.dispatchEvent(_),b[C]&&b[C].call(t,_)}}var QU=["evt"],nn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=MU(r,QU);Mi.pluginEvent.bind(Oe)(t,n,lr({dragEl:fe,parentEl:St,ghostEl:je,rootEl:gt,nextEl:mo,lastDownEl:Sa,cloneEl:Et,cloneHidden:Wr,dragStarted:Bs,putSortable:Ht,activeSortable:Oe.active,originalEvent:o,oldIndex:Wo,oldDraggableIndex:si,newIndex:hn,newDraggableIndex:jr,hideGhostForTarget:fv,unhideGhostForTarget:pv,cloneNowHidden:function(){Wr=!0},cloneNowShown:function(){Wr=!1},dispatchSortableEvent:function(a){Yt({sortable:n,name:a,originalEvent:o})}},s))};function Yt(e){js(lr({putSortable:Ht,cloneEl:Et,targetEl:fe,rootEl:gt,oldIndex:Wo,oldDraggableIndex:si,newIndex:hn,newDraggableIndex:jr},e))}var fe,St,je,gt,mo,Sa,Et,Wr,Wo,hn,si,jr,ua,Ht,Uo=!1,ol=!1,sl=[],co,Vn,Tc,Ac,mh,fh,Bs,Do,ii,ai=!1,da=!1,Ea,jt,Oc=[],Mu=!1,il=[],ql=typeof document<"u",ma=sv,ph=Ri||Sr?"cssFloat":"float",ej=ql&&!WU&&!sv&&"draggable"in document.createElement("div"),uv=function(){if(ql){if(Sr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),dv=function(t,n){var r=we(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=_s(t,0,n),i=_s(t,1,n),a=s&&we(s),l=i&&we(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+yt(s).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+yt(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=o&&r[ph]==="none"||i&&r[ph]==="none"&&u+d>o)?"vertical":"horizontal"},tj=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,u=r?n.width:n.height;return o===a||s===l||o+i/2===a+u/2},nj=function(t,n){var r;return sl.some(function(o){var s=o[qt].options.emptyInsertThreshold;if(!(!s||tm(o))){var i=yt(o),a=t>=i.left-s&&t<=i.right+s,l=n>=i.top-s&&n<=i.bottom+s;if(a&&l)return r=o}}),r},mv=function(t){function n(s,i){return function(a,l,u,d){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(i||m))return!0;if(s==null||s===!1)return!1;if(i&&s==="clone")return s;if(typeof s=="function")return n(s(a,l,u,d),i)(a,l,u,d);var f=(i?a:l).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var r={},o=t.group;(!o||xa(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},fv=function(){!uv&&je&&we(je,"display","none")},pv=function(){!uv&&je&&we(je,"display","")};ql&&document.addEventListener("click",function(e){if(ol)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ol=!1,!1},!0);var uo=function(t){if(fe){t=t.touches?t.touches[0]:t;var n=nj(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[qt]._onDragOver(r)}}},rj=function(t){fe&&fe.parentNode[qt]._isOutsideThisEl(t.target)};function Oe(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ln({},t),e[qt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return dv(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};Mi.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);mv(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:ej,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ke(e,"pointerdown",this._onTapStart):(Ke(e,"mousedown",this._onTapStart),Ke(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ke(e,"dragover",this),Ke(e,"dragenter",this)),sl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ln(this,YU())}Oe.prototype={constructor:Oe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Do=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,fe):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,s=o.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=o.filter;if(dj(r),!fe&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&ri&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Un(l,o.draggable,r,!1),!(l&&l.animated)&&Sa!==l)){if(Wo=Tt(l),si=Tt(l,o.draggable),typeof d=="function"){if(d.call(this,t,l,this)){Yt({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),nn("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(m){if(m=Un(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)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Un(u,o.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,i=o.options,a=s.ownerDocument,l;if(r&&!fe&&r.parentNode===s){var u=yt(r);if(gt=s,fe=r,St=fe.parentNode,mo=fe.nextSibling,Sa=r,ua=i.group,Oe.dragged=fe,co={target:fe,clientX:(n||t).clientX,clientY:(n||t).clientY},mh=co.clientX-u.left,fh=co.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,fe.style["will-change"]="all",l=function(){if(nn("delayEnded",o,{evt:t}),Oe.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!ah&&o.nativeDraggable&&(fe.draggable=!0),o._triggerDragStart(t,n),Yt({sortable:o,name:"choose",originalEvent:t}),wt(fe,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){av(fe,d.trim(),Pc)}),Ke(a,"dragover",uo),Ke(a,"mousemove",uo),Ke(a,"touchmove",uo),Ke(a,"mouseup",o._onDrop),Ke(a,"touchend",o._onDrop),Ke(a,"touchcancel",o._onDrop),ah&&this.nativeDraggable&&(this.options.touchStartThreshold=4,fe.draggable=!0),nn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ri||Sr))){if(Oe.eventCanceled){this._onDrop();return}Ke(a,"mouseup",o._disableDelayedDrag),Ke(a,"touchend",o._disableDelayedDrag),Ke(a,"touchcancel",o._disableDelayedDrag),Ke(a,"mousemove",o._delayedDragTouchMoveHandler),Ke(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Ke(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){fe&&Pc(fe),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;We(t,"mouseup",this._disableDelayedDrag),We(t,"touchend",this._disableDelayedDrag),We(t,"touchcancel",this._disableDelayedDrag),We(t,"mousemove",this._delayedDragTouchMoveHandler),We(t,"touchmove",this._delayedDragTouchMoveHandler),We(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Ke(document,"pointermove",this._onTouchMove):n?Ke(document,"touchmove",this._onTouchMove):Ke(document,"mousemove",this._onTouchMove):(Ke(fe,"dragend",this),Ke(gt,"dragstart",this._onDragStart));try{document.selection?$a(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Uo=!1,gt&&fe){nn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ke(document,"dragover",rj);var r=this.options;!t&&wt(fe,r.dragClass,!1),wt(fe,r.ghostClass,!0),Oe.active=this,t&&this._appendGhost(),Yt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Vn){this._lastX=Vn.clientX,this._lastY=Vn.clientY,fv();for(var t=document.elementFromPoint(Vn.clientX,Vn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Vn.clientX,Vn.clientY),t!==n);)n=t;if(fe.parentNode[qt]._isOutsideThisEl(t),n)do{if(n[qt]){var r=void 0;if(r=n[qt]._onDragOver({clientX:Vn.clientX,clientY:Vn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);pv()}},_onTouchMove:function(t){if(co){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=je&&zo(je,!0),a=je&&i&&i.a,l=je&&i&&i.d,u=ma&&jt&&uh(jt),d=(s.clientX-co.clientX+o.x)/(a||1)+(u?u[0]-Oc[0]:0)/(a||1),m=(s.clientY-co.clientY+o.y)/(l||1)+(u?u[1]-Oc[1]:0)/(l||1);if(!Oe.active&&!Uo){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(je){i?(i.e+=d-(Tc||0),i.f+=m-(Ac||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,")");we(je,"webkitTransform",f),we(je,"mozTransform",f),we(je,"msTransform",f),we(je,"transform",f),Tc=d,Ac=m,Vn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!je){var t=this.options.fallbackOnBody?document.body:gt,n=yt(fe,!0,ma,!0,t),r=this.options;if(ma){for(jt=t;we(jt,"position")==="static"&&we(jt,"transform")==="none"&&jt!==document;)jt=jt.parentNode;jt!==document.body&&jt!==document.documentElement?(jt===document&&(jt=ir()),n.top+=jt.scrollTop,n.left+=jt.scrollLeft):jt=ir(),Oc=uh(jt)}je=fe.cloneNode(!0),wt(je,r.ghostClass,!1),wt(je,r.fallbackClass,!0),wt(je,r.dragClass,!0),we(je,"transition",""),we(je,"transform",""),we(je,"box-sizing","border-box"),we(je,"margin",0),we(je,"top",n.top),we(je,"left",n.left),we(je,"width",n.width),we(je,"height",n.height),we(je,"opacity","0.8"),we(je,"position",ma?"absolute":"fixed"),we(je,"zIndex","100000"),we(je,"pointerEvents","none"),Oe.ghost=je,t.appendChild(je),we(je,"transform-origin",mh/parseInt(je.style.width)*100+"% "+fh/parseInt(je.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(nn("dragStart",this,{evt:t}),Oe.eventCanceled){this._onDrop();return}nn("setupClone",this),Oe.eventCanceled||(Et=nm(fe),Et.draggable=!1,Et.style["will-change"]="",this._hideClone(),wt(Et,this.options.chosenClass,!1),Oe.clone=Et),r.cloneId=$a(function(){nn("clone",r),!Oe.eventCanceled&&(r.options.removeCloneOnHide||gt.insertBefore(Et,fe),r._hideClone(),Yt({sortable:r,name:"clone"}))}),!n&&wt(fe,s.dragClass,!0),n?(ol=!0,r._loopId=setInterval(r._emulateDragOver,50)):(We(document,"mouseup",r._onDrop),We(document,"touchend",r._onDrop),We(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",s.setData&&s.setData.call(r,o,fe)),Ke(document,"drop",r),we(fe,"transform","translateZ(0)")),Uo=!0,r._dragStartId=$a(r._dragStarted.bind(r,n,t)),Ke(document,"selectstart",r),Bs=!0,ri&&we(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,a=this.options,l=a.group,u=Oe.active,d=ua===l,m=a.sort,f=Ht||u,p,h=this,_=!1;if(Mu)return;function b(ae,Be){nn(ae,h,lr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:m,fromSortable:f,target:r,completed:k,onMove:function(Ve,He){return fa(gt,n,fe,o,Ve,yt(Ve),t,He)},changed:y},Be))}function C(){b("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function k(ae){return b("dragOverCompleted",{insertion:ae}),ae&&(d?u._hideClone():u._showClone(h),h!==f&&(wt(fe,Ht?Ht.options.ghostClass:u.options.ghostClass,!1),wt(fe,a.ghostClass,!0)),Ht!==h&&h!==Oe.active?Ht=h:h===Oe.active&&Ht&&(Ht=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){b("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===fe&&!fe.animated||r===n&&!r.animated)&&(Do=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(fe.parentNode[qt]._isOutsideThisEl(t.target),!ae&&uo(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function y(){hn=Tt(fe),jr=Tt(fe,a.draggable),Yt({sortable:h,name:"change",toEl:n,newIndex:hn,newDraggableIndex:jr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Un(r,a.draggable,n,!0),b("dragOver"),Oe.eventCanceled)return _;if(fe.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return k(!1);if(ol=!1,u&&!a.disabled&&(d?m||(i=St!==gt):Ht===this||(this.lastPutMode=ua.checkPull(this,u,fe,t))&&l.checkPut(this,u,fe,t))){if(p=this._getDirection(t,r)==="vertical",o=yt(fe),b("dragOverValid"),Oe.eventCanceled)return _;if(i)return St=gt,C(),this._hideClone(),b("revert"),Oe.eventCanceled||(mo?gt.insertBefore(fe,mo):gt.appendChild(fe)),k(!0);var z=tm(n,a.draggable);if(!z||aj(t,p,this)&&!z.animated){if(z===fe)return k(!1);if(z&&n===t.target&&(r=z),r&&(s=yt(r)),fa(gt,n,fe,o,r,s,t,!!r)!==!1)return C(),n.appendChild(fe),St=n,y(),k(!0)}else if(z&&ij(t,p,this)){var x=_s(n,0,a,!0);if(x===fe)return k(!1);if(r=x,s=yt(r),fa(gt,n,fe,o,r,s,t,!1)!==!1)return C(),n.insertBefore(fe,x),St=n,y(),k(!0)}else if(r.parentNode===n){s=yt(r);var w=0,N,D=fe.parentNode!==n,O=!tj(fe.animated&&fe.toRect||o,r.animated&&r.toRect||s,p),V=p?"top":"left",X=ch(r,"top","top")||ch(fe,"top","top"),U=X?X.scrollTop:void 0;Do!==r&&(N=s[V],ai=!1,da=!O&&a.invertSwap||D),w=lj(t,r,s,p,O?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,da,Do===r);var W;if(w!==0){var ne=Tt(fe);do ne-=w,W=St.children[ne];while(W&&(we(W,"display")==="none"||W===je))}if(w===0||W===r)return k(!1);Do=r,ii=w;var he=r.nextElementSibling,Z=!1;Z=w===1;var se=fa(gt,n,fe,o,r,s,t,Z);if(se!==!1)return(se===1||se===-1)&&(Z=se===1),Mu=!0,setTimeout(sj,30),C(),Z&&!he?n.appendChild(fe):r.parentNode.insertBefore(fe,Z?he:r),X&&cv(X,0,U-X.scrollTop),St=fe.parentNode,N!==void 0&&!da&&(Ea=Math.abs(N-yt(r)[V])),y(),k(!0)}if(n.contains(fe))return k(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){We(document,"mousemove",this._onTouchMove),We(document,"touchmove",this._onTouchMove),We(document,"pointermove",this._onTouchMove),We(document,"dragover",uo),We(document,"mousemove",uo),We(document,"touchmove",uo)},_offUpEvents:function(){var t=this.el.ownerDocument;We(t,"mouseup",this._onDrop),We(t,"touchend",this._onDrop),We(t,"pointerup",this._onDrop),We(t,"touchcancel",this._onDrop),We(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(hn=Tt(fe),jr=Tt(fe,r.draggable),nn("drop",this,{evt:t}),St=fe&&fe.parentNode,hn=Tt(fe),jr=Tt(fe,r.draggable),Oe.eventCanceled){this._nulling();return}Uo=!1,da=!1,ai=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Fu(this.cloneId),Fu(this._dragStartId),this.nativeDraggable&&(We(document,"drop",this),We(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ri&&we(document.body,"user-select",""),we(fe,"transform",""),t&&(Bs&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(gt===St||Ht&&Ht.lastPutMode!=="clone")&&Et&&Et.parentNode&&Et.parentNode.removeChild(Et),fe&&(this.nativeDraggable&&We(fe,"dragend",this),Pc(fe),fe.style["will-change"]="",Bs&&!Uo&&wt(fe,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),wt(fe,this.options.chosenClass,!1),Yt({sortable:this,name:"unchoose",toEl:St,newIndex:null,newDraggableIndex:null,originalEvent:t}),gt!==St?(hn>=0&&(Yt({rootEl:St,name:"add",toEl:St,fromEl:gt,originalEvent:t}),Yt({sortable:this,name:"remove",toEl:St,originalEvent:t}),Yt({rootEl:St,name:"sort",toEl:St,fromEl:gt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:St,originalEvent:t})),Ht&&Ht.save()):hn!==Wo&&hn>=0&&(Yt({sortable:this,name:"update",toEl:St,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:St,originalEvent:t})),Oe.active&&((hn==null||hn===-1)&&(hn=Wo,jr=si),Yt({sortable:this,name:"end",toEl:St,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){nn("nulling",this),gt=fe=St=je=mo=Et=Sa=Wr=co=Vn=Bs=hn=jr=Wo=si=Do=ii=Ht=ua=Oe.dragged=Oe.ghost=Oe.clone=Oe.active=null,il.forEach(function(t){t.checked=!0}),il.length=Tc=Ac=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":fe&&(this._onDragOver(t),oj(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,s=r.length,i=this.options;o<s;o++)n=r[o],Un(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||uj(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var a=o.children[i];Un(a,this.options.draggable,o,!1)&&(r[s]=a)},this),n&&this.captureAnimationState(),t.forEach(function(s){r[s]&&(o.removeChild(r[s]),o.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Un(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=Mi.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&mv(r)},destroy:function(){nn("destroy",this);var t=this.el;t[qt]=null,We(t,"mousedown",this._onTapStart),We(t,"touchstart",this._onTapStart),We(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(We(t,"dragover",this),We(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sl.splice(sl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Wr){if(nn("hideClone",this),Oe.eventCanceled)return;we(Et,"display","none"),this.options.removeCloneOnHide&&Et.parentNode&&Et.parentNode.removeChild(Et),Wr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Wr){if(nn("showClone",this),Oe.eventCanceled)return;fe.parentNode==gt&&!this.options.group.revertClone?gt.insertBefore(Et,fe):mo?gt.insertBefore(Et,mo):gt.appendChild(Et),this.options.group.revertClone&&this.animate(fe,Et),we(Et,"display",""),Wr=!1}}};function oj(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function fa(e,t,n,r,o,s,i,a){var l,u=e[qt],d=u.options.onMove,m;return window.CustomEvent&&!Sr&&!Ri?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=s||yt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(m=d.call(u,l,i)),m}function Pc(e){e.draggable=!1}function sj(){Mu=!1}function ij(e,t,n){var r=yt(_s(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function aj(e,t,n){var r=yt(tm(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function lj(e,t,n,r,o,s,i,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,d=r?n.top:n.left,m=r?n.bottom:n.right,f=!1;if(!i){if(a&&Ea<u*o){if(!ai&&(ii===1?l>d+u*s/2:l<m-u*s/2)&&(ai=!0),ai)f=!0;else if(ii===1?l<d+Ea:l>m-Ea)return-ii}else if(l>d+u*(1-o)/2&&l<m-u*(1-o)/2)return cj(t)}return f=f||i,f&&(l<d+u*s/2||l>m-u*s/2)?l>d+u/2?1:-1:0}function cj(e){return Tt(fe)<Tt(e)?1:-1}function uj(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){il.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&il.push(r)}}function $a(e){return setTimeout(e,0)}function Fu(e){return clearTimeout(e)}ql&&Ke(document,"touchmove",function(e){(Oe.active||Uo)&&e.cancelable&&e.preventDefault()});Oe.utils={on:Ke,off:We,css:we,find:av,is:function(t,n){return!!Un(t,n,t,!1)},extend:KU,throttle:lv,closest:Un,toggleClass:wt,clone:nm,index:Tt,nextTick:$a,cancelNextTick:Fu,detectDirection:dv,getChild:_s};Oe.get=function(e){return e[qt]};Oe.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Oe.utils=lr(lr({},Oe.utils),r.utils)),Mi.mount(r)})};Oe.create=function(e,t){return new Oe(e,t)};Oe.version=BU;var Pt=[],Ws,Vu,Hu=!1,Ic,Lc,al,qs;function mj(){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?Ke(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ke(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ke(document,"touchmove",this._handleFallbackAutoScroll):Ke(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?We(document,"dragover",this._handleAutoScroll):(We(document,"pointermove",this._handleFallbackAutoScroll),We(document,"touchmove",this._handleFallbackAutoScroll),We(document,"mousemove",this._handleFallbackAutoScroll)),hh(),Ta(),ZU()},nulling:function(){al=Vu=Ws=Hu=qs=Ic=Lc=null,Pt.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,s=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(s,i);if(al=n,r||this.options.forceAutoScrollFallback||Ri||Sr||ri){Nc(n,this.options,a,r);var l=qr(a,!0);Hu&&(!qs||s!==Ic||i!==Lc)&&(qs&&hh(),qs=setInterval(function(){var u=qr(document.elementFromPoint(s,i),!0);u!==l&&(l=u,Ta()),Nc(n,o.options,u,r)},10),Ic=s,Lc=i)}else{if(!this.options.bubbleScroll||qr(a,!0)===ir()){Ta();return}Nc(n,this.options,qr(a,!1),!1)}}},Ln(e,{pluginName:"scroll",initializeByDefault:!0})}function Ta(){Pt.forEach(function(e){clearInterval(e.pid)}),Pt=[]}function hh(){clearInterval(qs)}var Nc=lv(function(e,t,n,r){if(t.scroll){var o=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=ir(),u=!1,d;Vu!==n&&(Vu=n,Ta(),Ws=t.scroll,d=t.scrollFn,Ws===!0&&(Ws=qr(n,!0)));var m=0,f=Ws;do{var p=f,h=yt(p),_=h.top,b=h.bottom,C=h.left,k=h.right,y=h.width,z=h.height,x=void 0,w=void 0,N=p.scrollWidth,D=p.scrollHeight,O=we(p),V=p.scrollLeft,X=p.scrollTop;p===l?(x=y<N&&(O.overflowX==="auto"||O.overflowX==="scroll"||O.overflowX==="visible"),w=z<D&&(O.overflowY==="auto"||O.overflowY==="scroll"||O.overflowY==="visible")):(x=y<N&&(O.overflowX==="auto"||O.overflowX==="scroll"),w=z<D&&(O.overflowY==="auto"||O.overflowY==="scroll"));var U=x&&(Math.abs(k-o)<=i&&V+y<N)-(Math.abs(C-o)<=i&&!!V),W=w&&(Math.abs(b-s)<=i&&X+z<D)-(Math.abs(_-s)<=i&&!!X);if(!Pt[m])for(var ne=0;ne<=m;ne++)Pt[ne]||(Pt[ne]={});(Pt[m].vx!=U||Pt[m].vy!=W||Pt[m].el!==p)&&(Pt[m].el=p,Pt[m].vx=U,Pt[m].vy=W,clearInterval(Pt[m].pid),(U!=0||W!=0)&&(u=!0,Pt[m].pid=setInterval((function(){r&&this.layer===0&&Oe.active._onTouchMove(al);var he=Pt[this.layer].vy?Pt[this.layer].vy*a:0,Z=Pt[this.layer].vx?Pt[this.layer].vx*a:0;typeof d=="function"&&d.call(Oe.dragged.parentNode[qt],Z,he,e,al,Pt[this.layer].el)!=="continue"||cv(Pt[this.layer].el,Z,he)}).bind({layer:m}),24))),m++}while(t.bubbleScroll&&f!==l&&(f=qr(f,!1)));Hu=u}},30),hv=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,s=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var u=r||s;a();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,m=document.elementFromPoint(d.clientX,d.clientY);l(),u&&!u.el.contains(m)&&(i("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function rm(){}rm.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=_s(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:hv};Ln(rm,{pluginName:"revertOnSpill"});function om(){}om.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:hv};Ln(om,{pluginName:"removeOnSpill"});var Sn;function fj(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Sn=r},dragOverValid:function(n){var r=n.completed,o=n.target,s=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(i.options.swap){var u=this.sortable.el,d=this.options;if(o&&o!==u){var m=Sn;s(o)!==!1?(wt(o,d.swapClass,!0),Sn=o):Sn=null,m&&m!==Sn&&wt(m,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,s=n.dragEl,i=o||this.sortable,a=this.options;Sn&&wt(Sn,a.swapClass,!1),Sn&&(a.swap||o&&o.options.swap)&&s!==Sn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),pj(s,Sn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){Sn=null}},Ln(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Sn}}})}function pj(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Tt(e),s=Tt(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var Me=[],pn=[],Ds,Hn,Rs=!1,rn=!1,Ro=!1,ft,Ms,pa;function hj(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Ke(document,"pointerup",this._deselectMultiDrag):(Ke(document,"mouseup",this._deselectMultiDrag),Ke(document,"touchend",this._deselectMultiDrag)),Ke(document,"keydown",this._checkKeyDown),Ke(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,s){var i="";Me.length&&Hn===t?Me.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=s.textContent,o.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;ft=r},delayEnded:function(){this.isMultiDrag=~Me.indexOf(ft)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<Me.length;s++)pn.push(nm(Me[s])),pn[s].sortableIndex=Me[s].sortableIndex,pn[s].draggable=!1,pn[s].style["will-change"]="",wt(pn[s],this.options.selectedClass,!1),Me[s]===ft&&wt(pn[s],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,s=n.dispatchSortableEvent,i=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Me.length&&Hn===r&&(_h(!0,o),s("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(_h(!1,o),pn.forEach(function(i){we(i,"display","")}),r(),pa=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;this.isMultiDrag&&(pn.forEach(function(i){we(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),o(),pa=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Hn&&Hn.multiDrag._deselectMultiDrag(),Me.forEach(function(r){r.sortableIndex=Tt(r)}),Me=Me.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Ro=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){Me.forEach(function(i){i!==ft&&we(i,"position","absolute")});var s=yt(ft,!1,!0,!0);Me.forEach(function(i){i!==ft&&dh(i,s)}),rn=!0,Rs=!0}o.animateAll(function(){rn=!1,Rs=!1,r.options.animation&&Me.forEach(function(i){Ec(i)}),r.options.sort&&ha()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;rn&&~Me.indexOf(r)&&(o(!1),s())},revert:function(n){var r=n.fromSortable,o=n.rootEl,s=n.sortable,i=n.dragRect;Me.length>1&&(Me.forEach(function(a){s.addAnimationState({target:a,rect:rn?yt(a):i}),Ec(a),a.fromRect=i,r.removeAnimationState(a)}),rn=!1,_j(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,u=this.options;if(s){if(o&&i._hideClone(),Rs=!1,u.animation&&Me.length>1&&(rn||!o&&!i.options.sort&&!l)){var d=yt(ft,!1,!0,!0);Me.forEach(function(f){f!==ft&&(dh(f,d),a.appendChild(f))}),rn=!0}if(!o)if(rn||ha(),Me.length>1){var m=pa;i._showClone(r),i.options.animation&&!pa&&m&&pn.forEach(function(f){i.addAnimationState({target:f,rect:Ms}),f.fromRect=Ms,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(Me.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Ms=Ln({},r);var i=zo(ft,!0);Ms.top-=i.f,Ms.left-=i.e}},dragOverAnimationComplete:function(){rn&&(rn=!1,ha())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,u=n.putSortable,d=u||this.sortable;if(r){var m=this.options,f=s.children;if(!Ro)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),wt(ft,m.selectedClass,!~Me.indexOf(ft)),~Me.indexOf(ft))Me.splice(Me.indexOf(ft),1),Ds=null,js({sortable:i,rootEl:o,name:"deselect",targetEl:ft,originalEvt:r});else{if(Me.push(ft),js({sortable:i,rootEl:o,name:"select",targetEl:ft,originalEvt:r}),r.shiftKey&&Ds&&i.el.contains(Ds)){var p=Tt(Ds),h=Tt(ft);if(~p&&~h&&p!==h){var _,b;for(h>p?(b=p,_=h):(b=h,_=p+1);b<_;b++)~Me.indexOf(f[b])||(wt(f[b],m.selectedClass,!0),Me.push(f[b]),js({sortable:i,rootEl:o,name:"select",targetEl:f[b],originalEvt:r}))}}else Ds=ft;Hn=d}if(Ro&&this.isMultiDrag){if(rn=!1,(s[qt].options.sort||s!==o)&&Me.length>1){var C=yt(ft),k=Tt(ft,":not(."+this.options.selectedClass+")");if(!Rs&&m.animation&&(ft.thisAnimationDuration=null),d.captureAnimationState(),!Rs&&(m.animation&&(ft.fromRect=C,Me.forEach(function(z){if(z.thisAnimationDuration=null,z!==ft){var x=rn?yt(z):C;z.fromRect=x,d.addAnimationState({target:z,rect:x})}})),ha(),Me.forEach(function(z){f[k]?s.insertBefore(z,f[k]):s.appendChild(z),k++}),l===Tt(ft))){var y=!1;Me.forEach(function(z){if(z.sortableIndex!==Tt(z)){y=!0;return}}),y&&a("update")}Me.forEach(function(z){Ec(z)}),d.animateAll()}Hn=d}(o===s||u&&u.lastPutMode!=="clone")&&pn.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=Ro=!1,pn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),We(document,"pointerup",this._deselectMultiDrag),We(document,"mouseup",this._deselectMultiDrag),We(document,"touchend",this._deselectMultiDrag),We(document,"keydown",this._checkKeyDown),We(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Ro<"u"&&Ro)&&Hn===this.sortable&&!(n&&Un(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(),js({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)}},Ln(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[qt];!r||!r.options.multiDrag||~Me.indexOf(n)||(Hn&&Hn!==r&&(Hn.multiDrag._deselectMultiDrag(),Hn=r),wt(n,r.options.selectedClass,!0),Me.push(n))},deselect:function(n){var r=n.parentNode[qt],o=Me.indexOf(n);!r||!r.options.multiDrag||!~o||(wt(n,r.options.selectedClass,!1),Me.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return Me.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var i;rn&&s!==ft?i=-1:rn?i=Tt(s,":not(."+n.options.selectedClass+")"):i=Tt(s),o.push({multiDragElement:s,index:i})}),{items:FU(Me),clones:[].concat(pn),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function _j(e,t){Me.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function _h(e,t){pn.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function ha(){Me.forEach(function(e){e!==ft&&e.parentNode&&e.parentNode.removeChild(e)})}Oe.mount(new mj);Oe.mount(om,rm);const gj=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:hj,Sortable:Oe,Swap:fj,default:Oe},Symbol.toStringTag,{value:"Module"})),yj=Oy(gj);(function(e,t){(function(r,o){e.exports=o(My,yj)})(typeof self<"u"?self:Ay,function(n,r){return function(o){var s={};function i(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return o[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=o,i.c=s,i.d=function(a,l,u){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:u})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(i.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var d in a)i.d(u,d,(function(m){return a[m]}).bind(null,d));return u},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(o,s,i){var a=i("b622"),l=a("toStringTag"),u={};u[l]="z",o.exports=String(u)==="[object z]"},"0366":function(o,s,i){var a=i("1c0b");o.exports=function(l,u,d){if(a(l),u===void 0)return l;switch(d){case 0:return function(){return l.call(u)};case 1:return function(m){return l.call(u,m)};case 2:return function(m,f){return l.call(u,m,f)};case 3:return function(m,f,p){return l.call(u,m,f,p)}}return function(){return l.apply(u,arguments)}}},"057f":function(o,s,i){var a=i("fc6a"),l=i("241c").f,u={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(f){try{return l(f)}catch{return d.slice()}};o.exports.f=function(p){return d&&u.call(p)=="[object Window]"?m(p):l(a(p))}},"06cf":function(o,s,i){var a=i("83ab"),l=i("d1e7"),u=i("5c6c"),d=i("fc6a"),m=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=a?h:function(b,C){if(b=d(b),C=m(C,!0),p)try{return h(b,C)}catch{}if(f(b,C))return u(!l.f.call(b,C),b[C])}},"0cfb":function(o,s,i){var a=i("83ab"),l=i("d039"),u=i("cc12");o.exports=!a&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,i){var a=i("23e7"),l=i("d58f").left,u=i("a640"),d=i("ae40"),m=u("reduce"),f=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!f},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,s,i){var a=i("c6b6"),l=i("9263");o.exports=function(u,d){var m=u.exec;if(typeof m=="function"){var f=m.call(u,d);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,d)}},"159b":function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("17c2"),d=i("9112");for(var m in l){var f=a[m],p=f&&f.prototype;if(p&&p.forEach!==u)try{d(p,"forEach",u)}catch{p.forEach=u}}},"17c2":function(o,s,i){var a=i("b727").forEach,l=i("a640"),u=i("ae40"),d=l("forEach"),m=u("forEach");o.exports=!d||!m?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,i){var a=i("d066");o.exports=a("document","documentElement")},"1c0b":function(o,s){o.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(o,s,i){var a=i("b622"),l=a("iterator"),u=!1;try{var d=0,m={next:function(){return{done:!!d++}},return:function(){u=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}o.exports=function(f,p){if(!p&&!u)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},f(_)}catch{}return h}},"1d80":function(o,s){o.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(o,s,i){var a=i("d039"),l=i("b622"),u=i("2d00"),d=l("species");o.exports=function(m){return u>=51||!a(function(){var f=[],p=f.constructor={};return p[d]=function(){return{foo:1}},f[m](Boolean).foo!==1})}},"23cb":function(o,s,i){var a=i("a691"),l=Math.max,u=Math.min;o.exports=function(d,m){var f=a(d);return f<0?l(f+m,0):u(f,m)}},"23e7":function(o,s,i){var a=i("da84"),l=i("06cf").f,u=i("9112"),d=i("6eeb"),m=i("ce4e"),f=i("e893"),p=i("94ca");o.exports=function(h,_){var b=h.target,C=h.global,k=h.stat,y,z,x,w,N,D;if(C?z=a:k?z=a[b]||m(b,{}):z=(a[b]||{}).prototype,z)for(x in _){if(N=_[x],h.noTargetGet?(D=l(z,x),w=D&&D.value):w=z[x],y=p(C?x:b+(k?".":"#")+x,h.forced),!y&&w!==void 0){if(typeof N==typeof w)continue;f(N,w)}(h.sham||w&&w.sham)&&u(N,"sham",!0),d(z,x,N,h)}}},"241c":function(o,s,i){var a=i("ca84"),l=i("7839"),u=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(m){return a(m,u)}},"25f0":function(o,s,i){var a=i("6eeb"),l=i("825a"),u=i("d039"),d=i("ad6d"),m="toString",f=RegExp.prototype,p=f[m],h=u(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=m;(h||_)&&a(RegExp.prototype,m,function(){var C=l(this),k=String(C.source),y=C.flags,z=String(y===void 0&&C instanceof RegExp&&!("flags"in f)?d.call(C):y);return"/"+k+"/"+z},{unsafe:!0})},"2ca0":function(o,s,i){var a=i("23e7"),l=i("06cf").f,u=i("50c4"),d=i("5a34"),m=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,b=f("startsWith"),C=!p&&!b&&!!function(){var k=l(String.prototype,"startsWith");return k&&!k.writable}();a({target:"String",proto:!0,forced:!C&&!b},{startsWith:function(y){var z=String(m(this));d(y);var x=u(_(arguments.length>1?arguments[1]:void 0,z.length)),w=String(y);return h?h.call(z,w,x):z.slice(x,x+w.length)===w}})},"2d00":function(o,s,i){var a=i("da84"),l=i("342f"),u=a.process,d=u&&u.versions,m=d&&d.v8,f,p;m?(f=m.split("."),p=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(p=f[1]))),o.exports=p&&+p},"342f":function(o,s,i){var a=i("d066");o.exports=a("navigator","userAgent")||""},"35a1":function(o,s,i){var a=i("f5df"),l=i("3f8c"),u=i("b622"),d=u("iterator");o.exports=function(m){if(m!=null)return m[d]||m["@@iterator"]||l[a(m)]}},"37e8":function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("825a"),d=i("df75");o.exports=a?Object.defineProperties:function(f,p){u(f);for(var h=d(p),_=h.length,b=0,C;_>b;)l.f(f,C=h[b++],p[C]);return f}},"3bbe":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,s,i){var a=i("6547").charAt,l=i("69f3"),u=i("7dd0"),d="String Iterator",m=l.set,f=l.getterFor(d);u(String,"String",function(p){m(this,{type:d,string:String(p),index:0})},function(){var h=f(this),_=h.string,b=h.index,C;return b>=_.length?{value:void 0,done:!0}:(C=a(_,b),h.index+=C.length,{value:C,done:!1})})},"3f8c":function(o,s){o.exports={}},4160:function(o,s,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,s,i){var a=i("da84");o.exports=a},"44ad":function(o,s,i){var a=i("d039"),l=i("c6b6"),u="".split;o.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?u.call(d,""):Object(d)}:Object},"44d2":function(o,s,i){var a=i("b622"),l=i("7c73"),u=i("9bf2"),d=a("unscopables"),m=Array.prototype;m[d]==null&&u.f(m,d,{configurable:!0,value:l(null)}),o.exports=function(f){m[d][f]=!0}},"44e7":function(o,s,i){var a=i("861d"),l=i("c6b6"),u=i("b622"),d=u("match");o.exports=function(m){var f;return a(m)&&((f=m[d])!==void 0?!!f:l(m)=="RegExp")}},4930:function(o,s,i){var a=i("d039");o.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(o,s,i){var a=i("fc6a"),l=i("50c4"),u=i("23cb"),d=function(m){return function(f,p,h){var _=a(f),b=l(_.length),C=u(h,b),k;if(m&&p!=p){for(;b>C;)if(k=_[C++],k!=k)return!0}else for(;b>C;C++)if((m||C in _)&&_[C]===p)return m||C||0;return!m&&-1}};o.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(o,s,i){var a=i("23e7"),l=i("b727").filter,u=i("1dde"),d=i("ae40"),m=u("filter"),f=d("filter");a({target:"Array",proto:!0,forced:!m||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,i){var a=i("0366"),l=i("7b0b"),u=i("9bdd"),d=i("e95a"),m=i("50c4"),f=i("8418"),p=i("35a1");o.exports=function(_){var b=l(_),C=typeof this=="function"?this:Array,k=arguments.length,y=k>1?arguments[1]:void 0,z=y!==void 0,x=p(b),w=0,N,D,O,V,X,U;if(z&&(y=a(y,k>2?arguments[2]:void 0,2)),x!=null&&!(C==Array&&d(x)))for(V=x.call(b),X=V.next,D=new C;!(O=X.call(V)).done;w++)U=z?u(V,y,[O.value,w],!0):O.value,f(D,w,U);else for(N=m(b.length),D=new C(N);N>w;w++)U=z?y(b[w],w):b[w],f(D,w,U);return D.length=w,D}},"4fad":function(o,s,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(o,s,i){var a=i("a691"),l=Math.min;o.exports=function(u){return u>0?l(a(u),9007199254740991):0}},5135:function(o,s){var i={}.hasOwnProperty;o.exports=function(a,l){return i.call(a,l)}},5319:function(o,s,i){var a=i("d784"),l=i("825a"),u=i("7b0b"),d=i("50c4"),m=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,b=Math.min,C=Math.floor,k=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g,z=function(x){return x===void 0?x:String(x)};a("replace",2,function(x,w,N,D){var O=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,V=D.REPLACE_KEEPS_$0,X=O?"$":"$0";return[function(ne,he){var Z=f(this),se=ne==null?void 0:ne[x];return se!==void 0?se.call(ne,Z,he):w.call(String(Z),ne,he)},function(W,ne){if(!O&&V||typeof ne=="string"&&ne.indexOf(X)===-1){var he=N(w,W,this,ne);if(he.done)return he.value}var Z=l(W),se=String(this),ae=typeof ne=="function";ae||(ne=String(ne));var Be=Z.global;if(Be){var ot=Z.unicode;Z.lastIndex=0}for(var Ve=[];;){var He=h(Z,se);if(He===null||(Ve.push(He),!Be))break;var st=String(He[0]);st===""&&(Z.lastIndex=p(se,d(Z.lastIndex),ot))}for(var it="",lt=0,Ne=0;Ne<Ve.length;Ne++){He=Ve[Ne];for(var G=String(He[0]),de=_(b(m(He.index),se.length),0),ce=[],ge=1;ge<He.length;ge++)ce.push(z(He[ge]));var Ue=He.groups;if(ae){var qe=[G].concat(ce,de,se);Ue!==void 0&&qe.push(Ue);var T=String(ne.apply(void 0,qe))}else T=U(G,se,de,ce,Ue,ne);de>=lt&&(it+=se.slice(lt,de)+T,lt=de+G.length)}return it+se.slice(lt)}];function U(W,ne,he,Z,se,ae){var Be=he+W.length,ot=Z.length,Ve=y;return se!==void 0&&(se=u(se),Ve=k),w.call(ae,Ve,function(He,st){var it;switch(st.charAt(0)){case"$":return"$";case"&":return W;case"`":return ne.slice(0,he);case"'":return ne.slice(Be);case"<":it=se[st.slice(1,-1)];break;default:var lt=+st;if(lt===0)return He;if(lt>ot){var Ne=C(lt/10);return Ne===0?He:Ne<=ot?Z[Ne-1]===void 0?st.charAt(1):Z[Ne-1]+st.charAt(1):He}it=Z[lt-1]}return it===void 0?"":it})}})},5692:function(o,s,i){var a=i("c430"),l=i("c6cd");(o.exports=function(u,d){return l[u]||(l[u]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,i){var a=i("d066"),l=i("241c"),u=i("7418"),d=i("825a");o.exports=a("Reflect","ownKeys")||function(f){var p=l.f(d(f)),h=u.f;return h?p.concat(h(f)):p}},"5a34":function(o,s,i){var a=i("44e7");o.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,s){o.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(o,s,i){var a=i("23e7"),l=i("a2bf"),u=i("7b0b"),d=i("50c4"),m=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=u(this),b=d(_.length),C;return m(h),C=f(_,0),C.length=l(C,_,_,b,0,1,h,arguments.length>1?arguments[1]:void 0),C}})},6547:function(o,s,i){var a=i("a691"),l=i("1d80"),u=function(d){return function(m,f){var p=String(l(m)),h=a(f),_=p.length,b,C;return h<0||h>=_?d?"":void 0:(b=p.charCodeAt(h),b<55296||b>56319||h+1===_||(C=p.charCodeAt(h+1))<56320||C>57343?d?p.charAt(h):b:d?p.slice(h,h+2):(b-55296<<10)+(C-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(o,s,i){var a=i("861d"),l=i("e8b5"),u=i("b622"),d=u("species");o.exports=function(m,f){var p;return l(m)&&(p=m.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(o,s,i){var a=i("7f9a"),l=i("da84"),u=i("861d"),d=i("9112"),m=i("5135"),f=i("f772"),p=i("d012"),h=l.WeakMap,_,b,C,k=function(O){return C(O)?b(O):_(O,{})},y=function(O){return function(V){var X;if(!u(V)||(X=b(V)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return X}};if(a){var z=new h,x=z.get,w=z.has,N=z.set;_=function(O,V){return N.call(z,O,V),V},b=function(O){return x.call(z,O)||{}},C=function(O){return w.call(z,O)}}else{var D=f("state");p[D]=!0,_=function(O,V){return d(O,D,V),V},b=function(O){return m(O,D)?O[D]:{}},C=function(O){return m(O,D)}}o.exports={set:_,get:b,has:C,enforce:k,getterFor:y}},"6eeb":function(o,s,i){var a=i("da84"),l=i("9112"),u=i("5135"),d=i("ce4e"),m=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(o.exports=function(b,C,k,y){var z=y?!!y.unsafe:!1,x=y?!!y.enumerable:!1,w=y?!!y.noTargetGet:!1;if(typeof k=="function"&&(typeof C=="string"&&!u(k,"name")&&l(k,"name",C),h(k).source=_.join(typeof C=="string"?C:"")),b===a){x?b[C]=k:d(C,k);return}else z?!w&&b[C]&&(x=!0):delete b[C];x?b[C]=k:l(b,C,k)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||m(this)})},"6f53":function(o,s,i){var a=i("83ab"),l=i("df75"),u=i("fc6a"),d=i("d1e7").f,m=function(f){return function(p){for(var h=u(p),_=l(h),b=_.length,C=0,k=[],y;b>C;)y=_[C++],(!a||d.call(h,y))&&k.push(f?[y,h[y]]:h[y]);return k}};o.exports={entries:m(!0),values:m(!1)}},"73d9":function(o,s,i){var a=i("44d2");a("flatMap")},7418:function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,i){var a=i("428f"),l=i("5135"),u=i("e538"),d=i("9bf2").f;o.exports=function(m){var f=a.Symbol||(a.Symbol={});l(f,m)||d(f,m,{value:u.f(m)})}},7839:function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,i){var a=i("1d80");o.exports=function(l){return Object(a(l))}},"7c73":function(o,s,i){var a=i("825a"),l=i("37e8"),u=i("7839"),d=i("d012"),m=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",b="prototype",C="script",k=p("IE_PROTO"),y=function(){},z=function(O){return _+C+h+O+_+"/"+C+h},x=function(O){O.write(z("")),O.close();var V=O.parentWindow.Object;return O=null,V},w=function(){var O=f("iframe"),V="java"+C+":",X;return O.style.display="none",m.appendChild(O),O.src=String(V),X=O.contentWindow.document,X.open(),X.write(z("document.F=Object")),X.close(),X.F},N,D=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}D=N?x(N):w();for(var O=u.length;O--;)delete D[b][u[O]];return D()};d[k]=!0,o.exports=Object.create||function(V,X){var U;return V!==null?(y[b]=a(V),U=new y,y[b]=null,U[k]=V):U=D(),X===void 0?U:l(U,X)}},"7dd0":function(o,s,i){var a=i("23e7"),l=i("9ed3"),u=i("e163"),d=i("d2bb"),m=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),b=i("3f8c"),C=i("ae93"),k=C.IteratorPrototype,y=C.BUGGY_SAFARI_ITERATORS,z=h("iterator"),x="keys",w="values",N="entries",D=function(){return this};o.exports=function(O,V,X,U,W,ne,he){l(X,V,U);var Z=function(Ne){if(Ne===W&&Ve)return Ve;if(!y&&Ne in Be)return Be[Ne];switch(Ne){case x:return function(){return new X(this,Ne)};case w:return function(){return new X(this,Ne)};case N:return function(){return new X(this,Ne)}}return function(){return new X(this)}},se=V+" Iterator",ae=!1,Be=O.prototype,ot=Be[z]||Be["@@iterator"]||W&&Be[W],Ve=!y&&ot||Z(W),He=V=="Array"&&Be.entries||ot,st,it,lt;if(He&&(st=u(He.call(new O)),k!==Object.prototype&&st.next&&(!_&&u(st)!==k&&(d?d(st,k):typeof st[z]!="function"&&f(st,z,D)),m(st,se,!0,!0),_&&(b[se]=D))),W==w&&ot&&ot.name!==w&&(ae=!0,Ve=function(){return ot.call(this)}),(!_||he)&&Be[z]!==Ve&&f(Be,z,Ve),b[V]=Ve,W)if(it={values:Z(w),keys:ne?Ve:Z(x),entries:Z(N)},he)for(lt in it)(y||ae||!(lt in Be))&&p(Be,lt,it[lt]);else a({target:V,proto:!0,forced:y||ae},it);return it}},"7f9a":function(o,s,i){var a=i("da84"),l=i("8925"),u=a.WeakMap;o.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,s,i){var a=i("d039");o.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,s,i){var a=i("c04e"),l=i("9bf2"),u=i("5c6c");o.exports=function(d,m,f){var p=a(m);p in d?l.f(d,p,u(0,f)):d[p]=f}},"861d":function(o,s){o.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(o,s,i){var a,l,u;(function(d,m){l=[],a=m,u=typeof a=="function"?a.apply(s,l):a,u!==void 0&&(o.exports=u)})(typeof self<"u"?self:this,function(){function d(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(N){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(N.stack)||p.exec(N.stack),_=h&&h[1]||!1,b=h&&h[2]||!1,C=document.location.href.replace(document.location.hash,""),k,y,z,x=document.getElementsByTagName("script");_===C&&(k=document.documentElement.outerHTML,y=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=k.replace(y,"$1").trim());for(var w=0;w<x.length;w++)if(x[w].readyState==="interactive"||x[w].src===_||_===C&&x[w].innerHTML&&x[w].innerHTML.trim()===z)return x[w];return null}}return d})},8925:function(o,s,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return l.call(u)}),o.exports=a.inspectSource},"8aa5":function(o,s,i){var a=i("6547").charAt;o.exports=function(l,u,d){return u+(d?a(l,u).length:1)}},"8bbf":function(o,s){o.exports=n},"90e3":function(o,s){var i=0,a=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},9112:function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("5c6c");o.exports=a?function(d,m,f){return l.f(d,m,u(1,f))}:function(d,m,f){return d[m]=f,d}},9263:function(o,s,i){var a=i("ad6d"),l=i("9f7f"),u=RegExp.prototype.exec,d=String.prototype.replace,m=u,f=function(){var b=/a/,C=/b*/g;return u.call(b,"a"),u.call(C,"a"),b.lastIndex!==0||C.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(m=function(C){var k=this,y,z,x,w,N=p&&k.sticky,D=a.call(k),O=k.source,V=0,X=C;return N&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),X=String(C).slice(k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&C[k.lastIndex-1]!==`
|
||
`)&&(O="(?: "+O+")",X=" "+X,V++),z=new RegExp("^(?:"+O+")",D)),h&&(z=new RegExp("^"+O+"$(?!\\s)",D)),f&&(y=k.lastIndex),x=u.call(N?z:k,X),N?x?(x.input=x.input.slice(V),x[0]=x[0].slice(V),x.index=k.lastIndex,k.lastIndex+=x[0].length):k.lastIndex=0:f&&x&&(k.lastIndex=k.global?x.index+x[0].length:y),h&&x&&x.length>1&&d.call(x[0],z,function(){for(w=1;w<arguments.length-2;w++)arguments[w]===void 0&&(x[w]=void 0)}),x}),o.exports=m},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=u.data={},f=u.NATIVE="N",p=u.POLYFILL="P";o.exports=u},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),C=i("2d00"),k=b("isConcatSpreadable"),y=9007199254740991,z="Maximum allowed index exceeded",x=C>=51||!l(function(){var O=[];return O[k]=!1,O.concat()[0]!==O}),w=_("concat"),N=function(O){if(!d(O))return!1;var V=O[k];return V!==void 0?!!V:u(O)},D=!x||!w;a({target:"Array",proto:!0,forced:D},{concat:function(V){var X=m(this),U=h(X,0),W=0,ne,he,Z,se,ae;for(ne=-1,Z=arguments.length;ne<Z;ne++)if(ae=ne===-1?X:arguments[ne],N(ae)){if(se=f(ae.length),W+se>y)throw TypeError(z);for(he=0;he<se;he++,W++)he in ae&&p(U,W,ae[he])}else{if(W>=y)throw TypeError(z);p(U,W++,ae)}return U.length=W,U}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,u,d,m){try{return m?u(a(d)[0],d[1]):u(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),d=i("c04e"),m=Object.defineProperty;s.f=a?m:function(p,h,_){if(u(p),h=d(h,!0),u(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(o,s,i){var a=i("d039");function l(u,d){return RegExp(u,d)}s.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(o,s,i){var a=i("e8b5"),l=i("50c4"),u=i("0366"),d=function(m,f,p,h,_,b,C,k){for(var y=_,z=0,x=C?u(C,k,3):!1,w;z<h;){if(z in p){if(w=x?x(p[z],z,f):p[z],b>0&&a(w))y=d(m,f,w,l(w.length),y,b-1)-1;else{if(y>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[y]=w}y++}z++}return y};o.exports=d},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),k=Math.max,y=Math.min,z=9007199254740991,x="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!C},{splice:function(N,D){var O=m(this),V=d(O.length),X=l(N,V),U=arguments.length,W,ne,he,Z,se,ae;if(U===0?W=ne=0:U===1?(W=0,ne=V-X):(W=U-2,ne=y(k(u(D),0),V-X)),V+W-ne>z)throw TypeError(x);for(he=f(O,ne),Z=0;Z<ne;Z++)se=X+Z,se in O&&p(he,Z,O[se]);if(he.length=ne,W<ne){for(Z=X;Z<V-ne;Z++)se=Z+ne,ae=Z+W,se in O?O[ae]=O[se]:delete O[ae];for(Z=V;Z>V-ne+W;Z--)delete O[Z-1]}else if(W>ne)for(Z=V-ne;Z>X;Z--)se=Z+ne-1,ae=Z+W-1,se in O?O[ae]=O[se]:delete O[ae];for(Z=0;Z<W;Z++)O[Z+X]=arguments[Z+2];return O.length=V-ne+W,he}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),u=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),C=i("861d"),k=i("825a"),y=i("7b0b"),z=i("fc6a"),x=i("c04e"),w=i("5c6c"),N=i("7c73"),D=i("df75"),O=i("241c"),V=i("057f"),X=i("7418"),U=i("06cf"),W=i("9bf2"),ne=i("d1e7"),he=i("9112"),Z=i("6eeb"),se=i("5692"),ae=i("f772"),Be=i("d012"),ot=i("90e3"),Ve=i("b622"),He=i("e538"),st=i("746f"),it=i("d44e"),lt=i("69f3"),Ne=i("b727").forEach,G=ae("hidden"),de="Symbol",ce="prototype",ge=Ve("toPrimitive"),Ue=lt.set,qe=lt.getterFor(de),T=Object[ce],I=l.Symbol,B=u("JSON","stringify"),Q=U.f,Y=W.f,le=V.f,pe=ne.f,S=se("symbols"),$=se("op-symbols"),R=se("string-to-symbol-registry"),J=se("symbol-to-string-registry"),me=se("wks"),oe=l.QObject,H=!oe||!oe[ce]||!oe[ce].findChild,K=m&&h(function(){return N(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a!=7})?function(Ae,Se,Te){var Ze=Q(T,Se);Ze&&delete T[Se],Y(Ae,Se,Te),Ze&&Ae!==T&&Y(T,Se,Ze)}:Y,be=function(Ae,Se){var Te=S[Ae]=N(I[ce]);return Ue(Te,{type:de,tag:Ae,description:Se}),m||(Te.description=Se),Te},M=p?function(Ae){return typeof Ae=="symbol"}:function(Ae){return Object(Ae)instanceof I},F=function(Se,Te,Ze){Se===T&&F($,Te,Ze),k(Se);var et=x(Te,!0);return k(Ze),_(S,et)?(Ze.enumerable?(_(Se,G)&&Se[G][et]&&(Se[G][et]=!1),Ze=N(Ze,{enumerable:w(0,!1)})):(_(Se,G)||Y(Se,G,w(1,{})),Se[G][et]=!0),K(Se,et,Ze)):Y(Se,et,Ze)},q=function(Se,Te){k(Se);var Ze=z(Te),et=D(Ze).concat(De(Ze));return Ne(et,function(en){(!m||ye.call(Ze,en))&&F(Se,en,Ze[en])}),Se},re=function(Se,Te){return Te===void 0?N(Se):q(N(Se),Te)},ye=function(Se){var Te=x(Se,!0),Ze=pe.call(this,Te);return this===T&&_(S,Te)&&!_($,Te)?!1:Ze||!_(this,Te)||!_(S,Te)||_(this,G)&&this[G][Te]?Ze:!0},$e=function(Se,Te){var Ze=z(Se),et=x(Te,!0);if(!(Ze===T&&_(S,et)&&!_($,et))){var en=Q(Ze,et);return en&&_(S,et)&&!(_(Ze,G)&&Ze[G][et])&&(en.enumerable=!0),en}},Re=function(Se){var Te=le(z(Se)),Ze=[];return Ne(Te,function(et){!_(S,et)&&!_(Be,et)&&Ze.push(et)}),Ze},De=function(Se){var Te=Se===T,Ze=le(Te?$:z(Se)),et=[];return Ne(Ze,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=ot(Se),Ze=function(et){this===T&&Ze.call($,et),_(this,G)&&_(this[G],Te)&&(this[G][Te]=!1),K(this,Te,w(1,et))};return m&&H&&K(T,Te,{configurable:!0,set:Ze}),be(Te,Se)},Z(I[ce],"toString",function(){return qe(this).tag}),Z(I,"withoutSetter",function(Ae){return be(ot(Ae),Ae)}),ne.f=ye,W.f=F,U.f=$e,O.f=V.f=Re,X.f=De,He.f=function(Ae){return be(Ve(Ae),Ae)},m&&(Y(I[ce],"description",{configurable:!0,get:function(){return qe(this).description}}),d||Z(T,"propertyIsEnumerable",ye,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:I}),Ne(D(me),function(Ae){st(Ae)}),a({target:de,stat:!0,forced:!f},{for:function(Ae){var Se=String(Ae);if(_(R,Se))return R[Se];var Te=I(Se);return R[Se]=Te,J[Te]=Se,Te},keyFor:function(Se){if(!M(Se))throw TypeError(Se+" is not a symbol");if(_(J,Se))return J[Se]},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!m},{create:re,defineProperty:F,defineProperties:q,getOwnPropertyDescriptor:$e}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Re,getOwnPropertySymbols:De}),a({target:"Object",stat:!0,forced:h(function(){X.f(1)})},{getOwnPropertySymbols:function(Se){return X.f(y(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,Ze){for(var et=[Se],en=1,Kl;arguments.length>en;)et.push(arguments[en++]);if(Kl=Te,!(!C(Te)&&Se===void 0||M(Se)))return b(Te)||(Te=function(bv,Fi){if(typeof Kl=="function"&&(Fi=Kl.call(this,bv,Fi)),!M(Fi))return Fi}),et[1]=Te,B.apply(null,et)}})}I[ce][ge]||he(I[ce],ge,I[ce].valueOf),it(I,de),Be[G]=!0},a630:function(o,s,i){var a=i("23e7"),l=i("4df4"),u=i("1c7e"),d=!u(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:d},{from:l})},a640:function(o,s,i){var a=i("d039");o.exports=function(l,u){var d=[][l];return!!d&&a(function(){d.call(null,u||function(){throw 1},1)})}},a691:function(o,s){var i=Math.ceil,a=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(o,s,i){var a=i("b622"),l=a("match");o.exports=function(u){var d=/./;try{"/./"[u](d)}catch{try{return d[l]=!1,"/./"[u](d)}catch{}}return!1}},ac1f:function(o,s,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,s,i){var a=i("825a");o.exports=function(){var l=a(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}},ae40:function(o,s,i){var a=i("83ab"),l=i("d039"),u=i("5135"),d=Object.defineProperty,m={},f=function(p){throw p};o.exports=function(p,h){if(u(m,p))return m[p];h||(h={});var _=[][p],b=u(h,"ACCESSORS")?h.ACCESSORS:!1,C=u(h,0)?h[0]:f,k=u(h,1)?h[1]:void 0;return m[p]=!!_&&!l(function(){if(b&&!a)return!0;var y={length:-1};b?d(y,1,{enumerable:!0,get:f}):y[1]=1,_.call(y,C,k)})}},ae93:function(o,s,i){var a=i("e163"),l=i("9112"),u=i("5135"),d=i("b622"),m=i("c430"),f=d("iterator"),p=!1,h=function(){return this},_,b,C;[].keys&&(C=[].keys(),"next"in C?(b=a(a(C)),b!==Object.prototype&&(_=b)):p=!0),_==null&&(_={}),!m&&!u(_,f)&&l(_,f,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(o,s,i){var a=i("00ee"),l=i("f5df");o.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,s,i){var a=i("83ab"),l=i("9bf2").f,u=Function.prototype,d=u.toString,m=/^\s*function ([^ (]*)/,f="name";a&&!(f in u)&&l(u,f,{configurable:!0,get:function(){try{return d.call(this).match(m)[1]}catch{return""}}})},b622:function(o,s,i){var a=i("da84"),l=i("5692"),u=i("5135"),d=i("90e3"),m=i("4930"),f=i("fdbf"),p=l("wks"),h=a.Symbol,_=f?h:h&&h.withoutSetter||d;o.exports=function(b){return u(p,b)||(m&&u(h,b)?p[b]=h[b]:p[b]=_("Symbol."+b)),p[b]}},b64b:function(o,s,i){var a=i("23e7"),l=i("7b0b"),u=i("df75"),d=i("d039"),m=d(function(){u(1)});a({target:"Object",stat:!0,forced:m},{keys:function(p){return u(l(p))}})},b727:function(o,s,i){var a=i("0366"),l=i("44ad"),u=i("7b0b"),d=i("50c4"),m=i("65f0"),f=[].push,p=function(h){var _=h==1,b=h==2,C=h==3,k=h==4,y=h==6,z=h==5||y;return function(x,w,N,D){for(var O=u(x),V=l(O),X=a(w,N,3),U=d(V.length),W=0,ne=D||m,he=_?ne(x,U):b?ne(x,0):void 0,Z,se;U>W;W++)if((z||W in V)&&(Z=V[W],se=X(Z,W,O),h)){if(_)he[W]=se;else if(se)switch(h){case 3:return!0;case 5:return Z;case 6:return W;case 2:f.call(he,Z)}else if(k)return!1}return y?-1:C||k?k:he}};o.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(o,s,i){var a=i("861d");o.exports=function(l,u){if(!a(l))return l;var d,m;if(u&&typeof(d=l.toString)=="function"&&!a(m=d.call(l))||typeof(d=l.valueOf)=="function"&&!a(m=d.call(l))||!u&&typeof(d=l.toString)=="function"&&!a(m=d.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(o,s){o.exports=!1},c6b6:function(o,s){var i={}.toString;o.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(o,s,i){var a=i("da84"),l=i("ce4e"),u="__core-js_shared__",d=a[u]||l(u,{});o.exports=d},c740:function(o,s,i){var a=i("23e7"),l=i("b727").findIndex,u=i("44d2"),d=i("ae40"),m="findIndex",f=!0,p=d(m);m in[]&&Array(1)[m](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),u(m)},c8ba:function(o,s){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}o.exports=i},c975:function(o,s,i){var a=i("23e7"),l=i("4d64").indexOf,u=i("a640"),d=i("ae40"),m=[].indexOf,f=!!m&&1/[1].indexOf(1,-0)<0,p=u("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!p||!h},{indexOf:function(b){return f?m.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,s,i){var a=i("5135"),l=i("fc6a"),u=i("4d64").indexOf,d=i("d012");o.exports=function(m,f){var p=l(m),h=0,_=[],b;for(b in p)!a(d,b)&&a(p,b)&&_.push(b);for(;f.length>h;)a(p,b=f[h++])&&(~u(_,b)||_.push(b));return _}},caad:function(o,s,i){var a=i("23e7"),l=i("4d64").includes,u=i("44d2"),d=i("ae40"),m=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(o,s,i){var a=i("da84"),l=i("861d"),u=a.document,d=l(u)&&l(u.createElement);o.exports=function(m){return d?u.createElement(m):{}}},ce4e:function(o,s,i){var a=i("da84"),l=i("9112");o.exports=function(u,d){try{l(a,u,d)}catch{a[u]=d}return d}},d012:function(o,s){o.exports={}},d039:function(o,s){o.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(o,s,i){var a=i("428f"),l=i("da84"),u=function(d){return typeof d=="function"?d:void 0};o.exports=function(d,m){return arguments.length<2?u(a[d])||u(l[d]):a[d]&&a[d][m]||l[d]&&l[d][m]}},d1e7:function(o,s,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,u=l&&!a.call({1:2},1);s.f=u?function(m){var f=l(this,m);return!!f&&f.enumerable}:a},d28b:function(o,s,i){var a=i("746f");a("iterator")},d2bb:function(o,s,i){var a=i("825a"),l=i("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,d={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(d,[]),u=d instanceof Array}catch{}return function(p,h){return a(p),l(h),u?m.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(o,s,i){var a=i("00ee"),l=i("6eeb"),u=i("b041");a||l(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(o,s,i){var a=i("9bf2").f,l=i("5135"),u=i("b622"),d=u("toStringTag");o.exports=function(m,f,p){m&&!l(m=p?m:m.prototype,d)&&a(m,d,{configurable:!0,value:f})}},d58f:function(o,s,i){var a=i("1c0b"),l=i("7b0b"),u=i("44ad"),d=i("50c4"),m=function(f){return function(p,h,_,b){a(h);var C=l(p),k=u(C),y=d(C.length),z=f?y-1:0,x=f?-1:1;if(_<2)for(;;){if(z in k){b=k[z],z+=x;break}if(z+=x,f?z<0:y<=z)throw TypeError("Reduce of empty array with no initial value")}for(;f?z>=0:y>z;z+=x)z in k&&(b=h(b,k[z],z,C));return b}};o.exports={left:m(!1),right:m(!0)}},d784:function(o,s,i){i("ac1f");var a=i("6eeb"),l=i("d039"),u=i("b622"),d=i("9263"),m=i("9112"),f=u("species"),p=!l(function(){var k=/./;return k.exec=function(){var y=[];return y.groups={a:"7"},y},"".replace(k,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=u("replace"),b=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),C=!l(function(){var k=/(?:)/,y=k.exec;k.exec=function(){return y.apply(this,arguments)};var z="ab".split(k);return z.length!==2||z[0]!=="a"||z[1]!=="b"});o.exports=function(k,y,z,x){var w=u(k),N=!l(function(){var W={};return W[w]=function(){return 7},""[k](W)!=7}),D=N&&!l(function(){var W=!1,ne=/a/;return k==="split"&&(ne={},ne.constructor={},ne.constructor[f]=function(){return ne},ne.flags="",ne[w]=/./[w]),ne.exec=function(){return W=!0,null},ne[w](""),!W});if(!N||!D||k==="replace"&&!(p&&h&&!b)||k==="split"&&!C){var O=/./[w],V=z(w,""[k],function(W,ne,he,Z,se){return ne.exec===d?N&&!se?{done:!0,value:O.call(ne,he,Z)}:{done:!0,value:W.call(he,ne,Z)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),X=V[0],U=V[1];a(String.prototype,k,X),a(RegExp.prototype,w,y==2?function(W,ne){return U.call(W,this,ne)}:function(W){return U.call(W,this)})}x&&m(RegExp.prototype[w],"sham",!0)}},d81d:function(o,s,i){var a=i("23e7"),l=i("b727").map,u=i("1dde"),d=i("ae40"),m=u("map"),f=d("map");a({target:"Array",proto:!0,forced:!m||!f},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,s,i){(function(a){var l=function(u){return u&&u.Math==Math&&u};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(o,s,i){var a=i("23e7"),l=i("83ab"),u=i("56ef"),d=i("fc6a"),m=i("06cf"),f=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),b=m.f,C=u(_),k={},y=0,z,x;C.length>y;)x=b(_,z=C[y++]),x!==void 0&&f(k,z,x);return k}})},dbf1:function(o,s,i){(function(a){i.d(s,"a",function(){return u});function l(){return typeof window<"u"?window.console:a.console}var u=l()}).call(this,i("c8ba"))},ddb0:function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("e260"),d=i("9112"),m=i("b622"),f=m("iterator"),p=m("toStringTag"),h=u.values;for(var _ in l){var b=a[_],C=b&&b.prototype;if(C){if(C[f]!==h)try{d(C,f,h)}catch{C[f]=h}if(C[p]||d(C,p,_),l[_]){for(var k in u)if(C[k]!==u[k])try{d(C,k,u[k])}catch{C[k]=u[k]}}}}},df75:function(o,s,i){var a=i("ca84"),l=i("7839");o.exports=Object.keys||function(d){return a(d,l)}},e01a:function(o,s,i){var a=i("23e7"),l=i("83ab"),u=i("da84"),d=i("5135"),m=i("861d"),f=i("9bf2").f,p=i("e893"),h=u.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},b=function(){var w=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),N=this instanceof b?new h(w):w===void 0?h():h(w);return w===""&&(_[N]=!0),N};p(b,h);var C=b.prototype=h.prototype;C.constructor=b;var k=C.toString,y=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;f(C,"description",{configurable:!0,get:function(){var w=m(this)?this.valueOf():this,N=k.call(w);if(d(_,w))return"";var D=y?N.slice(7,-1):N.replace(z,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(o,s,i){var a=i("5135"),l=i("7b0b"),u=i("f772"),d=i("e177"),m=u("IE_PROTO"),f=Object.prototype;o.exports=d?Object.getPrototypeOf:function(p){return p=l(p),a(p,m)?p[m]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(o,s,i){var a=i("d039");o.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,s,i){var a=i("fc6a"),l=i("44d2"),u=i("3f8c"),d=i("69f3"),m=i("7dd0"),f="Array Iterator",p=d.set,h=d.getterFor(f);o.exports=m(Array,"Array",function(_,b){p(this,{type:f,target:a(_),index:0,kind:b})},function(){var _=h(this),b=_.target,C=_.kind,k=_.index++;return!b||k>=b.length?(_.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:k,done:!1}:C=="values"?{value:b[k],done:!1}:{value:[k,b[k]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},e439:function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("fc6a"),d=i("06cf").f,m=i("83ab"),f=l(function(){d(1)}),p=!m||f;a({target:"Object",stat:!0,forced:p,sham:!m},{getOwnPropertyDescriptor:function(_,b){return d(u(_),b)}})},e538:function(o,s,i){var a=i("b622");s.f=a},e893:function(o,s,i){var a=i("5135"),l=i("56ef"),u=i("06cf"),d=i("9bf2");o.exports=function(m,f){for(var p=l(f),h=d.f,_=u.f,b=0;b<p.length;b++){var C=p[b];a(m,C)||h(m,C,_(f,C))}}},e8b5:function(o,s,i){var a=i("c6b6");o.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(o,s,i){var a=i("b622"),l=i("3f8c"),u=a("iterator"),d=Array.prototype;o.exports=function(m){return m!==void 0&&(l.Array===m||d[u]===m)}},f5df:function(o,s,i){var a=i("00ee"),l=i("c6b6"),u=i("b622"),d=u("toStringTag"),m=l(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};o.exports=a?l:function(p){var h,_,b;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),d))=="string"?_:m?l(h):(b=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":b}},f772:function(o,s,i){var a=i("5692"),l=i("90e3"),u=a("keys");o.exports=function(d){return u[d]||(u[d]=l(d))}},fb15:function(o,s,i){if(i.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=i("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var u=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(i.p=u[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function d(M,F,q){return F in M?Object.defineProperty(M,F,{value:q,enumerable:!0,configurable:!0,writable:!0}):M[F]=q,M}function m(M,F){var q=Object.keys(M);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(M);F&&(re=re.filter(function(ye){return Object.getOwnPropertyDescriptor(M,ye).enumerable})),q.push.apply(q,re)}return q}function f(M){for(var F=1;F<arguments.length;F++){var q=arguments[F]!=null?arguments[F]:{};F%2?m(Object(q),!0).forEach(function(re){d(M,re,q[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(q)):m(Object(q)).forEach(function(re){Object.defineProperty(M,re,Object.getOwnPropertyDescriptor(q,re))})}return M}function p(M){if(Array.isArray(M))return M}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(M,F){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(M)))){var q=[],re=!0,ye=!1,$e=void 0;try{for(var Re=M[Symbol.iterator](),De;!(re=(De=Re.next()).done)&&(q.push(De.value),!(F&&q.length===F));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 _(M,F){(F==null||F>M.length)&&(F=M.length);for(var q=0,re=new Array(F);q<F;q++)re[q]=M[q];return re}function b(M,F){if(M){if(typeof M=="string")return _(M,F);var q=Object.prototype.toString.call(M).slice(8,-1);if(q==="Object"&&M.constructor&&(q=M.constructor.name),q==="Map"||q==="Set")return Array.from(M);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return _(M,F)}}function C(){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 k(M,F){return p(M)||h(M,F)||b(M,F)||C()}function y(M){if(Array.isArray(M))return _(M)}function z(M){if(typeof Symbol<"u"&&Symbol.iterator in Object(M))return Array.from(M)}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 w(M){return y(M)||z(M)||b(M)||x()}var N=i("a352"),D=i.n(N);function O(M){M.parentElement!==null&&M.parentElement.removeChild(M)}function V(M,F,q){var re=q===0?M.children[0]:M.children[q-1].nextSibling;M.insertBefore(F,re)}var X=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(M){var F=Object.create(null);return function(re){var ye=F[re];return ye||(F[re]=M(re))}}var W=/-(\w)/g,ne=U(function(M){return M.replace(W,function(F,q){return q.toUpperCase()})});i("5db7"),i("73d9");var he=["Start","Add","Remove","Update","End"],Z=["Choose","Unchoose","Sort","Filter","Clone"],se=["Move"],ae=[se,he,Z].flatMap(function(M){return M}).map(function(M){return"on".concat(M)}),Be={manage:se,manageAndEmit:he,emit:Z};function ot(M){return ae.indexOf(M)!==-1}i("caad"),i("2ca0");var Ve=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function He(M){return Ve.includes(M)}function st(M){return["transition-group","TransitionGroup"].includes(M)}function it(M){return["id","class","role","style"].includes(M)||M.startsWith("data-")||M.startsWith("aria-")||M.startsWith("on")}function lt(M){return M.reduce(function(F,q){var re=k(q,2),ye=re[0],$e=re[1];return F[ye]=$e,F},{})}function Ne(M){var F=M.$attrs,q=M.componentData,re=q===void 0?{}:q,ye=lt(Object.entries(F).filter(function($e){var Re=k($e,2),De=Re[0];return Re[1],it(De)}));return f(f({},ye),re)}function G(M){var F=M.$attrs,q=M.callBackBuilder,re=lt(de(F));Object.entries(q).forEach(function($e){var Re=k($e,2),De=Re[0],nt=Re[1];Be[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(M){return Object.entries(M).filter(function(F){var q=k(F,2),re=q[0];return q[1],!it(re)}).map(function(F){var q=k(F,2),re=q[0],ye=q[1];return[ne(re),ye]}).filter(function(F){var q=k(F,2),re=q[0];return q[1],!ot(re)})}i("c740");function ce(M,F){if(!(M instanceof F))throw new TypeError("Cannot call a class as a function")}function ge(M,F){for(var q=0;q<F.length;q++){var re=F[q];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(M,re.key,re)}}function Ue(M,F,q){return F&&ge(M.prototype,F),q&&ge(M,q),M}var qe=function(F){var q=F.el;return q},T=function(F,q){return F.__draggable_context=q},I=function(F){return F.__draggable_context},B=function(){function M(F){var q=F.nodes,re=q.header,ye=q.default,$e=q.footer,Re=F.root,De=F.realList;ce(this,M),this.defaultNodes=ye,this.children=[].concat(w(re),w(ye),w($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(M,[{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(qe(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=qe(ye[0]),Se=w(Re).findIndex(function(Te){return Te===Ae});return q<Se?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),M}(),Q=i("8bbf");function Y(M,F){var q=M[F];return q?q():[]}function le(M){var F=M.$slots,q=M.realList,re=M.getKey,ye=q||[],$e=["header","footer"].map(function(Te){return Y(F,Te)}),Re=k($e,2),De=Re[0],nt=Re[1],Ae=F.item;if(!Ae)throw new Error("draggable element must have an item slot");var Se=ye.flatMap(function(Te,Ze){return Ae({element:Te,index:Ze}).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 pe(M){var F=st(M),q=!He(M)&&!F;return{transition:F,externalComponent:q,tag:q?Object(Q.resolveComponent)(M):F?Q.TransitionGroup:M}}function S(M){var F=M.$slots,q=M.tag,re=M.realList,ye=M.getKey,$e=le({$slots:F,realList:re,getKey:ye}),Re=pe(q);return new B({nodes:$e,root:Re,realList:re})}function $(M,F){var q=this;Object(Q.nextTick)(function(){return q.$emit(M.toLowerCase(),F)})}function R(M){var F=this;return function(q,re){if(F.realList!==null)return F["onDrag".concat(M)](q,re)}}function J(M){var F=this,q=R.call(this,M);return function(re,ye){q.call(F,re,ye),$.call(F,M,re)}}var me=null,oe={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(F){return F}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},H=["update:modelValue","change"].concat(w([].concat(w(Be.manageAndEmit),w(Be.emit)).map(function(M){return M.toLowerCase()}))),K=Object(Q.defineComponent)({name:"draggable",inheritAttrs:!1,props:oe,emits:H,data:function(){return{error:!1}},render:function(){try{this.error=!1;var F=this.$slots,q=this.$attrs,re=this.tag,ye=this.componentData,$e=this.realList,Re=this.getKey,De=S({$slots:F,tag:re,realList:$e,getKey:Re});this.componentStructure=De;var nt=Ne({$attrs:q,componentData:ye});return De.render(Q.h,nt)}catch(Ae){return this.error=!0,Object(Q.h)("pre",{style:{color:"red"}},Ae.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&X.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var F=this;if(!this.error){var q=this.$attrs,re=this.$el,ye=this.componentStructure;ye.updated();var $e=G({$attrs:q,callBackBuilder:{manageAndEmit:function(nt){return J.call(F,nt)},emit:function(nt){return $.bind(F,nt)},manage:function(nt){return R.call(F,nt)}}}),Re=re.nodeType===1?re:re.parentElement;this._sortable=new D.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 F=this.list;return F||this.modelValue},getKey:function(){var F=this.itemKey;return typeof F=="function"?F:function(q){return q[F]}}},watch:{$attrs:{handler:function(F){var q=this._sortable;q&&de(F).forEach(function(re){var ye=k(re,2),$e=ye[0],Re=ye[1];q.option($e,Re)})},deep:!0}},methods:{getUnderlyingVm:function(F){return this.componentStructure.getUnderlyingVm(F)||null},getUnderlyingPotencialDraggableComponent:function(F){return F.__draggable_component__},emitChanges:function(F){var q=this;Object(Q.nextTick)(function(){return q.$emit("change",F)})},alterList:function(F){if(this.list){F(this.list);return}var q=w(this.modelValue);F(q),this.$emit("update:modelValue",q)},spliceList:function(){var F=arguments,q=function(ye){return ye.splice.apply(ye,w(F))};this.alterList(q)},updatePosition:function(F,q){var re=function($e){return $e.splice(q,0,$e.splice(F,1)[0])};this.alterList(re)},getRelatedContextFromMoveEvent:function(F){var q=F.to,re=F.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(F){return this.componentStructure.getVmIndexFromDomIndex(F,this.targetDomElement)},onDragStart:function(F){this.context=this.getUnderlyingVm(F.item),F.item._underlying_vm_=this.clone(this.context.element),me=F.item},onDragAdd:function(F){var q=F.item._underlying_vm_;if(q!==void 0){O(F.item);var re=this.getVmIndexFromDomIndex(F.newIndex);this.spliceList(re,0,q);var ye={element:q,newIndex:re};this.emitChanges({added:ye})}},onDragRemove:function(F){if(V(this.$el,F.item,F.oldIndex),F.pullMode==="clone"){O(F.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(F){O(F.item),V(F.from,F.item,F.oldIndex);var q=this.context.index,re=this.getVmIndexFromDomIndex(F.newIndex);this.updatePosition(q,re);var ye={element:this.context.element,oldIndex:q,newIndex:re};this.emitChanges({moved:ye})},computeFutureIndex:function(F,q){if(!F.element)return 0;var re=w(q.to.children).filter(function(De){return De.style.display!=="none"}),ye=re.indexOf(q.related),$e=F.component.getVmIndexFromDomIndex(ye),Re=re.indexOf(me)!==-1;return Re||!q.willInsertAfter?$e:$e+1},onDragMove:function(F,q){var re=this.move,ye=this.realList;if(!re||!ye)return!0;var $e=this.getRelatedContextFromMoveEvent(F),Re=this.computeFutureIndex($e,F),De=f(f({},this.context),{},{futureIndex:Re}),nt=f(f({},F),{},{relatedContext:$e,draggedContext:De});return re(nt,q)},onDragEnd:function(){me=null}}}),be=K;s.default=be},fb6a:function(o,s,i){var a=i("23e7"),l=i("861d"),u=i("e8b5"),d=i("23cb"),m=i("50c4"),f=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),b=i("ae40"),C=_("slice"),k=b("slice",{ACCESSORS:!0,0:0,1:2}),y=h("species"),z=[].slice,x=Math.max;a({target:"Array",proto:!0,forced:!C||!k},{slice:function(N,D){var O=f(this),V=m(O.length),X=d(N,V),U=d(D===void 0?V:D,V),W,ne,he;if(u(O)&&(W=O.constructor,typeof W=="function"&&(W===Array||u(W.prototype))?W=void 0:l(W)&&(W=W[y],W===null&&(W=void 0)),W===Array||W===void 0))return z.call(O,X,U);for(ne=new(W===void 0?Array:W)(x(U-X,0)),he=0;X<U;X++,he++)X in O&&p(ne,he,O[X]);return ne.length=he,ne}})},fc6a:function(o,s,i){var a=i("44ad"),l=i("1d80");o.exports=function(u){return a(l(u))}},fdbc:function(o,s){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,s,i){var a=i("4930");o.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(ov);var vj=ov.exports;const bj=Dl(vj),zj={name:"PageQueue",components:{ContentWithHeading:Qe,ListItemQueueItem:nU,ModalDialogAddUrlStream:vU,ModalDialogPlaylistSave:NU,ModalDialogQueueItem:rv,draggable:bj},data(){return{edit_mode:!1,selected_item:{},show_details_modal:!1,show_pls_save_modal:!1,show_url_modal:!1}},computed:{current_position(){var e;return((e=this.$store.getters.now_playing)==null?void 0:e.position)??-1},is_queue_save_allowed(){return this.$store.state.config.allow_modifying_stored_playlists&&this.$store.state.config.default_playlist_directory},queue(){return this.$store.state.queue},queue_items:{get(){return this.$store.state.queue.items},set(e){}},show_only_next_items(){return this.$store.state.show_only_next_items},state(){return this.$store.state.player}},methods:{move_item(e){const t=e.oldIndex+(this.show_only_next_items&&this.current_position),n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&j.queue_move(n.id,r)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog(){this.show_url_modal=!0},queue_clear(){j.queue_clear()},remove(e){j.queue_remove(e.id)},update_show_next_items(){this.$store.commit(Eh,!this.show_only_next_items)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},Cj=["textContent"],wj=["textContent"],kj={class:"buttons is-centered"},xj=["textContent"],Sj=["textContent"],Ej=["disabled"],$j=["textContent"],Tj=["disabled"],Aj=["textContent"],Oj=["disabled"],Pj=["textContent"],Ij=["onClick"],Lj=["onClick"];function Nj(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-item-queue-item"),l=A("draggable"),u=A("modal-dialog-queue-item"),d=A("modal-dialog-add-url-stream"),m=A("modal-dialog-playlist-save"),f=A("content-with-heading");return E(),P("div",null,[v(f,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,Cj),c("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:s.queue.count}))},null,8,wj)]),"heading-right":L(()=>[c("div",kj,[c("button",{class:ze(["button is-small",{"is-info":s.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>s.update_show_next_items&&s.update_show_next_items(...p))},[v(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),c("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,xj)],2),c("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[v(i,{class:"icon",name:"web",size:"16"}),c("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,Sj)]),c("button",{class:ze(["button is-small",{"is-info":o.edit_mode}]),disabled:s.queue_items.length===0,onClick:t[2]||(t[2]=p=>o.edit_mode=!o.edit_mode)},[v(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:g(e.$t("page.queue.edit"))},null,8,$j)],10,Ej),c("button",{class:"button is-small",disabled:s.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>s.queue_clear&&s.queue_clear(...p))},[v(i,{class:"icon",name:"delete-empty",size:"16"}),c("span",{textContent:g(e.$t("page.queue.clear"))},null,8,Aj)],8,Tj),s.is_queue_save_allowed?(E(),P("button",{key:0,class:"button is-small",disabled:s.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>s.save_dialog&&s.save_dialog(...p))},[v(i,{class:"icon",name:"content-save",size:"16"}),c("span",{textContent:g(e.$t("page.queue.save"))},null,8,Pj)],8,Oj)):ee("",!0)])]),content:L(()=>[v(l,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>s.queue_items=p),handle:".handle","item-key":"id",onEnd:s.move_item},{item:L(({element:p,index:h})=>[v(a,{item:p,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:L(()=>[o.edit_mode?ee("",!0):(E(),P("a",{key:0,onClick:_t(_=>s.open_dialog(p),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Ij)),p.id!==s.state.item_id&&o.edit_mode?(E(),P("a",{key:1,onClick:_t(_=>s.remove(p),["prevent","stop"])},[v(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,Lj)):ee("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),v(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=p=>o.show_details_modal=!1)},null,8,["show","item"]),v(d,{show:o.show_url_modal,onClose:t[7]||(t[7]=p=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?(E(),xe(m,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):ee("",!0)]),_:1})])}const Dj=ie(zj,[["render",Nj]]),gh={load(e){return j.library_radio_streams()},set(e,t){e.tracks=new Ee(t.data.tracks)}},Rj={name:"PageRadioStreams",components:{ContentWithHeading:Qe,ListTracks:mn},beforeRouteEnter(e,t,n){gh.load(e).then(r=>{n(o=>gh.set(o,r))})},data(){return{tracks:new Ee}}},Mj=["textContent"],Fj=["textContent"];function Vj(e,t,n,r,o,s){const i=A("list-tracks"),a=A("content-with-heading");return E(),P("div",null,[v(a,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,Mj),c("p",{class:"heading",textContent:g(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,Fj)]),content:L(()=>[v(i,{items:o.tracks},null,8,["items"])]),_:1})])}const Hj=ie(Rj,[["render",Vj]]),Uj={name:"TabsSearch",emits:["search-library","search-spotify"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},jj={key:0,class:"section"},Bj={class:"container"},Wj={class:"columns is-centered"},qj={class:"column is-four-fifths"},Gj={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},Kj=["textContent"],Zj=["textContent"];function Yj(e,t,n,r,o,s){const i=A("mdicon");return s.spotify_enabled?(E(),P("section",jj,[c("div",Bj,[c("div",Wj,[c("div",qj,[c("div",Gj,[c("ul",null,[c("li",{class:ze({"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:g(e.$t("page.search.tabs.library"))},null,8,Kj)])],2),c("li",{class:ze({"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:g(e.$t("page.search.tabs.spotify"))},null,8,Zj)])],2)])])])])])])):ee("",!0)}const _v=ie(Uj,[["render",Yj]]),Dc=3,Rc=["track","artist","album","composer","playlist","audiobook","podcast"],Xj={name:"PageSearchLibrary",components:{ContentWithHeading:Qe,ListAlbums:bn,ListArtists:el,ListComposers:Nu,ListPlaylists:tl,ListTracks:mn,TabsSearch:_v},data(){return{components:{album:bn.name,artist:el.name,audiobook:bn.name,composer:Nu.name,playlist:tl.name,podcast:bn.name,track:mn.name},results:new Map,search_limit:{},search_query:"",search_types:Rc}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.$store.state.recent_searches}},watch:{search_query(){this.$store.commit(Uu,this.search_query)}},mounted(){this.$store.commit(ju,this.$route.name),this.search_query=this.$store.state.search_query,this.search_limit=Dc,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=Rc,this.search_limit=Dc,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=Rc,this.search_limit=Dc),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={type:t?e:"album",limit:this.search_limit};this.search_query.startsWith("query:")?r.expression=`(${this.search_query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:t?(r.query=this.search_query,r.media_kind=n):r.expression=`(album includes "${this.search_query}" or artist includes "${this.search_query}") and media_kind is ${n}`,j.search(r).then(({data:o})=>{this.results.set(e,new Ee(o[`${r.type}s`]))})},search_spotify(){this.$router.push({name:"search-spotify"})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},Jj={class:"section pb-0"},Qj={class:"container"},eB={class:"columns is-centered"},tB={class:"column is-four-fifths"},nB={class:"field"},rB={class:"control has-icons-left"},oB=["placeholder"],sB=c("code",null,"query:",-1),iB=["textContent"],aB={class:"field is-grouped is-grouped-multiline mt-4"},lB={class:"tags has-addons"},cB=["onClick","textContent"],uB=["onClick"],dB=["textContent"],mB={key:0,class:"level"},fB={class:"level-item"},pB=["onClick","textContent"],hB={key:1,class:"has-text-centered-mobile"},_B=["textContent"];function gB(e,t,n,r,o,s){const i=A("mdicon"),a=A("i18n-t"),l=A("tabs-search"),u=A("content-with-heading");return E(),P(Ce,null,[c("section",Jj,[c("div",Qj,[c("div",eB,[c("div",tB,[c("form",{onSubmit:t[1]||(t[1]=_t((...d)=>s.search&&s.search(...d),["prevent"]))},[c("div",nB,[c("p",rB,[pt(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>o.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,oB),[[dn,o.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:L(()=>[sB]),help:L(()=>[c("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,iB)]),_:1})])],32),c("div",aB,[(E(!0),P(Ce,null,Ct(s.recent_searches,d=>(E(),P("div",{key:d,class:"control"},[c("div",lB,[c("a",{class:"tag",onClick:m=>s.open_search(d),textContent:g(d)},null,8,cB),c("a",{class:"tag is-delete",onClick:m=>s.remove_search(d)},null,8,uB)])]))),128))])])])])]),v(l,{onSearchLibrary:s.search,onSearchSpotify:s.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),(E(!0),P(Ce,null,Ct(o.results,([d,m])=>(E(),xe(u,{key:d,class:"pt-0"},Ed({"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t(`page.search.${d}s`))},null,8,dB)]),content:L(()=>[(E(),xe(Sl(o.components[d]),{items:m},null,8,["items"]))]),_:2},[s.expanded?void 0:{name:"footer",fn:L(()=>[s.show_all_button(m)?(E(),P("nav",mB,[c("p",fB,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(d),textContent:g(e.$t(`page.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,pB)])])):ee("",!0),m.total?ee("",!0):(E(),P("p",hB,[c("i",{textContent:g(e.$t("page.search.no-results"))},null,8,_B)]))]),key:"0"}]),1024))),128))],64)}const yB=ie(Xj,[["render",gB]]),vB={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:J1},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}}},bB=["onClick"],zB=["textContent"],CB={class:"media-right"},wB=["onClick"];function kB(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-artist-spotify");return E(),P(Ce,null,[(E(!0),P(Ce,null,Ct(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=>s.open(l)},[c("h1",{class:"title is-6",textContent:g(l.name)},null,8,zB)],8,bB),c("div",CB,[c("a",{onClick:_t(u=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,wB)])]))),128)),(E(),xe(Nn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const yh=ie(vB,[["render",kB]]),Mc=3,Fc=50,Vc=["track","artist","album","playlist"],xB={name:"PageSearchSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ci,ListArtistsSpotify:yh,ListPlaylistsSpotify:nl,ListTracksSpotify:Qa,TabsSearch:_v,VueEternalLoading:Xd},data(){return{components:{album:Ci.name,artist:yh.name,playlist:nl.name,track:Qa.name},results:new Map,search_parameters:{},search_query:"",search_types:Vc}},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(Uu,this.search_query)}},mounted(){this.$store.commit(ju,this.$route.name),this.search_query=this.$store.state.search_query,this.search_parameters.limit=Mc,this.search()},methods:{expand(e){this.search_query=this.$store.state.search_query,this.search_types=[e],this.search_parameters.limit=Fc,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=Vc,this.search_parameters.limit=Mc,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=Vc,this.search_parameters.limit=Mc),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 Xn;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=Fc,this.search_items().then(r=>{const[o]=Object.values(r);n.items.push(...o.items),n.total=o.total,this.search_parameters.offset||(this.search_parameters.offset=0),this.search_parameters.offset+=o.limit,e(o.items.length,Fc)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},SB={class:"section pb-0"},EB={class:"container"},$B={class:"columns is-centered"},TB={class:"column is-four-fifths"},AB={class:"field"},OB={class:"control has-icons-left"},PB=["placeholder"],IB={class:"field is-grouped is-grouped-multiline mt-4"},LB={class:"tags has-addons"},NB=["onClick","textContent"],DB=["onClick"],RB=["textContent"],MB={class:"columns is-centered"},FB={class:"column has-text-centered"},VB={key:0,class:"level"},HB={class:"level-item"},UB=["onClick","textContent"],jB={key:1,class:"has-text-centered-mobile"},BB=["textContent"];function WB(e,t,n,r,o,s){const i=A("mdicon"),a=A("tabs-search"),l=A("VueEternalLoading"),u=A("content-with-heading");return E(),P(Ce,null,[c("section",SB,[c("div",EB,[c("div",$B,[c("div",TB,[c("form",{onSubmit:t[1]||(t[1]=_t((...d)=>s.search&&s.search(...d),["prevent"]))},[c("div",AB,[c("p",OB,[pt(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>o.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,PB),[[dn,o.search_query]]),v(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),c("div",IB,[(E(!0),P(Ce,null,Ct(s.recent_searches,d=>(E(),P("div",{key:d,class:"control"},[c("div",LB,[c("a",{class:"tag",onClick:m=>s.open_search(d),textContent:g(d)},null,8,NB),c("a",{class:"tag is-delete",onClick:m=>s.remove_search(d)},null,8,DB)])]))),128))])])])])]),v(a,{onSearchLibrary:s.search_library,onSearchSpotify:s.search},null,8,["onSearchLibrary","onSearchSpotify"]),(E(!0),P(Ce,null,Ct(o.results,([d,m])=>(E(),xe(u,{key:d,class:"pt-0"},Ed({"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t(`page.spotify.search.${d}s`))},null,8,RB)]),content:L(()=>[(E(),xe(Sl(o.components[d]),{items:m.items},null,8,["items"])),s.expanded?(E(),xe(l,{key:0,load:s.search_next},{loading:L(()=>[c("div",MB,[c("div",FB,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":L(()=>[xt(" ")]),_:1},8,["load"])):ee("",!0)]),_:2},[s.expanded?void 0:{name:"footer",fn:L(()=>[s.show_all_button(m)?(E(),P("nav",VB,[c("p",HB,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(d),textContent:g(e.$t(`page.spotify.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,UB)])])):ee("",!0),m.total?ee("",!0):(E(),P("p",jB,[c("i",{textContent:g(e.$t("page.spotify.search.no-results"))},null,8,BB)]))]),key:"0"}]),1024))),128))],64)}const qB=ie(xB,[["render",WB]]),GB={name:"SettingsCheckbox",props:{category_name:{required:!0,type:String},option_name:{required:!0,type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.is_success?this.$t("setting.saved"):this.is_error?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},option(){const e=this.$store.getters.settings_option(this.category_name,this.option_name);return e||{category:this.category_name,name:this.option_name,value:!1}}},methods:{clear_status(){this.is_error&&(this.option.value=!this.option.value),this.statusUpdate=""},update_setting(){this.timerId=-1;const e={category:this.category_name,name:this.option_name,value:this.option.value};j.settings_update(this.category_name,e).then(()=>{this.$store.dispatch("update_settings_option",e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},KB={class:"field"},ZB=["id"],YB=["for"],XB=["textContent"],JB={key:0,class:"help"};function QB(e,t,n,r,o,s){return E(),P("div",KB,[pt(c("input",{id:s.option.name,"onUpdate:modelValue":t[0]||(t[0]=i=>s.option.value=i),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...i)=>s.update_setting&&s.update_setting(...i))},null,40,ZB),[[Pn,s.option.value]]),c("label",{class:"pt-0",for:s.option.name},[vt(e.$slots,"label")],8,YB),c("i",{class:ze(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,XB),e.$slots.info?(E(),P("p",JB,[vt(e.$slots,"info")])):ee("",!0)])}const gv=ie(GB,[["render",QB]]),eW={name:"TabsSettings"},tW={class:"section fd-tabs-section"},nW={class:"container"},rW={class:"columns is-centered"},oW={class:"column is-four-fifths"},sW={class:"tabs is-centered is-small"},iW=["onClick","onKeypress"],aW=["textContent"],lW=["onClick","onKeypress"],cW=["textContent"],uW=["onClick","onKeypress"],dW=["textContent"],mW=["onClick","onKeypress"],fW=["textContent"];function pW(e,t,n,r,o,s){const i=A("router-link");return E(),P("section",tW,[c("div",nW,[c("div",rW,[c("div",oW,[c("div",sW,[c("ul",null,[v(i,{to:{name:"settings-webinterface"},custom:""},{default:L(({navigate:a,isActive:l})=>[c("li",{class:ze({"is-active":l})},[c("a",{onClick:a,onKeypress:sn(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,aW)],40,iW)],2)]),_:1}),v(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:L(({navigate:a,isActive:l})=>[c("li",{class:ze({"is-active":l})},[c("a",{onClick:a,onKeypress:sn(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,cW)],40,lW)],2)]),_:1}),v(i,{to:{name:"settings-artwork"},custom:""},{default:L(({navigate:a,isActive:l})=>[c("li",{class:ze({"is-active":l})},[c("a",{onClick:a,onKeypress:sn(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,dW)],40,uW)],2)]),_:1}),v(i,{to:{name:"settings-online-services"},custom:""},{default:L(({navigate:a,isActive:l})=>[c("li",{class:ze({"is-active":l})},[c("a",{onClick:a,onKeypress:sn(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,fW)],40,mW)],2)]),_:1})])])])])])])}const Gl=ie(eW,[["render",pW]]),hW={name:"PageSettingsArtwork",components:{ContentWithHeading:Qe,SettingsCheckbox:gv,TabsSettings:Gl},computed:{spotify(){return this.$store.state.spotify}}},_W={class:"fd-page-with-tabs"},gW=["textContent"],yW=["textContent"],vW=["textContent"],bW=["textContent"],zW={href:"https://www.spotify.com/",target:"_blank"},CW={class:"icon"},wW=["textContent"],kW={href:"https://www.discogs.com/",target:"_blank"},xW={class:"icon"},SW=["textContent"],EW={href:"https://coverartarchive.org/",target:"_blank"},$W={class:"icon"};function TW(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("mdicon"),l=A("settings-checkbox"),u=A("content-with-heading");return E(),P("div",_W,[v(i),v(u,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,gW)]),content:L(()=>[c("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,yW),c("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,vW),s.spotify.spotify_logged_in?(E(),xe(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.spotify"))},null,8,bW),c("a",zW,[c("span",CW,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})):ee("",!0),v(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,wW),c("a",kW,[c("span",xW,[v(a,{name:"open-in-new",size:"16"})])])]),_:1}),v(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,SW),c("a",EW,[c("span",$W,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const AW=ie(hW,[["render",TW]]),OW={name:"PageSettingsOnlineServices",components:{ContentWithHeading:Qe,TabsSettings:Gl},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()}}},PW={class:"fd-page-with-tabs"},IW=["textContent"],LW={key:0,class:"notification is-size-7"},NW=["textContent"],DW={key:1},RW={class:"notification is-size-7"},MW=["textContent"],FW={class:"mt-5"},VW=["textContent"],HW={key:0},UW=["textContent"],jW=["textContent"],BW={key:1,class:"help is-danger"},WW=["textContent"],qW=["textContent"],GW={class:"field mt-5"},KW={class:"control"},ZW=["href","textContent"],YW={class:"help"},XW=["textContent"],JW=["textContent"],QW={key:2,class:"field mt-5"},eq={class:"control"},tq=["textContent"],nq=["textContent"],rq={key:0,class:"notification is-size-7"},oq=["textContent"],sq={key:1},iq=["textContent"],aq={key:0},lq=["textContent"],cq={key:1},uq={class:"field is-grouped"},dq={class:"control"},mq=["placeholder"],fq=["textContent"],pq={class:"control"},hq=["placeholder"],_q=["textContent"],gq={class:"control"},yq=["textContent"],vq=["textContent"],bq=["textContent"];function zq(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("content-with-heading");return E(),P("div",PW,[v(i),v(a,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,IW)]),content:L(()=>[s.spotify.spotify_installed?ee("",!0):(E(),P("div",LW,[c("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,NW)])),s.spotify.spotify_installed?(E(),P("div",DW,[c("div",RW,[c("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,MW)]),c("div",FW,[c("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,VW),s.spotify.webapi_token_valid?(E(),P("p",HW,[c("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,UW),c("code",{textContent:g(s.spotify.webapi_user)},null,8,jW)])):ee("",!0),s.spotify_missing_scope.length>0?(E(),P("p",BW,[c("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,WW),c("code",{textContent:g(s.spotify_missing_scope.join())},null,8,qW)])):ee("",!0),c("div",GW,[c("div",KW,[c("a",{class:ze(["button",{"is-info":!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0}]),href:s.spotify.oauth_uri,textContent:g(e.$t("page.settings.services.spotify.authorize"))},null,10,ZW)])]),c("p",YW,[c("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,XW),c("code",{textContent:g(s.spotify_required_scope.join(", "))},null,8,JW)]),s.spotify.webapi_token_valid?(E(),P("div",QW,[c("div",eq,[c("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,tq)])])):ee("",!0)])])):ee("",!0)]),_:1}),v(a,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,nq)]),content:L(()=>[s.lastfm.enabled?ee("",!0):(E(),P("div",rq,[c("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,oq)])),s.lastfm.enabled?(E(),P("div",sq,[c("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,iq),s.lastfm.scrobbling_enabled?(E(),P("div",aq,[c("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,lq)])):ee("",!0),s.lastfm.scrobbling_enabled?ee("",!0):(E(),P("div",cq,[c("form",{onSubmit:t[4]||(t[4]=_t((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[c("div",uq,[c("div",dq,[pt(c("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,mq),[[dn,o.lastfm_login.user]]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.user)},null,8,fq)]),c("div",pq,[pt(c("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>o.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,hq),[[dn,o.lastfm_login.password]]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.password)},null,8,_q)]),c("div",gq,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,yq)])]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.error)},null,8,vq),c("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,bq)],32)]))])):ee("",!0)]),_:1})])}const Cq=ie(OW,[["render",zq]]),wq={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:Qe,TabsSettings:Gl},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)}}},kq={class:"fd-page-with-tabs"},xq=["textContent"],Sq={key:0},Eq={class:"label has-text-weight-normal content"},$q=["textContent"],Tq=["textContent"],Aq={class:"field is-grouped"},Oq={class:"control"},Pq=["placeholder"],Iq={class:"control"},Lq=["textContent"],Nq={key:1},Dq=["textContent"],Rq=["textContent"],Mq=["textContent"],Fq={class:"field"},Vq={class:"control"},Hq=["id","onUpdate:modelValue","onChange"],Uq=["for","textContent"],jq=["onSubmit"],Bq={class:"field is-grouped"},Wq={class:"control"},qq=["placeholder"],Gq={class:"control"},Kq=["textContent"];function Zq(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("content-with-heading");return E(),P("div",kq,[v(i),v(a,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,xq)]),content:L(()=>[s.pairing.active?(E(),P("div",Sq,[c("form",{onSubmit:t[1]||(t[1]=_t((...l)=>s.kickoff_pairing&&s.kickoff_pairing(...l),["prevent"]))},[c("label",Eq,[c("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,$q),c("b",{textContent:g(s.pairing.remote)},null,8,Tq)]),c("div",Aq,[c("div",Oq,[pt(c("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o.pairing_req.pin=l),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,Pq),[[dn,o.pairing_req.pin]])]),c("div",Iq,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,Lq)])])],32)])):(E(),P("div",Nq,[c("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,Dq)]))]),_:1}),v(a,null,{"heading-left":L(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,Rq)]),content:L(()=>[c("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,Mq),(E(!0),P(Ce,null,Ct(s.outputs,l=>(E(),P("div",{key:l.id},[c("div",Fq,[c("div",Vq,[pt(c("input",{id:l.id,"onUpdate:modelValue":u=>l.selected=u,type:"checkbox",class:"switch is-rounded mr-2",onChange:u=>s.output_toggle(l.id)},null,40,Hq),[[Pn,l.selected]]),c("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,Uq)])]),l.needs_auth_key?(E(),P("form",{key:0,class:"mb-5",onSubmit:_t(u=>s.kickoff_verification(l.id),["prevent"])},[c("div",Bq,[c("div",Wq,[pt(c("input",{"onUpdate:modelValue":t[2]||(t[2]=u=>o.verification_req.pin=u),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,qq),[[dn,o.verification_req.pin]])]),c("div",Gq,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,Kq)])])],40,jq)):ee("",!0)]))),128))]),_:1})])}const Yq=ie(wq,[["render",Zq]]),Xq={name:"SettingsIntfield",props:{category_name:{required:!0,type:String},disabled:Boolean,option_name:{required:!0,type:String},placeholder:{default:"",type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(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,name:this.option_name,value:e};j.settings_update(this.category.name,t).then(()=>{this.$store.dispatch("update_settings_option",t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},Jq=["disabled"],Qq={class:"field"},eG={class:"label has-text-weight-normal"},tG=["textContent"],nG={class:"control"},rG=["placeholder","value"],oG={key:0,class:"help"};function sG(e,t,n,r,o,s){return E(),P("fieldset",{disabled:n.disabled},[c("div",Qq,[c("label",eG,[vt(e.$slots,"label"),c("i",{class:ze(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,tG)]),c("div",nG,[c("input",{ref:"setting",class:"column input is-one-fifth",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,rG)]),e.$slots.info?(E(),P("p",oG,[vt(e.$slots,"info")])):ee("",!0)])],8,Jq)}const iG=ie(Xq,[["render",sG]]),aG={name:"SettingsTextfield",props:{category_name:{required:!0,type:String},disabled:Boolean,option_name:{required:!0,type:String},placeholder:{default:"",type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};j.settings_update(this.category.name,t).then(()=>{this.$store.dispatch("update_settings_option",t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},lG=["disabled"],cG={class:"field"},uG={class:"label has-text-weight-normal"},dG=["textContent"],mG={class:"control"},fG=["placeholder","value"],pG={key:0,class:"help"};function hG(e,t,n,r,o,s){return E(),P("fieldset",{disabled:n.disabled},[c("div",cG,[c("label",uG,[vt(e.$slots,"label"),c("i",{class:ze(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,dG)]),c("div",mG,[c("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,fG)]),e.$slots.info?(E(),P("p",pG,[vt(e.$slots,"info")])):ee("",!0)])],8,lG)}const _G=ie(aG,[["render",hG]]),gG={name:"PageSettingsWebinterface",components:{ContentWithHeading:Qe,ControlDropdown:To,SettingsCheckbox:gv,SettingsIntfield:iG,SettingsTextfield:_G,TabsSettings:Gl},computed:{locale:{get(){const e=this.$i18n.availableLocales;let t=e.find(r=>r===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t||(t=this.$i18n.fallbackLocale),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t(`language.${e}`)}))}},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing}}},yG={class:"fd-page-with-tabs"},vG=["textContent"],bG=["textContent"],zG=["textContent"],CG=["textContent"],wG=["textContent"],kG=["textContent"],xG=["textContent"],SG=["textContent"],EG=["textContent"],$G=["textContent"],TG=["textContent"],AG=["textContent"],OG=["textContent"],PG=["textContent"],IG=["textContent"],LG=["textContent"],NG=["textContent"],DG=["textContent"],RG=["textContent"],MG=["textContent"],FG=["textContent"],VG=["textContent"],HG=["textContent"];function UG(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("control-dropdown"),l=A("content-with-heading"),u=A("settings-checkbox"),d=A("settings-textfield"),m=A("settings-intfield");return E(),P("div",yG,[v(i),v(l,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,vG)]),content:L(()=>[v(a,{value:s.locale,"onUpdate:value":t[0]||(t[0]=f=>s.locale=f),options:s.locales},null,8,["value","options"])]),_:1}),v(l,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,bG)]),content:L(()=>[c("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,zG),c("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,CG),v(u,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,wG)]),_:1}),v(u,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,kG)]),_:1}),v(u,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,xG)]),_:1}),v(u,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,SG)]),_:1}),v(u,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,EG)]),_:1}),v(u,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,$G)]),_:1}),v(u,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,TG)]),_:1})]),_:1}),v(l,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,AG)]),content:L(()=>[v(u,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-coverart"))},null,8,OG)]),_:1})]),_:1}),v(l,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,PG)]),content:L(()=>[v(u,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer"))},null,8,IG)]),info:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,LG)]),_:1}),v(d,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!s.settings_option_show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer-genres"))},null,8,NG)]),info:L(()=>[c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,DG),c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,RG),c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,MG)]),_:1},8,["disabled","placeholder"]),v(u,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-path"))},null,8,FG)]),_:1})]),_:1}),v(l,null,{"heading-left":L(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,VG)]),content:L(()=>[v(m,{category_name:"webinterface",option_name:"recently_added_limit"},{label:L(()=>[c("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,HG)]),_:1})]),_:1})])}const jG=ie(gG,[["render",UG]]),vh=140,bh=110,yv=w8({history:JO(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:zP,name:"about",path:"/about"},{component:oN,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:h4,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:F6,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:x5,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:hD,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:c3,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:LD,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:y3,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:R3,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:B3,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:Y3,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:OR,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:TF,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:LF,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:_V,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:zV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:SV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:sM,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:yM,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:LM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:F7,meta:{show_progress:!0},name:"files",path:"/files"},{component:Z7,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:lF,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:pF,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:V9,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:W9,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:J9,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:aH,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:vH,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:GH,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:Hj,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:Dj,name:"queue",path:"/"},{component:yB,name:"search-library",path:"/search/library"},{component:qB,name:"search-spotify",path:"/search/spotify"},{component:jG,name:"settings-webinterface",path:"/settings/webinterface"},{component:AW,name:"settings-artwork",path:"/settings/artwork"},{component:Cq,name:"settings-online-services",path:"/settings/online-services"},{component:Yq,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((o,s)=>{setTimeout(()=>{o(n)},0)});if(e.path===t.path&&e.hash){const o=e.meta.has_tabs?vh:bh;return{behavior:"smooth",el:e.hash,top:o}}return e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((o,s)=>{const i=e.meta.has_tabs?vh:bh;setTimeout(()=>{o({el:"#top",top:i})},0)}):{left:0,top:0}}});yv.beforeEach((e,t,n)=>{if(ht.state.show_burger_menu){ht.commit(rs,!1),n(!1);return}if(ht.state.show_player_menu){ht.commit(os,!1),n(!1);return}n(!0)});const vv=cy(Z$).use(ht).use(yv).use(dT).use(X$).use(cT,{log:!1}).use(bO,{icons:mO}).use(Il);vv.config.globalProperties.$filters=dO;vv.mount("#app");
|