From 167ba8621196f456c663a02f77eee5d39de9a991 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Fri, 20 May 2022 13:44:22 +0200 Subject: [PATCH 1/5] #1458 Translation of Web UI --- htdocs/assets/index.js | 62 +- web-src/package-lock.json | 4019 +++++++++++++++-- web-src/package.json | 14 +- web-src/src/App.vue | 32 +- web-src/src/components/CoverArtwork.vue | 5 +- web-src/src/components/DropdownMenu.vue | 41 +- web-src/src/components/IndexButtonList.vue | 11 +- web-src/src/components/ListAlbums.vue | 59 +- web-src/src/components/ListArtists.vue | 27 +- web-src/src/components/ListComposers.vue | 28 +- web-src/src/components/ListDirectories.vue | 32 +- web-src/src/components/ListGenres.vue | 20 +- web-src/src/components/ListItemQueueItem.vue | 37 +- web-src/src/components/ListPlaylists.vue | 26 +- web-src/src/components/ListTracks.vue | 49 +- web-src/src/components/ModalDialog.vue | 36 +- web-src/src/components/ModalDialogAddRss.vue | 50 +- .../components/ModalDialogAddUrlStream.vue | 49 +- web-src/src/components/ModalDialogAlbum.vue | 79 +- web-src/src/components/ModalDialogArtist.vue | 44 +- .../src/components/ModalDialogComposer.vue | 44 +- .../src/components/ModalDialogDirectory.vue | 26 +- web-src/src/components/ModalDialogGenre.vue | 40 +- .../src/components/ModalDialogPlaylist.vue | 36 +- .../components/ModalDialogPlaylistSave.vue | 45 +- .../src/components/ModalDialogQueueItem.vue | 110 +- .../components/ModalDialogRemotePairing.vue | 38 +- web-src/src/components/ModalDialogTrack.vue | 150 +- web-src/src/components/ModalDialogUpdate.vue | 29 +- web-src/src/components/NavbarBottom.vue | 286 +- web-src/src/components/NavbarItemLink.vue | 7 +- web-src/src/components/NavbarItemOutput.vue | 35 +- web-src/src/components/NavbarTop.vue | 108 +- web-src/src/components/NotificationList.vue | 12 +- .../src/components/PlayerButtonConsume.vue | 2 +- web-src/src/components/PlayerButtonNext.vue | 2 +- .../src/components/PlayerButtonPlayPause.vue | 4 +- .../src/components/PlayerButtonPrevious.vue | 2 +- web-src/src/components/PlayerButtonRepeat.vue | 2 +- .../src/components/PlayerButtonSeekBack.vue | 2 +- .../components/PlayerButtonSeekForward.vue | 2 +- .../src/components/PlayerButtonShuffle.vue | 2 +- web-src/src/components/ProgressBar.vue | 6 +- web-src/src/components/SettingsCheckbox.vue | 42 +- web-src/src/components/SettingsIntfield.vue | 41 +- web-src/src/components/SettingsTextfield.vue | 39 +- .../src/components/SpotifyListItemAlbum.vue | 10 +- .../src/components/SpotifyListItemArtist.vue | 4 +- .../components/SpotifyListItemPlaylist.vue | 8 +- .../src/components/SpotifyListItemTrack.vue | 25 +- .../components/SpotifyModalDialogAlbum.vue | 54 +- .../components/SpotifyModalDialogArtist.vue | 37 +- .../components/SpotifyModalDialogPlaylist.vue | 40 +- .../components/SpotifyModalDialogTrack.vue | 64 +- web-src/src/components/TabsAudiobooks.vue | 24 +- web-src/src/components/TabsMusic.vue | 73 +- web-src/src/components/TabsSearch.vue | 24 +- web-src/src/components/TabsSettings.vue | 36 +- web-src/src/icons.js | 14 +- web-src/src/main.js | 2 + web-src/src/pages/PageAbout.vue | 88 +- web-src/src/pages/PageAlbum.vue | 35 +- web-src/src/pages/PageAlbums.vue | 65 +- web-src/src/pages/PageArtist.vue | 51 +- web-src/src/pages/PageArtistTracks.vue | 28 +- web-src/src/pages/PageArtists.vue | 63 +- web-src/src/pages/PageAudiobooksAlbum.vue | 36 +- web-src/src/pages/PageAudiobooksAlbums.vue | 5 +- web-src/src/pages/PageAudiobooksArtist.vue | 25 +- web-src/src/pages/PageAudiobooksArtists.vue | 5 +- web-src/src/pages/PageBrowse.vue | 22 +- web-src/src/pages/PageBrowseRecentlyAdded.vue | 5 +- .../src/pages/PageBrowseRecentlyPlayed.vue | 5 +- web-src/src/pages/PageComposer.vue | 30 +- web-src/src/pages/PageComposerTracks.vue | 29 +- web-src/src/pages/PageComposers.vue | 5 +- web-src/src/pages/PageFiles.vue | 34 +- web-src/src/pages/PageGenre.vue | 29 +- web-src/src/pages/PageGenreTracks.vue | 29 +- web-src/src/pages/PageGenres.vue | 5 +- web-src/src/pages/PageNowPlaying.vue | 72 +- web-src/src/pages/PagePlaylist.vue | 24 +- web-src/src/pages/PagePlaylists.vue | 6 +- web-src/src/pages/PagePodcast.vue | 54 +- web-src/src/pages/PagePodcasts.vue | 43 +- web-src/src/pages/PageQueue.vue | 98 +- web-src/src/pages/PageRadioStreams.vue | 6 +- web-src/src/pages/PageSearch.vue | 107 +- web-src/src/pages/SettingsPageArtwork.vue | 56 +- .../src/pages/SettingsPageOnlineServices.vue | 158 +- .../src/pages/SettingsPageRemotesOutputs.vue | 52 +- .../src/pages/SettingsPageWebinterface.vue | 198 +- web-src/src/pages/SpotifyPageAlbum.vue | 59 +- web-src/src/pages/SpotifyPageArtist.vue | 48 +- web-src/src/pages/SpotifyPageBrowse.vue | 61 +- .../SpotifyPageBrowseFeaturedPlaylists.vue | 19 +- .../pages/SpotifyPageBrowseNewReleases.vue | 26 +- web-src/src/pages/SpotifyPagePlaylist.vue | 45 +- web-src/src/pages/SpotifyPageSearch.vue | 163 +- web-src/src/store/index.js | 6 +- web-src/src/templates/ContentWithHeading.vue | 28 +- web-src/src/templates/ContentWithHero.vue | 5 +- web-src/src/webapi/index.js | 19 +- web-src/vite.config.js | 24 +- 104 files changed, 4863 insertions(+), 3355 deletions(-) diff --git a/htdocs/assets/index.js b/htdocs/assets/index.js index d7c61a59..3614fbe9 100644 --- a/htdocs/assets/index.js +++ b/htdocs/assets/index.js @@ -1,38 +1,66 @@ -var n1=Object.defineProperty,s1=Object.defineProperties;var r1=Object.getOwnPropertyDescriptors;var Pi=Object.getOwnPropertySymbols;var wf=Object.prototype.hasOwnProperty,kf=Object.prototype.propertyIsEnumerable;var bf=(e,t,n)=>t in e?n1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ye=(e,t)=>{for(var n in t||(t={}))wf.call(t,n)&&bf(e,n,t[n]);if(Pi)for(var n of Pi(t))kf.call(t,n)&&bf(e,n,t[n]);return e},An=(e,t)=>s1(e,r1(t));var su=(e,t)=>{var n={};for(var s in e)wf.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Pi)for(var s of Pi(e))t.indexOf(s)<0&&kf.call(e,s)&&(n[s]=e[s]);return n};const o1=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}};o1();function ll(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const i1="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",a1=ll(i1),l1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",u1=ll(l1);function Nm(e){return!!e||e===""}function zs(e){if(ze(e)){const t={};for(let n=0;n{if(n){const s=n.split(d1);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function We(e){let t="";if(At(e))t=e;else if(ze(e))for(let n=0;nNs(n,t))}const R=e=>At(e)?e:e==null?"":ze(e)||Mt(e)&&(e.toString===jm||!et(e.toString))?JSON.stringify(e,Vm,2):String(e),Vm=(e,t)=>t&&t.__v_isRef?Vm(e,t.value):Br(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:hr(t)?{[`Set(${t.size})`]:[...t.values()]}:Mt(t)&&!ze(t)&&!Bm(t)?String(t):t,gt={},jr=[],qn=()=>{},p1=()=>!1,_1=/^on[^a-z]/,di=e=>_1.test(e),Rc=e=>e.startsWith("onUpdate:"),It=Object.assign,Lc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},g1=Object.prototype.hasOwnProperty,ft=(e,t)=>g1.call(e,t),ze=Array.isArray,Br=e=>cl(e)==="[object Map]",hr=e=>cl(e)==="[object Set]",Sf=e=>e instanceof Date,et=e=>typeof e=="function",At=e=>typeof e=="string",Nc=e=>typeof e=="symbol",Mt=e=>e!==null&&typeof e=="object",Vc=e=>Mt(e)&&et(e.then)&&et(e.catch),jm=Object.prototype.toString,cl=e=>jm.call(e),v1=e=>cl(e).slice(8,-1),Bm=e=>cl(e)==="[object Object]",jc=e=>At(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lo=ll(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},y1=/-(\w)/g,En=dl(e=>e.replace(y1,(t,n)=>n?n.toUpperCase():"")),b1=/\B([A-Z])/g,Jn=dl(e=>e.replace(b1,"-$1").toLowerCase()),fi=dl(e=>e.charAt(0).toUpperCase()+e.slice(1)),No=dl(e=>e?`on${fi(e)}`:""),si=(e,t)=>!Object.is(e,t),Ur=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let xf;const w1=()=>xf||(xf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let yn;class Bc{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&yn&&(this.parent=yn,this.index=(yn.scopes||(yn.scopes=[])).push(this)-1)}run(t){if(this.active){const n=yn;try{return yn=this,t()}finally{yn=n}}}on(){yn=this}off(){yn=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Hm=e=>(e.w&js)>0,zm=e=>(e.n&js)>0,E1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(c==="length"||c>=s)&&a.push(l)});else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ze(e)?jc(n)&&a.push(i.get("length")):(a.push(i.get(ar)),Br(e)&&a.push(i.get(Hu)));break;case"delete":ze(e)||(a.push(i.get(ar)),Br(e)&&a.push(i.get(Hu)));break;case"set":Br(e)&&a.push(i.get(ar));break}if(a.length===1)a[0]&&zu(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);zu(Uc(l))}}function zu(e,t){for(const n of ze(e)?e:[...e])(n!==Hn||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const O1=ll("__proto__,__v_isRef,__isVue"),Wm=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Nc)),T1=fl(),P1=fl(!1,!0),D1=fl(!0),F1=fl(!0,!0),Cf=I1();function I1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ut(this);for(let o=0,i=this.length;o{e[t]=function(...n){mr();const s=ut(this)[t].apply(this,n);return pr(),s}}),e}function fl(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?ep:Qm:t?Xm:Jm).get(s))return s;const i=ze(s);if(!e&&i&&ft(Cf,r))return Reflect.get(Cf,r,o);const a=Reflect.get(s,r,o);return(Nc(r)?Wm.has(r):O1(r))||(e||Cn(s,"get",r),t)?a:Ut(a)?!i||!jc(r)?a.value:a:Mt(a)?e?zc(a):_r(a):a}}const M1=Km(),R1=Km(!0);function Km(e=!1){return function(n,s,r,o){let i=n[s];if(Gr(i)&&Ut(i)&&!Ut(r))return!1;if(!e&&!Gr(r)&&(qc(r)||(r=ut(r),i=ut(i)),!ze(n)&&Ut(i)&&!Ut(r)))return i.value=r,!0;const a=ze(n)&&jc(s)?Number(s)e,hl=e=>Reflect.getPrototypeOf(e);function Di(e,t,n=!1,s=!1){e=e.__v_raw;const r=ut(e),o=ut(t);t!==o&&!n&&Cn(r,"get",t),!n&&Cn(r,"get",o);const{has:i}=hl(r),a=s?Hc:n?Kc:ri;if(i.call(r,t))return a(e.get(t));if(i.call(r,o))return a(e.get(o));e!==r&&e.get(t)}function Fi(e,t=!1){const n=this.__v_raw,s=ut(n),r=ut(e);return e!==r&&!t&&Cn(s,"has",e),!t&&Cn(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Ii(e,t=!1){return e=e.__v_raw,!t&&Cn(ut(e),"iterate",ar),Reflect.get(e,"size",e)}function $f(e){e=ut(e);const t=ut(this);return hl(t).has.call(t,e)||(t.add(e),hs(t,"add",e,e)),this}function Af(e,t){t=ut(t);const n=ut(this),{has:s,get:r}=hl(n);let o=s.call(n,e);o||(e=ut(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?si(t,i)&&hs(n,"set",e,t):hs(n,"add",e,t),this}function Of(e){const t=ut(this),{has:n,get:s}=hl(t);let r=n.call(t,e);r||(e=ut(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&hs(t,"delete",e,void 0),o}function Tf(){const e=ut(this),t=e.size!==0,n=e.clear();return t&&hs(e,"clear",void 0,void 0),n}function Mi(e,t){return function(s,r){const o=this,i=o.__v_raw,a=ut(i),l=t?Hc:e?Kc:ri;return!e&&Cn(a,"iterate",ar),i.forEach((c,d)=>s.call(r,l(c),l(d),o))}}function Ri(e,t,n){return function(...s){const r=this.__v_raw,o=ut(r),i=Br(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=r[e](...s),d=n?Hc:t?Kc:ri;return!t&&Cn(o,"iterate",l?Hu:ar),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:a?[d(h[0]),d(h[1])]:d(h),done:f}},[Symbol.iterator](){return this}}}}function ws(e){return function(...t){return e==="delete"?!1:this}}function U1(){const e={get(o){return Di(this,o)},get size(){return Ii(this)},has:Fi,add:$f,set:Af,delete:Of,clear:Tf,forEach:Mi(!1,!1)},t={get(o){return Di(this,o,!1,!0)},get size(){return Ii(this)},has:Fi,add:$f,set:Af,delete:Of,clear:Tf,forEach:Mi(!1,!0)},n={get(o){return Di(this,o,!0)},get size(){return Ii(this,!0)},has(o){return Fi.call(this,o,!0)},add:ws("add"),set:ws("set"),delete:ws("delete"),clear:ws("clear"),forEach:Mi(!0,!1)},s={get(o){return Di(this,o,!0,!0)},get size(){return Ii(this,!0)},has(o){return Fi.call(this,o,!0)},add:ws("add"),set:ws("set"),delete:ws("delete"),clear:ws("clear"),forEach:Mi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ri(o,!1,!1),n[o]=Ri(o,!0,!1),t[o]=Ri(o,!1,!0),s[o]=Ri(o,!0,!0)}),[e,n,t,s]}const[H1,z1,q1,G1]=U1();function ml(e,t){const n=t?e?G1:q1:e?z1:H1;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ft(n,r)&&r in s?n:s,r,o)}const W1={get:ml(!1,!1)},K1={get:ml(!1,!0)},Z1={get:ml(!0,!1)},Y1={get:ml(!0,!0)},Jm=new WeakMap,Xm=new WeakMap,Qm=new WeakMap,ep=new WeakMap;function J1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function X1(e){return e.__v_skip||!Object.isExtensible(e)?0:J1(v1(e))}function _r(e){return Gr(e)?e:pl(e,!1,Zm,W1,Jm)}function tp(e){return pl(e,!1,j1,K1,Xm)}function zc(e){return pl(e,!0,Ym,Z1,Qm)}function Q1(e){return pl(e,!0,B1,Y1,ep)}function pl(e,t,n,s,r){if(!Mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=X1(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function lr(e){return Gr(e)?lr(e.__v_raw):!!(e&&e.__v_isReactive)}function Gr(e){return!!(e&&e.__v_isReadonly)}function qc(e){return!!(e&&e.__v_isShallow)}function Gc(e){return lr(e)||Gr(e)}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function Wc(e){return Ba(e,"__v_skip",!0),e}const ri=e=>Mt(e)?_r(e):e,Kc=e=>Mt(e)?zc(e):e;function Zc(e){Rs&&Hn&&(e=ut(e),Gm(e.dep||(e.dep=Uc())))}function _l(e,t){e=ut(e),e.dep&&zu(e.dep)}function Ut(e){return!!(e&&e.__v_isRef===!0)}function cs(e){return sp(e,!1)}function np(e){return sp(e,!0)}function sp(e,t){return Ut(e)?e:new eb(e,t)}class eb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ut(t),this._value=n?t:ri(t)}get value(){return Zc(this),this._value}set value(t){t=this.__v_isShallow?t:ut(t),si(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:ri(t),_l(this))}}function tb(e){_l(e)}function Hr(e){return Ut(e)?e.value:e}const nb={get:(e,t,n)=>Hr(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ut(r)&&!Ut(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Yc(e){return lr(e)?e:new Proxy(e,nb)}class sb{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Zc(this),()=>_l(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function rb(e){return new sb(e)}function Vo(e){const t=ze(e)?new Array(e.length):{};for(const n in e)t[n]=rp(e,n);return t}class ob{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function rp(e,t,n){const s=e[t];return Ut(s)?s:new ob(e,t,n)}class ib{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new hi(t,()=>{this._dirty||(this._dirty=!0,_l(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=ut(this);return Zc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ab(e,t,n=!1){let s,r;const o=et(e);return o?(s=e,r=qn):(s=e.get,r=e.set),new ib(s,r,o||!r,n)}const jo=[];function op(e,...t){mr();const n=jo.length?jo[jo.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=lb();if(s)Xn(s,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:o})=>`at <${Yp(n,o.type)}>`).join(` -`),r]);else{const o=[`[Vue warn]: ${e}`,...t];r.length&&o.push(` -`,...ub(r)),console.warn(...o)}pr()}function lb(){let e=jo[jo.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function ub(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` -`],...cb(n))}),t}function cb({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${Yp(e.component,e.type,s)}`,o=">"+n;return e.props?[r,...db(e.props),o]:[r+o]}function db(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...ip(s,e[s]))}),n.length>3&&t.push(" ..."),t}function ip(e,t,n){return At(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ut(t)?(t=ip(e,ut(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):et(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ut(t),n?t:[`${e}=`,t])}function Xn(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){gr(o,t,n)}return r}function Sn(e,t,n,s){if(et(e)){const o=Xn(e,t,n,s);return o&&Vc(o)&&o.catch(i=>{gr(i,t,n)}),o}const r=[];for(let o=0;o>>1;oi(kn[s])ls&&kn.splice(t,1)}function up(e,t,n,s){ze(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),lp()}function pb(e){up(e,Oo,Bo,Fr)}function Qc(e){up(e,$s,Uo,Ir)}function ed(e,t=null){if(Bo.length){for(Gu=t,Oo=[...new Set(Bo)],Bo.length=0,Fr=0;Froi(n)-oi(s)),Ir=0;Ir<$s.length;Ir++)$s[Ir]();$s=null,Ir=0}}const oi=e=>e.id==null?1/0:e.id;function cp(e){qu=!1,Ua=!0,ed(e),kn.sort((n,s)=>oi(n)-oi(s));const t=qn;try{for(ls=0;lsMr.emit(r,...o)),Li=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((s=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{dp(o,t)}),setTimeout(()=>{Mr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Li=[])},3e3)):Li=[]}function _b(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||gt;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:f}=s[d]||gt;f?r=n.map(m=>m.trim()):h&&(r=n.map(Vs))}let a,l=s[a=No(t)]||s[a=No(En(t))];!l&&o&&(l=s[a=No(Jn(t))]),l&&Sn(l,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Sn(c,e,6,r)}}function fp(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!et(e)){const l=c=>{const d=fp(c,t,!0);d&&(a=!0,It(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(s.set(e,null),null):(ze(o)?o.forEach(l=>i[l]=null):It(i,o),s.set(e,i),i)}function vl(e,t){return!e||!di(t)?!1:(t=t.slice(2).replace(/Once$/,""),ft(e,t[0].toLowerCase()+t.slice(1))||ft(e,Jn(t))||ft(e,t))}let Qt=null,yl=null;function ii(e){const t=Qt;return Qt=e,yl=e&&e.type.__scopeId||null,t}function gb(e){yl=e}function vb(){yl=null}const yb=e=>T;function T(e,t=Qt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ju(-1);const o=ii(t),i=e(...r);return ii(o),s._d&&Ju(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function Ta(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:h,data:f,setupState:m,ctx:p,inheritAttrs:_}=e;let g,y;const b=ii(e);try{if(n.shapeFlag&4){const x=r||s;g=bn(d.call(x,x,h,o,m,f,p)),y=l}else{const x=t;g=bn(x.length>1?x(o,{attrs:l,slots:a,emit:c}):x(o,null)),y=t.props?l:wb(l)}}catch(x){qo.length=0,gr(x,e,1),g=w(nn)}let S=g;if(y&&_!==!1){const x=Object.keys(y),{shapeFlag:C}=S;x.length&&C&7&&(i&&x.some(Rc)&&(y=kb(y,i)),S=ms(S,y))}return n.dirs&&(S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),g=S,ii(b),g}function bb(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||di(n))&&((t||(t={}))[n]=e[n]);return t},kb=(e,t)=>{const n={};for(const s in e)(!Rc(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Sb(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Pf(s,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let h=0;he.__isSuspense,Eb={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,a,l,c){e==null?$b(t,n,s,r,o,i,a,l,c):Ab(e,t,n,s,r,i,a,l,c)},hydrate:Ob,create:nd,normalize:Tb},Cb=Eb;function ai(e,t){const n=e.props&&e.props[t];et(n)&&n()}function $b(e,t,n,s,r,o,i,a,l){const{p:c,o:{createElement:d}}=l,h=d("div"),f=e.suspense=nd(e,r,s,t,h,n,o,i,a,l);c(null,f.pendingBranch=e.ssContent,h,null,s,f,o,i),f.deps>0?(ai(e,"onPending"),ai(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,o,i),zr(f,e.ssFallback)):f.resolve()}function Ab(e,t,n,s,r,o,i,a,{p:l,um:c,o:{createElement:d}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const f=t.ssContent,m=t.ssFallback,{activeBranch:p,pendingBranch:_,isInFallback:g,isHydrating:y}=h;if(_)h.pendingBranch=f,Yn(f,_)?(l(_,f,h.hiddenContainer,null,r,h,o,i,a),h.deps<=0?h.resolve():g&&(l(p,m,n,s,r,null,o,i,a),zr(h,m))):(h.pendingId++,y?(h.isHydrating=!1,h.activeBranch=_):c(_,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=d("div"),g?(l(null,f,h.hiddenContainer,null,r,h,o,i,a),h.deps<=0?h.resolve():(l(p,m,n,s,r,null,o,i,a),zr(h,m))):p&&Yn(f,p)?(l(p,f,n,s,r,h,o,i,a),h.resolve(!0)):(l(null,f,h.hiddenContainer,null,r,h,o,i,a),h.deps<=0&&h.resolve()));else if(p&&Yn(f,p))l(p,f,n,s,r,h,o,i,a),zr(h,f);else if(ai(t,"onPending"),h.pendingBranch=f,h.pendingId++,l(null,f,h.hiddenContainer,null,r,h,o,i,a),h.deps<=0)h.resolve();else{const{timeout:b,pendingId:S}=h;b>0?setTimeout(()=>{h.pendingId===S&&h.fallback(m)},b):b===0&&h.fallback(m)}}function nd(e,t,n,s,r,o,i,a,l,c,d=!1){const{p:h,m:f,um:m,n:p,o:{parentNode:_,remove:g}}=c,y=Vs(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:r,anchor:o,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(S=!1){const{vnode:x,activeBranch:C,pendingBranch:A,pendingId:M,effects:j,parentComponent:O,container:V}=b;if(b.isHydrating)b.isHydrating=!1;else if(!S){const B=C&&A.transition&&A.transition.mode==="out-in";B&&(C.transition.afterLeave=()=>{M===b.pendingId&&f(A,V,W,0)});let{anchor:W}=b;C&&(W=p(C),m(C,O,b,!0)),B||f(A,V,W,0)}zr(b,A),b.pendingBranch=null,b.isInFallback=!1;let q=b.parent,F=!1;for(;q;){if(q.pendingBranch){q.effects.push(...j),F=!0;break}q=q.parent}F||Qc(j),b.effects=[],ai(x,"onResolve")},fallback(S){if(!b.pendingBranch)return;const{vnode:x,activeBranch:C,parentComponent:A,container:M,isSVG:j}=b;ai(x,"onFallback");const O=p(C),V=()=>{!b.isInFallback||(h(null,S,M,O,A,null,j,a,l),zr(b,S))},q=S.transition&&S.transition.mode==="out-in";q&&(C.transition.afterLeave=V),b.isInFallback=!0,m(C,A,null,!0),q||V()},move(S,x,C){b.activeBranch&&f(b.activeBranch,S,x,C),b.container=S},next(){return b.activeBranch&&p(b.activeBranch)},registerDep(S,x){const C=!!b.pendingBranch;C&&b.deps++;const A=S.vnode.el;S.asyncDep.catch(M=>{gr(M,S,0)}).then(M=>{if(S.isUnmounted||b.isUnmounted||b.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:j}=S;ec(S,M,!1),A&&(j.el=A);const O=!A&&S.subTree.el;x(S,j,_(A||S.subTree.el),A?null:p(S.subTree),b,i,l),O&&g(O),td(S,j.el),C&&--b.deps===0&&b.resolve()})},unmount(S,x){b.isUnmounted=!0,b.activeBranch&&m(b.activeBranch,n,S,x),b.pendingBranch&&m(b.pendingBranch,n,S,x)}};return b}function Ob(e,t,n,s,r,o,i,a,l){const c=t.suspense=nd(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(),d}function Tb(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Df(s?n.default:n),e.ssFallback=s?Df(n.fallback):w(nn)}function Df(e){let t;if(et(e)){const n=Yr&&e._c;n&&(e._d=!1,E()),e=e(),n&&(e._d=!0,t=es,Vp())}return ze(e)&&(e=bb(e)),e=bn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function hp(e,t){t&&t.pendingBranch?ze(e)?t.effects.push(...e):t.effects.push(e):Qc(e)}function zr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,td(s,r))}function Ho(e,t){if(Gt){let n=Gt.provides;const s=Gt.parent&&Gt.parent.provides;s===n&&(n=Gt.provides=Object.create(s)),n[e]=t}}function Qn(e,t,n=!1){const s=Gt||Qt;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&et(t)?t.call(s.proxy):t}}function Pb(e,t){return mi(e,null,t)}function mp(e,t){return mi(e,null,{flush:"post"})}function Db(e,t){return mi(e,null,{flush:"sync"})}const Ff={};function jt(e,t,n){return mi(e,t,n)}function mi(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=gt){const a=Gt;let l,c=!1,d=!1;if(Ut(e)?(l=()=>e.value,c=qc(e)):lr(e)?(l=()=>e,s=!0):ze(e)?(d=!0,c=e.some(lr),l=()=>e.map(y=>{if(Ut(y))return y.value;if(lr(y))return ir(y);if(et(y))return Xn(y,a,2)})):et(e)?t?l=()=>Xn(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),Sn(e,a,3,[f])}:l=qn,t&&s){const y=l;l=()=>ir(y())}let h,f=y=>{h=g.onStop=()=>{Xn(y,a,4)}};if(Jr)return f=qn,t?n&&Sn(t,a,3,[l(),d?[]:void 0,f]):l(),qn;let m=d?[]:Ff;const p=()=>{if(!!g.active)if(t){const y=g.run();(s||c||(d?y.some((b,S)=>si(b,m[S])):si(y,m)))&&(h&&h(),Sn(t,a,3,[y,m===Ff?void 0:m,f]),m=y)}else g.run()};p.allowRecurse=!!t;let _;r==="sync"?_=p:r==="post"?_=()=>Zt(p,a&&a.suspense):_=()=>{!a||a.isMounted?pb(p):p()};const g=new hi(l,_);return t?n?p():m=g.run():r==="post"?Zt(g.run.bind(g),a&&a.suspense):g.run(),()=>{g.stop(),a&&a.scope&&Lc(a.scope.effects,g)}}function Fb(e,t,n){const s=this.proxy,r=At(e)?e.includes(".")?pp(s,e):()=>s[e]:e.bind(s,s);let o;et(t)?o=t:(o=t.handler,n=t);const i=Gt;Us(this);const a=mi(r,o.bind(s),n);return i?Us(i):Ls(),a}function pp(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{ir(n,t)});else if(Bm(e))for(const n in e)ir(e[n],t);return e}function sd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ao(()=>{e.isMounted=!0}),Sl(()=>{e.isUnmounting=!0}),e}const On=[Function,Array],Ib={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:On,onEnter:On,onAfterEnter:On,onEnterCancelled:On,onBeforeLeave:On,onLeave:On,onAfterLeave:On,onLeaveCancelled:On,onBeforeAppear:On,onAppear:On,onAfterAppear:On,onAppearCancelled:On},setup(e,{slots:t}){const n=Gs(),s=sd();let r;return()=>{const o=t.default&&bl(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const _ of o)if(_.type!==nn){i=_;break}}const a=ut(e),{mode:l}=a;if(s.isLeaving)return ru(i);const c=If(i);if(!c)return ru(i);const d=Wr(c,a,s,n);fr(c,d);const h=n.subTree,f=h&&If(h);let m=!1;const{getTransitionKey:p}=c.type;if(p){const _=p();r===void 0?r=_:_!==r&&(r=_,m=!0)}if(f&&f.type!==nn&&(!Yn(c,f)||m)){const _=Wr(f,a,s,n);if(fr(f,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update()},ru(i);l==="in-out"&&c.type!==nn&&(_.delayLeave=(g,y,b)=>{const S=_p(s,f);S[String(f.key)]=f,g._leaveCb=()=>{y(),g._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=b})}return i}}},rd=Ib;function _p(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Wr(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:_,onAppear:g,onAfterAppear:y,onAppearCancelled:b}=t,S=String(e.key),x=_p(n,e),C=(M,j)=>{M&&Sn(M,s,9,j)},A={mode:o,persisted:i,beforeEnter(M){let j=a;if(!n.isMounted)if(r)j=_||a;else return;M._leaveCb&&M._leaveCb(!0);const O=x[S];O&&Yn(e,O)&&O.el._leaveCb&&O.el._leaveCb(),C(j,[M])},enter(M){let j=l,O=c,V=d;if(!n.isMounted)if(r)j=g||l,O=y||c,V=b||d;else return;let q=!1;const F=M._enterCb=B=>{q||(q=!0,B?C(V,[M]):C(O,[M]),A.delayedLeave&&A.delayedLeave(),M._enterCb=void 0)};j?(j(M,F),j.length<=1&&F()):F()},leave(M,j){const O=String(e.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return j();C(h,[M]);let V=!1;const q=M._leaveCb=F=>{V||(V=!0,j(),F?C(p,[M]):C(m,[M]),M._leaveCb=void 0,x[O]===e&&delete x[O])};x[O]=e,f?(f(M,q),f.length<=1&&q()):q()},clone(M){return Wr(M,t,n,s)}};return A}function ru(e){if(_i(e))return e=ms(e),e.children=null,e}function If(e){return _i(e)?e.children?e.children[0]:void 0:e}function fr(e,t){e.shapeFlag&6&&e.component?fr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bl(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;function Mb(e){et(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,d=0;const h=()=>(d++,l=null,f()),f=()=>{let m;return l||(m=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((_,g)=>{a(p,()=>_(h()),()=>g(p),d+1)});throw p}).then(p=>m!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return pi({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const m=Gt;if(c)return()=>ou(c,m);const p=b=>{l=null,gr(b,m,13,!s)};if(i&&m.suspense||Jr)return f().then(b=>()=>ou(b,m)).catch(b=>(p(b),()=>s?w(s,{error:b}):null));const _=cs(!1),g=cs(),y=cs(!!r);return r&&setTimeout(()=>{y.value=!1},r),o!=null&&setTimeout(()=>{if(!_.value&&!g.value){const b=new Error(`Async component timed out after ${o}ms.`);p(b),g.value=b}},o),f().then(()=>{_.value=!0,m.parent&&_i(m.parent.vnode)&&Xc(m.parent.update)}).catch(b=>{p(b),g.value=b}),()=>{if(_.value&&c)return ou(c,m);if(g.value&&s)return w(s,{error:g.value});if(n&&!y.value)return w(n)}}})}function ou(e,{vnode:{ref:t,props:n,children:s}}){const r=w(e,n,s);return r.ref=t,r}const _i=e=>e.type.__isKeepAlive,Rb={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Gs(),s=n.ctx;if(!s.renderer)return t.default;const r=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:h}}}=s,f=h("div");s.activate=(b,S,x,C,A)=>{const M=b.component;c(b,S,x,0,a),l(M.vnode,b,S,x,M,a,C,b.slotScopeIds,A),Zt(()=>{M.isDeactivated=!1,M.a&&Ur(M.a);const j=b.props&&b.props.onVnodeMounted;j&&fn(j,M.parent,b)},a)},s.deactivate=b=>{const S=b.component;c(b,f,null,1,a),Zt(()=>{S.da&&Ur(S.da);const x=b.props&&b.props.onVnodeUnmounted;x&&fn(x,S.parent,b),S.isDeactivated=!0},a)};function m(b){iu(b),d(b,n,a,!0)}function p(b){r.forEach((S,x)=>{const C=Ka(S.type);C&&(!b||!b(C))&&_(x)})}function _(b){const S=r.get(b);!i||S.type!==i.type?m(S):i&&iu(i),r.delete(b),o.delete(b)}jt(()=>[e.include,e.exclude],([b,S])=>{b&&p(x=>To(b,x)),S&&p(x=>!To(S,x))},{flush:"post",deep:!0});let g=null;const y=()=>{g!=null&&r.set(g,au(n.subTree))};return ao(y),kl(y),Sl(()=>{r.forEach(b=>{const{subTree:S,suspense:x}=n,C=au(S);if(b.type===C.type){iu(C);const A=C.component.da;A&&Zt(A,x);return}m(b)})}),()=>{if(g=null,!t.default)return null;const b=t.default(),S=b[0];if(b.length>1)return i=null,b;if(!Bs(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return i=null,S;let x=au(S);const C=x.type,A=Ka(Kr(x)?x.type.__asyncResolved||{}:C),{include:M,exclude:j,max:O}=e;if(M&&(!A||!To(M,A))||j&&A&&To(j,A))return i=x,S;const V=x.key==null?C:x.key,q=r.get(V);return x.el&&(x=ms(x),S.shapeFlag&128&&(S.ssContent=x)),g=V,q?(x.el=q.el,x.component=q.component,x.transition&&fr(x,x.transition),x.shapeFlag|=512,o.delete(V),o.add(V)):(o.add(V),O&&o.size>parseInt(O,10)&&_(o.values().next().value)),x.shapeFlag|=256,i=x,S}}},Lb=Rb;function To(e,t){return ze(e)?e.some(n=>To(n,t)):At(e)?e.split(",").includes(t):e.test?e.test(t):!1}function gp(e,t){yp(e,"a",t)}function vp(e,t){yp(e,"da",t)}function yp(e,t,n=Gt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(wl(t,s,n),n){let r=n.parent;for(;r&&r.parent;)_i(r.parent.vnode)&&Nb(s,t,n,r),r=r.parent}}function Nb(e,t,n,s){const r=wl(t,e,s,!0);gi(()=>{Lc(s[t],r)},n)}function iu(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function au(e){return e.shapeFlag&128?e.ssContent:e}function wl(e,t,n=Gt,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;mr(),Us(n);const a=Sn(t,n,e,i);return Ls(),pr(),a});return s?r.unshift(o):r.push(o),o}}const gs=e=>(t,n=Gt)=>(!Jr||e==="sp")&&wl(e,t,n),bp=gs("bm"),ao=gs("m"),wp=gs("bu"),kl=gs("u"),Sl=gs("bum"),gi=gs("um"),kp=gs("sp"),Sp=gs("rtg"),xp=gs("rtc");function Ep(e,t=Gt){wl("ec",e,t)}let Wu=!0;function Vb(e){const t=$p(e),n=e.proxy,s=e.ctx;Wu=!1,t.beforeCreate&&Mf(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:h,mounted:f,beforeUpdate:m,updated:p,activated:_,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:S,unmounted:x,render:C,renderTracked:A,renderTriggered:M,errorCaptured:j,serverPrefetch:O,expose:V,inheritAttrs:q,components:F,directives:B,filters:W}=t;if(c&&jb(c,s,null,e.appContext.config.unwrapInjectedRef),i)for(const ae in i){const ve=i[ae];et(ve)&&(s[ae]=ve.bind(n))}if(r){const ae=r.call(n,n);Mt(ae)&&(e.data=_r(ae))}if(Wu=!0,o)for(const ae in o){const ve=o[ae],Le=et(ve)?ve.bind(n,n):et(ve.get)?ve.get.bind(n,n):qn,qe=!et(ve)&&et(ve.set)?ve.set.bind(n):qn,me=Wt({get:Le,set:qe});Object.defineProperty(s,ae,{enumerable:!0,configurable:!0,get:()=>me.value,set:Y=>me.value=Y})}if(a)for(const ae in a)Cp(a[ae],s,n,ae);if(l){const ae=et(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(ve=>{Ho(ve,ae[ve])})}d&&Mf(d,e,"c");function te(ae,ve){ze(ve)?ve.forEach(Le=>ae(Le.bind(n))):ve&&ae(ve.bind(n))}if(te(bp,h),te(ao,f),te(wp,m),te(kl,p),te(gp,_),te(vp,g),te(Ep,j),te(xp,A),te(Sp,M),te(Sl,b),te(gi,x),te(kp,O),ze(V))if(V.length){const ae=e.exposed||(e.exposed={});V.forEach(ve=>{Object.defineProperty(ae,ve,{get:()=>n[ve],set:Le=>n[ve]=Le})})}else e.exposed||(e.exposed={});C&&e.render===qn&&(e.render=C),q!=null&&(e.inheritAttrs=q),F&&(e.components=F),B&&(e.directives=B)}function jb(e,t,n=qn,s=!1){ze(e)&&(e=Ku(e));for(const r in e){const o=e[r];let i;Mt(o)?"default"in o?i=Qn(o.from||r,o.default,!0):i=Qn(o.from||r):i=Qn(o),Ut(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function Mf(e,t,n){Sn(ze(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Cp(e,t,n,s){const r=s.includes(".")?pp(n,s):()=>n[s];if(At(e)){const o=t[e];et(o)&&jt(r,o)}else if(et(e))jt(r,e.bind(n));else if(Mt(e))if(ze(e))e.forEach(o=>Cp(o,t,n,s));else{const o=et(e.handler)?e.handler.bind(n):t[e.handler];et(o)&&jt(r,o,e)}}function $p(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>za(l,c,i,!0)),za(l,t,i)),o.set(t,l),l}function za(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&za(e,o,n,!0),r&&r.forEach(i=>za(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Bb[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Bb={data:Rf,props:tr,emits:tr,methods:tr,computed:tr,beforeCreate:rn,created:rn,beforeMount:rn,mounted:rn,beforeUpdate:rn,updated:rn,beforeDestroy:rn,beforeUnmount:rn,destroyed:rn,unmounted:rn,activated:rn,deactivated:rn,errorCaptured:rn,serverPrefetch:rn,components:tr,directives:tr,watch:Hb,provide:Rf,inject:Ub};function Rf(e,t){return t?e?function(){return It(et(e)?e.call(this,this):e,et(t)?t.call(this,this):t)}:t:e}function Ub(e,t){return tr(Ku(e),Ku(t))}function Ku(e){if(ze(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,m]=Op(h,t,!0);It(i,f),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return s.set(e,jr),jr;if(ze(o))for(let d=0;d-1,m[1]=_<0||p<_,(p>-1||ft(m,"default"))&&a.push(h)}}}const c=[i,a];return s.set(e,c),c}function Lf(e){return e[0]!=="$"}function Nf(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Vf(e,t){return Nf(e)===Nf(t)}function jf(e,t){return ze(t)?t.findIndex(n=>Vf(n,e)):et(t)&&Vf(t,e)?0:-1}const Tp=e=>e[0]==="_"||e==="$stable",od=e=>ze(e)?e.map(bn):[bn(e)],Gb=(e,t,n)=>{const s=T((...r)=>od(t(...r)),n);return s._c=!1,s},Pp=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Tp(r))continue;const o=e[r];if(et(o))t[r]=Gb(r,o,s);else if(o!=null){const i=od(o);t[r]=()=>i}}},Dp=(e,t)=>{const n=od(t);e.slots.default=()=>n},Wb=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ut(t),Ba(t,"_",n)):Pp(t,e.slots={})}else e.slots={},t&&Dp(e,t);Ba(e.slots,El,1)},Kb=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=gt;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(It(r,t),!n&&a===1&&delete r._):(o=!t.$stable,Pp(t,r)),i=t}else t&&(Dp(e,t),i={default:1});if(o)for(const a in r)!Tp(a)&&!(a in i)&&delete r[a]};function wt(e,t){const n=Qt;if(n===null)return e;const s=Cl(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;oqa(f,t&&(ze(t)?t[m]:t),n,s,r));return}if(Kr(s)&&!r)return;const o=s.shapeFlag&4?Cl(s.component)||s.component.proxy:s.el,i=r?null:o,{i:a,r:l}=e,c=t&&t.r,d=a.refs===gt?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(At(c)?(d[c]=null,ft(h,c)&&(h[c]=null)):Ut(c)&&(c.value=null)),et(l))Xn(l,a,12,[i,d]);else{const f=At(l),m=Ut(l);if(f||m){const p=()=>{if(e.f){const _=f?d[l]:l.value;r?ze(_)&&Lc(_,o):ze(_)?_.includes(o)||_.push(o):f?(d[l]=[o],ft(h,l)&&(h[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,ft(h,l)&&(h[l]=i)):Ut(l)&&(l.value=i,e.k&&(d[e.k]=i))};i?(p.id=-1,Zt(p,n)):p()}}}let ks=!1;const Ni=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",lu=e=>e.nodeType===8;function Jb(e){const{mt:t,p:n,o:{patchProp:s,nextSibling:r,parentNode:o,remove:i,insert:a,createComment:l}}=e,c=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),Ha();return}ks=!1,d(y.firstChild,g,null,null,null),Ha(),ks&&console.error("Hydration completed but contains mismatches.")},d=(g,y,b,S,x,C=!1)=>{const A=lu(g)&&g.data==="[",M=()=>p(g,y,b,S,x,A),{type:j,ref:O,shapeFlag:V}=y,q=g.nodeType;y.el=g;let F=null;switch(j){case Zr:q!==3?F=M():(g.data!==y.children&&(ks=!0,g.data=y.children),F=r(g));break;case nn:q!==8||A?F=M():F=r(g);break;case ur:if(q!==1)F=M();else{F=g;const B=!y.children.length;for(let W=0;W{C=C||!!y.dynamicChildren;const{type:A,props:M,patchFlag:j,shapeFlag:O,dirs:V}=y,q=A==="input"&&V||A==="option";if(q||j!==-1){if(V&&Zn(y,null,b,"created"),M)if(q||!C||j&48)for(const B in M)(q&&B.endsWith("value")||di(B)&&!Lo(B))&&s(g,B,null,M[B],!1,void 0,b);else M.onClick&&s(g,"onClick",null,M.onClick,!1,void 0,b);let F;if((F=M&&M.onVnodeBeforeMount)&&fn(F,b,y),V&&Zn(y,null,b,"beforeMount"),((F=M&&M.onVnodeMounted)||V)&&hp(()=>{F&&fn(F,b,y),V&&Zn(y,null,b,"mounted")},S),O&16&&!(M&&(M.innerHTML||M.textContent))){let B=f(g.firstChild,y,g,b,S,x,C);for(;B;){ks=!0;const W=B;B=B.nextSibling,i(W)}}else O&8&&g.textContent!==y.children&&(ks=!0,g.textContent=y.children)}return g.nextSibling},f=(g,y,b,S,x,C,A)=>{A=A||!!y.dynamicChildren;const M=y.children,j=M.length;for(let O=0;O{const{slotScopeIds:A}=y;A&&(x=x?x.concat(A):A);const M=o(g),j=f(r(g),y,M,b,S,x,C);return j&&lu(j)&&j.data==="]"?r(y.anchor=j):(ks=!0,a(y.anchor=l("]"),M,j),j)},p=(g,y,b,S,x,C)=>{if(ks=!0,y.el=null,C){const j=_(g);for(;;){const O=r(g);if(O&&O!==j)i(O);else break}}const A=r(g),M=o(g);return i(g),n(null,y,M,A,b,S,Ni(M),x),A},_=g=>{let y=0;for(;g;)if(g=r(g),g&&lu(g)&&(g.data==="["&&y++,g.data==="]")){if(y===0)return r(g);y--}return g};return[c,d]}const Zt=hp;function Ip(e){return Rp(e)}function Mp(e){return Rp(e,Jb)}function Rp(e,t){const n=w1();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:h,nextSibling:f,setScopeId:m=qn,cloneNode:p,insertStaticContent:_}=e,g=($,L,K,oe=null,le=null,ye=null,ke=!1,he=null,pe=!!L.dynamicChildren)=>{if($===L)return;$&&!Yn($,L)&&(oe=be($),ce($,le,ye,!0),$=null),L.patchFlag===-2&&(pe=!1,L.dynamicChildren=null);const{type:fe,ref:Ne,shapeFlag:Ce}=L;switch(fe){case Zr:y($,L,K,oe);break;case nn:b($,L,K,oe);break;case ur:$==null&&S(L,K,oe,ke);break;case Ke:B($,L,K,oe,le,ye,ke,he,pe);break;default:Ce&1?A($,L,K,oe,le,ye,ke,he,pe):Ce&6?W($,L,K,oe,le,ye,ke,he,pe):(Ce&64||Ce&128)&&fe.process($,L,K,oe,le,ye,ke,he,pe,Me)}Ne!=null&&le&&qa(Ne,$&&$.ref,ye,L||$,!L)},y=($,L,K,oe)=>{if($==null)s(L.el=a(L.children),K,oe);else{const le=L.el=$.el;L.children!==$.children&&c(le,L.children)}},b=($,L,K,oe)=>{$==null?s(L.el=l(L.children||""),K,oe):L.el=$.el},S=($,L,K,oe)=>{[$.el,$.anchor]=_($.children,L,K,oe,$.el,$.anchor)},x=({el:$,anchor:L},K,oe)=>{let le;for(;$&&$!==L;)le=f($),s($,K,oe),$=le;s(L,K,oe)},C=({el:$,anchor:L})=>{let K;for(;$&&$!==L;)K=f($),r($),$=K;r(L)},A=($,L,K,oe,le,ye,ke,he,pe)=>{ke=ke||L.type==="svg",$==null?M(L,K,oe,le,ye,ke,he,pe):V($,L,le,ye,ke,he,pe)},M=($,L,K,oe,le,ye,ke,he)=>{let pe,fe;const{type:Ne,props:Ce,shapeFlag:Re,transition:He,patchFlag:Je,dirs:st}=$;if($.el&&p!==void 0&&Je===-1)pe=$.el=p($.el);else{if(pe=$.el=i($.type,ye,Ce&&Ce.is,Ce),Re&8?d(pe,$.children):Re&16&&O($.children,pe,null,oe,le,ye&&Ne!=="foreignObject",ke,he),st&&Zn($,null,oe,"created"),Ce){for(const v in Ce)v!=="value"&&!Lo(v)&&o(pe,v,null,Ce[v],ye,$.children,oe,le,ne);"value"in Ce&&o(pe,"value",null,Ce.value),(fe=Ce.onVnodeBeforeMount)&&fn(fe,oe,$)}j(pe,$,$.scopeId,ke,oe)}st&&Zn($,null,oe,"beforeMount");const k=(!le||le&&!le.pendingBranch)&&He&&!He.persisted;k&&He.beforeEnter(pe),s(pe,L,K),((fe=Ce&&Ce.onVnodeMounted)||k||st)&&Zt(()=>{fe&&fn(fe,oe,$),k&&He.enter(pe),st&&Zn($,null,oe,"mounted")},le)},j=($,L,K,oe,le)=>{if(K&&m($,K),oe)for(let ye=0;ye{for(let fe=pe;fe<$.length;fe++){const Ne=$[fe]=he?As($[fe]):bn($[fe]);g(null,Ne,L,K,oe,le,ye,ke,he)}},V=($,L,K,oe,le,ye,ke)=>{const he=L.el=$.el;let{patchFlag:pe,dynamicChildren:fe,dirs:Ne}=L;pe|=$.patchFlag&16;const Ce=$.props||gt,Re=L.props||gt;let He;K&&Zs(K,!1),(He=Re.onVnodeBeforeUpdate)&&fn(He,K,L,$),Ne&&Zn(L,$,K,"beforeUpdate"),K&&Zs(K,!0);const Je=le&&L.type!=="foreignObject";if(fe?q($.dynamicChildren,fe,he,K,oe,Je,ye):ke||Le($,L,he,null,K,oe,Je,ye,!1),pe>0){if(pe&16)F(he,L,Ce,Re,K,oe,le);else if(pe&2&&Ce.class!==Re.class&&o(he,"class",null,Re.class,le),pe&4&&o(he,"style",Ce.style,Re.style,le),pe&8){const st=L.dynamicProps;for(let k=0;k{He&&fn(He,K,L,$),Ne&&Zn(L,$,K,"updated")},oe)},q=($,L,K,oe,le,ye,ke)=>{for(let he=0;he{if(K!==oe){for(const he in oe){if(Lo(he))continue;const pe=oe[he],fe=K[he];pe!==fe&&he!=="value"&&o($,he,fe,pe,ke,L.children,le,ye,ne)}if(K!==gt)for(const he in K)!Lo(he)&&!(he in oe)&&o($,he,K[he],null,ke,L.children,le,ye,ne);"value"in oe&&o($,"value",K.value,oe.value)}},B=($,L,K,oe,le,ye,ke,he,pe)=>{const fe=L.el=$?$.el:a(""),Ne=L.anchor=$?$.anchor:a("");let{patchFlag:Ce,dynamicChildren:Re,slotScopeIds:He}=L;He&&(he=he?he.concat(He):He),$==null?(s(fe,K,oe),s(Ne,K,oe),O(L.children,K,Ne,le,ye,ke,he,pe)):Ce>0&&Ce&64&&Re&&$.dynamicChildren?(q($.dynamicChildren,Re,K,le,ye,ke,he),(L.key!=null||le&&L===le.subTree)&&id($,L,!0)):Le($,L,K,Ne,le,ye,ke,he,pe)},W=($,L,K,oe,le,ye,ke,he,pe)=>{L.slotScopeIds=he,$==null?L.shapeFlag&512?le.ctx.activate(L,K,oe,ke,pe):ue(L,K,oe,le,ye,ke,pe):te($,L,pe)},ue=($,L,K,oe,le,ye,ke)=>{const he=$.component=qp($,oe,le);if(_i($)&&(he.ctx.renderer=Me),Wp(he),he.asyncDep){if(le&&le.registerDep(he,ae),!$.el){const pe=he.subTree=w(nn);b(null,pe,L,K)}return}ae(he,$,L,K,le,ye,ke)},te=($,L,K)=>{const oe=L.component=$.component;if(Sb($,L,K))if(oe.asyncDep&&!oe.asyncResolved){ve(oe,L,K);return}else oe.next=L,mb(oe.update),oe.update();else L.component=$.component,L.el=$.el,oe.vnode=L},ae=($,L,K,oe,le,ye,ke)=>{const he=()=>{if($.isMounted){let{next:Ne,bu:Ce,u:Re,parent:He,vnode:Je}=$,st=Ne,k;Zs($,!1),Ne?(Ne.el=Je.el,ve($,Ne,ke)):Ne=Je,Ce&&Ur(Ce),(k=Ne.props&&Ne.props.onVnodeBeforeUpdate)&&fn(k,He,Ne,Je),Zs($,!0);const v=Ta($),I=$.subTree;$.subTree=v,g(I,v,h(I.el),be(I),$,le,ye),Ne.el=v.el,st===null&&td($,v.el),Re&&Zt(Re,le),(k=Ne.props&&Ne.props.onVnodeUpdated)&&Zt(()=>fn(k,He,Ne,Je),le)}else{let Ne;const{el:Ce,props:Re}=L,{bm:He,m:Je,parent:st}=$,k=Kr(L);if(Zs($,!1),He&&Ur(He),!k&&(Ne=Re&&Re.onVnodeBeforeMount)&&fn(Ne,st,L),Zs($,!0),Ce&&De){const v=()=>{$.subTree=Ta($),De(Ce,$.subTree,$,le,null)};k?L.type.__asyncLoader().then(()=>!$.isUnmounted&&v()):v()}else{const v=$.subTree=Ta($);g(null,v,K,oe,$,le,ye),L.el=v.el}if(Je&&Zt(Je,le),!k&&(Ne=Re&&Re.onVnodeMounted)){const v=L;Zt(()=>fn(Ne,st,v),le)}L.shapeFlag&256&&$.a&&Zt($.a,le),$.isMounted=!0,L=K=oe=null}},pe=$.effect=new hi(he,()=>Xc($.update),$.scope),fe=$.update=pe.run.bind(pe);fe.id=$.uid,Zs($,!0),fe()},ve=($,L,K)=>{L.component=$;const oe=$.vnode.props;$.vnode=L,$.next=null,qb($,L.props,oe,K),Kb($,L.children,K),mr(),ed(void 0,$.update),pr()},Le=($,L,K,oe,le,ye,ke,he,pe=!1)=>{const fe=$&&$.children,Ne=$?$.shapeFlag:0,Ce=L.children,{patchFlag:Re,shapeFlag:He}=L;if(Re>0){if(Re&128){me(fe,Ce,K,oe,le,ye,ke,he,pe);return}else if(Re&256){qe(fe,Ce,K,oe,le,ye,ke,he,pe);return}}He&8?(Ne&16&&ne(fe,le,ye),Ce!==fe&&d(K,Ce)):Ne&16?He&16?me(fe,Ce,K,oe,le,ye,ke,he,pe):ne(fe,le,ye,!0):(Ne&8&&d(K,""),He&16&&O(Ce,K,oe,le,ye,ke,he,pe))},qe=($,L,K,oe,le,ye,ke,he,pe)=>{$=$||jr,L=L||jr;const fe=$.length,Ne=L.length,Ce=Math.min(fe,Ne);let Re;for(Re=0;ReNe?ne($,le,ye,!0,!1,Ce):O(L,K,oe,le,ye,ke,he,pe,Ce)},me=($,L,K,oe,le,ye,ke,he,pe)=>{let fe=0;const Ne=L.length;let Ce=$.length-1,Re=Ne-1;for(;fe<=Ce&&fe<=Re;){const He=$[fe],Je=L[fe]=pe?As(L[fe]):bn(L[fe]);if(Yn(He,Je))g(He,Je,K,null,le,ye,ke,he,pe);else break;fe++}for(;fe<=Ce&&fe<=Re;){const He=$[Ce],Je=L[Re]=pe?As(L[Re]):bn(L[Re]);if(Yn(He,Je))g(He,Je,K,null,le,ye,ke,he,pe);else break;Ce--,Re--}if(fe>Ce){if(fe<=Re){const He=Re+1,Je=HeRe)for(;fe<=Ce;)ce($[fe],le,ye,!0),fe++;else{const He=fe,Je=fe,st=new Map;for(fe=Je;fe<=Re;fe++){const Ie=L[fe]=pe?As(L[fe]):bn(L[fe]);Ie.key!=null&&st.set(Ie.key,fe)}let k,v=0;const I=Re-Je+1;let z=!1,J=0;const de=new Array(I);for(fe=0;fe=I){ce(Ie,le,ye,!0);continue}let ee;if(Ie.key!=null)ee=st.get(Ie.key);else for(k=Je;k<=Re;k++)if(de[k-Je]===0&&Yn(Ie,L[k])){ee=k;break}ee===void 0?ce(Ie,le,ye,!0):(de[ee-Je]=fe+1,ee>=J?J=ee:z=!0,g(Ie,L[ee],K,null,le,ye,ke,he,pe),v++)}const Ee=z?Xb(de):jr;for(k=Ee.length-1,fe=I-1;fe>=0;fe--){const Ie=Je+fe,ee=L[Ie],ie=Ie+1{const{el:ye,type:ke,transition:he,children:pe,shapeFlag:fe}=$;if(fe&6){Y($.component.subTree,L,K,oe);return}if(fe&128){$.suspense.move(L,K,oe);return}if(fe&64){ke.move($,L,K,Me);return}if(ke===Ke){s(ye,L,K);for(let Ce=0;Cehe.enter(ye),le);else{const{leave:Ce,delayLeave:Re,afterLeave:He}=he,Je=()=>s(ye,L,K),st=()=>{Ce(ye,()=>{Je(),He&&He()})};Re?Re(ye,Je,st):st()}else s(ye,L,K)},ce=($,L,K,oe=!1,le=!1)=>{const{type:ye,props:ke,ref:he,children:pe,dynamicChildren:fe,shapeFlag:Ne,patchFlag:Ce,dirs:Re}=$;if(he!=null&&qa(he,null,K,$,!0),Ne&256){L.ctx.deactivate($);return}const He=Ne&1&&Re,Je=!Kr($);let st;if(Je&&(st=ke&&ke.onVnodeBeforeUnmount)&&fn(st,L,$),Ne&6)re($.component,K,oe);else{if(Ne&128){$.suspense.unmount(K,oe);return}He&&Zn($,null,L,"beforeUnmount"),Ne&64?$.type.remove($,L,K,le,Me,oe):fe&&(ye!==Ke||Ce>0&&Ce&64)?ne(fe,L,K,!1,!0):(ye===Ke&&Ce&384||!le&&Ne&16)&&ne(pe,L,K),oe&&we($)}(Je&&(st=ke&&ke.onVnodeUnmounted)||He)&&Zt(()=>{st&&fn(st,L,$),He&&Zn($,null,L,"unmounted")},K)},we=$=>{const{type:L,el:K,anchor:oe,transition:le}=$;if(L===Ke){U(K,oe);return}if(L===ur){C($);return}const ye=()=>{r(K),le&&!le.persisted&&le.afterLeave&&le.afterLeave()};if($.shapeFlag&1&&le&&!le.persisted){const{leave:ke,delayLeave:he}=le,pe=()=>ke(K,ye);he?he($.el,ye,pe):pe()}else ye()},U=($,L)=>{let K;for(;$!==L;)K=f($),r($),$=K;r(L)},re=($,L,K)=>{const{bum:oe,scope:le,update:ye,subTree:ke,um:he}=$;oe&&Ur(oe),le.stop(),ye&&(ye.active=!1,ce(ke,$,L,K)),he&&Zt(he,L),Zt(()=>{$.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},ne=($,L,K,oe=!1,le=!1,ye=0)=>{for(let ke=ye;ke<$.length;ke++)ce($[ke],L,K,oe,le)},be=$=>$.shapeFlag&6?be($.component.subTree):$.shapeFlag&128?$.suspense.next():f($.anchor||$.el),Ue=($,L,K)=>{$==null?L._vnode&&ce(L._vnode,null,null,!0):g(L._vnode||null,$,L,null,null,null,K),Ha(),L._vnode=$},Me={p:g,um:ce,m:Y,r:we,mt:ue,mc:O,pc:Le,pbc:q,n:be,o:e};let Ae,De;return t&&([Ae,De]=t(Me)),{render:Ue,hydrate:Ae,createApp:Yb(Ue,Ae)}}function Zs({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function id(e,t,n=!1){const s=e.children,r=t.children;if(ze(s)&&ze(r))for(let o=0;o>1,e[n[a]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Qb=e=>e.__isTeleport,zo=e=>e&&(e.disabled||e.disabled===""),Bf=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Yu=(e,t)=>{const n=e&&e.to;return At(n)?t?t(n):null:n},e0={__isTeleport:!0,process(e,t,n,s,r,o,i,a,l,c){const{mc:d,pc:h,pbc:f,o:{insert:m,querySelector:p,createText:_,createComment:g}}=c,y=zo(t.props);let{shapeFlag:b,children:S,dynamicChildren:x}=t;if(e==null){const C=t.el=_(""),A=t.anchor=_("");m(C,n,s),m(A,n,s);const M=t.target=Yu(t.props,p),j=t.targetAnchor=_("");M&&(m(j,M),i=i||Bf(M));const O=(V,q)=>{b&16&&d(S,V,q,r,o,i,a,l)};y?O(n,A):M&&O(M,j)}else{t.el=e.el;const C=t.anchor=e.anchor,A=t.target=e.target,M=t.targetAnchor=e.targetAnchor,j=zo(e.props),O=j?n:A,V=j?C:M;if(i=i||Bf(A),x?(f(e.dynamicChildren,x,O,r,o,i,a),id(e,t,!0)):l||h(e,t,O,V,r,o,i,a,!1),y)j||Vi(t,n,C,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=Yu(t.props,p);q&&Vi(t,q,null,c,0)}else j&&Vi(t,A,M,c,1)}},remove(e,t,n,s,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:h,props:f}=e;if(h&&o(d),(i||!zo(f))&&(o(c),a&16))for(let m=0;m0?es||jr:null,Vp(),Yr>0&&es&&es.push(e),e}function D(e,t,n,s,r,o){return jp(u(e,t,n,s,r,o,!0))}function Se(e,t,n,s,r){return jp(w(e,t,n,s,r,!0))}function Bs(e){return e?e.__v_isVNode===!0:!1}function Yn(e,t){return e.type===t.type&&e.key===t.key}function s0(e){}const El="__vInternal",Bp=({key:e})=>e!=null?e:null,Pa=({ref:e,ref_key:t,ref_for:n})=>e!=null?At(e)||Ut(e)||et(e)?{i:Qt,r:e,k:t,f:!!n}:e:null;function u(e,t=null,n=null,s=0,r=null,o=e===Ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bp(t),ref:t&&Pa(t),scopeId:yl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return a?(ud(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=At(n)?8:16),Yr>0&&!i&&es&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&es.push(l),l}const w=r0;function r0(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Lp)&&(e=nn),Bs(e)){const a=ms(e,t,!0);return n&&ud(a,n),a}if(p0(e)&&(e=e.__vccOpts),t){t=Up(t);let{class:a,style:l}=t;a&&!At(a)&&(t.class=We(a)),Mt(l)&&(Gc(l)&&!ze(l)&&(l=It({},l)),t.style=zs(l))}const i=At(e)?1:xb(e)?128:Qb(e)?64:Mt(e)?4:et(e)?2:0;return u(e,t,n,s,r,i,o,!0)}function Up(e){return e?Gc(e)||El in e?It({},e):e:null}function ms(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,a=t?cd(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Bp(a),ref:t&&t.ref?n&&r?ze(r)?r.concat(Pa(t)):[r,Pa(t)]:Pa(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ke?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ms(e.ssContent),ssFallback:e.ssFallback&&ms(e.ssFallback),el:e.el,anchor:e.anchor}}function $e(e=" ",t=0){return w(Zr,null,e,t)}function Hp(e,t){const n=w(ur,null,e);return n.staticCount=t,n}function Z(e="",t=!1){return t?(E(),Se(nn,null,e)):w(nn,null,e)}function bn(e){return e==null||typeof e=="boolean"?w(nn):ze(e)?w(Ke,null,e.slice()):typeof e=="object"?As(e):w(Zr,null,String(e))}function As(e){return e.el===null||e.memo?e:ms(e)}function ud(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ze(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ud(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(El in t)?t._ctx=Qt:r===3&&Qt&&(Qt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else et(t)?(t={default:t,_ctx:Qt},n=32):(t=String(t),s&64?(n=16,t=[$e(t)]):n=8);e.children=t,e.shapeFlag|=n}function cd(...e){const t={};for(let n=0;nt(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,l=i.length;aBs(t)?!(t.type===nn||t.type===Ke&&!zp(t.children)):!0)?e:null}function o0(e){const t={};for(const n in e)t[No(n)]=e[n];return t}const Xu=e=>e?Gp(e)?Cl(e)||e.proxy:Xu(e.parent):null,Ga=It(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=>Xu(e.parent),$root:e=>Xu(e.root),$emit:e=>e.emit,$options:e=>$p(e),$forceUpdate:e=>()=>Xc(e.update),$nextTick:e=>gl.bind(e.proxy),$watch:e=>Fb.bind(e)}),Qu={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==gt&&ft(s,t))return i[t]=1,s[t];if(r!==gt&&ft(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&ft(c,t))return i[t]=3,o[t];if(n!==gt&&ft(n,t))return i[t]=4,n[t];Wu&&(i[t]=0)}}const d=Ga[t];let h,f;if(d)return t==="$attrs"&&Cn(e,"get",t),d(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==gt&&ft(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ft(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==gt&&ft(r,t)?(r[t]=n,!0):s!==gt&&ft(s,t)?(s[t]=n,!0):ft(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let a;return!!n[i]||e!==gt&&ft(e,i)||t!==gt&&ft(t,i)||(a=o[0])&&ft(a,i)||ft(s,i)||ft(Ga,i)||ft(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ft(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},i0=It({},Qu,{get(e,t){if(t!==Symbol.unscopables)return Qu.get(e,t,e)},has(e,t){return t[0]!=="_"&&!a1(t)}}),a0=Fp();let l0=0;function qp(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||a0,o={uid:l0++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Bc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Op(s,r),emitsOptions:fp(s,r),emit:null,emitted:null,propsDefaults:gt,inheritAttrs:s.inheritAttrs,ctx:gt,data:gt,props:gt,attrs:gt,slots:gt,refs:gt,setupState:gt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=_b.bind(null,o),e.ce&&e.ce(o),o}let Gt=null;const Gs=()=>Gt||Qt,Us=e=>{Gt=e,e.scope.on()},Ls=()=>{Gt&&Gt.scope.off(),Gt=null};function Gp(e){return e.vnode.shapeFlag&4}let Jr=!1;function Wp(e,t=!1){Jr=t;const{props:n,children:s}=e.vnode,r=Gp(e);zb(e,n,r,t),Wb(e,s);const o=r?u0(e,t):void 0;return Jr=!1,o}function u0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Wc(new Proxy(e.ctx,Qu));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Zp(e):null;Us(e),mr();const o=Xn(s,e,0,[e.props,r]);if(pr(),Ls(),Vc(o)){if(o.then(Ls,Ls),t)return o.then(i=>{ec(e,i,t)}).catch(i=>{gr(i,e,0)});e.asyncDep=o}else ec(e,o,t)}else Kp(e,t)}function ec(e,t,n){et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Mt(t)&&(e.setupState=Yc(t)),Kp(e,n)}let Wa,tc;function c0(e){Wa=e,tc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,i0))}}const d0=()=>!Wa;function Kp(e,t,n){const s=e.type;if(!e.render){if(!t&&Wa&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=It(It({isCustomElement:o,delimiters:a},i),l);s.render=Wa(r,c)}}e.render=s.render||qn,tc&&tc(e)}Us(e),mr(),Vb(e),pr(),Ls()}function f0(e){return new Proxy(e.attrs,{get(t,n){return Cn(e,"get","$attrs"),t[n]}})}function Zp(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=f0(e))},slots:e.slots,emit:e.emit,expose:t}}function Cl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Yc(Wc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ga)return Ga[n](e)}}))}const h0=/(?:^|[-_])(\w)/g,m0=e=>e.replace(h0,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ka(e){return et(e)&&e.displayName||e.name}function Yp(e,t,n=!1){let s=Ka(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e&&e.parent){const r=o=>{for(const i in o)if(o[i]===t)return i};s=r(e.components||e.parent.type.components)||r(e.appContext.components)}return s?m0(s):n?"App":"Anonymous"}function p0(e){return et(e)&&"__vccOpts"in e}const Wt=(e,t)=>ab(e,t,Jr);function _0(){return null}function g0(){return null}function v0(e){}function y0(e,t){return null}function b0(){return Jp().slots}function w0(){return Jp().attrs}function Jp(){const e=Gs();return e.setupContext||(e.setupContext=Zp(e))}function k0(e,t){const n=ze(e)?e.reduce((s,r)=>(s[r]={},s),{}):e;for(const s in t){const r=n[s];r?ze(r)||et(r)?n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(n[s]={default:t[s]})}return n}function S0(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function x0(e){const t=Gs();let n=e();return Ls(),Vc(n)&&(n=n.catch(s=>{throw Us(t),s})),[n,()=>Us(t)]}function Is(e,t,n){const s=arguments.length;return s===2?Mt(t)&&!ze(t)?Bs(t)?w(e,null,[t]):w(e,t):w(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Bs(n)&&(n=[n]),w(e,t,n))}const Xp=Symbol(""),E0=()=>{{const e=Qn(Xp);return e||op("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function C0(){}function $0(e,t,n,s){const r=n[s];if(r&&Qp(r,e))return r;const o=t();return o.memo=e.slice(),n[s]=o}function Qp(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&es&&es.push(e),!0}const e_="3.2.33",A0={createComponentInstance:qp,setupComponent:Wp,renderComponentRoot:Ta,setCurrentRenderingInstance:ii,isVNode:Bs,normalizeVNode:bn},O0=A0,T0=null,P0=null,D0="http://www.w3.org/2000/svg",or=typeof document!="undefined"?document:null,Hf=or&&or.createElement("template"),F0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?or.createElementNS(D0,e):or.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>or.createTextNode(e),createComment:e=>or.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>or.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Hf.innerHTML=s?`${e}`:e;const a=Hf.content;if(s){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]}};function I0(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function M0(e,t,n){const s=e.style,r=At(n);if(n&&!r){for(const o in n)nc(s,o,n[o]);if(t&&!At(t))for(const o in t)n[o]==null&&nc(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const zf=/\s*!important$/;function nc(e,t,n){if(ze(n))n.forEach(s=>nc(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=R0(e,t);zf.test(n)?e.setProperty(Jn(s),n.replace(zf,""),"important"):e[s]=n}}const qf=["Webkit","Moz","ms"],uu={};function R0(e,t){const n=uu[t];if(n)return n;let s=En(t);if(s!=="filter"&&s in e)return uu[t]=s;s=fi(s);for(let r=0;r{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let sc=0;const j0=Promise.resolve(),B0=()=>{sc=0},U0=()=>sc||(j0.then(B0),sc=t_());function us(e,t,n,s){e.addEventListener(t,n,s)}function H0(e,t,n,s){e.removeEventListener(t,n,s)}function z0(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[a,l]=q0(t);if(s){const c=o[t]=G0(s,r);us(e,a,c,l)}else i&&(H0(e,a,i,l),o[t]=void 0)}}const Wf=/(?:Once|Passive|Capture)$/;function q0(e){let t;if(Wf.test(e)){t={};let n;for(;n=e.match(Wf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Jn(e.slice(2)),t]}function G0(e,t){const n=s=>{const r=s.timeStamp||t_();(V0||r>=n.attached-1)&&Sn(W0(s,n.value),t,5,[s])};return n.value=e,n.attached=U0(),n}function W0(e,t){if(ze(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Kf=/^on[a-z]/,K0=(e,t,n,s,r=!1,o,i,a,l)=>{t==="class"?I0(e,s,r):t==="style"?M0(e,n,s):di(t)?Rc(t)||z0(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Z0(e,t,s,r))?N0(e,t,s,o,i,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),L0(e,t,s,r))};function Z0(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Kf.test(t)&&et(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Kf.test(t)&&At(n)?!1:t in e}function n_(e,t){const n=pi(e);class s extends $l{constructor(o){super(n,o,t)}}return s.def=n,s}const Y0=e=>n_(e,h_),J0=typeof HTMLElement!="undefined"?HTMLElement:class{};class $l extends J0{constructor(t,n={},s){super();this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,gl(()=>{this._connected||(oc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=s=>{const{props:r,styles:o}=s,i=!ze(r),a=r?i?Object.keys(r):r:[];let l;if(i)for(const c in this._props){const d=r[c];(d===Number||d&&d.type===Number)&&(this._props[c]=Vs(this._props[c]),(l||(l=Object.create(null)))[c]=!0)}this._numberProps=l;for(const c of Object.keys(this))c[0]!=="_"&&this._setProp(c,this[c],!0,!1);for(const c of a.map(En))Object.defineProperty(this,c,{get(){return this._getProp(c)},set(d){this._setProp(c,d)}});this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=Vs(n)),this._setProp(En(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(Jn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Jn(t),n+""):n||this.removeAttribute(Jn(t))))}_update(){oc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=w(this._def,It({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(r,...o)=>{this.dispatchEvent(new CustomEvent(r,{detail:o}))};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof $l){n.parent=s._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function X0(e="$style"){{const t=Gs();if(!t)return gt;const n=t.type.__cssModules;if(!n)return gt;const s=n[e];return s||gt}}function Q0(e){const t=Gs();if(!t)return;const n=()=>rc(t.subTree,e(t.proxy));mp(n),ao(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),gi(()=>s.disconnect())})}function rc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{rc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Zf(e.el,t);else if(e.type===Ke)e.children.forEach(n=>rc(n,t));else if(e.type===ur){let{el:n,anchor:s}=e;for(;n&&(Zf(n,t),n!==s);)n=n.nextSibling}}function Zf(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const Ss="transition",_o="animation",Ht=(e,{slots:t})=>Is(rd,r_(e),t);Ht.displayName="Transition";const s_={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},ew=Ht.props=It({},rd.props,s_),Ys=(e,t=[])=>{ze(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yf=e=>e?ze(e)?e.some(t=>t.length>1):e.length>1:!1;function r_(e){const t={};for(const F in e)F in s_||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,p=tw(r),_=p&&p[0],g=p&&p[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:S,onLeave:x,onLeaveCancelled:C,onBeforeAppear:A=y,onAppear:M=b,onAppearCancelled:j=S}=t,O=(F,B,W)=>{nr(F,B?d:a),nr(F,B?c:i),W&&W()},V=(F,B)=>{nr(F,m),nr(F,f),B&&B()},q=F=>(B,W)=>{const ue=F?M:b,te=()=>O(B,F,W);Ys(ue,[B,te]),Jf(()=>{nr(B,F?l:o),as(B,F?d:a),Yf(ue)||Xf(B,s,_,te)})};return It(t,{onBeforeEnter(F){Ys(y,[F]),as(F,o),as(F,i)},onBeforeAppear(F){Ys(A,[F]),as(F,l),as(F,c)},onEnter:q(!1),onAppear:q(!0),onLeave(F,B){const W=()=>V(F,B);as(F,h),i_(),as(F,f),Jf(()=>{nr(F,h),as(F,m),Yf(x)||Xf(F,s,g,W)}),Ys(x,[F,W])},onEnterCancelled(F){O(F,!1),Ys(S,[F])},onAppearCancelled(F){O(F,!0),Ys(j,[F])},onLeaveCancelled(F){V(F),Ys(C,[F])}})}function tw(e){if(e==null)return null;if(Mt(e))return[cu(e.enter),cu(e.leave)];{const t=cu(e);return[t,t]}}function cu(e){return Vs(e)}function as(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function nr(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Jf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nw=0;function Xf(e,t,n,s){const r=e._endId=++nw,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=o_(e,t);if(!i)return s();const c=i+"end";let d=0;const h=()=>{e.removeEventListener(c,f),o()},f=m=>{m.target===e&&++d>=l&&h()};setTimeout(()=>{d(n[p]||"").split(", "),r=s(Ss+"Delay"),o=s(Ss+"Duration"),i=Qf(r,o),a=s(_o+"Delay"),l=s(_o+"Duration"),c=Qf(a,l);let d=null,h=0,f=0;t===Ss?i>0&&(d=Ss,h=i,f=o.length):t===_o?c>0&&(d=_o,h=c,f=l.length):(h=Math.max(i,c),d=h>0?i>c?Ss:_o:null,f=d?d===Ss?o.length:l.length:0);const m=d===Ss&&/\b(transform|all)(,|$)/.test(n[Ss+"Property"]);return{type:d,timeout:h,propCount:f,hasTransform:m}}function Qf(e,t){for(;e.lengtheh(n)+eh(e[s])))}function eh(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function i_(){return document.body.offsetHeight}const a_=new WeakMap,l_=new WeakMap,sw={name:"TransitionGroup",props:It({},ew,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Gs(),s=sd();let r,o;return kl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!lw(r[0].el,n.vnode.el,i))return;r.forEach(ow),r.forEach(iw);const a=r.filter(aw);i_(),a.forEach(l=>{const c=l.el,d=c.style;as(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const h=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",h),c._moveCb=null,nr(c,i))};c.addEventListener("transitionend",h)})}),()=>{const i=ut(e),a=r_(i);let l=i.tag||Ke;r=o,o=t.default?bl(t.default()):[];for(let c=0;c{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=o_(s);return r.removeChild(s),o}const Hs=e=>{const t=e.props["onUpdate:modelValue"];return ze(t)?n=>Ur(t,n):t};function uw(e){e.target.composing=!0}function th(e){const t=e.target;t.composing&&(t.composing=!1,cw(t,"input"))}function cw(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const en={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=Hs(r);const o=s||r.props&&r.props.type==="number";us(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n?a=a.trim():o&&(a=Vs(a)),e._assign(a)}),n&&us(e,"change",()=>{e.value=e.value.trim()}),t||(us(e,"compositionstart",uw),us(e,"compositionend",th),us(e,"change",th))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=Hs(o),e.composing||document.activeElement===e&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&Vs(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},ps={deep:!0,created(e,t,n){e._assign=Hs(n),us(e,"change",()=>{const s=e._modelValue,r=Xr(e),o=e.checked,i=e._assign;if(ze(s)){const a=ul(s,r),l=a!==-1;if(o&&!l)i(s.concat(r));else if(!o&&l){const c=[...s];c.splice(a,1),i(c)}}else if(hr(s)){const a=new Set(s);o?a.add(r):a.delete(r),i(a)}else i(u_(e,o))})},mounted:nh,beforeUpdate(e,t,n){e._assign=Hs(n),nh(e,t,n)}};function nh(e,{value:t,oldValue:n},s){e._modelValue=t,ze(t)?e.checked=ul(t,s.props.value)>-1:hr(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Ns(t,u_(e,!0)))}const dd={created(e,{value:t},n){e.checked=Ns(t,n.props.value),e._assign=Hs(n),us(e,"change",()=>{e._assign(Xr(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=Hs(s),t!==n&&(e.checked=Ns(t,s.props.value))}},fd={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=hr(t);us(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Vs(Xr(i)):Xr(i));e._assign(e.multiple?r?new Set(o):o:o[0])}),e._assign=Hs(s)},mounted(e,{value:t}){sh(e,t)},beforeUpdate(e,t,n){e._assign=Hs(n)},updated(e,{value:t}){sh(e,t)}};function sh(e,t){const n=e.multiple;if(!(n&&!ze(t)&&!hr(t))){for(let s=0,r=e.options.length;s-1:o.selected=t.has(i);else if(Ns(Xr(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Xr(e){return"_value"in e?e._value:e.value}function u_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const dw={created(e,t,n){ji(e,t,n,null,"created")},mounted(e,t,n){ji(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){ji(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){ji(e,t,n,s,"updated")}};function ji(e,t,n,s,r){let o;switch(e.tagName){case"SELECT":o=fd;break;case"TEXTAREA":o=en;break;default:switch(n.props&&n.props.type){case"checkbox":o=ps;break;case"radio":o=dd;break;default:o=en}}const i=o[r];i&&i(e,t,n,s)}function fw(){en.getSSRProps=({value:e})=>({value:e}),dd.getSSRProps=({value:e},t)=>{if(t.props&&Ns(t.props.value,e))return{checked:!0}},ps.getSSRProps=({value:e},t)=>{if(ze(e)){if(t.props&&ul(e,t.props.value)>-1)return{checked:!0}}else if(hr(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}}}const hw=["ctrl","shift","alt","meta"],mw={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)=>hw.some(n=>e[`${n}Key`]&&!t.includes(n))},pt=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=Jn(n.key);if(t.some(r=>r===s||pw[r]===s))return e(n)},Qr={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):go(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),go(e,!0),s.enter(e)):s.leave(e,()=>{go(e,!1)}):go(e,t))},beforeUnmount(e,{value:t}){go(e,t)}};function go(e,t){e.style.display=t?e._vod:"none"}function _w(){Qr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const c_=It({patchProp:K0},F0);let Go,rh=!1;function d_(){return Go||(Go=Ip(c_))}function f_(){return Go=rh?Go:Mp(c_),rh=!0,Go}const oc=(...e)=>{d_().render(...e)},h_=(...e)=>{f_().hydrate(...e)},m_=(...e)=>{const t=d_().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=p_(s);if(!r)return;const o=t._component;!et(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},gw=(...e)=>{const t=f_().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=p_(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function p_(e){return At(e)?document.querySelector(e):e}let oh=!1;const vw=()=>{oh||(oh=!0,fw(),_w())},yw=()=>{};var bw=Object.freeze(Object.defineProperty({__proto__:null,compile:yw,EffectScope:Bc,ReactiveEffect:hi,customRef:rb,effect:$1,effectScope:k1,getCurrentScope:S1,isProxy:Gc,isReactive:lr,isReadonly:Gr,isRef:Ut,isShallow:qc,markRaw:Wc,onScopeDispose:x1,proxyRefs:Yc,reactive:_r,readonly:zc,ref:cs,shallowReactive:tp,shallowReadonly:Q1,shallowRef:np,stop:A1,toRaw:ut,toRef:rp,toRefs:Vo,triggerRef:tb,unref:Hr,camelize:En,capitalize:fi,normalizeClass:We,normalizeProps:h1,normalizeStyle:zs,toDisplayString:R,toHandlerKey:No,BaseTransition:rd,Comment:nn,Fragment:Ke,KeepAlive:Lb,Static:ur,Suspense:Cb,Teleport:qs,Text:Zr,callWithAsyncErrorHandling:Sn,callWithErrorHandling:Xn,cloneVNode:ms,compatUtils:P0,computed:Wt,createBlock:Se,createCommentVNode:Z,createElementBlock:D,createElementVNode:u,createHydrationRenderer:Mp,createPropsRestProxy:S0,createRenderer:Ip,createSlots:vi,createStaticVNode:Hp,createTextVNode:$e,createVNode:w,defineAsyncComponent:Mb,defineComponent:pi,defineEmits:g0,defineExpose:v0,defineProps:_0,get devtools(){return Mr},getCurrentInstance:Gs,getTransitionRawChildren:bl,guardReactiveProps:Up,h:Is,handleError:gr,initCustomFormatter:C0,inject:Qn,isMemoSame:Qp,isRuntimeOnly:d0,isVNode:Bs,mergeDefaults:k0,mergeProps:cd,nextTick:gl,onActivated:gp,onBeforeMount:bp,onBeforeUnmount:Sl,onBeforeUpdate:wp,onDeactivated:vp,onErrorCaptured:Ep,onMounted:ao,onRenderTracked:xp,onRenderTriggered:Sp,onServerPrefetch:kp,onUnmounted:gi,onUpdated:kl,openBlock:E,popScopeId:vb,provide:Ho,pushScopeId:gb,queuePostFlushCb:Qc,registerRuntimeCompiler:c0,renderList:bt,renderSlot:St,resolveComponent:P,resolveDirective:xl,resolveDynamicComponent:Np,resolveFilter:T0,resolveTransitionHooks:Wr,setBlockTracking:Ju,setDevtoolsHook:dp,setTransitionHooks:fr,ssrContextKey:Xp,ssrUtils:O0,toHandlers:o0,transformVNodeArgs:s0,useAttrs:w0,useSSRContext:E0,useSlots:b0,useTransitionState:sd,version:e_,warn:op,watch:jt,watchEffect:Pb,watchPostEffect:mp,watchSyncEffect:Db,withAsyncContext:x0,withCtx:T,withDefaults:y0,withDirectives:wt,withMemo:$0,withScopeId:yb,Transition:Ht,TransitionGroup:rw,VueElement:$l,createApp:m_,createSSRApp:gw,defineCustomElement:n_,defineSSRCustomElement:Y0,hydrate:h_,initDirectivesForSSR:vw,render:oc,useCssModule:X0,useCssVars:Q0,vModelCheckbox:ps,vModelDynamic:dw,vModelRadio:dd,vModelSelect:fd,vModelText:en,vShow:Qr,withKeys:wn,withModifiers:pt},Symbol.toStringTag,{value:"Module"}));function ww(){return __().__VUE_DEVTOOLS_GLOBAL_HOOK__}function __(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const kw=typeof Proxy=="function",Sw="devtools-plugin:setup",xw="plugin:settings:set";let xr,ic;function Ew(){var e;return xr!==void 0||(typeof window!="undefined"&&window.performance?(xr=!0,ic=window.performance):typeof global!="undefined"&&((e=global.perf_hooks)===null||e===void 0?void 0:e.performance)?(xr=!0,ic=global.perf_hooks.performance):xr=!1),xr}function Cw(){return Ew()?ic.now():Date.now()}class $w{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const s={};if(t.settings)for(const i in t.settings){const a=t.settings[i];s[i]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},s);try{const i=localStorage.getItem(r),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch{}o=i},now(){return Cw()}},n&&n.on(xw,(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(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Aw(e,t){const n=e,s=__(),r=ww(),o=kw&&n.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(Sw,e,t);else{const i=o?new $w(n,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! +var fb=Object.defineProperty,mb=Object.defineProperties;var pb=Object.getOwnPropertyDescriptors;var Gi=Object.getOwnPropertySymbols;var rm=Object.prototype.hasOwnProperty,sm=Object.prototype.propertyIsEnumerable;var nm=(e,t,n)=>t in e?fb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Je=(e,t)=>{for(var n in t||(t={}))rm.call(t,n)&&nm(e,n,t[n]);if(Gi)for(var n of Gi(t))sm.call(t,n)&&nm(e,n,t[n]);return e},Ln=(e,t)=>mb(e,pb(t));var $u=(e,t)=>{var n={};for(var r in e)rm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gi)for(var r of Gi(e))t.indexOf(r)<0&&sm.call(e,r)&&(n[r]=e[r]);return n};const hb=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerpolicy&&(o.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?o.credentials="include":s.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}};hb();function Al(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const _b="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",gb=Al(_b),yb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vb=Al(yb);function Nh(e){return!!e||e===""}function rs(e){if(Ue(e)){const t={};for(let n=0;n{if(n){const r=n.split(wb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ye(e){let t="";if(Ot(e))t=e;else if(Ue(e))for(let n=0;nZr(n,t))}const v=e=>Ot(e)?e:e==null?"":Ue(e)||Nt(e)&&(e.toString===jh||!et(e.toString))?JSON.stringify(e,Vh,2):String(e),Vh=(e,t)=>t&&t.__v_isRef?Vh(e,t.value):no(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Es(t)?{[`Set(${t.size})`]:[...t.values()]}:Nt(t)&&!Ue(t)&&!Bh(t)?String(t):t,yt={},to=[],nr=()=>{},Sb=()=>!1,Eb=/^on[^a-z]/,$i=e=>Eb.test(e),pd=e=>e.startsWith("onUpdate:"),Lt=Object.assign,hd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$b=Object.prototype.hasOwnProperty,ft=(e,t)=>$b.call(e,t),Ue=Array.isArray,no=e=>Tl(e)==="[object Map]",Es=e=>Tl(e)==="[object Set]",om=e=>e instanceof Date,et=e=>typeof e=="function",Ot=e=>typeof e=="string",_d=e=>typeof e=="symbol",Nt=e=>e!==null&&typeof e=="object",gd=e=>Nt(e)&&et(e.then)&&et(e.catch),jh=Object.prototype.toString,Tl=e=>jh.call(e),zb=e=>Tl(e).slice(8,-1),Bh=e=>Tl(e)==="[object Object]",yd=e=>Ot(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xo=Al(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ab=/-(\w)/g,In=Pl(e=>e.replace(Ab,(t,n)=>n?n.toUpperCase():"")),Ob=/\B([A-Z])/g,dr=Pl(e=>e.replace(Ob,"-$1").toLowerCase()),zi=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qo=Pl(e=>e?`on${zi(e)}`:""),yi=(e,t)=>!Object.is(e,t),ro=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Jr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let im;const Tb=()=>im||(im=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let An;class vd{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&An&&(this.parent=An,this.index=(An.scopes||(An.scopes=[])).push(this)-1)}run(t){if(this.active){const n=An;try{return An=this,t()}finally{An=n}}}on(){An=this}off(){An=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Uh=e=>(e.w&Xr)>0,qh=e=>(e.n&Xr)>0,Ib=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&a.push(l)});else switch(n!==void 0&&a.push(i.get(n)),t){case"add":Ue(e)?yd(n)&&a.push(i.get("length")):(a.push(i.get(bs)),no(e)&&a.push(i.get(pc)));break;case"delete":Ue(e)||(a.push(i.get(bs)),no(e)&&a.push(i.get(pc)));break;case"set":no(e)&&a.push(i.get(bs));break}if(a.length===1)a[0]&&hc(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);hc(bd(l))}}function hc(e,t){for(const n of Ue(e)?e:[...e])(n!==er||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Nb=Al("__proto__,__v_isRef,__isVue"),Kh=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(_d)),Vb=Dl(),jb=Dl(!1,!0),Bb=Dl(!0),Hb=Dl(!0,!0),lm=Ub();function Ub(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ut(this);for(let o=0,i=this.length;o{e[t]=function(...n){$s();const r=ut(this)[t].apply(this,n);return zs(),r}}),e}function Dl(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?t_:e_:t?Qh:Xh).get(r))return r;const i=Ue(r);if(!e&&i&&ft(lm,s))return Reflect.get(lm,s,o);const a=Reflect.get(r,s,o);return(_d(s)?Kh.has(s):Nb(s))||(e||Mn(r,"get",s),t)?a:jt(a)?!i||!yd(s)?a.value:a:Nt(a)?e?Cd(a):As(a):a}}const qb=Yh(),Wb=Yh(!0);function Yh(e=!1){return function(n,r,s,o){let i=n[r];if(ao(i)&&jt(i)&&!jt(s))return!1;if(!e&&!ao(s)&&(xd(s)||(s=ut(s),i=ut(i)),!Ue(n)&&jt(i)&&!jt(s)))return i.value=s,!0;const a=Ue(n)&&yd(r)?Number(r)e,Fl=e=>Reflect.getPrototypeOf(e);function Ki(e,t,n=!1,r=!1){e=e.__v_raw;const s=ut(e),o=ut(t);t!==o&&!n&&Mn(s,"get",t),!n&&Mn(s,"get",o);const{has:i}=Fl(s),a=r?wd:n?Ed:vi;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function Yi(e,t=!1){const n=this.__v_raw,r=ut(n),s=ut(e);return e!==s&&!t&&Mn(r,"has",e),!t&&Mn(r,"has",s),e===s?n.has(e):n.has(e)||n.has(s)}function Zi(e,t=!1){return e=e.__v_raw,!t&&Mn(ut(e),"iterate",bs),Reflect.get(e,"size",e)}function um(e){e=ut(e);const t=ut(this);return Fl(t).has.call(t,e)||(t.add(e),Sr(t,"add",e,e)),this}function cm(e,t){t=ut(t);const n=ut(this),{has:r,get:s}=Fl(n);let o=r.call(n,e);o||(e=ut(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?yi(t,i)&&Sr(n,"set",e,t):Sr(n,"add",e,t),this}function dm(e){const t=ut(this),{has:n,get:r}=Fl(t);let s=n.call(t,e);s||(e=ut(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Sr(t,"delete",e,void 0),o}function fm(){const e=ut(this),t=e.size!==0,n=e.clear();return t&&Sr(e,"clear",void 0,void 0),n}function Ji(e,t){return function(r,s){const o=this,i=o.__v_raw,a=ut(i),l=t?wd:e?Ed:vi;return!e&&Mn(a,"iterate",bs),i.forEach((u,d)=>r.call(s,l(u),l(d),o))}}function Xi(e,t,n){return function(...r){const s=this.__v_raw,o=ut(s),i=no(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),d=n?wd:t?Ed:vi;return!t&&Mn(o,"iterate",l?pc:bs),{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 Fr(e){return function(...t){return e==="delete"?!1:this}}function Xb(){const e={get(o){return Ki(this,o)},get size(){return Zi(this)},has:Yi,add:um,set:cm,delete:dm,clear:fm,forEach:Ji(!1,!1)},t={get(o){return Ki(this,o,!1,!0)},get size(){return Zi(this)},has:Yi,add:um,set:cm,delete:dm,clear:fm,forEach:Ji(!1,!0)},n={get(o){return Ki(this,o,!0)},get size(){return Zi(this,!0)},has(o){return Yi.call(this,o,!0)},add:Fr("add"),set:Fr("set"),delete:Fr("delete"),clear:Fr("clear"),forEach:Ji(!0,!1)},r={get(o){return Ki(this,o,!0,!0)},get size(){return Zi(this,!0)},has(o){return Yi.call(this,o,!0)},add:Fr("add"),set:Fr("set"),delete:Fr("delete"),clear:Fr("clear"),forEach:Ji(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Xi(o,!1,!1),n[o]=Xi(o,!0,!1),t[o]=Xi(o,!1,!0),r[o]=Xi(o,!0,!0)}),[e,n,t,r]}const[Qb,e0,t0,n0]=Xb();function Il(e,t){const n=t?e?n0:t0:e?e0:Qb;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ft(n,s)&&s in r?n:r,s,o)}const r0={get:Il(!1,!1)},s0={get:Il(!1,!0)},o0={get:Il(!0,!1)},i0={get:Il(!0,!0)},Xh=new WeakMap,Qh=new WeakMap,e_=new WeakMap,t_=new WeakMap;function a0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function l0(e){return e.__v_skip||!Object.isExtensible(e)?0:a0(zb(e))}function As(e){return ao(e)?e:Ml(e,!1,Zh,r0,Xh)}function n_(e){return Ml(e,!1,Zb,s0,Qh)}function Cd(e){return Ml(e,!0,Jh,o0,e_)}function u0(e){return Ml(e,!0,Jb,i0,t_)}function Ml(e,t,n,r,s){if(!Nt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=l0(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function ws(e){return ao(e)?ws(e.__v_raw):!!(e&&e.__v_isReactive)}function ao(e){return!!(e&&e.__v_isReadonly)}function xd(e){return!!(e&&e.__v_isShallow)}function kd(e){return ws(e)||ao(e)}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function Sd(e){return ol(e,"__v_skip",!0),e}const vi=e=>Nt(e)?As(e):e,Ed=e=>Nt(e)?Cd(e):e;function $d(e){Kr&&er&&(e=ut(e),Gh(e.dep||(e.dep=bd())))}function Rl(e,t){e=ut(e),e.dep&&hc(e.dep)}function jt(e){return!!(e&&e.__v_isRef===!0)}function wn(e){return s_(e,!1)}function r_(e){return s_(e,!0)}function s_(e,t){return jt(e)?e:new c0(e,t)}class c0{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ut(t),this._value=n?t:vi(t)}get value(){return $d(this),this._value}set value(t){t=this.__v_isShallow?t:ut(t),yi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:vi(t),Rl(this))}}function d0(e){Rl(e)}function so(e){return jt(e)?e.value:e}const f0={get:(e,t,n)=>so(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return jt(s)&&!jt(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function zd(e){return ws(e)?e:new Proxy(e,f0)}class m0{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>$d(this),()=>Rl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function p0(e){return new m0(e)}function ei(e){const t=Ue(e)?new Array(e.length):{};for(const n in e)t[n]=o_(e,n);return t}class h0{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}}function o_(e,t,n){const r=e[t];return jt(r)?r:new h0(e,t,n)}class _0{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Ai(t,()=>{this._dirty||(this._dirty=!0,Rl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ut(this);return $d(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function g0(e,t,n=!1){let r,s;const o=et(e);return o?(r=e,s=nr):(r=e.get,s=e.set),new _0(r,s,o||!s,n)}const ti=[];function i_(e,...t){$s();const n=ti.length?ti[ti.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=y0();if(r)fr(r,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${Z_(n,o.type)}>`).join(` +`),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(` +`,...v0(s)),console.warn(...o)}zs()}function y0(){let e=ti[ti.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function v0(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[` +`],...b0(n))}),t}function b0({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Z_(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...w0(e.props),o]:[s+o]}function w0(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...a_(r,e[r]))}),n.length>3&&t.push(" ..."),t}function a_(e,t,n){return Ot(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:jt(t)?(t=a_(e,ut(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):et(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ut(t),n?t:[`${e}=`,t])}function fr(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Os(o,t,n)}return s}function Dn(e,t,n,r){if(et(e)){const o=fr(e,t,n,r);return o&&gd(o)&&o.catch(i=>{Os(i,t,n)}),o}const s=[];for(let o=0;o>>1;bi(Pn[r])wr&&Pn.splice(t,1)}function c_(e,t,n,r){Ue(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),u_()}function S0(e){c_(e,Uo,ni,Gs)}function Td(e){c_(e,Vr,ri,Ks)}function Pd(e,t=null){if(ni.length){for(gc=t,Uo=[...new Set(ni)],ni.length=0,Gs=0;Gsbi(n)-bi(r)),Ks=0;Kse.id==null?1/0:e.id;function d_(e){_c=!1,il=!0,Pd(e),Pn.sort((n,r)=>bi(n)-bi(r));const t=nr;try{for(wr=0;wrYs.emit(s,...o)),Qi=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((r=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||r===void 0)&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{f_(o,t)}),setTimeout(()=>{Ys||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Qi=[])},3e3)):Qi=[]}function E0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||yt;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||yt;f?s=n.map(p=>p.trim()):m&&(s=n.map(Jr))}let a,l=r[a=Qo(t)]||r[a=Qo(In(t))];!l&&o&&(l=r[a=Qo(dr(t))]),l&&Dn(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Dn(u,e,6,s)}}function m_(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!et(e)){const l=u=>{const d=m_(u,t,!0);d&&(a=!0,Lt(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(r.set(e,null),null):(Ue(o)?o.forEach(l=>i[l]=null):Lt(i,o),r.set(e,i),i)}function Nl(e,t){return!e||!$i(t)?!1:(t=t.slice(2).replace(/Once$/,""),ft(e,t[0].toLowerCase()+t.slice(1))||ft(e,dr(t))||ft(e,t))}let rn=null,Vl=null;function wi(e){const t=rn;return rn=e,Vl=e&&e.type.__scopeId||null,t}function $0(e){Vl=e}function z0(){Vl=null}const A0=e=>P;function P(e,t=rn,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Cc(-1);const o=wi(t),i=e(...s);return wi(o),r._d&&Cc(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function Ga(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:u,render:d,renderCache:m,data:f,setupState:p,ctx:h,inheritAttrs:_}=e;let g,b;const w=wi(e);try{if(n.shapeFlag&4){const x=s||r;g=On(d.call(x,x,m,o,p,f,h)),b=l}else{const x=t;g=On(x.length>1?x(o,{attrs:l,slots:a,emit:u}):x(o,null)),b=t.props?l:T0(l)}}catch(x){ii.length=0,Os(x,e,1),g=C(ln)}let S=g;if(b&&_!==!1){const x=Object.keys(b),{shapeFlag:$}=S;x.length&&$&7&&(i&&x.some(pd)&&(b=P0(b,i)),S=Er(S,b))}return n.dirs&&(S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),g=S,wi(w),g}function O0(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||$i(n))&&((t||(t={}))[n]=e[n]);return t},P0=(e,t)=>{const n={};for(const r in e)(!pd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function D0(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?mm(r,i,u):!!i;if(l&8){const d=t.dynamicProps;for(let m=0;me.__isSuspense,I0={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){e==null?R0(t,n,r,s,o,i,a,l,u):L0(e,t,n,r,s,i,a,l,u)},hydrate:N0,create:Fd,normalize:V0},M0=I0;function Ci(e,t){const n=e.props&&e.props[t];et(n)&&n()}function R0(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:d}}=l,m=d("div"),f=e.suspense=Fd(e,s,r,t,m,n,o,i,a,l);u(null,f.pendingBranch=e.ssContent,m,null,r,f,o,i),f.deps>0?(Ci(e,"onPending"),Ci(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),oo(f,e.ssFallback)):f.resolve()}function L0(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:d}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:g,isHydrating:b}=m;if(_)m.pendingBranch=f,cr(f,_)?(l(_,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():g&&(l(h,p,n,r,s,null,o,i,a),oo(m,p))):(m.pendingId++,b?(m.isHydrating=!1,m.activeBranch=_):u(_,s,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),g?(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():(l(h,p,n,r,s,null,o,i,a),oo(m,p))):h&&cr(f,h)?(l(h,f,n,r,s,m,o,i,a),m.resolve(!0)):(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0&&m.resolve()));else if(h&&cr(f,h))l(h,f,n,r,s,m,o,i,a),oo(m,f);else if(Ci(t,"onPending"),m.pendingBranch=f,m.pendingId++,l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0)m.resolve();else{const{timeout:w,pendingId:S}=m;w>0?setTimeout(()=>{m.pendingId===S&&m.fallback(p)},w):w===0&&m.fallback(p)}}function Fd(e,t,n,r,s,o,i,a,l,u,d=!1){const{p:m,m:f,um:p,n:h,o:{parentNode:_,remove:g}}=u,b=Jr(e.props&&e.props.timeout),w={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(S=!1){const{vnode:x,activeBranch:$,pendingBranch:A,pendingId:I,effects:V,parentComponent:O,container:N}=w;if(w.isHydrating)w.isHydrating=!1;else if(!S){const B=$&&A.transition&&A.transition.mode==="out-in";B&&($.transition.afterLeave=()=>{I===w.pendingId&&f(A,N,Y,0)});let{anchor:Y}=w;$&&(Y=h($),p($,O,w,!0)),B||f(A,N,Y,0)}oo(w,A),w.pendingBranch=null,w.isInFallback=!1;let G=w.parent,F=!1;for(;G;){if(G.pendingBranch){G.effects.push(...V),F=!0;break}G=G.parent}F||Td(V),w.effects=[],Ci(x,"onResolve")},fallback(S){if(!w.pendingBranch)return;const{vnode:x,activeBranch:$,parentComponent:A,container:I,isSVG:V}=w;Ci(x,"onFallback");const O=h($),N=()=>{!w.isInFallback||(m(null,S,I,O,A,null,V,a,l),oo(w,S))},G=S.transition&&S.transition.mode==="out-in";G&&($.transition.afterLeave=N),w.isInFallback=!0,p($,A,null,!0),G||N()},move(S,x,$){w.activeBranch&&f(w.activeBranch,S,x,$),w.container=S},next(){return w.activeBranch&&h(w.activeBranch)},registerDep(S,x){const $=!!w.pendingBranch;$&&w.deps++;const A=S.vnode.el;S.asyncDep.catch(I=>{Os(I,S,0)}).then(I=>{if(S.isUnmounted||w.isUnmounted||w.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:V}=S;Sc(S,I,!1),A&&(V.el=A);const O=!A&&S.subTree.el;x(S,V,_(A||S.subTree.el),A?null:h(S.subTree),w,i,l),O&&g(O),Dd(S,V.el),$&&--w.deps===0&&w.resolve()})},unmount(S,x){w.isUnmounted=!0,w.activeBranch&&p(w.activeBranch,n,S,x),w.pendingBranch&&p(w.pendingBranch,n,S,x)}};return w}function N0(e,t,n,r,s,o,i,a,l){const u=t.suspense=Fd(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(),d}function V0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=pm(r?n.default:n),e.ssFallback=r?pm(n.fallback):C(ln)}function pm(e){let t;if(et(e)){const n=co&&e._c;n&&(e._d=!1,E()),e=e(),n&&(e._d=!0,t=mr,V_())}return Ue(e)&&(e=O0(e)),e=On(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function p_(e,t){t&&t.pendingBranch?Ue(e)?t.effects.push(...e):t.effects.push(e):Td(e)}function oo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Dd(r,s))}function si(e,t){if(Yt){let n=Yt.provides;const r=Yt.parent&&Yt.parent.provides;r===n&&(n=Yt.provides=Object.create(r)),n[e]=t}}function rr(e,t,n=!1){const r=Yt||rn;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&et(t)?t.call(r.proxy):t}}function j0(e,t){return Oi(e,null,t)}function h_(e,t){return Oi(e,null,{flush:"post"})}function B0(e,t){return Oi(e,null,{flush:"sync"})}const hm={};function Mt(e,t,n){return Oi(e,t,n)}function Oi(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=yt){const a=Yt;let l,u=!1,d=!1;if(jt(e)?(l=()=>e.value,u=xd(e)):ws(e)?(l=()=>e,r=!0):Ue(e)?(d=!0,u=e.some(ws),l=()=>e.map(b=>{if(jt(b))return b.value;if(ws(b))return vs(b);if(et(b))return fr(b,a,2)})):et(e)?t?l=()=>fr(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return m&&m(),Dn(e,a,3,[f])}:l=nr,t&&r){const b=l;l=()=>vs(b())}let m,f=b=>{m=g.onStop=()=>{fr(b,a,4)}};if(fo)return f=nr,t?n&&Dn(t,a,3,[l(),d?[]:void 0,f]):l(),nr;let p=d?[]:hm;const h=()=>{if(!!g.active)if(t){const b=g.run();(r||u||(d?b.some((w,S)=>yi(w,p[S])):yi(b,p)))&&(m&&m(),Dn(t,a,3,[b,p===hm?void 0:p,f]),p=b)}else g.run()};h.allowRecurse=!!t;let _;s==="sync"?_=h:s==="post"?_=()=>Xt(h,a&&a.suspense):_=()=>{!a||a.isMounted?S0(h):h()};const g=new Ai(l,_);return t?n?h():p=g.run():s==="post"?Xt(g.run.bind(g),a&&a.suspense):g.run(),()=>{g.stop(),a&&a.scope&&hd(a.scope.effects,g)}}function H0(e,t,n){const r=this.proxy,s=Ot(e)?e.includes(".")?__(r,e):()=>r[e]:e.bind(r,r);let o;et(t)?o=t:(o=t.handler,n=t);const i=Yt;ts(this);const a=Oi(s,o.bind(r),n);return i?ts(i):Yr(),a}function __(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{vs(n,t)});else if(Bh(e))for(const n in e)vs(e[n],t);return e}function Id(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ts(()=>{e.isMounted=!0}),Ul(()=>{e.isUnmounting=!0}),e}const Nn=[Function,Array],U0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nn,onEnter:Nn,onAfterEnter:Nn,onEnterCancelled:Nn,onBeforeLeave:Nn,onLeave:Nn,onAfterLeave:Nn,onLeaveCancelled:Nn,onBeforeAppear:Nn,onAppear:Nn,onAfterAppear:Nn,onAppearCancelled:Nn},setup(e,{slots:t}){const n=or(),r=Id();let s;return()=>{const o=t.default&&jl(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const _ of o)if(_.type!==ln){i=_;break}}const a=ut(e),{mode:l}=a;if(r.isLeaving)return zu(i);const u=_m(i);if(!u)return zu(i);const d=lo(u,a,r,n);Ss(u,d);const m=n.subTree,f=m&&_m(m);let p=!1;const{getTransitionKey:h}=u.type;if(h){const _=h();s===void 0?s=_:_!==s&&(s=_,p=!0)}if(f&&f.type!==ln&&(!cr(u,f)||p)){const _=lo(f,a,r,n);if(Ss(f,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update()},zu(i);l==="in-out"&&u.type!==ln&&(_.delayLeave=(g,b,w)=>{const S=g_(r,f);S[String(f.key)]=f,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=w})}return i}}},Md=U0;function g_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function lo(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:m,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:g,onAfterAppear:b,onAppearCancelled:w}=t,S=String(e.key),x=g_(n,e),$=(I,V)=>{I&&Dn(I,r,9,V)},A={mode:o,persisted:i,beforeEnter(I){let V=a;if(!n.isMounted)if(s)V=_||a;else return;I._leaveCb&&I._leaveCb(!0);const O=x[S];O&&cr(e,O)&&O.el._leaveCb&&O.el._leaveCb(),$(V,[I])},enter(I){let V=l,O=u,N=d;if(!n.isMounted)if(s)V=g||l,O=b||u,N=w||d;else return;let G=!1;const F=I._enterCb=B=>{G||(G=!0,B?$(N,[I]):$(O,[I]),A.delayedLeave&&A.delayedLeave(),I._enterCb=void 0)};V?(V(I,F),V.length<=1&&F()):F()},leave(I,V){const O=String(e.key);if(I._enterCb&&I._enterCb(!0),n.isUnmounting)return V();$(m,[I]);let N=!1;const G=I._leaveCb=F=>{N||(N=!0,V(),F?$(h,[I]):$(p,[I]),I._leaveCb=void 0,x[O]===e&&delete x[O])};x[O]=e,f?(f(I,G),f.length<=1&&G()):G()},clone(I){return lo(I,t,n,r)}};return A}function zu(e){if(Pi(e))return e=Er(e),e.children=null,e}function _m(e){return Pi(e)?e.children?e.children[0]:void 0:e}function Ss(e,t){e.shapeFlag&6&&e.component?Ss(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 jl(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;function q0(e){et(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,u,d=0;const m=()=>(d++,l=null,f()),f=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,g)=>{a(h,()=>_(m()),()=>g(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 Ti({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=Yt;if(u)return()=>Au(u,p);const h=w=>{l=null,Os(w,p,13,!r)};if(i&&p.suspense||fo)return f().then(w=>()=>Au(w,p)).catch(w=>(h(w),()=>r?C(r,{error:w}):null));const _=wn(!1),g=wn(),b=wn(!!s);return s&&setTimeout(()=>{b.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!g.value){const w=new Error(`Async component timed out after ${o}ms.`);h(w),g.value=w}},o),f().then(()=>{_.value=!0,p.parent&&Pi(p.parent.vnode)&&Od(p.parent.update)}).catch(w=>{h(w),g.value=w}),()=>{if(_.value&&u)return Au(u,p);if(g.value&&r)return C(r,{error:g.value});if(n&&!b.value)return C(n)}}})}function Au(e,{vnode:{ref:t,props:n,children:r}}){const s=C(e,n,r);return s.ref=t,s}const Pi=e=>e.type.__isKeepAlive,W0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=or(),r=n.ctx;if(!r.renderer)return t.default;const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:m}}}=r,f=m("div");r.activate=(w,S,x,$,A)=>{const I=w.component;u(w,S,x,0,a),l(I.vnode,w,S,x,I,a,$,w.slotScopeIds,A),Xt(()=>{I.isDeactivated=!1,I.a&&ro(I.a);const V=w.props&&w.props.onVnodeMounted;V&&bn(V,I.parent,w)},a)},r.deactivate=w=>{const S=w.component;u(w,f,null,1,a),Xt(()=>{S.da&&ro(S.da);const x=w.props&&w.props.onVnodeUnmounted;x&&bn(x,S.parent,w),S.isDeactivated=!0},a)};function p(w){Ou(w),d(w,n,a,!0)}function h(w){s.forEach((S,x)=>{const $=fl(S.type);$&&(!w||!w($))&&_(x)})}function _(w){const S=s.get(w);!i||S.type!==i.type?p(S):i&&Ou(i),s.delete(w),o.delete(w)}Mt(()=>[e.include,e.exclude],([w,S])=>{w&&h(x=>qo(w,x)),S&&h(x=>!qo(S,x))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&s.set(g,Tu(n.subTree))};return Ts(b),Hl(b),Ul(()=>{s.forEach(w=>{const{subTree:S,suspense:x}=n,$=Tu(S);if(w.type===$.type){Ou($);const A=$.component.da;A&&Xt(A,x);return}p(w)})}),()=>{if(g=null,!t.default)return null;const w=t.default(),S=w[0];if(w.length>1)return i=null,w;if(!es(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return i=null,S;let x=Tu(S);const $=x.type,A=fl(uo(x)?x.type.__asyncResolved||{}:$),{include:I,exclude:V,max:O}=e;if(I&&(!A||!qo(I,A))||V&&A&&qo(V,A))return i=x,S;const N=x.key==null?$:x.key,G=s.get(N);return x.el&&(x=Er(x),S.shapeFlag&128&&(S.ssContent=x)),g=N,G?(x.el=G.el,x.component=G.component,x.transition&&Ss(x,x.transition),x.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),O&&o.size>parseInt(O,10)&&_(o.values().next().value)),x.shapeFlag|=256,i=x,S}}},G0=W0;function qo(e,t){return Ue(e)?e.some(n=>qo(n,t)):Ot(e)?e.split(",").includes(t):e.test?e.test(t):!1}function y_(e,t){b_(e,"a",t)}function v_(e,t){b_(e,"da",t)}function b_(e,t,n=Yt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Bl(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Pi(s.parent.vnode)&&K0(r,t,n,s),s=s.parent}}function K0(e,t,n,r){const s=Bl(t,e,r,!0);Co(()=>{hd(r[t],s)},n)}function Ou(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Tu(e){return e.shapeFlag&128?e.ssContent:e}function Bl(e,t,n=Yt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;$s(),ts(n);const a=Dn(t,n,e,i);return Yr(),zs(),a});return r?s.unshift(o):s.push(o),o}}const Ar=e=>(t,n=Yt)=>(!fo||e==="sp")&&Bl(e,t,n),w_=Ar("bm"),Ts=Ar("m"),C_=Ar("bu"),Hl=Ar("u"),Ul=Ar("bum"),Co=Ar("um"),x_=Ar("sp"),k_=Ar("rtg"),S_=Ar("rtc");function E_(e,t=Yt){Bl("ec",e,t)}let yc=!0;function Y0(e){const t=z_(e),n=e.proxy,r=e.ctx;yc=!1,t.beforeCreate&&gm(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:d,beforeMount:m,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:g,beforeDestroy:b,beforeUnmount:w,destroyed:S,unmounted:x,render:$,renderTracked:A,renderTriggered:I,errorCaptured:V,serverPrefetch:O,expose:N,inheritAttrs:G,components:F,directives:B,filters:Y}=t;if(u&&Z0(u,r,null,e.appContext.config.unwrapInjectedRef),i)for(const le in i){const ge=i[le];et(ge)&&(r[le]=ge.bind(n))}if(s){const le=s.call(n,n);Nt(le)&&(e.data=As(le))}if(yc=!0,o)for(const le in o){const ge=o[le],Re=et(ge)?ge.bind(n,n):et(ge.get)?ge.get.bind(n,n):nr,Be=!et(ge)&&et(ge.set)?ge.set.bind(n):nr,he=At({get:Re,set:Be});Object.defineProperty(r,le,{enumerable:!0,configurable:!0,get:()=>he.value,set:X=>he.value=X})}if(a)for(const le in a)$_(a[le],r,n,le);if(l){const le=et(l)?l.call(n):l;Reflect.ownKeys(le).forEach(ge=>{si(ge,le[ge])})}d&&gm(d,e,"c");function te(le,ge){Ue(ge)?ge.forEach(Re=>le(Re.bind(n))):ge&&le(ge.bind(n))}if(te(w_,m),te(Ts,f),te(C_,p),te(Hl,h),te(y_,_),te(v_,g),te(E_,V),te(S_,A),te(k_,I),te(Ul,w),te(Co,x),te(x_,O),Ue(N))if(N.length){const le=e.exposed||(e.exposed={});N.forEach(ge=>{Object.defineProperty(le,ge,{get:()=>n[ge],set:Re=>n[ge]=Re})})}else e.exposed||(e.exposed={});$&&e.render===nr&&(e.render=$),G!=null&&(e.inheritAttrs=G),F&&(e.components=F),B&&(e.directives=B)}function Z0(e,t,n=nr,r=!1){Ue(e)&&(e=vc(e));for(const s in e){const o=e[s];let i;Nt(o)?"default"in o?i=rr(o.from||s,o.default,!0):i=rr(o.from||s):i=rr(o),jt(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[s]=i}}function gm(e,t,n){Dn(Ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $_(e,t,n,r){const s=r.includes(".")?__(n,r):()=>n[r];if(Ot(e)){const o=t[e];et(o)&&Mt(s,o)}else if(et(e))Mt(s,e.bind(n));else if(Nt(e))if(Ue(e))e.forEach(o=>$_(o,t,n,r));else{const o=et(e.handler)?e.handler.bind(n):t[e.handler];et(o)&&Mt(s,o,e)}}function z_(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>ll(l,u,i,!0)),ll(l,t,i)),o.set(t,l),l}function ll(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ll(e,o,n,!0),s&&s.forEach(i=>ll(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=J0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const J0={data:ym,props:ps,emits:ps,methods:ps,computed:ps,beforeCreate:cn,created:cn,beforeMount:cn,mounted:cn,beforeUpdate:cn,updated:cn,beforeDestroy:cn,beforeUnmount:cn,destroyed:cn,unmounted:cn,activated:cn,deactivated:cn,errorCaptured:cn,serverPrefetch:cn,components:ps,directives:ps,watch:Q0,provide:ym,inject:X0};function ym(e,t){return t?e?function(){return Lt(et(e)?e.call(this,this):e,et(t)?t.call(this,this):t)}:t:e}function X0(e,t){return ps(vc(e),vc(t))}function vc(e){if(Ue(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let m=0;m{l=!0;const[f,p]=O_(m,t,!0);Lt(i,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return r.set(e,to),to;if(Ue(o))for(let d=0;d-1,p[1]=_<0||h<_,(h>-1||ft(p,"default"))&&a.push(m)}}}const u=[i,a];return r.set(e,u),u}function vm(e){return e[0]!=="$"}function bm(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function wm(e,t){return bm(e)===bm(t)}function Cm(e,t){return Ue(t)?t.findIndex(n=>wm(n,e)):et(t)&&wm(t,e)?0:-1}const T_=e=>e[0]==="_"||e==="$stable",Rd=e=>Ue(e)?e.map(On):[On(e)],nw=(e,t,n)=>{const r=P((...s)=>Rd(t(...s)),n);return r._c=!1,r},P_=(e,t,n)=>{const r=e._ctx;for(const s in e){if(T_(s))continue;const o=e[s];if(et(o))t[s]=nw(s,o,r);else if(o!=null){const i=Rd(o);t[s]=()=>i}}},D_=(e,t)=>{const n=Rd(t);e.slots.default=()=>n},rw=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ut(t),ol(t,"_",n)):P_(t,e.slots={})}else e.slots={},t&&D_(e,t);ol(e.slots,Wl,1)},sw=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=yt;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Lt(s,t),!n&&a===1&&delete s._):(o=!t.$stable,P_(t,s)),i=t}else t&&(D_(e,t),i={default:1});if(o)for(const a in s)!T_(a)&&!(a in i)&&delete s[a]};function Ct(e,t){const n=rn;if(n===null)return e;const r=Gl(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;oul(f,t&&(Ue(t)?t[p]:t),n,r,s));return}if(uo(r)&&!s)return;const o=r.shapeFlag&4?Gl(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,d=a.refs===yt?a.refs={}:a.refs,m=a.setupState;if(u!=null&&u!==l&&(Ot(u)?(d[u]=null,ft(m,u)&&(m[u]=null)):jt(u)&&(u.value=null)),et(l))fr(l,a,12,[i,d]);else{const f=Ot(l),p=jt(l);if(f||p){const h=()=>{if(e.f){const _=f?d[l]:l.value;s?Ue(_)&&hd(_,o):Ue(_)?_.includes(o)||_.push(o):f?(d[l]=[o],ft(m,l)&&(m[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,ft(m,l)&&(m[l]=i)):jt(l)&&(l.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,Xt(h,n)):h()}}}let Ir=!1;const ea=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Pu=e=>e.nodeType===8;function aw(e){const{mt:t,p:n,o:{patchProp:r,nextSibling:s,parentNode:o,remove:i,insert:a,createComment:l}}=e,u=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),al();return}Ir=!1,d(b.firstChild,g,null,null,null),al(),Ir&&console.error("Hydration completed but contains mismatches.")},d=(g,b,w,S,x,$=!1)=>{const A=Pu(g)&&g.data==="[",I=()=>h(g,b,w,S,x,A),{type:V,ref:O,shapeFlag:N}=b,G=g.nodeType;b.el=g;let F=null;switch(V){case Qr:G!==3?F=I():(g.data!==b.children&&(Ir=!0,g.data=b.children),F=s(g));break;case ln:G!==8||A?F=I():F=s(g);break;case Cs:if(G!==1)F=I();else{F=g;const B=!b.children.length;for(let Y=0;Y{$=$||!!b.dynamicChildren;const{type:A,props:I,patchFlag:V,shapeFlag:O,dirs:N}=b,G=A==="input"&&N||A==="option";if(G||V!==-1){if(N&&lr(b,null,w,"created"),I)if(G||!$||V&48)for(const B in I)(G&&B.endsWith("value")||$i(B)&&!Xo(B))&&r(g,B,null,I[B],!1,void 0,w);else I.onClick&&r(g,"onClick",null,I.onClick,!1,void 0,w);let F;if((F=I&&I.onVnodeBeforeMount)&&bn(F,w,b),N&&lr(b,null,w,"beforeMount"),((F=I&&I.onVnodeMounted)||N)&&p_(()=>{F&&bn(F,w,b),N&&lr(b,null,w,"mounted")},S),O&16&&!(I&&(I.innerHTML||I.textContent))){let B=f(g.firstChild,b,g,w,S,x,$);for(;B;){Ir=!0;const Y=B;B=B.nextSibling,i(Y)}}else O&8&&g.textContent!==b.children&&(Ir=!0,g.textContent=b.children)}return g.nextSibling},f=(g,b,w,S,x,$,A)=>{A=A||!!b.dynamicChildren;const I=b.children,V=I.length;for(let O=0;O{const{slotScopeIds:A}=b;A&&(x=x?x.concat(A):A);const I=o(g),V=f(s(g),b,I,w,S,x,$);return V&&Pu(V)&&V.data==="]"?s(b.anchor=V):(Ir=!0,a(b.anchor=l("]"),I,V),V)},h=(g,b,w,S,x,$)=>{if(Ir=!0,b.el=null,$){const V=_(g);for(;;){const O=s(g);if(O&&O!==V)i(O);else break}}const A=s(g),I=o(g);return i(g),n(null,b,I,A,w,S,ea(I),x),A},_=g=>{let b=0;for(;g;)if(g=s(g),g&&Pu(g)&&(g.data==="["&&b++,g.data==="]")){if(b===0)return s(g);b--}return g};return[u,d]}const Xt=p_;function I_(e){return R_(e)}function M_(e){return R_(e,aw)}function R_(e,t){const n=Tb();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:d,parentNode:m,nextSibling:f,setScopeId:p=nr,cloneNode:h,insertStaticContent:_}=e,g=(z,R,Z,ae=null,ue=null,ye=null,Ce=!1,pe=null,j=!!R.dynamicChildren)=>{if(z===R)return;z&&!cr(z,R)&&(ae=be(z),fe(z,ue,ye,!0),z=null),R.patchFlag===-2&&(j=!1,R.dynamicChildren=null);const{type:U,ref:ze,shapeFlag:xe}=R;switch(U){case Qr:b(z,R,Z,ae);break;case ln:w(z,R,Z,ae);break;case Cs:z==null&&S(R,Z,ae,Ce);break;case We:B(z,R,Z,ae,ue,ye,Ce,pe,j);break;default:xe&1?A(z,R,Z,ae,ue,ye,Ce,pe,j):xe&6?Y(z,R,Z,ae,ue,ye,Ce,pe,j):(xe&64||xe&128)&&U.process(z,R,Z,ae,ue,ye,Ce,pe,j,Ie)}ze!=null&&ue&&ul(ze,z&&z.ref,ye,R||z,!R)},b=(z,R,Z,ae)=>{if(z==null)r(R.el=a(R.children),Z,ae);else{const ue=R.el=z.el;R.children!==z.children&&u(ue,R.children)}},w=(z,R,Z,ae)=>{z==null?r(R.el=l(R.children||""),Z,ae):R.el=z.el},S=(z,R,Z,ae)=>{[z.el,z.anchor]=_(z.children,R,Z,ae,z.el,z.anchor)},x=({el:z,anchor:R},Z,ae)=>{let ue;for(;z&&z!==R;)ue=f(z),r(z,Z,ae),z=ue;r(R,Z,ae)},$=({el:z,anchor:R})=>{let Z;for(;z&&z!==R;)Z=f(z),s(z),z=Z;s(R)},A=(z,R,Z,ae,ue,ye,Ce,pe,j)=>{Ce=Ce||R.type==="svg",z==null?I(R,Z,ae,ue,ye,Ce,pe,j):N(z,R,ue,ye,Ce,pe,j)},I=(z,R,Z,ae,ue,ye,Ce,pe)=>{let j,U;const{type:ze,props:xe,shapeFlag:De,transition:Le,patchFlag:qe,dirs:nt}=z;if(z.el&&h!==void 0&&qe===-1)j=z.el=h(z.el);else{if(j=z.el=i(z.type,ye,xe&&xe.is,xe),De&8?d(j,z.children):De&16&&O(z.children,j,null,ae,ue,ye&&ze!=="foreignObject",Ce,pe),nt&&lr(z,null,ae,"created"),xe){for(const y in xe)y!=="value"&&!Xo(y)&&o(j,y,null,xe[y],ye,z.children,ae,ue,se);"value"in xe&&o(j,"value",null,xe.value),(U=xe.onVnodeBeforeMount)&&bn(U,ae,z)}V(j,z,z.scopeId,Ce,ae)}nt&&lr(z,null,ae,"beforeMount");const k=(!ue||ue&&!ue.pendingBranch)&&Le&&!Le.persisted;k&&Le.beforeEnter(j),r(j,R,Z),((U=xe&&xe.onVnodeMounted)||k||nt)&&Xt(()=>{U&&bn(U,ae,z),k&&Le.enter(j),nt&&lr(z,null,ae,"mounted")},ue)},V=(z,R,Z,ae,ue)=>{if(Z&&p(z,Z),ae)for(let ye=0;ye{for(let U=j;U{const pe=R.el=z.el;let{patchFlag:j,dynamicChildren:U,dirs:ze}=R;j|=z.patchFlag&16;const xe=z.props||yt,De=R.props||yt;let Le;Z&&ls(Z,!1),(Le=De.onVnodeBeforeUpdate)&&bn(Le,Z,R,z),ze&&lr(R,z,Z,"beforeUpdate"),Z&&ls(Z,!0);const qe=ue&&R.type!=="foreignObject";if(U?G(z.dynamicChildren,U,pe,Z,ae,qe,ye):Ce||Re(z,R,pe,null,Z,ae,qe,ye,!1),j>0){if(j&16)F(pe,R,xe,De,Z,ae,ue);else if(j&2&&xe.class!==De.class&&o(pe,"class",null,De.class,ue),j&4&&o(pe,"style",xe.style,De.style,ue),j&8){const nt=R.dynamicProps;for(let k=0;k{Le&&bn(Le,Z,R,z),ze&&lr(R,z,Z,"updated")},ae)},G=(z,R,Z,ae,ue,ye,Ce)=>{for(let pe=0;pe{if(Z!==ae){for(const pe in ae){if(Xo(pe))continue;const j=ae[pe],U=Z[pe];j!==U&&pe!=="value"&&o(z,pe,U,j,Ce,R.children,ue,ye,se)}if(Z!==yt)for(const pe in Z)!Xo(pe)&&!(pe in ae)&&o(z,pe,Z[pe],null,Ce,R.children,ue,ye,se);"value"in ae&&o(z,"value",Z.value,ae.value)}},B=(z,R,Z,ae,ue,ye,Ce,pe,j)=>{const U=R.el=z?z.el:a(""),ze=R.anchor=z?z.anchor:a("");let{patchFlag:xe,dynamicChildren:De,slotScopeIds:Le}=R;Le&&(pe=pe?pe.concat(Le):Le),z==null?(r(U,Z,ae),r(ze,Z,ae),O(R.children,Z,ze,ue,ye,Ce,pe,j)):xe>0&&xe&64&&De&&z.dynamicChildren?(G(z.dynamicChildren,De,Z,ue,ye,Ce,pe),(R.key!=null||ue&&R===ue.subTree)&&Ld(z,R,!0)):Re(z,R,Z,ze,ue,ye,Ce,pe,j)},Y=(z,R,Z,ae,ue,ye,Ce,pe,j)=>{R.slotScopeIds=pe,z==null?R.shapeFlag&512?ue.ctx.activate(R,Z,ae,Ce,j):de(R,Z,ae,ue,ye,Ce,j):te(z,R,j)},de=(z,R,Z,ae,ue,ye,Ce)=>{const pe=z.component=q_(z,ae,ue);if(Pi(z)&&(pe.ctx.renderer=Ie),G_(pe),pe.asyncDep){if(ue&&ue.registerDep(pe,le),!z.el){const j=pe.subTree=C(ln);w(null,j,R,Z)}return}le(pe,z,R,Z,ue,ye,Ce)},te=(z,R,Z)=>{const ae=R.component=z.component;if(D0(z,R,Z))if(ae.asyncDep&&!ae.asyncResolved){ge(ae,R,Z);return}else ae.next=R,k0(ae.update),ae.update();else R.component=z.component,R.el=z.el,ae.vnode=R},le=(z,R,Z,ae,ue,ye,Ce)=>{const pe=()=>{if(z.isMounted){let{next:ze,bu:xe,u:De,parent:Le,vnode:qe}=z,nt=ze,k;ls(z,!1),ze?(ze.el=qe.el,ge(z,ze,Ce)):ze=qe,xe&&ro(xe),(k=ze.props&&ze.props.onVnodeBeforeUpdate)&&bn(k,Le,ze,qe),ls(z,!0);const y=Ga(z),M=z.subTree;z.subTree=y,g(M,y,m(M.el),be(M),z,ue,ye),ze.el=y.el,nt===null&&Dd(z,y.el),De&&Xt(De,ue),(k=ze.props&&ze.props.onVnodeUpdated)&&Xt(()=>bn(k,Le,ze,qe),ue)}else{let ze;const{el:xe,props:De}=R,{bm:Le,m:qe,parent:nt}=z,k=uo(R);if(ls(z,!1),Le&&ro(Le),!k&&(ze=De&&De.onVnodeBeforeMount)&&bn(ze,nt,R),ls(z,!0),xe&&Ae){const y=()=>{z.subTree=Ga(z),Ae(xe,z.subTree,z,ue,null)};k?R.type.__asyncLoader().then(()=>!z.isUnmounted&&y()):y()}else{const y=z.subTree=Ga(z);g(null,y,Z,ae,z,ue,ye),R.el=y.el}if(qe&&Xt(qe,ue),!k&&(ze=De&&De.onVnodeMounted)){const y=R;Xt(()=>bn(ze,nt,y),ue)}R.shapeFlag&256&&z.a&&Xt(z.a,ue),z.isMounted=!0,R=Z=ae=null}},j=z.effect=new Ai(pe,()=>Od(z.update),z.scope),U=z.update=j.run.bind(j);U.id=z.uid,ls(z,!0),U()},ge=(z,R,Z)=>{R.component=z;const ae=z.vnode.props;z.vnode=R,z.next=null,tw(z,R.props,ae,Z),sw(z,R.children,Z),$s(),Pd(void 0,z.update),zs()},Re=(z,R,Z,ae,ue,ye,Ce,pe,j=!1)=>{const U=z&&z.children,ze=z?z.shapeFlag:0,xe=R.children,{patchFlag:De,shapeFlag:Le}=R;if(De>0){if(De&128){he(U,xe,Z,ae,ue,ye,Ce,pe,j);return}else if(De&256){Be(U,xe,Z,ae,ue,ye,Ce,pe,j);return}}Le&8?(ze&16&&se(U,ue,ye),xe!==U&&d(Z,xe)):ze&16?Le&16?he(U,xe,Z,ae,ue,ye,Ce,pe,j):se(U,ue,ye,!0):(ze&8&&d(Z,""),Le&16&&O(xe,Z,ae,ue,ye,Ce,pe,j))},Be=(z,R,Z,ae,ue,ye,Ce,pe,j)=>{z=z||to,R=R||to;const U=z.length,ze=R.length,xe=Math.min(U,ze);let De;for(De=0;Deze?se(z,ue,ye,!0,!1,xe):O(R,Z,ae,ue,ye,Ce,pe,j,xe)},he=(z,R,Z,ae,ue,ye,Ce,pe,j)=>{let U=0;const ze=R.length;let xe=z.length-1,De=ze-1;for(;U<=xe&&U<=De;){const Le=z[U],qe=R[U]=j?jr(R[U]):On(R[U]);if(cr(Le,qe))g(Le,qe,Z,null,ue,ye,Ce,pe,j);else break;U++}for(;U<=xe&&U<=De;){const Le=z[xe],qe=R[De]=j?jr(R[De]):On(R[De]);if(cr(Le,qe))g(Le,qe,Z,null,ue,ye,Ce,pe,j);else break;xe--,De--}if(U>xe){if(U<=De){const Le=De+1,qe=LeDe)for(;U<=xe;)fe(z[U],ue,ye,!0),U++;else{const Le=U,qe=U,nt=new Map;for(U=qe;U<=De;U++){const Me=R[U]=j?jr(R[U]):On(R[U]);Me.key!=null&&nt.set(Me.key,U)}let k,y=0;const M=De-qe+1;let W=!1,Q=0;const me=new Array(M);for(U=0;U=M){fe(Me,ue,ye,!0);continue}let re;if(Me.key!=null)re=nt.get(Me.key);else for(k=qe;k<=De;k++)if(me[k-qe]===0&&cr(Me,R[k])){re=k;break}re===void 0?fe(Me,ue,ye,!0):(me[re-qe]=U+1,re>=Q?Q=re:W=!0,g(Me,R[re],Z,null,ue,ye,Ce,pe,j),y++)}const Ee=W?lw(me):to;for(k=Ee.length-1,U=M-1;U>=0;U--){const Me=qe+U,re=R[Me],ce=Me+1{const{el:ye,type:Ce,transition:pe,children:j,shapeFlag:U}=z;if(U&6){X(z.component.subTree,R,Z,ae);return}if(U&128){z.suspense.move(R,Z,ae);return}if(U&64){Ce.move(z,R,Z,Ie);return}if(Ce===We){r(ye,R,Z);for(let xe=0;xepe.enter(ye),ue);else{const{leave:xe,delayLeave:De,afterLeave:Le}=pe,qe=()=>r(ye,R,Z),nt=()=>{xe(ye,()=>{qe(),Le&&Le()})};De?De(ye,qe,nt):nt()}else r(ye,R,Z)},fe=(z,R,Z,ae=!1,ue=!1)=>{const{type:ye,props:Ce,ref:pe,children:j,dynamicChildren:U,shapeFlag:ze,patchFlag:xe,dirs:De}=z;if(pe!=null&&ul(pe,null,Z,z,!0),ze&256){R.ctx.deactivate(z);return}const Le=ze&1&&De,qe=!uo(z);let nt;if(qe&&(nt=Ce&&Ce.onVnodeBeforeUnmount)&&bn(nt,R,z),ze&6)oe(z.component,Z,ae);else{if(ze&128){z.suspense.unmount(Z,ae);return}Le&&lr(z,null,R,"beforeUnmount"),ze&64?z.type.remove(z,R,Z,ue,Ie,ae):U&&(ye!==We||xe>0&&xe&64)?se(U,R,Z,!1,!0):(ye===We&&xe&384||!ue&&ze&16)&&se(j,R,Z),ae&&we(z)}(qe&&(nt=Ce&&Ce.onVnodeUnmounted)||Le)&&Xt(()=>{nt&&bn(nt,R,z),Le&&lr(z,null,R,"unmounted")},Z)},we=z=>{const{type:R,el:Z,anchor:ae,transition:ue}=z;if(R===We){H(Z,ae);return}if(R===Cs){$(z);return}const ye=()=>{s(Z),ue&&!ue.persisted&&ue.afterLeave&&ue.afterLeave()};if(z.shapeFlag&1&&ue&&!ue.persisted){const{leave:Ce,delayLeave:pe}=ue,j=()=>Ce(Z,ye);pe?pe(z.el,ye,j):j()}else ye()},H=(z,R)=>{let Z;for(;z!==R;)Z=f(z),s(z),z=Z;s(R)},oe=(z,R,Z)=>{const{bum:ae,scope:ue,update:ye,subTree:Ce,um:pe}=z;ae&&ro(ae),ue.stop(),ye&&(ye.active=!1,fe(Ce,z,R,Z)),pe&&Xt(pe,R),Xt(()=>{z.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&z.asyncDep&&!z.asyncResolved&&z.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},se=(z,R,Z,ae=!1,ue=!1,ye=0)=>{for(let Ce=ye;Cez.shapeFlag&6?be(z.component.subTree):z.shapeFlag&128?z.suspense.next():f(z.anchor||z.el),Ve=(z,R,Z)=>{z==null?R._vnode&&fe(R._vnode,null,null,!0):g(R._vnode||null,z,R,null,null,null,Z),al(),R._vnode=z},Ie={p:g,um:fe,m:X,r:we,mt:de,mc:O,pc:Re,pbc:G,n:be,o:e};let $e,Ae;return t&&([$e,Ae]=t(Ie)),{render:Ve,hydrate:$e,createApp:iw(Ve,$e)}}function ls({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ld(e,t,n=!1){const r=e.children,s=t.children;if(Ue(r)&&Ue(s))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const uw=e=>e.__isTeleport,oi=e=>e&&(e.disabled||e.disabled===""),xm=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,wc=(e,t)=>{const n=e&&e.to;return Ot(n)?t?t(n):null:n},cw={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:d,pc:m,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:g}}=u,b=oi(t.props);let{shapeFlag:w,children:S,dynamicChildren:x}=t;if(e==null){const $=t.el=_(""),A=t.anchor=_("");p($,n,r),p(A,n,r);const I=t.target=wc(t.props,h),V=t.targetAnchor=_("");I&&(p(V,I),i=i||xm(I));const O=(N,G)=>{w&16&&d(S,N,G,s,o,i,a,l)};b?O(n,A):I&&O(I,V)}else{t.el=e.el;const $=t.anchor=e.anchor,A=t.target=e.target,I=t.targetAnchor=e.targetAnchor,V=oi(e.props),O=V?n:A,N=V?$:I;if(i=i||xm(A),x?(f(e.dynamicChildren,x,O,s,o,i,a),Ld(e,t,!0)):l||m(e,t,O,N,s,o,i,a,!1),b)V||ta(t,n,$,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=wc(t.props,h);G&&ta(t,G,null,u,0)}else V&&ta(t,A,I,u,1)}},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:u,targetAnchor:d,target:m,props:f}=e;if(m&&o(d),(i||!oi(f))&&(o(u),a&16))for(let p=0;p0?mr||to:null,V_(),co>0&&mr&&mr.push(e),e}function D(e,t,n,r,s,o){return j_(c(e,t,n,r,s,o,!0))}function ke(e,t,n,r,s){return j_(C(e,t,n,r,s,!0))}function es(e){return e?e.__v_isVNode===!0:!1}function cr(e,t){return e.type===t.type&&e.key===t.key}function mw(e){}const Wl="__vInternal",B_=({key:e})=>e!=null?e:null,Ka=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ot(e)||jt(e)||et(e)?{i:rn,r:e,k:t,f:!!n}:e:null;function c(e,t=null,n=null,r=0,s=null,o=e===We?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&B_(t),ref:t&&Ka(t),scopeId:Vl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(jd(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),co>0&&!i&&mr&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&mr.push(l),l}const C=pw;function pw(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===L_)&&(e=ln),es(e)){const a=Er(e,t,!0);return n&&jd(a,n),a}if(Ew(e)&&(e=e.__vccOpts),t){t=H_(t);let{class:a,style:l}=t;a&&!Ot(a)&&(t.class=Ye(a)),Nt(l)&&(kd(l)&&!Ue(l)&&(l=Lt({},l)),t.style=rs(l))}const i=Ot(e)?1:F0(e)?128:uw(e)?64:Nt(e)?4:et(e)?2:0;return c(e,t,n,r,s,i,o,!0)}function H_(e){return e?kd(e)||Wl in e?Lt({},e):e:null}function Er(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Bd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&B_(a),ref:t&&t.ref?n&&s?Ue(s)?s.concat(Ka(t)):[s,Ka(t)]:Ka(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Er(e.ssContent),ssFallback:e.ssFallback&&Er(e.ssFallback),el:e.el,anchor:e.anchor}}function Tt(e=" ",t=0){return C(Qr,null,e,t)}function hw(e,t){const n=C(Cs,null,e);return n.staticCount=t,n}function J(e="",t=!1){return t?(E(),ke(ln,null,e)):C(ln,null,e)}function On(e){return e==null||typeof e=="boolean"?C(ln):Ue(e)?C(We,null,e.slice()):typeof e=="object"?jr(e):C(Qr,null,String(e))}function jr(e){return e.el===null||e.memo?e:Er(e)}function jd(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ue(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),jd(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Wl in t)?t._ctx=rn:s===3&&rn&&(rn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else et(t)?(t={default:t,_ctx:rn},n=32):(t=String(t),r&64?(n=16,t=[Tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bd(...e){const t={};for(let n=0;nt(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;aes(t)?!(t.type===ln||t.type===We&&!U_(t.children)):!0)?e:null}function _w(e){const t={};for(const n in e)t[Qo(n)]=e[n];return t}const xc=e=>e?W_(e)?Gl(e)||e.proxy:xc(e.parent):null,cl=Lt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xc(e.parent),$root:e=>xc(e.root),$emit:e=>e.emit,$options:e=>z_(e),$forceUpdate:e=>()=>Od(e.update),$nextTick:e=>Ll.bind(e.proxy),$watch:e=>H0.bind(e)}),kc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(r!==yt&&ft(r,t))return i[t]=1,r[t];if(s!==yt&&ft(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&ft(u,t))return i[t]=3,o[t];if(n!==yt&&ft(n,t))return i[t]=4,n[t];yc&&(i[t]=0)}}const d=cl[t];let m,f;if(d)return t==="$attrs"&&Mn(e,"get",t),d(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==yt&&ft(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ft(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return s!==yt&&ft(s,t)?(s[t]=n,!0):r!==yt&&ft(r,t)?(r[t]=n,!0):ft(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==yt&&ft(e,i)||t!==yt&&ft(t,i)||(a=o[0])&&ft(a,i)||ft(r,i)||ft(cl,i)||ft(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ft(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},gw=Lt({},kc,{get(e,t){if(t!==Symbol.unscopables)return kc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!gb(t)}}),yw=F_();let vw=0;function q_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||yw,o={uid:vw++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new vd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:O_(r,s),emitsOptions:m_(r,s),emit:null,emitted:null,propsDefaults:yt,inheritAttrs:r.inheritAttrs,ctx:yt,data:yt,props:yt,attrs:yt,slots:yt,refs:yt,setupState:yt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=E0.bind(null,o),e.ce&&e.ce(o),o}let Yt=null;const or=()=>Yt||rn,ts=e=>{Yt=e,e.scope.on()},Yr=()=>{Yt&&Yt.scope.off(),Yt=null};function W_(e){return e.vnode.shapeFlag&4}let fo=!1;function G_(e,t=!1){fo=t;const{props:n,children:r}=e.vnode,s=W_(e);ew(e,n,s,t),rw(e,r);const o=s?bw(e,t):void 0;return fo=!1,o}function bw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Sd(new Proxy(e.ctx,kc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Y_(e):null;ts(e),$s();const o=fr(r,e,0,[e.props,s]);if(zs(),Yr(),gd(o)){if(o.then(Yr,Yr),t)return o.then(i=>{Sc(e,i,t)}).catch(i=>{Os(i,e,0)});e.asyncDep=o}else Sc(e,o,t)}else K_(e,t)}function Sc(e,t,n){et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Nt(t)&&(e.setupState=zd(t)),K_(e,n)}let dl,Ec;function ww(e){dl=e,Ec=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,gw))}}const Cw=()=>!dl;function K_(e,t,n){const r=e.type;if(!e.render){if(!t&&dl&&!r.render){const s=r.template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=Lt(Lt({isCustomElement:o,delimiters:a},i),l);r.render=dl(s,u)}}e.render=r.render||nr,Ec&&Ec(e)}ts(e),$s(),Y0(e),zs(),Yr()}function xw(e){return new Proxy(e.attrs,{get(t,n){return Mn(e,"get","$attrs"),t[n]}})}function Y_(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=xw(e))},slots:e.slots,emit:e.emit,expose:t}}function Gl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zd(Sd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cl)return cl[n](e)}}))}const kw=/(?:^|[-_])(\w)/g,Sw=e=>e.replace(kw,t=>t.toUpperCase()).replace(/[-_]/g,"");function fl(e){return et(e)&&e.displayName||e.name}function Z_(e,t,n=!1){let r=fl(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=o=>{for(const i in o)if(o[i]===t)return i};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?Sw(r):n?"App":"Anonymous"}function Ew(e){return et(e)&&"__vccOpts"in e}const At=(e,t)=>g0(e,t,fo);function $w(){return null}function zw(){return null}function Aw(e){}function Ow(e,t){return null}function Tw(){return J_().slots}function Pw(){return J_().attrs}function J_(){const e=or();return e.setupContext||(e.setupContext=Y_(e))}function Dw(e,t){const n=Ue(e)?e.reduce((r,s)=>(r[s]={},r),{}):e;for(const r in t){const s=n[r];s?Ue(s)||et(s)?n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(n[r]={default:t[r]})}return n}function Fw(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Iw(e){const t=or();let n=e();return Yr(),gd(n)&&(n=n.catch(r=>{throw ts(t),r})),[n,()=>ts(t)]}function Cn(e,t,n){const r=arguments.length;return r===2?Nt(t)&&!Ue(t)?es(t)?C(e,null,[t]):C(e,t):C(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&es(n)&&(n=[n]),C(e,t,n))}const X_=Symbol(""),Mw=()=>{{const e=rr(X_);return e||i_("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Rw(){}function Lw(e,t,n,r){const s=n[r];if(s&&Q_(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function Q_(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&mr&&mr.push(e),!0}const eg="3.2.33",Nw={createComponentInstance:q_,setupComponent:G_,renderComponentRoot:Ga,setCurrentRenderingInstance:wi,isVNode:es,normalizeVNode:On},Vw=Nw,jw=null,Bw=null,Hw="http://www.w3.org/2000/svg",ys=typeof document!="undefined"?document:null,Sm=ys&&ys.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 s=t?ys.createElementNS(Hw,e):ys.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ys.createTextNode(e),createComment:e=>ys.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ys.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Sm.innerHTML=r?`${e}`:e;const a=Sm.content;if(r){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]}};function qw(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ww(e,t,n){const r=e.style,s=Ot(n);if(n&&!s){for(const o in n)$c(r,o,n[o]);if(t&&!Ot(t))for(const o in t)n[o]==null&&$c(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Em=/\s*!important$/;function $c(e,t,n){if(Ue(n))n.forEach(r=>$c(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Gw(e,t);Em.test(n)?e.setProperty(dr(r),n.replace(Em,""),"important"):e[r]=n}}const $m=["Webkit","Moz","ms"],Du={};function Gw(e,t){const n=Du[t];if(n)return n;let r=In(t);if(r!=="filter"&&r in e)return Du[t]=r;r=zi(r);for(let s=0;s<$m.length;s++){const o=$m[s]+r;if(o in e)return Du[t]=o}return t}const zm="http://www.w3.org/1999/xlink";function Kw(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(zm,t.slice(6,t.length)):e.setAttributeNS(zm,t,n);else{const o=vb(t);n==null||o&&!Nh(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function Yw(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Nh(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}const[tg,Zw]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let zc=0;const Jw=Promise.resolve(),Xw=()=>{zc=0},Qw=()=>zc||(Jw.then(Xw),zc=tg());function Cr(e,t,n,r){e.addEventListener(t,n,r)}function eC(e,t,n,r){e.removeEventListener(t,n,r)}function tC(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=nC(t);if(r){const u=o[t]=rC(r,s);Cr(e,a,u,l)}else i&&(eC(e,a,i,l),o[t]=void 0)}}const Am=/(?:Once|Passive|Capture)$/;function nC(e){let t;if(Am.test(e)){t={};let n;for(;n=e.match(Am);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[dr(e.slice(2)),t]}function rC(e,t){const n=r=>{const s=r.timeStamp||tg();(Zw||s>=n.attached-1)&&Dn(sC(r,n.value),t,5,[r])};return n.value=e,n.attached=Qw(),n}function sC(e,t){if(Ue(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Om=/^on[a-z]/,oC=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?qw(e,r,s):t==="style"?Ww(e,n,r):$i(t)?pd(t)||tC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):iC(e,t,r,s))?Yw(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Kw(e,t,r,s))};function iC(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Om.test(t)&&et(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Om.test(t)&&Ot(n)?!1:t in e}function ng(e,t){const n=Ti(e);class r extends Kl{constructor(o){super(n,o,t)}}return r.def=n,r}const aC=e=>ng(e,mg),lC=typeof HTMLElement!="undefined"?HTMLElement:class{};class Kl extends lC{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Ll(()=>{this._connected||(Oc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let r=0;r{for(const s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=r=>{const{props:s,styles:o}=r,i=!Ue(s),a=s?i?Object.keys(s):s:[];let l;if(i)for(const u in this._props){const d=s[u];(d===Number||d&&d.type===Number)&&(this._props[u]=Jr(this._props[u]),(l||(l=Object.create(null)))[u]=!0)}this._numberProps=l;for(const u of Object.keys(this))u[0]!=="_"&&this._setProp(u,this[u],!0,!1);for(const u of a.map(In))Object.defineProperty(this,u,{get(){return this._getProp(u)},set(d){this._setProp(u,d)}});this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=Jr(n)),this._setProp(In(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(dr(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(dr(t),n+""):n||this.removeAttribute(dr(t))))}_update(){Oc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=C(this._def,Lt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(s,...o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof Kl){n.parent=r._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function uC(e="$style"){{const t=or();if(!t)return yt;const n=t.type.__cssModules;if(!n)return yt;const r=n[e];return r||yt}}function cC(e){const t=or();if(!t)return;const n=()=>Ac(t.subTree,e(t.proxy));h_(n),Ts(()=>{const r=new MutationObserver(n);r.observe(t.subTree.el.parentNode,{childList:!0}),Co(()=>r.disconnect())})}function Ac(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ac(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Tm(e.el,t);else if(e.type===We)e.children.forEach(n=>Ac(n,t));else if(e.type===Cs){let{el:n,anchor:r}=e;for(;n&&(Tm(n,t),n!==r);)n=n.nextSibling}}function Tm(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Mr="transition",Oo="animation",Wt=(e,{slots:t})=>Cn(Md,sg(e),t);Wt.displayName="Transition";const rg={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},dC=Wt.props=Lt({},Md.props,rg),us=(e,t=[])=>{Ue(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pm=e=>e?Ue(e)?e.some(t=>t.length>1):e.length>1:!1;function sg(e){const t={};for(const F in e)F in rg||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=fC(s),_=h&&h[0],g=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:S,onLeave:x,onLeaveCancelled:$,onBeforeAppear:A=b,onAppear:I=w,onAppearCancelled:V=S}=t,O=(F,B,Y)=>{hs(F,B?d:a),hs(F,B?u:i),Y&&Y()},N=(F,B)=>{hs(F,p),hs(F,f),B&&B()},G=F=>(B,Y)=>{const de=F?I:w,te=()=>O(B,F,Y);us(de,[B,te]),Dm(()=>{hs(B,F?l:o),br(B,F?d:a),Pm(de)||Fm(B,r,_,te)})};return Lt(t,{onBeforeEnter(F){us(b,[F]),br(F,o),br(F,i)},onBeforeAppear(F){us(A,[F]),br(F,l),br(F,u)},onEnter:G(!1),onAppear:G(!0),onLeave(F,B){const Y=()=>N(F,B);br(F,m),ig(),br(F,f),Dm(()=>{hs(F,m),br(F,p),Pm(x)||Fm(F,r,g,Y)}),us(x,[F,Y])},onEnterCancelled(F){O(F,!1),us(S,[F])},onAppearCancelled(F){O(F,!0),us(V,[F])},onLeaveCancelled(F){N(F),us($,[F])}})}function fC(e){if(e==null)return null;if(Nt(e))return[Fu(e.enter),Fu(e.leave)];{const t=Fu(e);return[t,t]}}function Fu(e){return Jr(e)}function br(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function hs(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Dm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mC=0;function Fm(e,t,n,r){const s=e._endId=++mC,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=og(e,t);if(!i)return r();const u=i+"end";let d=0;const m=()=>{e.removeEventListener(u,f),o()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d(n[h]||"").split(", "),s=r(Mr+"Delay"),o=r(Mr+"Duration"),i=Im(s,o),a=r(Oo+"Delay"),l=r(Oo+"Duration"),u=Im(a,l);let d=null,m=0,f=0;t===Mr?i>0&&(d=Mr,m=i,f=o.length):t===Oo?u>0&&(d=Oo,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?Mr:Oo:null,f=d?d===Mr?o.length:l.length:0);const p=d===Mr&&/\b(transform|all)(,|$)/.test(n[Mr+"Property"]);return{type:d,timeout:m,propCount:f,hasTransform:p}}function Im(e,t){for(;e.lengthMm(n)+Mm(e[r])))}function Mm(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ig(){return document.body.offsetHeight}const ag=new WeakMap,lg=new WeakMap,pC={name:"TransitionGroup",props:Lt({},dC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=or(),r=Id();let s,o;return Hl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!vC(s[0].el,n.vnode.el,i))return;s.forEach(_C),s.forEach(gC);const a=s.filter(yC);ig(),a.forEach(l=>{const u=l.el,d=u.style;br(u,i),d.transform=d.webkitTransform=d.transitionDuration="";const m=u._moveCb=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",m),u._moveCb=null,hs(u,i))};u.addEventListener("transitionend",m)})}),()=>{const i=ut(e),a=sg(i);let l=i.tag||We;s=o,o=t.default?jl(t.default()):[];for(let u=0;u{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=og(r);return s.removeChild(r),o}const ns=e=>{const t=e.props["onUpdate:modelValue"];return Ue(t)?n=>ro(t,n):t};function bC(e){e.target.composing=!0}function Rm(e){const t=e.target;t.composing&&(t.composing=!1,wC(t,"input"))}function wC(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const sn={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=ns(s);const o=r||s.props&&s.props.type==="number";Cr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n?a=a.trim():o&&(a=Jr(a)),e._assign(a)}),n&&Cr(e,"change",()=>{e.value=e.value.trim()}),t||(Cr(e,"compositionstart",bC),Cr(e,"compositionend",Rm),Cr(e,"change",Rm))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=ns(o),e.composing||document.activeElement===e&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Jr(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},$r={deep:!0,created(e,t,n){e._assign=ns(n),Cr(e,"change",()=>{const r=e._modelValue,s=mo(e),o=e.checked,i=e._assign;if(Ue(r)){const a=Ol(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const u=[...r];u.splice(a,1),i(u)}}else if(Es(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(ug(e,o))})},mounted:Lm,beforeUpdate(e,t,n){e._assign=ns(n),Lm(e,t,n)}};function Lm(e,{value:t,oldValue:n},r){e._modelValue=t,Ue(t)?e.checked=Ol(t,r.props.value)>-1:Es(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Zr(t,ug(e,!0)))}const Hd={created(e,{value:t},n){e.checked=Zr(t,n.props.value),e._assign=ns(n),Cr(e,"change",()=>{e._assign(mo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=ns(r),t!==n&&(e.checked=Zr(t,r.props.value))}},Ud={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Es(t);Cr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Jr(mo(i)):mo(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=ns(r)},mounted(e,{value:t}){Nm(e,t)},beforeUpdate(e,t,n){e._assign=ns(n)},updated(e,{value:t}){Nm(e,t)}};function Nm(e,t){const n=e.multiple;if(!(n&&!Ue(t)&&!Es(t))){for(let r=0,s=e.options.length;r-1:o.selected=t.has(i);else if(Zr(mo(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function mo(e){return"_value"in e?e._value:e.value}function ug(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const CC={created(e,t,n){na(e,t,n,null,"created")},mounted(e,t,n){na(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){na(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){na(e,t,n,r,"updated")}};function na(e,t,n,r,s){let o;switch(e.tagName){case"SELECT":o=Ud;break;case"TEXTAREA":o=sn;break;default:switch(n.props&&n.props.type){case"checkbox":o=$r;break;case"radio":o=Hd;break;default:o=sn}}const i=o[s];i&&i(e,t,n,r)}function xC(){sn.getSSRProps=({value:e})=>({value:e}),Hd.getSSRProps=({value:e},t)=>{if(t.props&&Zr(t.props.value,e))return{checked:!0}},$r.getSSRProps=({value:e},t)=>{if(Ue(e)){if(t.props&&Ol(e,t.props.value)>-1)return{checked:!0}}else if(Es(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}}}const kC=["ctrl","shift","alt","meta"],SC={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)=>kC.some(n=>e[`${n}Key`]&&!t.includes(n))},_t=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=dr(n.key);if(t.some(s=>s===r||EC[s]===r))return e(n)},po={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):To(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),To(e,!0),r.enter(e)):r.leave(e,()=>{To(e,!1)}):To(e,t))},beforeUnmount(e,{value:t}){To(e,t)}};function To(e,t){e.style.display=t?e._vod:"none"}function $C(){po.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const cg=Lt({patchProp:oC},Uw);let ai,Vm=!1;function dg(){return ai||(ai=I_(cg))}function fg(){return ai=Vm?ai:M_(cg),Vm=!0,ai}const Oc=(...e)=>{dg().render(...e)},mg=(...e)=>{fg().hydrate(...e)},pg=(...e)=>{const t=dg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=hg(r);if(!s)return;const o=t._component;!et(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},zC=(...e)=>{const t=fg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=hg(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function hg(e){return Ot(e)?document.querySelector(e):e}let jm=!1;const AC=()=>{jm||(jm=!0,xC(),$C())},OC=()=>{};var TC=Object.freeze(Object.defineProperty({__proto__:null,compile:OC,EffectScope:vd,ReactiveEffect:Ai,customRef:p0,effect:Rb,effectScope:Pb,getCurrentScope:Db,isProxy:kd,isReactive:ws,isReadonly:ao,isRef:jt,isShallow:xd,markRaw:Sd,onScopeDispose:Fb,proxyRefs:zd,reactive:As,readonly:Cd,ref:wn,shallowReactive:n_,shallowReadonly:u0,shallowRef:r_,stop:Lb,toRaw:ut,toRef:o_,toRefs:ei,triggerRef:d0,unref:so,camelize:In,capitalize:zi,normalizeClass:Ye,normalizeProps:xb,normalizeStyle:rs,toDisplayString:v,toHandlerKey:Qo,BaseTransition:Md,Comment:ln,Fragment:We,KeepAlive:G0,Static:Cs,Suspense:M0,Teleport:ss,Text:Qr,callWithAsyncErrorHandling:Dn,callWithErrorHandling:fr,cloneVNode:Er,compatUtils:Bw,computed:At,createBlock:ke,createCommentVNode:J,createElementBlock:D,createElementVNode:c,createHydrationRenderer:M_,createPropsRestProxy:Fw,createRenderer:I_,createSlots:Di,createStaticVNode:hw,createTextVNode:Tt,createVNode:C,defineAsyncComponent:q0,defineComponent:Ti,defineEmits:zw,defineExpose:Aw,defineProps:$w,get devtools(){return Ys},getCurrentInstance:or,getTransitionRawChildren:jl,guardReactiveProps:H_,h:Cn,handleError:Os,initCustomFormatter:Rw,inject:rr,isMemoSame:Q_,isRuntimeOnly:Cw,isVNode:es,mergeDefaults:Dw,mergeProps:Bd,nextTick:Ll,onActivated:y_,onBeforeMount:w_,onBeforeUnmount:Ul,onBeforeUpdate:C_,onDeactivated:v_,onErrorCaptured:E_,onMounted:Ts,onRenderTracked:S_,onRenderTriggered:k_,onServerPrefetch:x_,onUnmounted:Co,onUpdated:Hl,openBlock:E,popScopeId:z0,provide:si,pushScopeId:$0,queuePostFlushCb:Td,registerRuntimeCompiler:ww,renderList:wt,renderSlot:kt,resolveComponent:T,resolveDirective:ql,resolveDynamicComponent:N_,resolveFilter:jw,resolveTransitionHooks:lo,setBlockTracking:Cc,setDevtoolsHook:f_,setTransitionHooks:Ss,ssrContextKey:X_,ssrUtils:Vw,toHandlers:_w,transformVNodeArgs:mw,useAttrs:Pw,useSSRContext:Mw,useSlots:Tw,useTransitionState:Id,version:eg,warn:i_,watch:Mt,watchEffect:j0,watchPostEffect:h_,watchSyncEffect:B0,withAsyncContext:Iw,withCtx:P,withDefaults:Ow,withDirectives:Ct,withMemo:Lw,withScopeId:A0,Transition:Wt,TransitionGroup:hC,VueElement:Kl,createApp:pg,createSSRApp:zC,defineCustomElement:ng,defineSSRCustomElement:aC,hydrate:mg,initDirectivesForSSR:AC,render:Oc,useCssModule:uC,useCssVars:cC,vModelCheckbox:$r,vModelDynamic:CC,vModelRadio:Hd,vModelSelect:Ud,vModelText:sn,vShow:po,withKeys:Tn,withModifiers:_t},Symbol.toStringTag,{value:"Module"}));/*! + * @intlify/shared v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const PC=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Or=e=>PC?Symbol(e):e,DC=(e,t,n)=>FC({l:e,k:t,s:n}),FC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),en=e=>typeof e=="number"&&isFinite(e),IC=e=>Wd(e)==="[object Date]",ml=e=>Wd(e)==="[object RegExp]",Yl=e=>mt(e)&&Object.keys(e).length===0;function MC(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const pn=Object.assign;let Bm;const qd=()=>Bm||(Bm=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Hm(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const RC=Object.prototype.hasOwnProperty;function _g(e,t){return RC.call(e,t)}const on=Array.isArray,fn=e=>typeof e=="function",Ge=e=>typeof e=="string",Zt=e=>typeof e=="boolean",hn=e=>e!==null&&typeof e=="object",gg=Object.prototype.toString,Wd=e=>gg.call(e),mt=e=>Wd(e)==="[object Object]",LC=e=>e==null?"":on(e)||mt(e)&&e.toString===gg?JSON.stringify(e,null,2):String(e);/*! + * @intlify/message-resolver v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const NC=Object.prototype.hasOwnProperty;function VC(e,t){return NC.call(e,t)}const Ya=e=>e!==null&&typeof e=="object",os=[];os[0]={w:[0],i:[3,0],["["]:[4],o:[7]};os[1]={w:[1],["."]:[2],["["]:[4],o:[7]};os[2]={w:[2],i:[3,0],["0"]:[3,0]};os[3]={i:[3,0],["0"]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};os[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};os[5]={["'"]:[4,0],o:8,l:[5,0]};os[6]={['"']:[4,0],o:8,l:[6,0]};const jC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function BC(e){return jC.test(e)}function HC(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 UC(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function qC(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:BC(t)?HC(t):"*"+t}function WC(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,u,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),s++},f[3]=()=>{if(s>0)s--,r=4,f[0]();else{if(s=0,i===void 0||(i=qC(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=UC(o),m=os[r],u=m[l]||m.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=f[u[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const Um=new Map;function pl(e,t){if(!Ya(e))return null;let n=Um.get(t);if(n||(n=WC(t),n&&Um.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;oe,KC=e=>"",YC="text",ZC=e=>e.length===0?"":e.join(""),JC=LC;function qm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function XC(e){const t=en(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(en(e.named.count)||en(e.named.n))?en(e.named.count)?e.named.count:en(e.named.n)?e.named.n:t:t}function QC(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ex(e={}){const t=e.locale,n=XC(e),r=hn(e.pluralRules)&&Ge(t)&&fn(e.pluralRules[t])?e.pluralRules[t]:qm,s=hn(e.pluralRules)&&Ge(t)&&fn(e.pluralRules[t])?qm:void 0,o=g=>g[r(n,g.length,s)],i=e.list||[],a=g=>i[g],l=e.named||{};en(e.pluralIndex)&&QC(n,l);const u=g=>l[g];function d(g){const b=fn(e.messages)?e.messages(g):hn(e.messages)?e.messages[g]:!1;return b||(e.parent?e.parent.message(g):KC)}const m=g=>e.modifiers?e.modifiers[g]:GC,f=mt(e.processor)&&fn(e.processor.normalize)?e.processor.normalize:ZC,p=mt(e.processor)&&fn(e.processor.interpolate)?e.processor.interpolate:JC,h=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:YC,_={list:a,named:u,plural:o,linked:(g,b)=>{const w=d(g)(_);return Ge(b)?m(b)(w):w},message:d,type:h,interpolate:p,normalize:f};return _}/*! + * @intlify/message-compiler v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */function yg(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*! + * @intlify/devtools-if v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const vg={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! + * @intlify/core-base v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */let xi=null;function tx(e){xi=e}function nx(e,t,n){xi&&xi.emit(vg.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const rx=sx(vg.FunctionTranslate);function sx(e){return t=>xi&&xi.emit(e,t)}const ox="9.1.10",Zl=-1,Wm="";function ix(){return{upper:e=>Ge(e)?e.toUpperCase():e,lower:e=>Ge(e)?e.toLowerCase():e,capitalize:e=>Ge(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let ax,bg=null;const Gm=e=>{bg=e},lx=()=>bg;let Km=0;function ux(e={}){const t=Ge(e.version)?e.version:ox,n=Ge(e.locale)?e.locale:"en-US",r=on(e.fallbackLocale)||mt(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=mt(e.messages)?e.messages:{[n]:{}},o=mt(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=mt(e.numberFormats)?e.numberFormats:{[n]:{}},a=pn({},e.modifiers||{},ix()),l=e.pluralRules||{},u=fn(e.missing)?e.missing:null,d=Zt(e.missingWarn)||ml(e.missingWarn)?e.missingWarn:!0,m=Zt(e.fallbackWarn)||ml(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,p=!!e.unresolving,h=fn(e.postTranslation)?e.postTranslation:null,_=mt(e.processor)?e.processor:null,g=Zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,w=fn(e.messageCompiler)?e.messageCompiler:ax,S=fn(e.onWarn)?e.onWarn:MC,x=e,$=hn(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,A=hn(x.__numberFormatters)?x.__numberFormatters:new Map,I=hn(x.__meta)?x.__meta:{};Km++;const V={version:t,cid:Km,locale:n,fallbackLocale:r,messages:s,datetimeFormats:o,numberFormats:i,modifiers:a,pluralRules:l,missing:u,missingWarn:d,fallbackWarn:m,fallbackFormat:f,unresolving:p,postTranslation:h,processor:_,warnHtmlMessage:g,escapeParameter:b,messageCompiler:w,onWarn:S,__datetimeFormatters:$,__numberFormatters:A,__meta:I};return __INTLIFY_PROD_DEVTOOLS__&&nx(V,t,I),V}function Gd(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return Ge(a)?a:t}else return t}function Fi(e,t,n){const r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(n);if(!s){s=[];let o=[n];for(;on(o);)o=Ym(s,o,t);const i=on(t)?t:mt(t)?t.default?t.default:null:t;o=Ge(i)?[i]:i,on(o)&&Ym(s,o,!1),r.__localeChainCache.set(n,s)}return s}function Ym(e,t,n){let r=!0;for(let s=0;s"",ur=e=>fn(e);function Jm(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,fallbackLocale:o,messages:i}=e,[a,l]=Pc(...t),u=Zt(l.missingWarn)?l.missingWarn:e.missingWarn,d=Zt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,m=Zt(l.escapeParameter)?l.escapeParameter:e.escapeParameter,f=!!l.resolvedMessage,p=Ge(l.default)||Zt(l.default)?Zt(l.default)?a:l.default:n?a:"",h=n||p!=="",_=Ge(l.locale)?l.locale:e.locale;m&&fx(l);let[g,b,w]=f?[a,_,i[_]||{}]:mx(e,a,_,o,d,u),S=a;if(!f&&!(Ge(g)||ur(g))&&h&&(g=p,S=g),!f&&(!(Ge(g)||ur(g))||!Ge(b)))return s?Zl:a;let x=!1;const $=()=>{x=!0},A=ur(g)?g:wg(e,a,b,g,S,$);if(x)return g;const I=_x(e,b,w,l),V=ex(I),O=px(e,A,V),N=r?r(O):O;if(__INTLIFY_PROD_DEVTOOLS__){const G={timestamp:Date.now(),key:Ge(a)?a:ur(g)?g.key:"",locale:b||(ur(g)?g.locale:""),format:Ge(g)?g:ur(g)?g.source:"",message:N};G.meta=pn({},e.__meta,lx()||{}),rx(G)}return N}function fx(e){on(e.list)?e.list=e.list.map(t=>Ge(t)?Hm(t):t):hn(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=Hm(e.named[t]))})}function mx(e,t,n,r,s,o){const{messages:i,onWarn:a}=e,l=Fi(e,r,n);let u={},d,m=null;const f="translate";for(let p=0;p{throw o&&o(i),i},onCacheKey:i=>DC(t,n,i)}}function _x(e,t,n,r){const{modifiers:s,pluralRules:o}=e,a={locale:t,modifiers:s,pluralRules:o,messages:l=>{const u=pl(n,l);if(Ge(u)){let d=!1;const f=wg(e,l,t,u,l,()=>{d=!0});return d?Zm:f}else return ur(u)?u:Zm}};return e.processor&&(a.processor=e.processor),r.list&&(a.list=r.list),r.named&&(a.named=r.named),en(r.plural)&&(a.pluralIndex=r.plural),a}function Xm(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o}=e,{__datetimeFormatters:i}=e,[a,l,u,d]=Dc(...t),m=Zt(u.missingWarn)?u.missingWarn:e.missingWarn;Zt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const f=!!u.part,p=Ge(u.locale)?u.locale:e.locale,h=Fi(e,s,p);if(!Ge(a)||a==="")return new Intl.DateTimeFormat(p).format(l);let _={},g,b=null;const w="datetime format";for(let $=0;${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 kx(e,t){const n=e,r=Cg(),s=gx(),o=yx&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(vx,e,t);else{const i=o?new xx(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! + * vue-i18n v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const Sx="9.1.10";function Ex(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(qd().__INTLIFY_PROD_DEVTOOLS__=!1)}function Hn(e,...t){return yg(e,null,void 0)}const Iu="__INTLIFY_META__",Mc=Or("__transrateVNode"),Rc=Or("__datetimeParts"),Lc=Or("__numberParts");Or("__enableEmitter");Or("__disableEmitter");const $x=Or("__setPluralRules");Or("__intlifyMeta");const xg=Or("__injectWithOption");let np=0;function rp(e){return(t,n,r,s)=>e(n,r,or()||void 0,s)}function kg(e,t){const{messages:n,__i18n:r}=t,s=mt(n)?n:on(r)?{}:{[e]:{}};if(on(r)&&r.forEach(({locale:o,resource:i})=>{o?(s[o]=s[o]||{},hl(i,s[o])):hl(i,s)}),t.flatJson)for(const o in s)_g(s,o)&&Tc(s[o]);return s}const ra=e=>!hn(e)||on(e);function hl(e,t){if(ra(e)||ra(t))throw Hn(20);for(const n in e)_g(e,n)&&(ra(e[n])||ra(t[n])?t[n]=e[n]:hl(e[n],t[n]))}const zx=()=>{const e=or();return e&&e.type[Iu]?{[Iu]:e.type[Iu]}:null};function Sg(e={}){const{__root:t}=e,n=t===void 0;let r=Zt(e.inheritLocale)?e.inheritLocale:!0;const s=wn(t&&r?t.locale.value:Ge(e.locale)?e.locale:"en-US"),o=wn(t&&r?t.fallbackLocale.value:Ge(e.fallbackLocale)||on(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),i=wn(kg(s.value,e)),a=wn(mt(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),l=wn(mt(e.numberFormats)?e.numberFormats:{[s.value]:{}});let u=t?t.missingWarn:Zt(e.missingWarn)||ml(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:Zt(e.fallbackWarn)||ml(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:Zt(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.fallbackFormat,p=fn(e.missing)?e.missing:null,h=fn(e.missing)?rp(e.missing):null,_=fn(e.postTranslation)?e.postTranslation:null,g=Zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const w=t?t.modifiers:mt(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,x;function $(){return ux({version:Sx,locale:s.value,fallbackLocale:o.value,messages:i.value,datetimeFormats:a.value,numberFormats:l.value,modifiers:w,pluralRules:S,missing:h===null?void 0:h,missingWarn:u,fallbackWarn:d,fallbackFormat:f,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:b,__datetimeFormatters:mt(x)?x.__datetimeFormatters:void 0,__numberFormatters:mt(x)?x.__numberFormatters:void 0,__v_emitter:mt(x)?x.__v_emitter:void 0,__meta:{framework:"vue"}})}x=$(),Po(x,s.value,o.value);function A(){return[s.value,o.value,i.value,a.value,l.value]}const I=At({get:()=>s.value,set:j=>{s.value=j,x.locale=s.value}}),V=At({get:()=>o.value,set:j=>{o.value=j,x.fallbackLocale=o.value,Po(x,s.value,j)}}),O=At(()=>i.value),N=At(()=>a.value),G=At(()=>l.value);function F(){return fn(_)?_:null}function B(j){_=j,x.postTranslation=j}function Y(){return p}function de(j){j!==null&&(h=rp(j)),p=j,x.missing=h}function te(j,U,ze,xe,De,Le){A();let qe;if(__INTLIFY_PROD_DEVTOOLS__)try{Gm(zx()),qe=j(x)}finally{Gm(null)}else qe=j(x);if(en(qe)&&qe===Zl){const[nt,k]=U();return t&&m?xe(t):De(nt)}else{if(Le(qe))return qe;throw Hn(14)}}function le(...j){return te(U=>Jm(U,...j),()=>Pc(...j),"translate",U=>U.t(...j),U=>U,U=>Ge(U))}function ge(...j){const[U,ze,xe]=j;if(xe&&!hn(xe))throw Hn(15);return le(U,ze,pn({resolvedMessage:!0},xe||{}))}function Re(...j){return te(U=>Xm(U,...j),()=>Dc(...j),"datetime format",U=>U.d(...j),()=>Wm,U=>Ge(U))}function Be(...j){return te(U=>ep(U,...j),()=>Fc(...j),"number format",U=>U.n(...j),()=>Wm,U=>Ge(U))}function he(j){return j.map(U=>Ge(U)?C(Qr,null,U,0):U)}const fe={normalize:he,interpolate:j=>j,type:"vnode"};function we(...j){return te(U=>{let ze;const xe=U;try{xe.processor=fe,ze=Jm(xe,...j)}finally{xe.processor=null}return ze},()=>Pc(...j),"translate",U=>U[Mc](...j),U=>[C(Qr,null,U,0)],U=>on(U))}function H(...j){return te(U=>ep(U,...j),()=>Fc(...j),"number format",U=>U[Lc](...j),()=>[],U=>Ge(U)||on(U))}function oe(...j){return te(U=>Xm(U,...j),()=>Dc(...j),"datetime format",U=>U[Rc](...j),()=>[],U=>Ge(U)||on(U))}function se(j){S=j,x.pluralRules=S}function be(j,U){const ze=Ge(U)?U:s.value,xe=$e(ze);return pl(xe,j)!==null}function Ve(j){let U=null;const ze=Fi(x,o.value,s.value);for(let xe=0;xe{r&&(s.value=j,x.locale=j,Po(x,s.value,o.value))}),Mt(t.fallbackLocale,j=>{r&&(o.value=j,x.fallbackLocale=j,Po(x,s.value,o.value))})),{id:np,locale:I,fallbackLocale:V,get inheritLocale(){return r},set inheritLocale(j){r=j,j&&t&&(s.value=t.locale.value,o.value=t.fallbackLocale.value,Po(x,s.value,o.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:O,datetimeFormats:N,numberFormats:G,get modifiers(){return w},get pluralRules(){return S||{}},get isGlobal(){return n},get missingWarn(){return u},set missingWarn(j){u=j,x.missingWarn=u},get fallbackWarn(){return d},set fallbackWarn(j){d=j,x.fallbackWarn=d},get fallbackRoot(){return m},set fallbackRoot(j){m=j},get fallbackFormat(){return f},set fallbackFormat(j){f=j,x.fallbackFormat=f},get warnHtmlMessage(){return g},set warnHtmlMessage(j){g=j,x.warnHtmlMessage=j},get escapeParameter(){return b},set escapeParameter(j){b=j,x.escapeParameter=j},t:le,rt:ge,d:Re,n:Be,te:be,tm:Ie,getLocaleMessage:$e,setLocaleMessage:Ae,mergeLocaleMessage:z,getDateTimeFormat:R,setDateTimeFormat:Z,mergeDateTimeFormat:ae,getNumberFormat:ue,setNumberFormat:ye,mergeNumberFormat:Ce,getPostTranslationHandler:F,setPostTranslationHandler:B,getMissingHandler:Y,setMissingHandler:de,[Mc]:we,[Lc]:H,[Rc]:oe,[$x]:se,[xg]:e.__injectWithOption}}const Kd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},sp={name:"i18n-t",props:pn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>en(e)||!isNaN(e)}},Kd),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Yd({useScope:e.scope,__useComponent:!0}),o=Object.keys(n).filter(i=>i!=="_");return()=>{const i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ge(e.plural)?+e.plural:e.plural);const a=Ax(t,o),l=s[Mc](e.keypath,a,i),u=pn({},r);return Ge(e.tag)||hn(e.tag)?Cn(e.tag,u,l):Cn(We,u,l)}}};function Ax({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Eg(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Ge(e.format)?i.key=e.format:hn(e.format)&&(Ge(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((m,f)=>n.includes(f)?pn({},m,{[f]:e.format[f]}):m,{}));const l=r(e.value,i,a);let u=[i.key];on(l)?u=l.map((m,f)=>{const p=s[m.type];return p?p({[m.type]:m.value,index:f,parts:l}):[m.value]}):Ge(l)&&(u=[l]);const d=pn({},o);return Ge(e.tag)||hn(e.tag)?Cn(e.tag,d,u):Cn(We,d,u)}}const Ox=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],op={name:"i18n-n",props:pn({value:{type:Number,required:!0},format:{type:[String,Object]}},Kd),setup(e,t){const n=e.i18n||Yd({useScope:"parent",__useComponent:!0});return Eg(e,t,Ox,(...r)=>n[Lc](...r))}},Tx=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],ip={name:"i18n-d",props:pn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Kd),setup(e,t){const n=e.i18n||Yd({useScope:"parent",__useComponent:!0});return Eg(e,t,Tx,(...r)=>n[Rc](...r))}};function Px(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Dx(e){const t=(n,{instance:r,value:s,modifiers:o})=>{if(!r||!r.$)throw Hn(22);const i=Px(e,r.$),a=Fx(s);n.textContent=i.t(...Ix(a))};return{beforeMount:t,beforeUpdate:t}}function Fx(e){if(Ge(e))return{path:e};if(mt(e)){if(!("path"in e))throw Hn(19,"path");return e}else throw Hn(20)}function Ix(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return Ge(n)&&(i.locale=n),en(s)&&(i.plural=s),en(o)&&(i.plural=o),[t,a,i]}function Mx(e,t,...n){const r=mt(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Zt(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":sp.name,sp),e.component(op.name,op),e.component(ip.name,ip)),e.directive("t",Dx(t))}function Rx(e={}){const t=!!e.globalInjection,n=new Map,r=Sg(e),s=Or(""),o={get mode(){return"composition"},async install(i,...a){i.__VUE_I18N_SYMBOL__=s,i.provide(i.__VUE_I18N_SYMBOL__,o),t&&Bx(i,o.global),Mx(i,o,...a)},get global(){return r},__instances:n,__getInstance(i){return n.get(i)||null},__setInstance(i,a){n.set(i,a)},__deleteInstance(i){n.delete(i)}};return o}function Yd(e={}){const t=or();if(t==null)throw Hn(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw Hn(17);const n=rr(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Hn(22);const r=n.mode==="composition"?n.global:n.global.__composer,s=Yl(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(s==="global"){let a=hn(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=kg(r.locale.value,{messages:a,__i18n:t.type.__i18nGlobal}));const l=Object.keys(a);if(l.length&&l.forEach(u=>{r.mergeLocaleMessage(u,a[u])}),hn(e.datetimeFormats)){const u=Object.keys(e.datetimeFormats);u.length&&u.forEach(d=>{r.mergeDateTimeFormat(d,e.datetimeFormats[d])})}if(hn(e.numberFormats)){const u=Object.keys(e.numberFormats);u.length&&u.forEach(d=>{r.mergeNumberFormat(d,e.numberFormats[d])})}return r}if(s==="parent"){let a=Lx(n,t,e.__useComponent);return a==null&&(a=r),a}if(n.mode==="legacy")throw Hn(18);const o=n;let i=o.__getInstance(t);if(i==null){const a=t.type,l=pn({},e);a.__i18n&&(l.__i18n=a.__i18n),r&&(l.__root=r),i=Sg(l),Nx(o,t),o.__setInstance(t,i)}return i}function Lx(e,t,n=!1){let r=null;const s=t.root;let o=t.parent;for(;o!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(o);else{const a=i.__getInstance(o);a!=null&&(r=a.__composer),n&&r&&!r[xg]&&(r=null)}if(r!=null||s===o)break;o=o.parent}return r}function Nx(e,t,n){Ts(()=>{},t),Co(()=>{e.__deleteInstance(t)},t)}const Vx=["locale","fallbackLocale","availableLocales"],jx=["t","rt","d","n","tm"];function Bx(e,t){const n=Object.create(null);Vx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw Hn(22);const o=jt(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,jx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Hn(22);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}Ex();if(__INTLIFY_PROD_DEVTOOLS__){const e=qd();e.__INTLIFY__=!0,tx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var Hx={en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing\u2026"])},title:e=>{const{normalize:t}=e;return t(["Add Podcast RSS feed URL"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading\u2026"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add Stream URL"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t}=e;return t(["Track Count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving\u2026"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named: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"])},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"))," 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(["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"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress\u2026"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Library update"])}}},language:{en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Fran\xE7ais)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["(This will also remove the RSS playlist ",n(r("name")),")."])},notification:e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])}},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-name":e=>{const{normalize:t}=e;return t([" (stream.mp3)"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t}=e;return t(['Web interface built with Bulma, Material Design Icons, Vue.js, axios and more.'])},"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"])},"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(["OwnTone - version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},"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"])},"sort-by":e=>{const{normalize:t}=e;return t(["Sort by"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},filter:{title:e=>{const{normalize:t}=e;return t(["Filter"])},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}=e;return t([n(r("count"))," albums ","|"," "])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," artists"])},filter:{title:e=>{const{normalize:t}=e;return t(["Filter"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Rencently 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"])},"sort-by":e=>{const{normalize:t}=e;return t(["Sort by"])},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}=e;return t([n(r("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," audiobooks"])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"albums-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," authors"])},title:e=>{const{normalize:t}=e;return t(["Authors"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["albums"])},title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums ","|"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},tracks:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("count"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," albums ","|"," "])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},tracks:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums ","|"," "])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ",n(r("count"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," playlists"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},"remove-error":e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])},"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 "])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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"])},queue:e=>{const{normalize:t}=e;return t(["Queue"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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"])},help:e=>{const{normalize:t}=e;return t(['Tip: you can search by a smart playlist query language expression if you prefix it with query:.'])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["No audiobooks found"])},"no-composers":e=>{const{normalize:t}=e;return t(["No composers found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["No podcasts found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},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}=e;return t(["Show all ",n(r("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," audiobooks"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," composers"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-request":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Remote pairing request from ",n(r("remote")),""])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Enter verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Audio Files"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Last.fm - Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},help:e=>{const{normalize:t}=e;return t(["If you normally log into Spotify with your Facebook account you must first go to Spotify's web site where you can get the Spotify username and password that matches your account."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},credentials:e=>{const{normalize:t}=e;return t([" - Login with your Spotify username and password"])},"grant-access":e=>{const{normalize:t}=e;return t(["Spotify Web API - Grant access to the Spotify Web API"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify enables OwnTone to play Spotify tracks."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone will not store your password, but will still be able to log you in automatically afterwards, because libspotify saves a login token."])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])}},tabs:{music:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},browse:e=>{const{normalize:t}=e;return t(["Browse"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},search:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},settings:{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}=e;return t([n(r("count"))," tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},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}=e;return t([n(r("count"))," tracks appended to the queue"])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}}},fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])}}},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(["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 RSS feed URL"])}},stream:{Ajouter:e=>{const{normalize:t}=e;return t(["Ajouter"])},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"])},"stream.play":e=>{const{normalize:t}=e;return t(["Play"])},"stream.title":e=>{const{normalize:t}=e;return t(["Add Stream URL"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"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(["Ajouter"])},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(["Ajouter"])},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(["Ajouter"])},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(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"save.cancel":e=>{const{normalize:t}=e;return t(["Cancel"])},"save.save":e=>{const{normalize:t}=e;return t(["Save"])},"save.saving":e=>{const{normalize:t}=e;return t(["Saving..."])},"save.title":e=>{const{normalize:t}=e;return t(["Save queue to playlist"])},"track-count":e=>{const{normalize:t}=e;return t(["Track Count"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},queue:{"item.album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},"item.album":e=>{const{normalize:t}=e;return t(["Album"])},"item.bitrate":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},"item.channels":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},"item.composer":e=>{const{normalize:t}=e;return t(["Composer"])},"item.duration":e=>{const{normalize:t}=e;return t(["Duration"])},"item.genre":e=>{const{normalize:t}=e;return t(["Genre"])},"item.path":e=>{const{normalize:t}=e;return t(["Path"])},"item.play":e=>{const{normalize:t}=e;return t(["Play"])},"item.position":e=>{const{normalize:t}=e;return t(["Disc / Track"])},"item.quality":e=>{const{normalize:t}=e;return t(["Quality"])},"item.remove":e=>{const{normalize:t}=e;return t(["Remove"])},"item.samplerate":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"item.spotify.album":e=>{const{normalize:t}=e;return t(["album"])},"item.spotify.artist":e=>{const{normalize:t}=e;return t(["artist"])},"item.type":e=>{const{normalize:t}=e;return t(["Type"])},"item.year":e=>{const{normalize:t}=e;return t(["Year"])}},remote:{"pairing.cancel":e=>{const{normalize:t}=e;return t(["Cancel"])},"pairing.pair-remote":e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing.title":e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{"album.add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},"album.add":e=>{const{normalize:t}=e;return t(["Ajouter"])},"album.album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},"album.play":e=>{const{normalize:t}=e;return t(["Play"])},"album.release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},"album.type":e=>{const{normalize:t}=e;return t(["Type"])},"artist.add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},"artist.add":e=>{const{normalize:t}=e;return t(["Ajouter"])},"artist.genres":e=>{const{normalize:t}=e;return t(["Genres"])},"artist.play":e=>{const{normalize:t}=e;return t(["Play"])},"artist.popularity":e=>{const{normalize:t}=e;return t(["Popularity / Followers"])},"playlist.add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},"playlist.add":e=>{const{normalize:t}=e;return t(["Ajouter"])},"playlist.owner":e=>{const{normalize:t}=e;return t(["Owner"])},"playlist.path":e=>{const{normalize:t}=e;return t(["Path"])},"playlist.play":e=>{const{normalize:t}=e;return t(["Play"])},"playlist.tracks":e=>{const{normalize:t}=e;return t(["Tracks"])},"track.add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},"track.add":e=>{const{normalize:t}=e;return t(["Ajouter"])},"track.album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},"track.album":e=>{const{normalize:t}=e;return t(["Album"])},"track.duration":e=>{const{normalize:t}=e;return t(["Duration"])},"track.path":e=>{const{normalize:t}=e;return t(["Path"])},"track.play":e=>{const{normalize:t}=e;return t(["Play"])},"track.position":e=>{const{normalize:t}=e;return t(["Disc / Track"])},"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(["Ajouter"])},"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"))," 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(["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"])},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"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Library update"])}}},language:{en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Fran\xE7ais)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["(This will also remove the RSS playlist ",n(r("name")),")."])},notification:e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])}},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"])},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-name":e=>{const{normalize:t}=e;return t([" (stream.mp3)"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t}=e;return t(['Web interface built with Bulma, Material Design Icons, Vue.js, axios and more.'])},"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"])},"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(["OwnTone - version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},"filter.name":e=>{const{normalize:t}=e;return t(["Name"])},"filter.recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"filter.recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])},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"])},"sort-by":e=>{const{normalize:t}=e;return t(["Sort by"])},title:e=>{const{normalize:t}=e;return t(["Albums"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums ","|"," "])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"sort-by":e=>{const{normalize:t}=e;return t(["Sort by"])},"sort-by.name":e=>{const{normalize:t}=e;return t(["Name"])},"sort-by.release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"tracks.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("albums"))," albums ","|"," ",n(r("tracks"))," tracks"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," artists"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"filter.name":e=>{const{normalize:t}=e;return t(["Name"])},"filter.recently-added":e=>{const{normalize:t}=e;return t(["Rencently 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"])},"sort-by":e=>{const{normalize:t}=e;return t(["Sort by"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{"album.play":e=>{const{normalize:t}=e;return t(["Play"])},"album.tracks.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},"albums.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," audiobooks"])},"albums.title":e=>{const{normalize:t}=e;return t(["Audiobooks"])},"artist.albums.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},"artist.shuffle":e=>{const{normalize:t}=e;return t(["Shuffle"])},"artists.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," authors"])},"artists.title":e=>{const{normalize:t}=e;return t(["Authors"])}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-played":e=>{const{normalize:t}=e;return t(["Recently played"])},"recently.added.albums":e=>{const{normalize:t}=e;return t(["albums"])},"recently.added.title":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently.played.title":e=>{const{normalize:t}=e;return t(["Recently played"])},"recently.played.tracks":e=>{const{normalize:t}=e;return t(["tracks"])},"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums ","|"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},"tracks.albums.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},"tracks.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("count"))," tracks"])},"tracks.shuffle":e=>{const{normalize:t}=e;return t(["Shuffle"])}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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:{"albums.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums ","|"," "])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"tracks.albums.count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums ","|"," "])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ",n(r("count"))," tracks"])}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," playlists"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},"remove.error":e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])},"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 "])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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"])},queue:e=>{const{normalize:t}=e;return t(["Queue"])}},radio:{"station-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," stations"])},"streams.radio":e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},help:e=>{const{normalize:t}=e;return t(['Tip: you can search by a smart playlist query language expression if you prefix it with query:.'])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["No audiobooks found"])},"no-composers":e=>{const{normalize:t}=e;return t(["No composers found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["No podcasts found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},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}=e;return t(["Show all ",n(r("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," audiobooks"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," composers"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-request":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Remote pairing request from ",n(r("remote")),""])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Enter verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Audio Files"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Last.fm - Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},help:e=>{const{normalize:t}=e;return t(["If you normally log into Spotify with your Facebook account you must first go to Spotify's web site where you can get the Spotify username and password that matches your account."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},credentials:e=>{const{normalize:t}=e;return t([" - Login with your Spotify username and password"])},"grant-access":e=>{const{normalize:t}=e;return t(["Spotify Web API - Grant access to the Spotify Web API"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify enables OwnTone to play Spotify tracks."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone will not store your password, but will still be able to log you in automatically afterwards, because libspotify saves a login token."])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])}},tabs:{music:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},browse:e=>{const{normalize:t}=e;return t(["Browse"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},search:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},settings:{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}=e;return t([n(r("count"))," tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},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}=e;return t([n(r("count"))," tracks appended to the queue"])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}}}},Ux=Rx({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en",messages:Hx});/*! * vuex v4.0.2 * (c) 2021 Evan You * @license MIT - */var Ow="store";function lo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Tw(e){return e!==null&&typeof e=="object"}function Pw(e){return e&&typeof e.then=="function"}function Dw(e,t){return function(){return e(t)}}function g_(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var s=t.indexOf(e);s>-1&&t.splice(s,1)}}function v_(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;Al(e,n,[],e._modules.root,!0),hd(e,n,t)}function hd(e,t,n){var s=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,o={};lo(r,function(i,a){o[a]=Dw(i,e),Object.defineProperty(e.getters,a,{get:function(){return o[a]()},enumerable:!0})}),e._state=_r({data:t}),e.strict&&Lw(e),s&&n&&e._withCommit(function(){s.data=null})}function Al(e,t,n,s,r){var o=!n.length,i=e._modules.getNamespace(n);if(s.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=s),!o&&!r){var a=md(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=s.state})}var c=s.context=Fw(e,i,n);s.forEachMutation(function(d,h){var f=i+h;Iw(e,f,d,c)}),s.forEachAction(function(d,h){var f=d.root?h:i+h,m=d.handler||d;Mw(e,f,m,c)}),s.forEachGetter(function(d,h){var f=i+h;Rw(e,f,d,c)}),s.forEachChild(function(d,h){Al(e,t,n.concat(h),d,r)})}function Fw(e,t,n){var s=t==="",r={dispatch:s?e.dispatch:function(o,i,a){var l=Za(o,i,a),c=l.payload,d=l.options,h=l.type;return(!d||!d.root)&&(h=t+h),e.dispatch(h,c)},commit:s?e.commit:function(o,i,a){var l=Za(o,i,a),c=l.payload,d=l.options,h=l.type;(!d||!d.root)&&(h=t+h),e.commit(h,c,d)}};return Object.defineProperties(r,{getters:{get:s?function(){return e.getters}:function(){return y_(e,t)}},state:{get:function(){return md(e.state,n)}}}),r}function y_(e,t){if(!e._makeLocalGettersCache[t]){var n={},s=t.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,s)===t){var o=r.slice(s);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Iw(e,t,n,s){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(i){n.call(e,s.state,i)})}function Mw(e,t,n,s){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(i){var a=n.call(e,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:e.getters,rootState:e.state},i);return Pw(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Rw(e,t,n,s){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(s.state,s.getters,o.state,o.getters)})}function Lw(e){jt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function md(e,t){return t.reduce(function(n,s){return n[s]},e)}function Za(e,t,n){return Tw(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Nw="vuex bindings",ih="vuex:mutations",du="vuex:actions",Er="vuex",Vw=0;function jw(e,t){Aw({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:[Nw]},function(n){n.addTimelineLayer({id:ih,label:"Vuex Mutations",color:ah}),n.addTimelineLayer({id:du,label:"Vuex Actions",color:ah}),n.addInspector({id:Er,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===e&&s.inspectorId===Er)if(s.filter){var r=[];S_(r,t._modules.root,s.filter,""),s.rootNodes=r}else s.rootNodes=[k_(t._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===e&&s.inspectorId===Er){var r=s.nodeId;y_(t,r),s.state=Hw(qw(t._modules,r),r==="root"?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(s){if(s.app===e&&s.inspectorId===Er){var r=s.nodeId,o=s.path;r!=="root"&&(o=r.split("/").filter(Boolean).concat(o)),t._withCommit(function(){s.set(t._state.data,o,s.state.value)})}}),t.subscribe(function(s,r){var o={};s.payload&&(o.payload=s.payload),o.state=r,n.notifyComponentUpdate(),n.sendInspectorTree(Er),n.sendInspectorState(Er),n.addTimelineEvent({layerId:ih,event:{time:Date.now(),title:s.type,data:o}})}),t.subscribeAction({before:function(s,r){var o={};s.payload&&(o.payload=s.payload),s._id=Vw++,s._time=Date.now(),o.state=r,n.addTimelineEvent({layerId:du,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:o}})},after:function(s,r){var o={},i=Date.now()-s._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(o.payload=s.payload),o.state=r,n.addTimelineEvent({layerId:du,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:o}})}})})}var ah=8702998,Bw=6710886,Uw=16777215,b_={label:"namespaced",textColor:Uw,backgroundColor:Bw};function w_(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function k_(e,t){return{id:t||"root",label:w_(t),tags:e.namespaced?[b_]:[],children:Object.keys(e._children).map(function(n){return k_(e._children[n],t+n+"/")})}}function S_(e,t,n,s){s.includes(n)&&e.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:t.namespaced?[b_]:[]}),Object.keys(t._children).forEach(function(r){S_(e,t._children[r],n,s+r+"/")})}function Hw(e,t,n){t=n==="root"?t:t[n];var s=Object.keys(t),r={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(s.length){var o=zw(t);r.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?w_(i):i,editable:!1,value:ac(function(){return o[i]})}})}return r}function zw(e){var t={};return Object.keys(e).forEach(function(n){var s=n.split("/");if(s.length>1){var r=t,o=s.pop();s.forEach(function(i){r[i]||(r[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),r=r[i]._custom.value}),r[o]=ac(function(){return e[n]})}else t[n]=ac(function(){return e[n]})}),t}function qw(e,t){var n=t.split("/").filter(function(s){return s});return n.reduce(function(s,r,o){var i=s[r];if(!i)throw new Error('Missing module "'+r+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function ac(e){try{return e()}catch(t){return t}}var Wn=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=(typeof s=="function"?s():s)||{}},x_={namespaced:{configurable:!0}};x_.namespaced.get=function(){return!!this._rawModule.namespaced};Wn.prototype.addChild=function(t,n){this._children[t]=n};Wn.prototype.removeChild=function(t){delete this._children[t]};Wn.prototype.getChild=function(t){return this._children[t]};Wn.prototype.hasChild=function(t){return t in this._children};Wn.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)};Wn.prototype.forEachChild=function(t){lo(this._children,t)};Wn.prototype.forEachGetter=function(t){this._rawModule.getters&&lo(this._rawModule.getters,t)};Wn.prototype.forEachAction=function(t){this._rawModule.actions&&lo(this._rawModule.actions,t)};Wn.prototype.forEachMutation=function(t){this._rawModule.mutations&&lo(this._rawModule.mutations,t)};Object.defineProperties(Wn.prototype,x_);var vr=function(t){this.register([],t,!1)};vr.prototype.get=function(t){return t.reduce(function(n,s){return n.getChild(s)},this.root)};vr.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(s,r){return n=n.getChild(r),s+(n.namespaced?r+"/":"")},"")};vr.prototype.update=function(t){E_([],this.root,t)};vr.prototype.register=function(t,n,s){var r=this;s===void 0&&(s=!0);var o=new Wn(n,s);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&lo(n.modules,function(a,l){r.register(t.concat(l),a,s)})};vr.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1],r=n.getChild(s);!r||!r.runtime||n.removeChild(s)};vr.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1];return n?n.hasChild(s):!1};function E_(e,t,n){if(t.update(n),n.modules)for(var s in n.modules){if(!t.getChild(s))return;E_(e.concat(s),t.getChild(s),n.modules[s])}}function Gw(e){return new mn(e)}var mn=function(t){var n=this;t===void 0&&(t={});var s=t.plugins;s===void 0&&(s=[]);var r=t.strict;r===void 0&&(r=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new vr(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=o;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(f,m){return l.call(i,f,m)},this.commit=function(f,m,p){return c.call(i,f,m,p)},this.strict=r;var d=this._modules.root.state;Al(this,d,[],this._modules.root),hd(this,d),s.forEach(function(h){return h(n)})},pd={state:{configurable:!0}};mn.prototype.install=function(t,n){t.provide(n||Ow,this),t.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&jw(t,this)};pd.state.get=function(){return this._state.data};pd.state.set=function(e){};mn.prototype.commit=function(t,n,s){var r=this,o=Za(t,n,s),i=o.type,a=o.payload,l={type:i,payload:a},c=this._mutations[i];!c||(this._withCommit(function(){c.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(d){return d(l,r.state)}))};mn.prototype.dispatch=function(t,n){var s=this,r=Za(t,n),o=r.type,i=r.payload,a={type:o,payload:i},l=this._actions[o];if(!!l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,h){c.then(function(f){try{s._actionSubscribers.filter(function(m){return m.after}).forEach(function(m){return m.after(a,s.state)})}catch{}d(f)},function(f){try{s._actionSubscribers.filter(function(m){return m.error}).forEach(function(m){return m.error(a,s.state,f)})}catch{}h(f)})})}};mn.prototype.subscribe=function(t,n){return g_(t,this._subscribers,n)};mn.prototype.subscribeAction=function(t,n){var s=typeof t=="function"?{before:t}:t;return g_(s,this._actionSubscribers,n)};mn.prototype.watch=function(t,n,s){var r=this;return jt(function(){return t(r.state,r.getters)},n,Object.assign({},s))};mn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};mn.prototype.registerModule=function(t,n,s){s===void 0&&(s={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Al(this,this.state,t,this._modules.get(t),s.preserveState),hd(this,this.state)};mn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var s=md(n.state,t.slice(0,-1));delete s[t[t.length-1]]}),v_(this)};mn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};mn.prototype.hotUpdate=function(t){this._modules.update(t),v_(this,!0)};mn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(mn.prototype,pd);const C_="UPDATE_CONFIG",$_="UPDATE_SETTINGS",Ol="UPDATE_SETTINGS_OPTION",A_="UPDATE_LIBRARY_STATS",O_="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",T_="UPDATE_LIBRARY_PODCASTS_COUNT",P_="UPDATE_LIBRARY_RSS_COUNT",D_="UPDATE_OUTPUTS",_d="UPDATE_PLAYER_STATUS",F_="UPDATE_QUEUE",I_="UPDATE_LASTFM",M_="UPDATE_SPOTIFY",R_="UPDATE_PAIRING",gd="SPOTIFY_NEW_RELEASES",vd="SPOTIFY_FEATURED_PLAYLISTS",lh="ADD_NOTIFICATION",lc="DELETE_NOTIFICATION",uc="SEARCH_PATH",yd="ADD_RECENT_SEARCH",Tl="HIDE_SINGLES",bd="HIDE_SPOTIFY",L_="ARTISTS_SORT",N_="ARTIST_ALBUMS_SORT",V_="ALBUMS_SORT",j_="SHOW_ONLY_NEXT_ITEMS",eo="SHOW_BURGER_MENU",to="SHOW_PLAYER_MENU",yi="SHOW_UPDATE_DIALOG",wd="UPDATE_DIALOG_SCAN_KIND";var at=Gw({state(){return{config:{websocket_port:0,version:"",buildoptions:[]},settings:{categories:[]},library:{artists:0,albums:0,songs:0,db_playtime:0,updating:!1},audiobooks_count:{},podcasts_count:{},rss_count:{},outputs:[],player:{state:"stop",repeat:"off",consume:!1,shuffle:!1,volume:0,item_id:0,item_length_ms:0,item_progress_ms:0},queue:{version:0,count:0,items:[]},lastfm:{},spotify:{},pairing:{},spotify_new_releases:[],spotify_featured_playlists:[],notifications:{next_id:1,list:[]},search_path:"/search/library",recent_searches:[],hide_singles:!1,hide_spotify:!1,artists_sort:"Name",artist_albums_sort:"Name",albums_sort:"Name",show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,update_dialog_scan_kind:""}},getters:{now_playing:e=>{const t=e.queue.items.find(function(n){return n.id===e.player.item_id});return t===void 0?{}:t},settings_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null,settings_option_recently_added_limit:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(s=>s.name==="recently_added_limit");if(n)return n.value}return 100},settings_option_show_composer_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(s=>s.name==="show_composer_now_playing");if(n)return n.value}return!1},settings_option_show_composer_for_genre:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(s=>s.name==="show_composer_for_genre");if(n)return n.value}return null},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),settings_option:e=>(t,n)=>{const s=e.settings.categories.find(r=>r.name===t);return s?s.options.find(r=>r.name===n):{}}},mutations:{[C_](e,t){e.config=t},[$_](e,t){e.settings=t},[Ol](e,t){const s=e.settings.categories.find(r=>r.name===t.category).options.find(r=>r.name===t.name);s.value=t.value},[A_](e,t){e.library=t},[O_](e,t){e.audiobooks_count=t},[T_](e,t){e.podcasts_count=t},[P_](e,t){e.rss_count=t},[D_](e,t){e.outputs=t},[_d](e,t){e.player=t},[F_](e,t){e.queue=t},[I_](e,t){e.lastfm=t},[M_](e,t){e.spotify=t},[R_](e,t){e.pairing=t},[gd](e,t){e.spotify_new_releases=t},[vd](e,t){e.spotify_featured_playlists=t},[lh](e,t){if(t.topic){const n=e.notifications.list.findIndex(s=>s.topic===t.topic);if(n>=0){e.notifications.list.splice(n,1,t);return}}e.notifications.list.push(t)},[lc](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[uc](e,t){e.search_path=t},[yd](e,t){const n=e.recent_searches.findIndex(s=>s===t);n>=0&&e.recent_searches.splice(n,1),e.recent_searches.splice(0,0,t),e.recent_searches.length>5&&e.recent_searches.pop()},[Tl](e,t){e.hide_singles=t},[bd](e,t){e.hide_spotify=t},[L_](e,t){e.artists_sort=t},[N_](e,t){e.artist_albums_sort=t},[V_](e,t){e.albums_sort=t},[j_](e,t){e.show_only_next_items=t},[eo](e,t){e.show_burger_menu=t},[to](e,t){e.show_player_menu=t},[yi](e,t){e.show_update_dialog=t},[wd](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const s={id:t.notifications.next_id++,type:n.type,text:n.text,topic:n.topic,timeout:n.timeout};e(lh,s),n.timeout>0&&setTimeout(()=>{e(lc,s)},n.timeout)}}});/*! - * vue-router v4.0.14 + */var qx="store";function xo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Wx(e){return e!==null&&typeof e=="object"}function Gx(e){return e&&typeof e.then=="function"}function Kx(e,t){return function(){return e(t)}}function $g(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 zg(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;Jl(e,n,[],e._modules.root,!0),Zd(e,n,t)}function Zd(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,o={};xo(s,function(i,a){o[a]=Kx(i,e),Object.defineProperty(e.getters,a,{get:function(){return o[a]()},enumerable:!0})}),e._state=As({data:t}),e.strict&&Qx(e),r&&n&&e._withCommit(function(){r.data=null})}function Jl(e,t,n,r,s){var o=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!o&&!s){var a=Jd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=Yx(e,i,n);r.forEachMutation(function(d,m){var f=i+m;Zx(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;Jx(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;Xx(e,f,d,u)}),r.forEachChild(function(d,m){Jl(e,t,n.concat(m),d,s)})}function Yx(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=_l(o,i,a),u=l.payload,d=l.options,m=l.type;return(!d||!d.root)&&(m=t+m),e.dispatch(m,u)},commit:r?e.commit:function(o,i,a){var l=_l(o,i,a),u=l.payload,d=l.options,m=l.type;(!d||!d.root)&&(m=t+m),e.commit(m,u,d)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return Ag(e,t)}},state:{get:function(){return Jd(e.state,n)}}}),s}function Ag(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Zx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function Jx(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return Gx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Xx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Qx(e){Mt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Jd(e,t){return t.reduce(function(n,r){return n[r]},e)}function _l(e,t,n){return Wx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var e2="vuex bindings",ap="vuex:mutations",Mu="vuex:actions",Ns="vuex",t2=0;function n2(e,t){kx({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:[e2]},function(n){n.addTimelineLayer({id:ap,label:"Vuex Mutations",color:lp}),n.addTimelineLayer({id:Mu,label:"Vuex Actions",color:lp}),n.addInspector({id:Ns,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Ns)if(r.filter){var s=[];Dg(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[Pg(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Ns){var s=r.nodeId;Ag(t,s),r.state=o2(a2(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Ns){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._state.data,o,r.state.value)})}}),t.subscribe(function(r,s){var o={};r.payload&&(o.payload=r.payload),o.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(Ns),n.sendInspectorState(Ns),n.addTimelineEvent({layerId:ap,event:{time:Date.now(),title:r.type,data:o}})}),t.subscribeAction({before:function(r,s){var o={};r.payload&&(o.payload=r.payload),r._id=t2++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:Mu,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,s){var o={},i=Date.now()-r._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(o.payload=r.payload),o.state=s,n.addTimelineEvent({layerId:Mu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var lp=8702998,r2=6710886,s2=16777215,Og={label:"namespaced",textColor:s2,backgroundColor:r2};function Tg(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function Pg(e,t){return{id:t||"root",label:Tg(t),tags:e.namespaced?[Og]:[],children:Object.keys(e._children).map(function(n){return Pg(e._children[n],t+n+"/")})}}function Dg(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?[Og]:[]}),Object.keys(t._children).forEach(function(s){Dg(e,t._children[s],n,r+s+"/")})}function o2(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var o=i2(t);s.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?Tg(i):i,editable:!1,value:Nc(function(){return o[i]})}})}return s}function i2(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var s=t,o=r.pop();r.forEach(function(i){s[i]||(s[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),s=s[i]._custom.value}),s[o]=Nc(function(){return e[n]})}else t[n]=Nc(function(){return e[n]})}),t}function a2(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,o){var i=r[s];if(!i)throw new Error('Missing module "'+s+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Nc(e){try{return e()}catch(t){return t}}var ir=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)||{}},Fg={namespaced:{configurable:!0}};Fg.namespaced.get=function(){return!!this._rawModule.namespaced};ir.prototype.addChild=function(t,n){this._children[t]=n};ir.prototype.removeChild=function(t){delete this._children[t]};ir.prototype.getChild=function(t){return this._children[t]};ir.prototype.hasChild=function(t){return t in this._children};ir.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)};ir.prototype.forEachChild=function(t){xo(this._children,t)};ir.prototype.forEachGetter=function(t){this._rawModule.getters&&xo(this._rawModule.getters,t)};ir.prototype.forEachAction=function(t){this._rawModule.actions&&xo(this._rawModule.actions,t)};ir.prototype.forEachMutation=function(t){this._rawModule.mutations&&xo(this._rawModule.mutations,t)};Object.defineProperties(ir.prototype,Fg);var Ps=function(t){this.register([],t,!1)};Ps.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Ps.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};Ps.prototype.update=function(t){Ig([],this.root,t)};Ps.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new ir(n,r);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&xo(n.modules,function(a,l){s.register(t.concat(l),a,r)})};Ps.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],s=n.getChild(r);!s||!s.runtime||n.removeChild(r)};Ps.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function Ig(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Ig(e.concat(r),t.getChild(r),n.modules[r])}}function l2(e){return new kn(e)}var kn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Ps(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=o;var i=this,a=this,l=a.dispatch,u=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,h){return u.call(i,f,p,h)},this.strict=s;var d=this._modules.root.state;Jl(this,d,[],this._modules.root),Zd(this,d),r.forEach(function(m){return m(n)})},Xd={state:{configurable:!0}};kn.prototype.install=function(t,n){t.provide(n||qx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&n2(t,this)};Xd.state.get=function(){return this._state.data};Xd.state.set=function(e){};kn.prototype.commit=function(t,n,r){var s=this,o=_l(t,n,r),i=o.type,a=o.payload,l={type:i,payload:a},u=this._mutations[i];!u||(this._withCommit(function(){u.forEach(function(m){m(a)})}),this._subscribers.slice().forEach(function(d){return d(l,s.state)}))};kn.prototype.dispatch=function(t,n){var r=this,s=_l(t,n),o=s.type,i=s.payload,a={type:o,payload:i},l=this._actions[o];if(!!l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,r.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,m){u.then(function(f){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}d(f)},function(f){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,f)})}catch{}m(f)})})}};kn.prototype.subscribe=function(t,n){return $g(t,this._subscribers,n)};kn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return $g(r,this._actionSubscribers,n)};kn.prototype.watch=function(t,n,r){var s=this;return Mt(function(){return t(s.state,s.getters)},n,Object.assign({},r))};kn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};kn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Jl(this,this.state,t,this._modules.get(t),r.preserveState),Zd(this,this.state)};kn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Jd(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),zg(this)};kn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};kn.prototype.hotUpdate=function(t){this._modules.update(t),zg(this,!0)};kn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(kn.prototype,Xd);const Mg="UPDATE_CONFIG",Rg="UPDATE_SETTINGS",Xl="UPDATE_SETTINGS_OPTION",Lg="UPDATE_LIBRARY_STATS",Ng="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",Vg="UPDATE_LIBRARY_PODCASTS_COUNT",jg="UPDATE_LIBRARY_RSS_COUNT",Bg="UPDATE_OUTPUTS",Qd="UPDATE_PLAYER_STATUS",Hg="UPDATE_QUEUE",Ug="UPDATE_LASTFM",qg="UPDATE_SPOTIFY",Wg="UPDATE_PAIRING",ef="SPOTIFY_NEW_RELEASES",tf="SPOTIFY_FEATURED_PLAYLISTS",up="ADD_NOTIFICATION",Vc="DELETE_NOTIFICATION",jc="SEARCH_PATH",nf="ADD_RECENT_SEARCH",Ql="HIDE_SINGLES",rf="HIDE_SPOTIFY",Gg="ARTISTS_SORT",Kg="ARTIST_ALBUMS_SORT",Yg="ALBUMS_SORT",Zg="SHOW_ONLY_NEXT_ITEMS",ho="SHOW_BURGER_MENU",_o="SHOW_PLAYER_MENU",Ii="SHOW_UPDATE_DIALOG",sf="UPDATE_DIALOG_SCAN_KIND";var at=l2({state(){return{config:{websocket_port:0,version:"",buildoptions:[]},settings:{categories:[]},library:{artists:0,albums:0,songs:0,db_playtime:0,updating:!1},audiobooks_count:{},podcasts_count:{},rss_count:{},outputs:[],player:{state:"stop",repeat:"off",consume:!1,shuffle:!1,volume:0,item_id:0,item_length_ms:0,item_progress_ms:0},queue:{version:0,count:0,items:[]},lastfm:{},spotify:{},pairing:{},spotify_new_releases:[],spotify_featured_playlists:[],notifications:{next_id:1,list:[]},search_path:"/search/library",recent_searches:[],hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_sort:1,albums_sort:1,show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,update_dialog_scan_kind:""}},getters:{now_playing:e=>{const t=e.queue.items.find(function(n){return n.id===e.player.item_id});return t===void 0?{}:t},settings_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null,settings_option_recently_added_limit:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="recently_added_limit");if(n)return n.value}return 100},settings_option_show_composer_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_now_playing");if(n)return n.value}return!1},settings_option_show_composer_for_genre:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_for_genre");if(n)return n.value}return null},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),settings_option:e=>(t,n)=>{const r=e.settings.categories.find(s=>s.name===t);return r?r.options.find(s=>s.name===n):{}}},mutations:{[Mg](e,t){e.config=t},[Rg](e,t){e.settings=t},[Xl](e,t){const r=e.settings.categories.find(s=>s.name===t.category).options.find(s=>s.name===t.name);r.value=t.value},[Lg](e,t){e.library=t},[Ng](e,t){e.audiobooks_count=t},[Vg](e,t){e.podcasts_count=t},[jg](e,t){e.rss_count=t},[Bg](e,t){e.outputs=t},[Qd](e,t){e.player=t},[Hg](e,t){e.queue=t},[Ug](e,t){e.lastfm=t},[qg](e,t){e.spotify=t},[Wg](e,t){e.pairing=t},[ef](e,t){e.spotify_new_releases=t},[tf](e,t){e.spotify_featured_playlists=t},[up](e,t){if(t.topic){const n=e.notifications.list.findIndex(r=>r.topic===t.topic);if(n>=0){e.notifications.list.splice(n,1,t);return}}e.notifications.list.push(t)},[Vc](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[jc](e,t){e.search_path=t},[nf](e,t){const n=e.recent_searches.findIndex(r=>r===t);n>=0&&e.recent_searches.splice(n,1),e.recent_searches.splice(0,0,t),e.recent_searches.length>5&&e.recent_searches.pop()},[Ql](e,t){e.hide_singles=t},[rf](e,t){e.hide_spotify=t},[Gg](e,t){e.artists_sort=t},[Kg](e,t){e.artist_albums_sort=t},[Yg](e,t){e.albums_sort=t},[Zg](e,t){e.show_only_next_items=t},[ho](e,t){e.show_burger_menu=t},[_o](e,t){e.show_player_menu=t},[Ii](e,t){e.show_update_dialog=t},[sf](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,type:n.type,text:n.text,topic:n.topic,timeout:n.timeout};e(up,r),n.timeout>0&&setTimeout(()=>{e(Vc,r)},n.timeout)}}});/*! + * vue-router v4.0.15 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const B_=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",uo=e=>B_?Symbol(e):"_vr_"+e,Ww=uo("rvlm"),uh=uo("rvd"),kd=uo("r"),U_=uo("rl"),cc=uo("rvl"),Rr=typeof window!="undefined";function Kw(e){return e.__esModule||B_&&e[Symbol.toStringTag]==="Module"}const yt=Object.assign;function fu(e,t){const n={};for(const s in t){const r=t[s];n[s]=Array.isArray(r)?r.map(e):e(r)}return n}const Wo=()=>{},Zw=/\/$/,Yw=e=>e.replace(Zw,"");function hu(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(s=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=e2(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Jw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ch(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Xw(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&no(t.matched[s],n.matched[r])&&H_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function no(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function H_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Qw(e[n],t[n]))return!1;return!0}function Qw(e,t){return Array.isArray(e)?dh(e,t):Array.isArray(t)?dh(t,e):e===t}function dh(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function e2(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o({left:window.pageXOffset,top:window.pageYOffset});function o2(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=r2(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function fh(e,t){return(history.state?history.state.position-t:-1)+e}const dc=new Map;function i2(e,t){dc.set(e,t)}function a2(e){const t=dc.get(e);return dc.delete(e),t}let l2=()=>location.protocol+"//"+location.host;function z_(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),ch(l,"")}return ch(n,e)+s+r}function u2(e,t,n,s){let r=[],o=[],i=null;const a=({state:f})=>{const m=z_(e,location),p=n.value,_=t.value;let g=0;if(f){if(n.value=m,t.value=f,i&&i===p){i=null;return}g=_?f.position-_.position:0}else s(m);r.forEach(y=>{y(n.value,p,{delta:g,type:li.pop,direction:g?g>0?Ko.forward:Ko.back:Ko.unknown})})};function l(){i=n.value}function c(f){r.push(f);const m=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return o.push(m),m}function d(){const{history:f}=window;!f.state||f.replaceState(yt({},f.state,{scroll:Pl()}),"")}function h(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:l,listen:c,destroy:h}}function hh(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Pl():null}}function c2(e){const{history:t,location:n}=window,s={value:z_(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const h=e.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:l2()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),r.value=c}catch(m){console.error(m),n[d?"replace":"assign"](f)}}function i(l,c){const d=yt({},t.state,hh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});o(l,d,!0),s.value=l}function a(l,c){const d=yt({},r.value,t.state,{forward:l,scroll:Pl()});o(d.current,d,!0);const h=yt({},hh(s.value,l,null),{position:d.position+1},c);o(l,h,!1),s.value=l}return{location:s,state:r,push:a,replace:i}}function d2(e){e=t2(e);const t=c2(e),n=u2(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=yt({location:"",base:e,go:s,createHref:s2.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function f2(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),d2(e)}function h2(e){return typeof e=="string"||e&&typeof e=="object"}function q_(e){return typeof e=="string"||typeof e=="symbol"}const xs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},G_=uo("nf");var mh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(mh||(mh={}));function so(e,t){return yt(new Error,{type:e,[G_]:!0},t)}function Es(e,t){return e instanceof Error&&G_ in e&&(t==null||!!(e.type&t))}const ph="[^/]+?",m2={sensitive:!1,strict:!1,start:!0,end:!0},p2=/[.+*?^${}()[\]/\\]/g;function _2(e,t){const n=yt({},m2,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function v2(e,t){let n=0;const s=e.score,r=t.score;for(;n1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{i(b)}:Wo}function i(d){if(q_(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let h=0;for(;h=0&&(d.record.path!==n[h].record.path||!W_(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!_h(d)&&s.set(d.record.name,d)}function c(d,h){let f,m={},p,_;if("name"in d&&d.name){if(f=s.get(d.name),!f)throw so(1,{location:d});_=f.record.name,m=yt(x2(h.params,f.keys.filter(b=>!b.optional).map(b=>b.name)),d.params),p=f.stringify(m)}else if("path"in d)p=d.path,f=n.find(b=>b.re.test(p)),f&&(m=f.parse(p),_=f.record.name);else{if(f=h.name?s.get(h.name):n.find(b=>b.re.test(h.path)),!f)throw so(1,{location:d,currentLocation:h});_=f.record.name,m=yt({},h.params,d.params),p=f.stringify(m)}const g=[];let y=f;for(;y;)g.unshift(y.record),y=y.parent;return{name:_,path:p,params:m,matched:g,meta:$2(g)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:r}}function x2(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function E2(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:C2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function C2(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function _h(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $2(e){return e.reduce((t,n)=>yt(t,n.meta),{})}function gh(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function W_(e,t){return t.children.some(n=>n===e||W_(e,n))}const K_=/#/g,A2=/&/g,O2=/\//g,T2=/=/g,P2=/\?/g,Z_=/\+/g,D2=/%5B/g,F2=/%5D/g,Y_=/%5E/g,I2=/%60/g,J_=/%7B/g,M2=/%7C/g,X_=/%7D/g,R2=/%20/g;function Sd(e){return encodeURI(""+e).replace(M2,"|").replace(D2,"[").replace(F2,"]")}function L2(e){return Sd(e).replace(J_,"{").replace(X_,"}").replace(Y_,"^")}function fc(e){return Sd(e).replace(Z_,"%2B").replace(R2,"+").replace(K_,"%23").replace(A2,"%26").replace(I2,"`").replace(J_,"{").replace(X_,"}").replace(Y_,"^")}function N2(e){return fc(e).replace(T2,"%3D")}function V2(e){return Sd(e).replace(K_,"%23").replace(P2,"%3F")}function j2(e){return e==null?"":V2(e).replace(O2,"%2F")}function Ya(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function B2(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&fc(o)):[s&&fc(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function U2(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Array.isArray(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function vo(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Os(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(so(4,{from:n,to:t})):h instanceof Error?a(h):h2(h)?a(so(2,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),i())},c=e.call(s&&s.instances[r],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(h=>a(h))})}function mu(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(H2(a)){const c=(a.__vccOpts||a)[t];c&&r.push(Os(c,n,s,o,i))}else{let l=a();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=Kw(c)?c.default:c;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&Os(f,n,s,o,i)()}))}}return r}function H2(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yh(e){const t=Qn(kd),n=Qn(U_),s=Wt(()=>t.resolve(Hr(e.to))),r=Wt(()=>{const{matched:l}=s.value,{length:c}=l,d=l[c-1],h=n.matched;if(!d||!h.length)return-1;const f=h.findIndex(no.bind(null,d));if(f>-1)return f;const m=bh(l[c-2]);return c>1&&bh(d)===m&&h[h.length-1].path!==m?h.findIndex(no.bind(null,l[c-2])):f}),o=Wt(()=>r.value>-1&&W2(n.params,s.value.params)),i=Wt(()=>r.value>-1&&r.value===n.matched.length-1&&H_(n.params,s.value.params));function a(l={}){return G2(l)?t[Hr(e.replace)?"replace":"push"](Hr(e.to)).catch(Wo):Promise.resolve()}return{route:s,href:Wt(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}const z2=pi({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:yh,setup(e,{slots:t}){const n=_r(yh(e)),{options:s}=Qn(kd),r=Wt(()=>({[wh(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[wh(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Is("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),q2=z2;function G2(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 W2(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Array.isArray(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function bh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wh=(e,t,n)=>e!=null?e:t!=null?t:n,K2=pi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const s=Qn(cc),r=Wt(()=>e.route||s.value),o=Qn(uh,0),i=Wt(()=>r.value.matched[o]);Ho(uh,o+1),Ho(Ww,i),Ho(cc,r);const a=cs();return jt(()=>[a.value,i.value,e.name],([l,c,d],[h,f,m])=>{c&&(c.instances[d]=l,f&&f!==c&&l&&l===h&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),l&&c&&(!f||!no(c,f)||!h)&&(c.enterCallbacks[d]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=r.value,c=i.value,d=c&&c.components[e.name],h=e.name;if(!d)return kh(n.default,{Component:d,route:l});const f=c.props[e.name],m=f?f===!0?l.params:typeof f=="function"?f(l):f:null,_=Is(d,yt({},m,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(c.instances[h]=null)},ref:a}));return kh(n.default,{Component:_,route:l})||_}}});function kh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Z2=K2;function Y2(e){const t=S2(e.routes,e),n=e.parseQuery||B2,s=e.stringifyQuery||vh,r=e.history,o=vo(),i=vo(),a=vo(),l=np(xs);let c=xs;Rr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=fu.bind(null,U=>""+U),h=fu.bind(null,j2),f=fu.bind(null,Ya);function m(U,re){let ne,be;return q_(U)?(ne=t.getRecordMatcher(U),be=re):be=U,t.addRoute(be,ne)}function p(U){const re=t.getRecordMatcher(U);re&&t.removeRoute(re)}function _(){return t.getRoutes().map(U=>U.record)}function g(U){return!!t.getRecordMatcher(U)}function y(U,re){if(re=yt({},re||l.value),typeof U=="string"){const De=hu(n,U,re.path),$=t.resolve({path:De.path},re),L=r.createHref(De.fullPath);return yt(De,$,{params:f($.params),hash:Ya(De.hash),redirectedFrom:void 0,href:L})}let ne;if("path"in U)ne=yt({},U,{path:hu(n,U.path,re.path).path});else{const De=yt({},U.params);for(const $ in De)De[$]==null&&delete De[$];ne=yt({},U,{params:h(U.params)}),re.params=h(re.params)}const be=t.resolve(ne,re),Ue=U.hash||"";be.params=d(f(be.params));const Me=Jw(s,yt({},U,{hash:L2(Ue),path:be.path})),Ae=r.createHref(Me);return yt({fullPath:Me,hash:Ue,query:s===vh?U2(U.query):U.query||{}},be,{redirectedFrom:void 0,href:Ae})}function b(U){return typeof U=="string"?hu(n,U,l.value.path):yt({},U)}function S(U,re){if(c!==U)return so(8,{from:re,to:U})}function x(U){return M(U)}function C(U){return x(yt(b(U),{replace:!0}))}function A(U){const re=U.matched[U.matched.length-1];if(re&&re.redirect){const{redirect:ne}=re;let be=typeof ne=="function"?ne(U):ne;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=b(be):{path:be},be.params={}),yt({query:U.query,hash:U.hash,params:U.params},be)}}function M(U,re){const ne=c=y(U),be=l.value,Ue=U.state,Me=U.force,Ae=U.replace===!0,De=A(ne);if(De)return M(yt(b(De),{state:Ue,force:Me,replace:Ae}),re||ne);const $=ne;$.redirectedFrom=re;let L;return!Me&&Xw(s,be,ne)&&(L=so(16,{to:$,from:be}),qe(be,be,!0,!1)),(L?Promise.resolve(L):O($,be)).catch(K=>Es(K)?Es(K,2)?K:Le(K):ae(K,$,be)).then(K=>{if(K){if(Es(K,2))return M(yt(b(K.to),{state:Ue,force:Me,replace:Ae}),re||$)}else K=q($,be,!0,Ae,Ue);return V($,be,K),K})}function j(U,re){const ne=S(U,re);return ne?Promise.reject(ne):Promise.resolve()}function O(U,re){let ne;const[be,Ue,Me]=J2(U,re);ne=mu(be.reverse(),"beforeRouteLeave",U,re);for(const De of be)De.leaveGuards.forEach($=>{ne.push(Os($,U,re))});const Ae=j.bind(null,U,re);return ne.push(Ae),Cr(ne).then(()=>{ne=[];for(const De of o.list())ne.push(Os(De,U,re));return ne.push(Ae),Cr(ne)}).then(()=>{ne=mu(Ue,"beforeRouteUpdate",U,re);for(const De of Ue)De.updateGuards.forEach($=>{ne.push(Os($,U,re))});return ne.push(Ae),Cr(ne)}).then(()=>{ne=[];for(const De of U.matched)if(De.beforeEnter&&!re.matched.includes(De))if(Array.isArray(De.beforeEnter))for(const $ of De.beforeEnter)ne.push(Os($,U,re));else ne.push(Os(De.beforeEnter,U,re));return ne.push(Ae),Cr(ne)}).then(()=>(U.matched.forEach(De=>De.enterCallbacks={}),ne=mu(Me,"beforeRouteEnter",U,re),ne.push(Ae),Cr(ne))).then(()=>{ne=[];for(const De of i.list())ne.push(Os(De,U,re));return ne.push(Ae),Cr(ne)}).catch(De=>Es(De,8)?De:Promise.reject(De))}function V(U,re,ne){for(const be of a.list())be(U,re,ne)}function q(U,re,ne,be,Ue){const Me=S(U,re);if(Me)return Me;const Ae=re===xs,De=Rr?history.state:{};ne&&(be||Ae?r.replace(U.fullPath,yt({scroll:Ae&&De&&De.scroll},Ue)):r.push(U.fullPath,Ue)),l.value=U,qe(U,re,ne,Ae),Le()}let F;function B(){F=r.listen((U,re,ne)=>{const be=y(U),Ue=A(be);if(Ue){M(yt(Ue,{replace:!0}),be).catch(Wo);return}c=be;const Me=l.value;Rr&&i2(fh(Me.fullPath,ne.delta),Pl()),O(be,Me).catch(Ae=>Es(Ae,12)?Ae:Es(Ae,2)?(M(Ae.to,be).then(De=>{Es(De,20)&&!ne.delta&&ne.type===li.pop&&r.go(-1,!1)}).catch(Wo),Promise.reject()):(ne.delta&&r.go(-ne.delta,!1),ae(Ae,be,Me))).then(Ae=>{Ae=Ae||q(be,Me,!1),Ae&&(ne.delta?r.go(-ne.delta,!1):ne.type===li.pop&&Es(Ae,20)&&r.go(-1,!1)),V(be,Me,Ae)}).catch(Wo)})}let W=vo(),ue=vo(),te;function ae(U,re,ne){Le(U);const be=ue.list();return be.length?be.forEach(Ue=>Ue(U,re,ne)):console.error(U),Promise.reject(U)}function ve(){return te&&l.value!==xs?Promise.resolve():new Promise((U,re)=>{W.add([U,re])})}function Le(U){return te||(te=!U,B(),W.list().forEach(([re,ne])=>U?ne(U):re()),W.reset()),U}function qe(U,re,ne,be){const{scrollBehavior:Ue}=e;if(!Rr||!Ue)return Promise.resolve();const Me=!ne&&a2(fh(U.fullPath,0))||(be||!ne)&&history.state&&history.state.scroll||null;return gl().then(()=>Ue(U,re,Me)).then(Ae=>Ae&&o2(Ae)).catch(Ae=>ae(Ae,U,re))}const me=U=>r.go(U);let Y;const ce=new Set;return{currentRoute:l,addRoute:m,removeRoute:p,hasRoute:g,getRoutes:_,resolve:y,options:e,push:x,replace:C,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:ue.add,isReady:ve,install(U){const re=this;U.component("RouterLink",q2),U.component("RouterView",Z2),U.config.globalProperties.$router=re,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>Hr(l)}),Rr&&!Y&&l.value===xs&&(Y=!0,x(r.location).catch(Ue=>{}));const ne={};for(const Ue in xs)ne[Ue]=Wt(()=>l.value[Ue]);U.provide(kd,re),U.provide(U_,_r(ne)),U.provide(cc,l);const be=U.unmount;ce.add(U),U.unmount=function(){ce.delete(U),ce.size<1&&(c=xs,F&&F(),l.value=xs,Y=!1,te=!1),be()}}}}function Cr(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function J2(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ino(c,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>no(c,l))||r.push(l))}return[n,s,r]}var ge=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const X2={name:"ContentWithHeading",data(){return{options_visible:!1}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options_ref))},methods:{onElementObserved(e){e.forEach(({target:t,isIntersecting:n})=>{this.options_visible=n})},scroll_to_top:function(){window.scrollTo({top:0,behavior:"smooth"})},scroll_to_content:function(){this.$route.meta.has_tabs?this.$scrollTo("#top",{offset:-140}):this.$scrollTo("#top",{offset:-110})},visibilityChanged:function(e){this.options_visible=e}}},Q2={class:"section fd-content"},ek={class:"container"},tk={class:"columns is-centered"},nk={class:"column is-four-fifths"},sk={key:0},rk={ref:"options_ref",style:{height:"1px"}},ok={class:"buttons is-centered",style:{"margin-bottom":"6px","margin-top":"16px"}},ik={class:"icon is-small"},ak={class:"icon is-small"},lk={id:"top",class:"level"},uk={class:"level-left"},ck={class:"level-item has-text-centered-mobile"},dk={class:"level-right has-text-centered-mobile"},fk={style:{"margin-top":"16px"}};function hk(e,t,n,s,r,o){const i=P("mdicon");return E(),D("section",Q2,[u("div",ek,[u("div",tk,[u("div",nk,[e.$slots.options?(E(),D("section",sk,[u("div",rk,null,512),St(e.$slots,"options"),u("nav",ok,[r.options_visible?(E(),D("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...a)=>o.scroll_to_content&&o.scroll_to_content(...a))},[u("span",ak,[w(i,{name:"chevron-down",size:"16"})])])):(E(),D("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...a)=>o.scroll_to_top&&o.scroll_to_top(...a))},[u("span",ik,[w(i,{name:"chevron-up",size:"16"})])]))])])):Z("",!0),u("div",{class:We({"fd-content-with-option":e.$slots.options})},[u("nav",lk,[u("div",uk,[u("div",ck,[u("div",null,[St(e.$slots,"heading-left")])])]),u("div",dk,[St(e.$slots,"heading-right")])]),St(e.$slots,"content"),u("div",fk,[St(e.$slots,"footer")])],2)])])])])}var ht=ge(X2,[["render",hk]]),tn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Q_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function eg(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:function(){return e[n]}})}),t}var xd={exports:{}},tg=function(t,n){return function(){for(var r=new Array(arguments.length),o=0;o=0)return;s==="set-cookie"?n[s]=(n[s]?n[s]:[]).concat([r]):n[s]=n[s]?n[s]+", "+r:r}}),n},xh=pn,zk=xh.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),s;function r(o){var i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(i){var a=xh.isString(i)?r(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function $d(e){this.message=e}$d.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};$d.prototype.__CANCEL__=!0;var Fl=$d,Ui=pn,qk=Mk,Gk=Rk,Wk=og,Kk=Bk,Zk=Hk,Yk=zk,_u=lg,Jk=ag,Xk=Fl,Eh=function(t){return new Promise(function(s,r){var o=t.data,i=t.headers,a=t.responseType,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Ui.isFormData(o)&&delete i["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(h+":"+f)}var m=Kk(t.baseURL,t.url);d.open(t.method.toUpperCase(),Wk(m,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function p(){if(!!d){var g="getAllResponseHeaders"in d?Zk(d.getAllResponseHeaders()):null,y=!a||a==="text"||a==="json"?d.responseText:d.response,b={data:y,status:d.status,statusText:d.statusText,headers:g,config:t,request:d};qk(function(x){s(x),c()},function(x){r(x),c()},b),d=null}}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){!d||(r(_u("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(_u("Network Error",t,null,d)),d=null},d.ontimeout=function(){var y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",b=t.transitional||Jk;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),r(_u(y,t,b.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},Ui.isStandardBrowserEnv()){var _=(t.withCredentials||Yk(m))&&t.xsrfCookieName?Gk.read(t.xsrfCookieName):void 0;_&&(i[t.xsrfHeaderName]=_)}"setRequestHeader"in d&&Ui.forEach(i,function(y,b){typeof o=="undefined"&&b.toLowerCase()==="content-type"?delete i[b]:d.setRequestHeader(b,y)}),Ui.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),a&&a!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(g){!d||(r(!g||g&&g.type?new Xk("canceled"):g),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),o||(o=null),d.send(o)})},Yt=pn,Ch=Dk,Qk=ig,eS=ag,tS={"Content-Type":"application/x-www-form-urlencoded"};function $h(e,t){!Yt.isUndefined(e)&&Yt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function nS(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Eh),e}function sS(e,t,n){if(Yt.isString(e))try{return(t||JSON.parse)(e),Yt.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}var Il={transitional:eS,adapter:nS(),transformRequest:[function(t,n){return Ch(n,"Accept"),Ch(n,"Content-Type"),Yt.isFormData(t)||Yt.isArrayBuffer(t)||Yt.isBuffer(t)||Yt.isStream(t)||Yt.isFile(t)||Yt.isBlob(t)?t:Yt.isArrayBufferView(t)?t.buffer:Yt.isURLSearchParams(t)?($h(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Yt.isObject(t)||n&&n["Content-Type"]==="application/json"?($h(n,"application/json"),sS(t)):t}],transformResponse:[function(t){var n=this.transitional||Il.transitional,s=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,o=!s&&this.responseType==="json";if(o||r&&Yt.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(o)throw i.name==="SyntaxError"?Qk(i,this,"E_JSON_PARSE"):i}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Yt.forEach(["delete","get","head"],function(t){Il.headers[t]={}});Yt.forEach(["post","put","patch"],function(t){Il.headers[t]=Yt.merge(tS)});var Ad=Il,rS=pn,oS=Ad,iS=function(t,n,s){var r=this||oS;return rS.forEach(s,function(i){t=i.call(r,t,n)}),t},ug=function(t){return!!(t&&t.__CANCEL__)},Ah=pn,gu=iS,aS=ug,lS=Ad,uS=Fl;function vu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new uS("canceled")}var cS=function(t){vu(t),t.headers=t.headers||{},t.data=gu.call(t,t.data,t.headers,t.transformRequest),t.headers=Ah.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Ah.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||lS.adapter;return n(t).then(function(r){return vu(t),r.data=gu.call(t,r.data,r.headers,t.transformResponse),r},function(r){return aS(r)||(vu(t),r&&r.response&&(r.response.data=gu.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})},_n=pn,cg=function(t,n){n=n||{};var s={};function r(d,h){return _n.isPlainObject(d)&&_n.isPlainObject(h)?_n.merge(d,h):_n.isPlainObject(h)?_n.merge({},h):_n.isArray(h)?h.slice():h}function o(d){if(_n.isUndefined(n[d])){if(!_n.isUndefined(t[d]))return r(void 0,t[d])}else return r(t[d],n[d])}function i(d){if(!_n.isUndefined(n[d]))return r(void 0,n[d])}function a(d){if(_n.isUndefined(n[d])){if(!_n.isUndefined(t[d]))return r(void 0,t[d])}else return r(void 0,n[d])}function l(d){if(d in n)return r(t[d],n[d]);if(d in t)return r(void 0,t[d])}var c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return _n.forEach(Object.keys(t).concat(Object.keys(n)),function(h){var f=c[h]||o,m=f(h);_n.isUndefined(m)&&f!==l||(s[h]=m)}),s},dg={version:"0.26.1"},dS=dg.version,Od={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Od[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});var Oh={};Od.transitional=function(t,n,s){function r(o,i){return"[Axios v"+dS+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return function(o,i,a){if(t===!1)throw new Error(r(i," has been removed"+(n?" in "+n:"")));return n&&!Oh[i]&&(Oh[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function fS(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var s=Object.keys(e),r=s.length;r-- >0;){var o=s[r],i=t[o];if(i){var a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new TypeError("option "+o+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+o)}}var hS={assertOptions:fS,validators:Od},fg=pn,mS=og,Th=Tk,Ph=cS,Ml=cg,hg=hS,Ar=hg.validators;function bi(e){this.defaults=e,this.interceptors={request:new Th,response:new Th}}bi.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ml(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var s=n.transitional;s!==void 0&&hg.assertOptions(s,{silentJSONParsing:Ar.transitional(Ar.boolean),forcedJSONParsing:Ar.transitional(Ar.boolean),clarifyTimeoutError:Ar.transitional(Ar.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(o=o&&m.synchronous,r.unshift(m.fulfilled,m.rejected))});var i=[];this.interceptors.response.forEach(function(m){i.push(m.fulfilled,m.rejected)});var a;if(!o){var l=[Ph,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;r.length;){var d=r.shift(),h=r.shift();try{c=d(c)}catch(f){h(f);break}}try{a=Ph(c)}catch(f){return Promise.reject(f)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};bi.prototype.getUri=function(t){return t=Ml(this.defaults,t),mS(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};fg.forEach(["delete","get","head","options"],function(t){bi.prototype[t]=function(n,s){return this.request(Ml(s||{},{method:t,url:n,data:(s||{}).data}))}});fg.forEach(["post","put","patch"],function(t){bi.prototype[t]=function(n,s,r){return this.request(Ml(r||{},{method:t,url:n,data:s}))}});var pS=bi,_S=Fl;function ro(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(r){t=r});var n=this;this.promise.then(function(s){if(!!n._listeners){var r,o=n._listeners.length;for(r=0;r(at.dispatch("add_notification",{text:n.data.count+" tracks appended to queue",type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,Oe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(at.dispatch("add_notification",{text:n.data.count+" tracks appended to queue",type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,at.getters.now_playing&&at.getters.now_playing.id&&(t.position=at.getters.now_playing.position+1),Oe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(at.dispatch("add_notification",{text:n.data.count+" tracks appended to queue",type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return Oe.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(at.dispatch("add_notification",{text:'Queue saved to playlist "'+e+'"',type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return Oe.get("./api/player")},player_play_uri(e,t,n=void 0){const s={};return s.uris=e,s.shuffle=t?"true":"false",s.clear="true",s.playback="start",s.playback_from_position=n,Oe.post("./api/queue/items/add",void 0,{params:s})},player_play_expression(e,t,n=void 0){const s={};return s.expression=e,s.shuffle=t?"true":"false",s.clear="true",s.playback="start",s.playback_from_position=n,Oe.post("./api/queue/items/add",void 0,{params:s})},player_play(e={}){return Oe.put("./api/player/play",void 0,{params:e})},player_playpos(e){return Oe.put("./api/player/play?position="+e)},player_playid(e){return Oe.put("./api/player/play?item_id="+e)},player_pause(){return Oe.put("./api/player/pause")},player_stop(){return Oe.put("./api/player/stop")},player_next(){return Oe.put("./api/player/next")},player_previous(){return Oe.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return Oe.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return Oe.put("./api/player/consume?state="+t)},player_repeat(e){return Oe.put("./api/player/repeat?state="+e)},player_volume(e){return Oe.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return Oe.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return Oe.put("./api/player/seek?position_ms="+e)},player_seek(e){return Oe.put("./api/player/seek?seek_ms="+e)},outputs(){return Oe.get("./api/outputs")},output_update(e,t){return Oe.put("./api/outputs/"+e,t)},output_toggle(e){return Oe.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return Oe.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return Oe.get("./api/library/artists/"+e)},library_artist_albums(e){return Oe.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return Oe.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return Oe.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return Oe.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return Oe.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return Oe.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return Oe.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_radio_streams(){const e={type:"tracks",media_kind:"music",expression:"data_kind is url and song_length = 0"};return Oe.get("./api/search",{params:e})},library_composers(e=void 0){return Oe.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return Oe.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return Oe.get("./api/search",{params:t})}},library_podcasts_new_episodes(){const e={type:"tracks",expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC"};return Oe.get("./api/search",{params:e})},library_podcast_episodes(e){const t={type:"tracks",expression:'media_kind is podcast and songalbumid is "'+e+'" ORDER BY date_released DESC'};return Oe.get("./api/search",{params:t})},library_add(e){return Oe.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return Oe.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return Oe.get("./api/library/playlists")},library_playlist_folder(e=0){return Oe.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return Oe.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return Oe.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return Oe.get("./api/library/tracks/"+e)},library_track_playlists(e){return Oe.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return Oe.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return Oe.get("./api/library/files",{params:t})},search(e){return Oe.get("./api/search",{params:e})},spotify(){return Oe.get("./api/spotify")},spotify_login(e){return Oe.post("./api/spotify-login",e)},spotify_logout(){return Oe.get("./api/spotify-logout")},lastfm(){return Oe.get("./api/lastfm")},lastfm_login(e){return Oe.post("./api/lastfm-login",e)},lastfm_logout(e){return Oe.get("./api/lastfm-logout")},pairing(){return Oe.get("./api/pairing")},pairing_kickoff(e){return Oe.post("./api/pairing",e)},artwork_url_append_size_params(e,t=600,n=600){return e&&e.startsWith("/")?e.includes("?")?e+"&maxwidth="+t+"&maxheight="+n:e+"?maxwidth="+t+"&maxheight="+n:e}};const xS={name:"ListItemQueueItem",props:["item","position","current_position","show_only_next_items","edit_mode"],computed:{state(){return this.$store.state.player},is_next(){return this.current_position<0||this.position>=this.current_position}},methods:{play:function(){G.player_play({item_id:this.item.id})}}},ES={key:0,class:"media"},CS={key:0,class:"media-left"},$S={class:"icon has-text-grey fd-is-movable handle"},AS={class:"media-right"};function OS(e,t,n,s,r,o){const i=P("mdicon");return o.is_next||!n.show_only_next_items?(E(),D("div",ES,[n.edit_mode?(E(),D("div",CS,[u("span",$S,[w(i,{name:"drag-horizontal",size:"16"})])])):Z("",!0),u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:We(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}])},R(n.item.title),3),u("h2",{class:We(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}])},[u("b",null,R(n.item.artist),1)],2),u("h2",{class:We(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}])},R(n.item.album),3)]),u("div",AS,[St(e.$slots,"actions")])])):Z("",!0)}var TS=ge(xS,[["render",OS]]),pg={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",s=null,r=null,o=function(f,m){return f.abort=m,f},i=function(f,m){var p;if(r!==null){var _=r.defer();f(function(g){_.resolve(g)},function(g){_.reject(g)}),p=_.promise}else window.Promise&&(p=new window.Promise(f));return p?new o(p,m):null},a=function(){var f=Array.prototype.slice.call(arguments),m=f[0],p=f.slice(1);return m=m||{},p.forEach(function(_){for(var g in _)_.hasOwnProperty(g)&&(m[g]=_[g])}),m},l=function(f,m){var p="";for(var _ in m)if(m.hasOwnProperty(_)){var g=m[_];p+=encodeURIComponent(_)+"="+encodeURIComponent(g)+"&"}return p.length>0&&(p=p.substring(0,p.length-1),f=f+"?"+p),f},c=function(f,m){var p=new XMLHttpRequest,_=function(g,y){function b(A){g&&g(A),m&&m(null,A)}function S(){y&&y(p),m&&m(p,null)}var x=f.type||"GET";if(p.open(x,l(f.url,f.params)),s&&p.setRequestHeader("Authorization","Bearer "+s),p.onreadystatechange=function(){if(p.readyState===4){var A=null;try{A=p.responseText?JSON.parse(p.responseText):""}catch(M){console.error(M)}p.status>=200&&p.status<300?b(A):S()}},x==="GET")p.send(null);else{var C=null;f.postData&&(f.contentType==="image/jpeg"?(C=f.postData,p.setRequestHeader("Content-Type",f.contentType)):(C=JSON.stringify(f.postData),p.setRequestHeader("Content-Type","application/json"))),p.send(C)}};return m?(_(),null):i(_,function(){p.abort()})},d=function(f,m,p,_){var g={},y=null;typeof m=="object"?(g=m,y=p):typeof m=="function"&&(y=m);var b=f.type||"GET";return b!=="GET"&&f.postData&&!_?f.postData=a(f.postData,g):f.params=a(f.params,g),c(f,y)},h=function(){};return h.prototype={constructor:t},h.prototype.getGeneric=function(f,m){var p={url:f};return d(p,m)},h.prototype.getMe=function(f,m){var p={url:n+"/me"};return d(p,f,m)},h.prototype.getMySavedTracks=function(f,m){var p={url:n+"/me/tracks"};return d(p,f,m)},h.prototype.addToMySavedTracks=function(f,m,p){var _={url:n+"/me/tracks",type:"PUT",postData:f};return d(_,m,p)},h.prototype.removeFromMySavedTracks=function(f,m,p){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return d(_,m,p)},h.prototype.containsMySavedTracks=function(f,m,p){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getMySavedAlbums=function(f,m){var p={url:n+"/me/albums"};return d(p,f,m)},h.prototype.addToMySavedAlbums=function(f,m,p){var _={url:n+"/me/albums",type:"PUT",postData:f};return d(_,m,p)},h.prototype.removeFromMySavedAlbums=function(f,m,p){var _={url:n+"/me/albums",type:"DELETE",postData:f};return d(_,m,p)},h.prototype.containsMySavedAlbums=function(f,m,p){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getMyTopArtists=function(f,m){var p={url:n+"/me/top/artists"};return d(p,f,m)},h.prototype.getMyTopTracks=function(f,m){var p={url:n+"/me/top/tracks"};return d(p,f,m)},h.prototype.getMyRecentlyPlayedTracks=function(f,m){var p={url:n+"/me/player/recently-played"};return d(p,f,m)},h.prototype.followUsers=function(f,m){var p={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return d(p,m)},h.prototype.followArtists=function(f,m){var p={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return d(p,m)},h.prototype.followPlaylist=function(f,m,p){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return d(_,m,p)},h.prototype.unfollowUsers=function(f,m){var p={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return d(p,m)},h.prototype.unfollowArtists=function(f,m){var p={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return d(p,m)},h.prototype.unfollowPlaylist=function(f,m){var p={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return d(p,m)},h.prototype.isFollowingUsers=function(f,m){var p={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return d(p,m)},h.prototype.isFollowingArtists=function(f,m){var p={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return d(p,m)},h.prototype.areFollowingPlaylist=function(f,m,p){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:m.join(",")}};return d(_,p)},h.prototype.getFollowedArtists=function(f,m){var p={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(p,f,m)},h.prototype.getUser=function(f,m,p){var _={url:n+"/users/"+encodeURIComponent(f)};return d(_,m,p)},h.prototype.getUserPlaylists=function(f,m,p){var _;return typeof f=="string"?_={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(_={url:n+"/me/playlists"},p=m,m=f),d(_,m,p)},h.prototype.getPlaylist=function(f,m,p){var _={url:n+"/playlists/"+f};return d(_,m,p)},h.prototype.getPlaylistTracks=function(f,m,p){var _={url:n+"/playlists/"+f+"/tracks"};return d(_,m,p)},h.prototype.getPlaylistCoverImage=function(f,m){var p={url:n+"/playlists/"+f+"/images"};return d(p,m)},h.prototype.createPlaylist=function(f,m,p){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:m};return d(_,m,p)},h.prototype.changePlaylistDetails=function(f,m,p){var _={url:n+"/playlists/"+f,type:"PUT",postData:m};return d(_,m,p)},h.prototype.addTracksToPlaylist=function(f,m,p,_){var g={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:m}};return d(g,p,_,!0)},h.prototype.replaceTracksInPlaylist=function(f,m,p){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:m}};return d(_,{},p)},h.prototype.reorderTracksInPlaylist=function(f,m,p,_,g){var y={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:m,insert_before:p}};return d(y,_,g)},h.prototype.removeTracksFromPlaylist=function(f,m,p){var _=m.map(function(y){return typeof y=="string"?{uri:y}:y}),g={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(g,{},p)},h.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,m,p,_){var g=m.map(function(b){return typeof b=="string"?{uri:b}:b}),y={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:g,snapshot_id:p}};return d(y,{},_)},h.prototype.removeTracksFromPlaylistInPositions=function(f,m,p,_){var g={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:m,snapshot_id:p}};return d(g,{},_)},h.prototype.uploadCustomPlaylistCoverImage=function(f,m,p){var _={url:n+"/playlists/"+f+"/images",type:"PUT",postData:m.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},p)},h.prototype.getAlbum=function(f,m,p){var _={url:n+"/albums/"+f};return d(_,m,p)},h.prototype.getAlbumTracks=function(f,m,p){var _={url:n+"/albums/"+f+"/tracks"};return d(_,m,p)},h.prototype.getAlbums=function(f,m,p){var _={url:n+"/albums/",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getTrack=function(f,m,p){var _={};return _.url=n+"/tracks/"+f,d(_,m,p)},h.prototype.getTracks=function(f,m,p){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getArtist=function(f,m,p){var _={url:n+"/artists/"+f};return d(_,m,p)},h.prototype.getArtists=function(f,m,p){var _={url:n+"/artists/",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getArtistAlbums=function(f,m,p){var _={url:n+"/artists/"+f+"/albums"};return d(_,m,p)},h.prototype.getArtistTopTracks=function(f,m,p,_){var g={url:n+"/artists/"+f+"/top-tracks",params:{country:m}};return d(g,p,_)},h.prototype.getArtistRelatedArtists=function(f,m,p){var _={url:n+"/artists/"+f+"/related-artists"};return d(_,m,p)},h.prototype.getFeaturedPlaylists=function(f,m){var p={url:n+"/browse/featured-playlists"};return d(p,f,m)},h.prototype.getNewReleases=function(f,m){var p={url:n+"/browse/new-releases"};return d(p,f,m)},h.prototype.getCategories=function(f,m){var p={url:n+"/browse/categories"};return d(p,f,m)},h.prototype.getCategory=function(f,m,p){var _={url:n+"/browse/categories/"+f};return d(_,m,p)},h.prototype.getCategoryPlaylists=function(f,m,p){var _={url:n+"/browse/categories/"+f+"/playlists"};return d(_,m,p)},h.prototype.search=function(f,m,p,_){var g={url:n+"/search/",params:{q:f,type:m.join(",")}};return d(g,p,_)},h.prototype.searchAlbums=function(f,m,p){return this.search(f,["album"],m,p)},h.prototype.searchArtists=function(f,m,p){return this.search(f,["artist"],m,p)},h.prototype.searchTracks=function(f,m,p){return this.search(f,["track"],m,p)},h.prototype.searchPlaylists=function(f,m,p){return this.search(f,["playlist"],m,p)},h.prototype.searchShows=function(f,m,p){return this.search(f,["show"],m,p)},h.prototype.searchEpisodes=function(f,m,p){return this.search(f,["episode"],m,p)},h.prototype.getAudioFeaturesForTrack=function(f,m){var p={};return p.url=n+"/audio-features/"+f,d(p,{},m)},h.prototype.getAudioFeaturesForTracks=function(f,m){var p={url:n+"/audio-features",params:{ids:f}};return d(p,{},m)},h.prototype.getAudioAnalysisForTrack=function(f,m){var p={};return p.url=n+"/audio-analysis/"+f,d(p,{},m)},h.prototype.getRecommendations=function(f,m){var p={url:n+"/recommendations"};return d(p,f,m)},h.prototype.getAvailableGenreSeeds=function(f){var m={url:n+"/recommendations/available-genre-seeds"};return d(m,{},f)},h.prototype.getMyDevices=function(f){var m={url:n+"/me/player/devices"};return d(m,{},f)},h.prototype.getMyCurrentPlaybackState=function(f,m){var p={url:n+"/me/player"};return d(p,f,m)},h.prototype.getMyCurrentPlayingTrack=function(f,m){var p={url:n+"/me/player/currently-playing"};return d(p,f,m)},h.prototype.transferMyPlayback=function(f,m,p){var _=m||{};_.device_ids=f;var g={type:"PUT",url:n+"/me/player",postData:_};return d(g,m,p)},h.prototype.play=function(f,m){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(b){b in f&&(_[b]=f[b])});var g={type:"PUT",url:n+"/me/player/play",params:p,postData:_},y=typeof f=="function"?f:{};return d(g,y,m)},h.prototype.queue=function(f,m,p){m=m||{};var _="device_id"in m?{uri:f,device_id:m.device_id}:{uri:f},g={type:"POST",url:n+"/me/player/queue",params:_};return d(g,m,p)},h.prototype.pause=function(f,m){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:p};return d(_,f,m)},h.prototype.skipToNext=function(f,m){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:p};return d(_,f,m)},h.prototype.skipToPrevious=function(f,m){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:p};return d(_,f,m)},h.prototype.seek=function(f,m,p){m=m||{};var _={position_ms:f};"device_id"in m&&(_.device_id=m.device_id);var g={type:"PUT",url:n+"/me/player/seek",params:_};return d(g,m,p)},h.prototype.setRepeat=function(f,m,p){m=m||{};var _={state:f};"device_id"in m&&(_.device_id=m.device_id);var g={type:"PUT",url:n+"/me/player/repeat",params:_};return d(g,m,p)},h.prototype.setVolume=function(f,m,p){m=m||{};var _={volume_percent:f};"device_id"in m&&(_.device_id=m.device_id);var g={type:"PUT",url:n+"/me/player/volume",params:_};return d(g,m,p)},h.prototype.setShuffle=function(f,m,p){m=m||{};var _={state:f};"device_id"in m&&(_.device_id=m.device_id);var g={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(g,m,p)},h.prototype.getShow=function(f,m,p){var _={};return _.url=n+"/shows/"+f,d(_,m,p)},h.prototype.getShows=function(f,m,p){var _={url:n+"/shows/",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getMySavedShows=function(f,m){var p={url:n+"/me/shows"};return d(p,f,m)},h.prototype.addToMySavedShows=function(f,m,p){var _={url:n+"/me/shows",type:"PUT",postData:f};return d(_,m,p)},h.prototype.removeFromMySavedShows=function(f,m,p){var _={url:n+"/me/shows",type:"DELETE",postData:f};return d(_,m,p)},h.prototype.containsMySavedShows=function(f,m,p){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getShowEpisodes=function(f,m,p){var _={url:n+"/shows/"+f+"/episodes"};return d(_,m,p)},h.prototype.getEpisode=function(f,m,p){var _={};return _.url=n+"/episodes/"+f,d(_,m,p)},h.prototype.getEpisodes=function(f,m,p){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return d(_,m,p)},h.prototype.getAccessToken=function(){return s},h.prototype.setAccessToken=function(f){s=f},h.prototype.setPromiseImplementation=function(f){var m=!1;try{var p=new f(function(_){_()});typeof p.then=="function"&&typeof p.catch=="function"&&(m=!0)}catch(_){console.error(_)}if(m)r=f;else throw new Error("Unsupported implementation of Promises/A+")},h}();e.exports=t})(pg);var Kn=pg.exports;const PS={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Kn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{remove:function(){this.$emit("close"),G.queue_remove(this.item.id)},play:function(){this.$emit("close"),G.player_play({item_id:this.item.id})},open_album:function(){this.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.item.album_id}):this.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.item.album_id}):this.$router.push({path:"/music/albums/"+this.item.album_id})},open_album_artist:function(){this.$router.push({path:"/music/artists/"+this.item.album_artist_id})},open_genre:function(){this.$router.push({name:"Genre",params:{genre:this.item.genre}})},open_spotify_artist:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})}}},DS={key:0,class:"modal is-active"},FS={class:"modal-content fd-modal-card"},IS={class:"card"},MS={class:"card-content"},RS={class:"title is-4"},LS={class:"subtitle"},NS={class:"content is-small"},VS=u("span",{class:"heading"},"Album",-1),jS={key:1,class:"title is-6"},BS={key:0},US=u("span",{class:"heading"},"Album artist",-1),HS={key:1,class:"title is-6"},zS={key:1},qS=u("span",{class:"heading"},"Composer",-1),GS={class:"title is-6"},WS={key:2},KS=u("span",{class:"heading"},"Year",-1),ZS={class:"title is-6"},YS={key:3},JS=u("span",{class:"heading"},"Genre",-1),XS=u("span",{class:"heading"},"Track / Disc",-1),QS={class:"title is-6"},ex=u("span",{class:"heading"},"Length",-1),tx={class:"title is-6"},nx=u("span",{class:"heading"},"Path",-1),sx={class:"title is-6"},rx=u("span",{class:"heading"},"Type",-1),ox={class:"title is-6"},ix={key:0,class:"has-text-weight-normal"},ax=$e("("),lx=$e(", "),ux=$e(")"),cx=u("span",{class:"heading"},"Quality",-1),dx={class:"title is-6"},fx={key:0},hx={key:1},mx={key:2},px={class:"card-footer"},_x={class:"icon"},gx=u("span",{class:"is-size-7"},"Remove",-1),vx={class:"icon"},yx=u("span",{class:"is-size-7"},"Play",-1);function bx(e,t,n,s,r,o){const i=P("mdicon");return E(),D("div",null,[w(Ht,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",DS,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",FS,[u("div",IS,[u("div",MS,[u("p",RS,R(n.item.title),1),u("p",LS,R(n.item.artist),1),u("div",NS,[u("p",null,[VS,n.item.album_id?(E(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a))},R(n.item.album),1)):(E(),D("span",jS,R(n.item.album),1))]),n.item.album_artist?(E(),D("p",BS,[US,n.item.album_artist_id?(E(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_album_artist&&o.open_album_artist(...a))},R(n.item.album_artist),1)):(E(),D("span",HS,R(n.item.album_artist),1))])):Z("",!0),n.item.composer?(E(),D("p",zS,[qS,u("span",GS,R(n.item.composer),1)])):Z("",!0),n.item.year>0?(E(),D("p",WS,[KS,u("span",ZS,R(n.item.year),1)])):Z("",!0),n.item.genre?(E(),D("p",YS,[JS,u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a))},R(n.item.genre),1)])):Z("",!0),u("p",null,[XS,u("span",QS,R(n.item.track_number)+" / "+R(n.item.disc_number),1)]),u("p",null,[ex,u("span",tx,R(e.$filters.durationInHours(n.item.length_ms)),1)]),u("p",null,[nx,u("span",sx,R(n.item.path),1)]),u("p",null,[rx,u("span",ox,[$e(R(n.item.media_kind)+" - "+R(n.item.data_kind)+" ",1),n.item.data_kind==="spotify"?(E(),D("span",ix,[ax,u("a",{onClick:t[4]||(t[4]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a))},"artist"),lx,u("a",{onClick:t[5]||(t[5]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a))},"album"),ux])):Z("",!0)])]),u("p",null,[cx,u("span",dx,[$e(R(n.item.type)+" ",1),n.item.samplerate?(E(),D("span",fx," | "+R(n.item.samplerate)+" Hz",1)):Z("",!0),n.item.channels?(E(),D("span",hx," | "+R(e.$filters.channels(n.item.channels)),1)):Z("",!0),n.item.bitrate?(E(),D("span",mx," | "+R(n.item.bitrate)+" Kb/s",1)):Z("",!0)])])])]),u("footer",px,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.remove&&o.remove(...a))},[u("span",_x,[w(i,{name:"delete",size:"16"})]),gx]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[u("span",vx,[w(i,{name:"play",size:"16"})]),yx])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})])}var _g=ge(PS,[["render",bx]]);const wx={name:"ModalDialogAddUrlStream",props:["show"],emits:["close"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream:function(){this.loading=!0,G.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play:function(){this.loading=!0,G.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},kx={key:0,class:"modal is-active"},Sx={class:"modal-content fd-modal-card"},xx={class:"card"},Ex={class:"card-content"},Cx=u("p",{class:"title is-4"},"Add stream URL",-1),$x={class:"field"},Ax={class:"control is-expanded has-icons-left"},Ox=["disabled"],Tx={class:"icon is-left"},Px={key:0,class:"card-footer"},Dx={class:"card-footer-item has-text-dark"},Fx={class:"icon"},Ix=u("span",{class:"is-size-7"},"Loading ...",-1),Mx={key:1,class:"card-footer"},Rx={class:"icon"},Lx=u("span",{class:"is-size-7"},"Cancel",-1),Nx={class:"icon"},Vx=u("span",{class:"is-size-7"},"Add",-1),jx={class:"icon"},Bx=u("span",{class:"is-size-7"},"Play",-1);function Ux(e,t,n,s,r,o){const i=P("mdicon");return E(),D("div",null,[w(Ht,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",kx,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Sx,[u("div",xx,[u("div",Ex,[Cx,u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=pt((...a)=>o.play&&o.play(...a),["prevent"]))},[u("div",$x,[u("p",Ax,[wt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>r.url=a),class:"input is-shadowless",type:"text",placeholder:"http://url-to-stream",disabled:r.loading},null,8,Ox),[[en,r.url]]),u("span",Tx,[w(i,{name:"web",size:"16"})])])])],32)]),r.loading?(E(),D("footer",Px,[u("a",Dx,[u("span",Fx,[w(i,{name:"web",size:"16"})]),Ix])])):(E(),D("footer",Mx,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",Rx,[w(i,{name:"cancel",size:"16"})]),Lx]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[u("span",Nx,[w(i,{name:"playlist-plus",size:"16"})]),Vx]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[u("span",jx,[w(i,{name:"play",size:"16"})]),Bx])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})])}var Hx=ge(wx,[["render",Ux]]);const zx={name:"ModalDialogPlaylistSave",props:["show"],emits:["close"],data(){return{playlist_name:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{save:function(){this.playlist_name.length<1||(this.loading=!0,G.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},qx={key:0,class:"modal is-active"},Gx={class:"modal-content fd-modal-card"},Wx={class:"card"},Kx={class:"card-content"},Zx=u("p",{class:"title is-4"},"Save queue to playlist",-1),Yx={class:"field"},Jx={class:"control is-expanded has-icons-left"},Xx=["disabled"],Qx={class:"icon is-left"},eE={key:0,class:"card-footer"},tE={class:"card-footer-item has-text-dark"},nE={class:"icon"},sE=u("span",{class:"is-size-7"},"Saving ...",-1),rE={key:1,class:"card-footer"},oE={class:"icon"},iE=u("span",{class:"is-size-7"},"Cancel",-1),aE={class:"icon"},lE=u("span",{class:"is-size-7"},"Save",-1);function uE(e,t,n,s,r,o){const i=P("mdicon");return E(),D("div",null,[w(Ht,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",qx,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Gx,[u("div",Wx,[u("div",Kx,[Zx,u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=pt((...a)=>o.save&&o.save(...a),["prevent"]))},[u("div",Yx,[u("p",Jx,[wt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>r.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:"Playlist name",disabled:r.loading},null,8,Xx),[[en,r.playlist_name]]),u("span",Qx,[w(i,{name:"file-music",size:"16"})])])])],32)]),r.loading?(E(),D("footer",eE,[u("a",tE,[u("span",nE,[w(i,{name:"web",size:"16"})]),sE])])):(E(),D("footer",rE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",oE,[w(i,{name:"cancel",size:"16"})]),iE]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.save&&o.save(...a))},[u("span",aE,[w(i,{name:"content-save",size:"16"})]),lE])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Z("",!0)]),_:1})])}var cE=ge(zx,[["render",uE]]),gg={exports:{}},Td=eg(bw);/**! + */const Jg=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",ko=e=>Jg?Symbol(e):"_vr_"+e,u2=ko("rvlm"),cp=ko("rvd"),of=ko("r"),Xg=ko("rl"),Bc=ko("rvl"),Zs=typeof window!="undefined";function c2(e){return e.__esModule||Jg&&e[Symbol.toStringTag]==="Module"}const bt=Object.assign;function Ru(e,t){const n={};for(const r in t){const s=t[r];n[r]=Array.isArray(s)?s.map(e):e(s)}return n}const li=()=>{},d2=/\/$/,f2=e=>e.replace(d2,"");function Lu(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=_2(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function m2(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function dp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function p2(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&go(t.matched[r],n.matched[s])&&Qg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function go(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!h2(e[n],t[n]))return!1;return!0}function h2(e,t){return Array.isArray(e)?fp(e,t):Array.isArray(t)?fp(t,e):e===t}function fp(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function _2(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o({left:window.pageXOffset,top:window.pageYOffset});function w2(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=b2(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function mp(e,t){return(history.state?history.state.position-t:-1)+e}const Hc=new Map;function C2(e,t){Hc.set(e,t)}function x2(e){const t=Hc.get(e);return Hc.delete(e),t}let k2=()=>location.protocol+"//"+location.host;function ey(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),dp(l,"")}return dp(n,e)+r+s}function S2(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const p=ey(e,location),h=n.value,_=t.value;let g=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}g=_?f.position-_.position:0}else r(p);s.forEach(b=>{b(n.value,h,{delta:g,type:ki.pop,direction:g?g>0?ui.forward:ui.back:ui.unknown})})};function l(){i=n.value}function u(f){s.push(f);const p=()=>{const h=s.indexOf(f);h>-1&&s.splice(h,1)};return o.push(p),p}function d(){const{history:f}=window;!f.state||f.replaceState(bt({},f.state,{scroll:eu()}),"")}function m(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:l,listen:u,destroy:m}}function pp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?eu():null}}function E2(e){const{history:t,location:n}=window,r={value:ey(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,d){const m=e.indexOf("#"),f=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:k2()+e+l;try{t[d?"replaceState":"pushState"](u,"",f),s.value=u}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function i(l,u){const d=bt({},t.state,pp(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,u){const d=bt({},s.value,t.state,{forward:l,scroll:eu()});o(d.current,d,!0);const m=bt({},pp(r.value,l,null),{position:d.position+1},u);o(l,m,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function $2(e){e=g2(e);const t=E2(e),n=S2(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=bt({location:"",base:e,go:r,createHref:v2.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function z2(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),$2(e)}function A2(e){return typeof e=="string"||e&&typeof e=="object"}function ty(e){return typeof e=="string"||typeof e=="symbol"}const Rr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ny=ko("nf");var hp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(hp||(hp={}));function yo(e,t){return bt(new Error,{type:e,[ny]:!0},t)}function Lr(e,t){return e instanceof Error&&ny in e&&(t==null||!!(e.type&t))}const _p="[^/]+?",O2={sensitive:!1,strict:!1,start:!0,end:!0},T2=/[.+*?^${}()[\]/\\]/g;function P2(e,t){const n=bt({},O2,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const d=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let m=0;m1&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);d+=w}}return d}return{re:i,score:r,keys:o,parse:a,stringify:l}}function D2(e,t){let n=0;for(;nt.length?t.length===1&&t[0]===40+40?1:-1:0}function F2(e,t){let n=0;const r=e.score,s=t.score;for(;n1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;a{i(w)}:li}function i(d){if(ty(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=0&&(d.record.path!==n[m].record.path||!ry(d,n[m]));)m++;n.splice(m,0,d),d.record.name&&!gp(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 yo(1,{location:d});_=f.record.name,p=bt(V2(m.params,f.keys.filter(w=>!w.optional).map(w=>w.name)),d.params),h=f.stringify(p)}else if("path"in d)h=d.path,f=n.find(w=>w.re.test(h)),f&&(p=f.parse(h),_=f.record.name);else{if(f=m.name?r.get(m.name):n.find(w=>w.re.test(m.path)),!f)throw yo(1,{location:d,currentLocation:m});_=f.record.name,p=bt({},m.params,d.params),h=f.stringify(p)}const g=[];let b=f;for(;b;)g.unshift(b.record),b=b.parent;return{name:_,path:h,params:p,matched:g,meta:H2(g)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function V2(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function j2(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:B2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function B2(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=="boolean"?n:n[r];return t}function gp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function H2(e){return e.reduce((t,n)=>bt(t,n.meta),{})}function yp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ry(e,t){return t.children.some(n=>n===e||ry(e,n))}const sy=/#/g,U2=/&/g,q2=/\//g,W2=/=/g,G2=/\?/g,oy=/\+/g,K2=/%5B/g,Y2=/%5D/g,iy=/%5E/g,Z2=/%60/g,ay=/%7B/g,J2=/%7C/g,ly=/%7D/g,X2=/%20/g;function af(e){return encodeURI(""+e).replace(J2,"|").replace(K2,"[").replace(Y2,"]")}function Q2(e){return af(e).replace(ay,"{").replace(ly,"}").replace(iy,"^")}function Uc(e){return af(e).replace(oy,"%2B").replace(X2,"+").replace(sy,"%23").replace(U2,"%26").replace(Z2,"`").replace(ay,"{").replace(ly,"}").replace(iy,"^")}function ek(e){return Uc(e).replace(W2,"%3D")}function tk(e){return af(e).replace(sy,"%23").replace(G2,"%3F")}function nk(e){return e==null?"":tk(e).replace(q2,"%2F")}function gl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function rk(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Uc(o)):[r&&Uc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function sk(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function Do(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Br(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=m=>{m===!1?a(yo(4,{from:n,to:t})):m instanceof Error?a(m):A2(m)?a(yo(2,{from:t,to:m})):(o&&r.enterCallbacks[s]===o&&typeof m=="function"&&o.push(m),i())},u=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(m=>a(m))})}function Nu(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(ok(a)){const u=(a.__vccOpts||a)[t];u&&s.push(Br(u,n,r,o,i))}else{let l=a();s.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=c2(u)?u.default:u;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&Br(f,n,r,o,i)()}))}}return s}function ok(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bp(e){const t=rr(of),n=rr(Xg),r=At(()=>t.resolve(so(e.to))),s=At(()=>{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(go.bind(null,d));if(f>-1)return f;const p=wp(l[u-2]);return u>1&&wp(d)===p&&m[m.length-1].path!==p?m.findIndex(go.bind(null,l[u-2])):f}),o=At(()=>s.value>-1&&uk(n.params,r.value.params)),i=At(()=>s.value>-1&&s.value===n.matched.length-1&&Qg(n.params,r.value.params));function a(l={}){return lk(l)?t[so(e.replace)?"replace":"push"](so(e.to)).catch(li):Promise.resolve()}return{route:r,href:At(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const ik=Ti({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bp,setup(e,{slots:t}){const n=As(bp(e)),{options:r}=rr(of),s=At(()=>({[Cp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Cp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Cn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),ak=ik;function lk(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 uk(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Array.isArray(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function wp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Cp=(e,t,n)=>e!=null?e:t!=null?t:n,ck=Ti({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=rr(Bc),s=At(()=>e.route||r.value),o=rr(cp,0),i=At(()=>s.value.matched[o]);si(cp,o+1),si(u2,i),si(Bc,s);const a=wn();return Mt(()=>[a.value,i.value,e.name],([l,u,d],[m,f,p])=>{u&&(u.instances[d]=l,f&&f!==u&&l&&l===m&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),l&&u&&(!f||!go(u,f)||!m)&&(u.enterCallbacks[d]||[]).forEach(h=>h(l))},{flush:"post"}),()=>{const l=s.value,u=i.value,d=u&&u.components[e.name],m=e.name;if(!d)return xp(n.default,{Component:d,route:l});const f=u.props[e.name],p=f?f===!0?l.params:typeof f=="function"?f(l):f:null,_=Cn(d,bt({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[m]=null)},ref:a}));return xp(n.default,{Component:_,route:l})||_}}});function xp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const dk=ck;function fk(e){const t=N2(e.routes,e),n=e.parseQuery||rk,r=e.stringifyQuery||vp,s=e.history,o=Do(),i=Do(),a=Do(),l=r_(Rr);let u=Rr;Zs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ru.bind(null,H=>""+H),m=Ru.bind(null,nk),f=Ru.bind(null,gl);function p(H,oe){let se,be;return ty(H)?(se=t.getRecordMatcher(H),be=oe):be=H,t.addRoute(be,se)}function h(H){const oe=t.getRecordMatcher(H);oe&&t.removeRoute(oe)}function _(){return t.getRoutes().map(H=>H.record)}function g(H){return!!t.getRecordMatcher(H)}function b(H,oe){if(oe=bt({},oe||l.value),typeof H=="string"){const Ae=Lu(n,H,oe.path),z=t.resolve({path:Ae.path},oe),R=s.createHref(Ae.fullPath);return bt(Ae,z,{params:f(z.params),hash:gl(Ae.hash),redirectedFrom:void 0,href:R})}let se;if("path"in H)se=bt({},H,{path:Lu(n,H.path,oe.path).path});else{const Ae=bt({},H.params);for(const z in Ae)Ae[z]==null&&delete Ae[z];se=bt({},H,{params:m(H.params)}),oe.params=m(oe.params)}const be=t.resolve(se,oe),Ve=H.hash||"";be.params=d(f(be.params));const Ie=m2(r,bt({},H,{hash:Q2(Ve),path:be.path})),$e=s.createHref(Ie);return bt({fullPath:Ie,hash:Ve,query:r===vp?sk(H.query):H.query||{}},be,{redirectedFrom:void 0,href:$e})}function w(H){return typeof H=="string"?Lu(n,H,l.value.path):bt({},H)}function S(H,oe){if(u!==H)return yo(8,{from:oe,to:H})}function x(H){return I(H)}function $(H){return x(bt(w(H),{replace:!0}))}function A(H){const oe=H.matched[H.matched.length-1];if(oe&&oe.redirect){const{redirect:se}=oe;let be=typeof se=="function"?se(H):se;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=w(be):{path:be},be.params={}),bt({query:H.query,hash:H.hash,params:H.params},be)}}function I(H,oe){const se=u=b(H),be=l.value,Ve=H.state,Ie=H.force,$e=H.replace===!0,Ae=A(se);if(Ae)return I(bt(w(Ae),{state:Ve,force:Ie,replace:$e}),oe||se);const z=se;z.redirectedFrom=oe;let R;return!Ie&&p2(r,be,se)&&(R=yo(16,{to:z,from:be}),Be(be,be,!0,!1)),(R?Promise.resolve(R):O(z,be)).catch(Z=>Lr(Z)?Lr(Z,2)?Z:Re(Z):le(Z,z,be)).then(Z=>{if(Z){if(Lr(Z,2))return I(bt(w(Z.to),{state:Ve,force:Ie,replace:$e}),oe||z)}else Z=G(z,be,!0,$e,Ve);return N(z,be,Z),Z})}function V(H,oe){const se=S(H,oe);return se?Promise.reject(se):Promise.resolve()}function O(H,oe){let se;const[be,Ve,Ie]=mk(H,oe);se=Nu(be.reverse(),"beforeRouteLeave",H,oe);for(const Ae of be)Ae.leaveGuards.forEach(z=>{se.push(Br(z,H,oe))});const $e=V.bind(null,H,oe);return se.push($e),Vs(se).then(()=>{se=[];for(const Ae of o.list())se.push(Br(Ae,H,oe));return se.push($e),Vs(se)}).then(()=>{se=Nu(Ve,"beforeRouteUpdate",H,oe);for(const Ae of Ve)Ae.updateGuards.forEach(z=>{se.push(Br(z,H,oe))});return se.push($e),Vs(se)}).then(()=>{se=[];for(const Ae of H.matched)if(Ae.beforeEnter&&!oe.matched.includes(Ae))if(Array.isArray(Ae.beforeEnter))for(const z of Ae.beforeEnter)se.push(Br(z,H,oe));else se.push(Br(Ae.beforeEnter,H,oe));return se.push($e),Vs(se)}).then(()=>(H.matched.forEach(Ae=>Ae.enterCallbacks={}),se=Nu(Ie,"beforeRouteEnter",H,oe),se.push($e),Vs(se))).then(()=>{se=[];for(const Ae of i.list())se.push(Br(Ae,H,oe));return se.push($e),Vs(se)}).catch(Ae=>Lr(Ae,8)?Ae:Promise.reject(Ae))}function N(H,oe,se){for(const be of a.list())be(H,oe,se)}function G(H,oe,se,be,Ve){const Ie=S(H,oe);if(Ie)return Ie;const $e=oe===Rr,Ae=Zs?history.state:{};se&&(be||$e?s.replace(H.fullPath,bt({scroll:$e&&Ae&&Ae.scroll},Ve)):s.push(H.fullPath,Ve)),l.value=H,Be(H,oe,se,$e),Re()}let F;function B(){F||(F=s.listen((H,oe,se)=>{const be=b(H),Ve=A(be);if(Ve){I(bt(Ve,{replace:!0}),be).catch(li);return}u=be;const Ie=l.value;Zs&&C2(mp(Ie.fullPath,se.delta),eu()),O(be,Ie).catch($e=>Lr($e,12)?$e:Lr($e,2)?(I($e.to,be).then(Ae=>{Lr(Ae,20)&&!se.delta&&se.type===ki.pop&&s.go(-1,!1)}).catch(li),Promise.reject()):(se.delta&&s.go(-se.delta,!1),le($e,be,Ie))).then($e=>{$e=$e||G(be,Ie,!1),$e&&(se.delta?s.go(-se.delta,!1):se.type===ki.pop&&Lr($e,20)&&s.go(-1,!1)),N(be,Ie,$e)}).catch(li)}))}let Y=Do(),de=Do(),te;function le(H,oe,se){Re(H);const be=de.list();return be.length?be.forEach(Ve=>Ve(H,oe,se)):console.error(H),Promise.reject(H)}function ge(){return te&&l.value!==Rr?Promise.resolve():new Promise((H,oe)=>{Y.add([H,oe])})}function Re(H){return te||(te=!H,B(),Y.list().forEach(([oe,se])=>H?se(H):oe()),Y.reset()),H}function Be(H,oe,se,be){const{scrollBehavior:Ve}=e;if(!Zs||!Ve)return Promise.resolve();const Ie=!se&&x2(mp(H.fullPath,0))||(be||!se)&&history.state&&history.state.scroll||null;return Ll().then(()=>Ve(H,oe,Ie)).then($e=>$e&&w2($e)).catch($e=>le($e,H,oe))}const he=H=>s.go(H);let X;const fe=new Set;return{currentRoute:l,addRoute:p,removeRoute:h,hasRoute:g,getRoutes:_,resolve:b,options:e,push:x,replace:$,go:he,back:()=>he(-1),forward:()=>he(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:de.add,isReady:ge,install(H){const oe=this;H.component("RouterLink",ak),H.component("RouterView",dk),H.config.globalProperties.$router=oe,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>so(l)}),Zs&&!X&&l.value===Rr&&(X=!0,x(s.location).catch(Ve=>{}));const se={};for(const Ve in Rr)se[Ve]=At(()=>l.value[Ve]);H.provide(of,oe),H.provide(Xg,As(se)),H.provide(Bc,l);const be=H.unmount;fe.add(H),H.unmount=function(){fe.delete(H),fe.size<1&&(u=Rr,F&&F(),F=null,l.value=Rr,X=!1,te=!1),be()}}}}function Vs(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function mk(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;igo(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>go(u,l))||s.push(l))}return[n,r,s]}var ve=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const pk={name:"ContentWithHeading",data(){return{options_visible:!1}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options_ref))},methods:{onElementObserved(e){e.forEach(({target:t,isIntersecting:n})=>{this.options_visible=n})},scroll_to_top:function(){window.scrollTo({top:0,behavior:"smooth"})},scroll_to_content:function(){this.$route.meta.has_tabs?this.$scrollTo("#top",{offset:-140}):this.$scrollTo("#top",{offset:-110})},visibilityChanged:function(e){this.options_visible=e}}},hk={class:"section fd-content"},_k={class:"container"},gk={class:"columns is-centered"},yk={class:"column is-four-fifths"},vk={key:0},bk={ref:"options_ref",style:{height:"1px"}},wk={class:"buttons is-centered",style:{"margin-bottom":"6px","margin-top":"16px"}},Ck={id:"top",class:"level"},xk={class:"level-left"},kk={class:"level-item has-text-centered-mobile"},Sk={class:"level-right has-text-centered-mobile"},Ek={style:{"margin-top":"16px"}};function $k(e,t,n,r,s,o){const i=T("mdicon");return E(),D("section",hk,[c("div",_k,[c("div",gk,[c("div",yk,[e.$slots.options?(E(),D("section",vk,[c("div",bk,null,512),kt(e.$slots,"options"),c("nav",wk,[s.options_visible?(E(),D("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...a)=>o.scroll_to_content&&o.scroll_to_content(...a))},[C(i,{class:"icon is-small",name:"chevron-up",size:"16"})])):(E(),D("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...a)=>o.scroll_to_top&&o.scroll_to_top(...a))},[C(i,{class:"icon is-small",name:"chevron-down",size:"16"})]))])])):J("",!0),c("div",{class:Ye({"fd-content-with-option":e.$slots.options})},[c("nav",Ck,[c("div",xk,[c("div",kk,[c("div",null,[kt(e.$slots,"heading-left")])])]),c("div",Sk,[kt(e.$slots,"heading-right")])]),kt(e.$slots,"content"),c("div",Ek,[kt(e.$slots,"footer")])],2)])])])])}var pt=ve(pk,[["render",$k]]),an=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function uy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cy(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var lf={exports:{}},dy=function(t,n){return function(){for(var s=new Array(arguments.length),o=0;o=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},Sp=Sn,sS=Sp.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(o){var i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){var a=Sp.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function df(e){this.message=e}df.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};df.prototype.__CANCEL__=!0;var nu=df,oa=Sn,oS=Yk,iS=Zk,aS=hy,lS=tS,uS=rS,cS=sS,ju=yy,dS=gy,fS=nu,Ep=function(t){return new Promise(function(r,s){var o=t.data,i=t.headers,a=t.responseType,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}oa.isFormData(o)&&delete i["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(m+":"+f)}var p=lS(t.baseURL,t.url);d.open(t.method.toUpperCase(),aS(p,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function h(){if(!!d){var g="getAllResponseHeaders"in d?uS(d.getAllResponseHeaders()):null,b=!a||a==="text"||a==="json"?d.responseText:d.response,w={data:b,status:d.status,statusText:d.statusText,headers:g,config:t,request:d};oS(function(x){r(x),u()},function(x){s(x),u()},w),d=null}}if("onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(h)},d.onabort=function(){!d||(s(ju("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){s(ju("Network Error",t,null,d)),d=null},d.ontimeout=function(){var b=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",w=t.transitional||dS;t.timeoutErrorMessage&&(b=t.timeoutErrorMessage),s(ju(b,t,w.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},oa.isStandardBrowserEnv()){var _=(t.withCredentials||cS(p))&&t.xsrfCookieName?iS.read(t.xsrfCookieName):void 0;_&&(i[t.xsrfHeaderName]=_)}"setRequestHeader"in d&&oa.forEach(i,function(b,w){typeof o=="undefined"&&w.toLowerCase()==="content-type"?delete i[w]:d.setRequestHeader(w,b)}),oa.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),a&&a!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(g){!d||(s(!g||g&&g.type?new fS("canceled"):g),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),o||(o=null),d.send(o)})},Qt=Sn,$p=Wk,mS=_y,pS=gy,hS={"Content-Type":"application/x-www-form-urlencoded"};function zp(e,t){!Qt.isUndefined(e)&&Qt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function _S(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Ep),e}function gS(e,t,n){if(Qt.isString(e))try{return(t||JSON.parse)(e),Qt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var ru={transitional:pS,adapter:_S(),transformRequest:[function(t,n){return $p(n,"Accept"),$p(n,"Content-Type"),Qt.isFormData(t)||Qt.isArrayBuffer(t)||Qt.isBuffer(t)||Qt.isStream(t)||Qt.isFile(t)||Qt.isBlob(t)?t:Qt.isArrayBufferView(t)?t.buffer:Qt.isURLSearchParams(t)?(zp(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Qt.isObject(t)||n&&n["Content-Type"]==="application/json"?(zp(n,"application/json"),gS(t)):t}],transformResponse:[function(t){var n=this.transitional||ru.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,o=!r&&this.responseType==="json";if(o||s&&Qt.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(o)throw i.name==="SyntaxError"?mS(i,this,"E_JSON_PARSE"):i}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Qt.forEach(["delete","get","head"],function(t){ru.headers[t]={}});Qt.forEach(["post","put","patch"],function(t){ru.headers[t]=Qt.merge(hS)});var ff=ru,yS=Sn,vS=ff,bS=function(t,n,r){var s=this||vS;return yS.forEach(r,function(i){t=i.call(s,t,n)}),t},vy=function(t){return!!(t&&t.__CANCEL__)},Ap=Sn,Bu=bS,wS=vy,CS=ff,xS=nu;function Hu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new xS("canceled")}var kS=function(t){Hu(t),t.headers=t.headers||{},t.data=Bu.call(t,t.data,t.headers,t.transformRequest),t.headers=Ap.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Ap.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||CS.adapter;return n(t).then(function(s){return Hu(t),s.data=Bu.call(t,s.data,s.headers,t.transformResponse),s},function(s){return wS(s)||(Hu(t),s&&s.response&&(s.response.data=Bu.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},En=Sn,by=function(t,n){n=n||{};var r={};function s(d,m){return En.isPlainObject(d)&&En.isPlainObject(m)?En.merge(d,m):En.isPlainObject(m)?En.merge({},m):En.isArray(m)?m.slice():m}function o(d){if(En.isUndefined(n[d])){if(!En.isUndefined(t[d]))return s(void 0,t[d])}else return s(t[d],n[d])}function i(d){if(!En.isUndefined(n[d]))return s(void 0,n[d])}function a(d){if(En.isUndefined(n[d])){if(!En.isUndefined(t[d]))return s(void 0,t[d])}else return s(void 0,n[d])}function l(d){if(d in n)return s(t[d],n[d]);if(d in t)return s(void 0,t[d])}var u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return En.forEach(Object.keys(t).concat(Object.keys(n)),function(m){var f=u[m]||o,p=f(m);En.isUndefined(p)&&f!==l||(r[m]=p)}),r},wy={version:"0.26.1"},SS=wy.version,mf={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){mf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Op={};mf.transitional=function(t,n,r){function s(o,i){return"[Axios v"+SS+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return function(o,i,a){if(t===!1)throw new Error(s(i," has been removed"+(n?" in "+n:"")));return n&&!Op[i]&&(Op[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function ES(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),s=r.length;s-- >0;){var o=r[s],i=t[o];if(i){var a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new TypeError("option "+o+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+o)}}var $S={assertOptions:ES,validators:mf},Cy=Sn,zS=hy,Tp=Uk,Pp=kS,su=by,xy=$S,Bs=xy.validators;function Mi(e){this.defaults=e,this.interceptors={request:new Tp,response:new Tp}}Mi.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=su(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&xy.assertOptions(r,{silentJSONParsing:Bs.transitional(Bs.boolean),forcedJSONParsing:Bs.transitional(Bs.boolean),clarifyTimeoutError:Bs.transitional(Bs.boolean)},!1);var s=[],o=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(o=o&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});var i=[];this.interceptors.response.forEach(function(p){i.push(p.fulfilled,p.rejected)});var a;if(!o){var l=[Pp,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(i),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var u=n;s.length;){var d=s.shift(),m=s.shift();try{u=d(u)}catch(f){m(f);break}}try{a=Pp(u)}catch(f){return Promise.reject(f)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};Mi.prototype.getUri=function(t){return t=su(this.defaults,t),zS(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Cy.forEach(["delete","get","head","options"],function(t){Mi.prototype[t]=function(n,r){return this.request(su(r||{},{method:t,url:n,data:(r||{}).data}))}});Cy.forEach(["post","put","patch"],function(t){Mi.prototype[t]=function(n,r,s){return this.request(su(s||{},{method:t,url:n,data:r}))}});var AS=Mi,OS=nu;function vo(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;this.promise.then(function(r){if(!!n._listeners){var s,o=n._listeners.length;for(s=0;s(at.dispatch("add_notification",{text:this.$t("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,Oe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(at.dispatch("add_notification",{text:this.$t("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,at.getters.now_playing&&at.getters.now_playing.id&&(t.position=at.getters.now_playing.position+1),Oe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(at.dispatch("add_notification",{text:this.$t("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return Oe.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(at.dispatch("add_notification",{text:this.$t("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return Oe.get("./api/player")},player_play_uri(e,t,n=void 0){const r={};return r.uris=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,Oe.post("./api/queue/items/add",void 0,{params:r})},player_play_expression(e,t,n=void 0){const r={};return r.expression=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,Oe.post("./api/queue/items/add",void 0,{params:r})},player_play(e={}){return Oe.put("./api/player/play",void 0,{params:e})},player_playpos(e){return Oe.put("./api/player/play?position="+e)},player_playid(e){return Oe.put("./api/player/play?item_id="+e)},player_pause(){return Oe.put("./api/player/pause")},player_stop(){return Oe.put("./api/player/stop")},player_next(){return Oe.put("./api/player/next")},player_previous(){return Oe.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return Oe.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return Oe.put("./api/player/consume?state="+t)},player_repeat(e){return Oe.put("./api/player/repeat?state="+e)},player_volume(e){return Oe.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return Oe.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return Oe.put("./api/player/seek?position_ms="+e)},player_seek(e){return Oe.put("./api/player/seek?seek_ms="+e)},outputs(){return Oe.get("./api/outputs")},output_update(e,t){return Oe.put("./api/outputs/"+e,t)},output_toggle(e){return Oe.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return Oe.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return Oe.get("./api/library/artists/"+e)},library_artist_albums(e){return Oe.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return Oe.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return Oe.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return Oe.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return Oe.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return Oe.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return Oe.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_radio_streams(){const e={type:"tracks",media_kind:"music",expression:"data_kind is url and song_length = 0"};return Oe.get("./api/search",{params:e})},library_composers(e=void 0){return Oe.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return Oe.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return Oe.get("./api/search",{params:t})}},library_podcasts_new_episodes(){const e={type:"tracks",expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC"};return Oe.get("./api/search",{params:e})},library_podcast_episodes(e){const t={type:"tracks",expression:'media_kind is podcast and songalbumid is "'+e+'" ORDER BY date_released DESC'};return Oe.get("./api/search",{params:t})},library_add(e){return Oe.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return Oe.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return Oe.get("./api/library/playlists")},library_playlist_folder(e=0){return Oe.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return Oe.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return Oe.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return Oe.get("./api/library/tracks/"+e)},library_track_playlists(e){return Oe.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return Oe.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return Oe.get("./api/library/files",{params:t})},search(e){return Oe.get("./api/search",{params:e})},spotify(){return Oe.get("./api/spotify")},spotify_login(e){return Oe.post("./api/spotify-login",e)},spotify_logout(){return Oe.get("./api/spotify-logout")},lastfm(){return Oe.get("./api/lastfm")},lastfm_login(e){return Oe.post("./api/lastfm-login",e)},lastfm_logout(e){return Oe.get("./api/lastfm-logout")},pairing(){return Oe.get("./api/pairing")},pairing_kickoff(e){return Oe.post("./api/pairing",e)},artwork_url_append_size_params(e,t=600,n=600){return e&&e.startsWith("/")?e.includes("?")?e+"&maxwidth="+t+"&maxheight="+n:e+"?maxwidth="+t+"&maxheight="+n:e}};const LS={name:"ListItemQueueItem",props:["item","position","current_position","show_only_next_items","edit_mode"],computed:{state(){return this.$store.state.player},is_next(){return this.current_position<0||this.position>=this.current_position}},methods:{play:function(){K.player_play({item_id:this.item.id})}}},NS={key:0,class:"media"},VS={key:0,class:"media-left"},jS=["textContent"],BS=["textContent"],HS=["textContent"],US={class:"media-right"};function qS(e,t,n,r,s,o){const i=T("mdicon");return o.is_next||!n.show_only_next_items?(E(),D("div",NS,[n.edit_mode?(E(),D("div",VS,[C(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):J("",!0),c("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[c("h1",{class:Ye(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}]),textContent:v(n.item.title)},null,10,jS),c("h2",{class:Ye(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}])},[c("b",{textContent:v(n.item.artist)},null,8,BS)],2),c("h2",{class:Ye(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:v(n.item.album)},null,10,HS)]),c("div",US,[kt(e.$slots,"actions")])])):J("",!0)}var WS=ve(LS,[["render",qS]]),Sy={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(s!==null){var _=s.defer();f(function(g){_.resolve(g)},function(g){_.reject(g)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new o(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var g in _)_.hasOwnProperty(g)&&(p[g]=_[g])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var g=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(g)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(g,b){function w(A){g&&g(A),p&&p(null,A)}function S(){b&&b(h),p&&p(h,null)}var x=f.type||"GET";if(h.open(x,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var A=null;try{A=h.responseText?JSON.parse(h.responseText):""}catch(I){console.error(I)}h.status>=200&&h.status<300?w(A):S()}},x==="GET")h.send(null);else{var $=null;f.postData&&(f.contentType==="image/jpeg"?($=f.postData,h.setRequestHeader("Content-Type",f.contentType)):($=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send($)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var g={},b=null;typeof p=="object"?(g=p,b=h):typeof p=="function"&&(b=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!_?f.postData=a(f.postData,g):f.params=a(f.params,g),u(f,b)},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 g={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return d(g,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,_,g){var b={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(b,_,g)},m.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(b){return typeof b=="string"?{uri:b}:b}),g={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(g,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var g=p.map(function(w){return typeof w=="string"?{uri:w}:w}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:g,snapshot_id:h}};return d(b,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var g={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(g,{},_)},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 g={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return d(g,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 g={url:n+"/search/",params:{q:f,type:p.join(",")}};return d(g,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 g={type:"PUT",url:n+"/me/player",postData:_};return d(g,p,h)},m.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(w){w in f&&(_[w]=f[w])});var g={type:"PUT",url:n+"/me/player/play",params:h,postData:_},b=typeof f=="function"?f:{};return d(g,b,p)},m.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},g={type:"POST",url:n+"/me/player/queue",params:_};return d(g,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 g={type:"PUT",url:n+"/me/player/seek",params:_};return d(g,p,h)},m.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/repeat",params:_};return d(g,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 g={type:"PUT",url:n+"/me/player/volume",params:_};return d(g,p,h)},m.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(g,p,h)},m.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,d(_,p,h)},m.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return d(h,f,p)},m.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return d(_,p,h)},m.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,d(_,p,h)},m.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getAccessToken=function(){return r},m.prototype.setAccessToken=function(f){r=f},m.prototype.setPromiseImplementation=function(f){var p=!1;try{var h=new f(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)s=f;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t})(Sy);var ar=Sy.exports;const GS={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new ar;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{remove:function(){this.$emit("close"),K.queue_remove(this.item.id)},play:function(){this.$emit("close"),K.player_play({item_id:this.item.id})},open_album:function(){this.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.item.album_id}):this.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.item.album_id}):this.$router.push({path:"/music/albums/"+this.item.album_id})},open_album_artist:function(){this.$router.push({path:"/music/artists/"+this.item.album_artist_id})},open_genre:function(){this.$router.push({name:"Genre",params:{genre:this.item.genre}})},open_spotify_artist:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})}}},KS={key:0,class:"modal is-active"},YS={class:"modal-content fd-modal-card"},ZS={class:"card"},JS={class:"card-content"},XS=["textContent"],QS=["textContent"],eE={class:"content is-small"},tE=["textContent"],nE=["textContent"],rE=["textContent"],sE={key:0},oE=["textContent"],iE=["textContent"],aE=["textContent"],lE={key:1},uE=["textContent"],cE=["textContent"],dE={key:2},fE=["textContent"],mE=["textContent"],pE={key:3},hE=["textContent"],_E=["textContent"],gE=["textContent"],yE=["textContent"],vE=["textContent"],bE=["textContent"],wE=["textContent"],CE=["textContent"],xE=["textContent"],kE={class:"title is-6"},SE=["textContent"],EE={key:0,class:"has-text-weight-normal"},$E=Tt(" ("),zE=["textContent"],AE=Tt(", "),OE=["textContent"],TE=Tt(") "),PE=["textContent"],DE={class:"title is-6"},FE=["textContent"],IE=["textContent"],ME=["textContent"],RE=["textContent"],LE={class:"card-footer"},NE=["textContent"],VE=["textContent"];function jE(e,t,n,r,s,o){const i=T("mdicon");return E(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",KS,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",YS,[c("div",ZS,[c("div",JS,[c("p",{class:"title is-4",textContent:v(n.item.title)},null,8,XS),c("p",{class:"subtitle",textContent:v(n.item.artist)},null,8,QS),c("div",eE,[c("p",null,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album"))},null,8,tE),n.item.album_id?(E(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.item.album)},null,8,nE)):(E(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album)},null,8,rE))]),n.item.album_artist?(E(),D("p",sE,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album-artist"))},null,8,oE),n.item.album_artist_id?(E(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:v(n.item.album_artist)},null,8,iE)):(E(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album_artist)},null,8,aE))])):J("",!0),n.item.composer?(E(),D("p",lE,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.composer"))},null,8,uE),c("span",{class:"title is-6",textContent:v(n.item.composer)},null,8,cE)])):J("",!0),n.item.year>0?(E(),D("p",dE,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.year"))},null,8,fE),c("span",{class:"title is-6",textContent:v(n.item.year)},null,8,mE)])):J("",!0),n.item.genre?(E(),D("p",pE,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.genre"))},null,8,hE),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:v(n.item.genre)},null,8,_E)])):J("",!0),c("p",null,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.position"))},null,8,gE),c("span",{class:"title is-6",textContent:v([n.item.disc_number,n.item.track_number].join(" / "))},null,8,yE)]),c("p",null,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.duration"))},null,8,vE),c("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.item.length_ms))},null,8,bE)]),c("p",null,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.path"))},null,8,wE),c("span",{class:"title is-6",textContent:v(n.item.path)},null,8,CE)]),c("p",null,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.type"))},null,8,xE),c("span",kE,[c("span",{textContent:v([n.item.media_kind,n.item.data_kind].join(" - "))},null,8,SE),n.item.data_kind==="spotify"?(E(),D("span",EE,[$E,c("a",{onClick:t[4]||(t[4]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:v(e.$t("dialog.queue-item.spotify-artist"))},null,8,zE),AE,c("a",{onClick:t[5]||(t[5]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:v(e.$t("dialog.queue-item.spotify-album"))},null,8,OE),TE])):J("",!0)])]),c("p",null,[c("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.quality"))},null,8,PE),c("span",DE,[c("span",{textContent:v(n.item.type)},null,8,FE),n.item.samplerate?(E(),D("span",{key:0,textContent:v(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,IE)):J("",!0),n.item.channels?(E(),D("span",{key:1,textContent:v(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,ME)):J("",!0),n.item.bitrate?(E(),D("span",{key:2,textContent:v(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,RE)):J("",!0)])])])]),c("footer",LE,[c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.remove&&o.remove(...a))},[C(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.remove"))},null,8,NE)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[C(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.play"))},null,8,VE)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):J("",!0)]),_:1})])}var Ey=ve(GS,[["render",jE]]);const BE={name:"ModalDialogAddUrlStream",props:["show"],emits:["close"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream:function(){this.loading=!0,K.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play:function(){this.loading=!0,K.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},HE={key:0,class:"modal is-active"},UE={class:"modal-content fd-modal-card"},qE={class:"card"},WE={class:"card-content"},GE=["textContent"],KE={class:"field"},YE={class:"control is-expanded has-icons-left"},ZE=["placeholder","disabled"],JE={key:0,class:"card-footer"},XE={class:"card-footer-item has-text-dark"},QE=["textContent"],e$={key:1,class:"card-footer"},t$=["textContent"],n$=["textContent"],r$=["textContent"];function s$(e,t,n,r,s,o){const i=T("mdicon");return E(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",HE,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",UE,[c("div",qE,[c("div",WE,[c("p",{class:"title is-4",textContent:v(e.$t("dialog.add.stream.title"))},null,8,GE),c("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=_t((...a)=>o.play&&o.play(...a),["prevent"]))},[c("div",KE,[c("p",YE,[Ct(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading},null,8,ZE),[[sn,s.url]]),C(i,{class:"icon is-left",name:"web",size:"16"})])])],32)]),s.loading?(E(),D("footer",JE,[c("a",XE,[C(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.loading"))},null,8,QE)])])):(E(),D("footer",e$,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[C(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.cancel"))},null,8,t$)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[C(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.add"))},null,8,n$)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[C(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.play"))},null,8,r$)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):J("",!0)]),_:1})])}var o$=ve(BE,[["render",s$]]);const i$={name:"ModalDialogPlaylistSave",props:["show"],emits:["close"],data(){return{playlist_name:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{save:function(){this.playlist_name.length<1||(this.loading=!0,K.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},a$={key:0,class:"modal is-active"},l$={class:"modal-content fd-modal-card"},u$={class:"card"},c$={class:"card-content"},d$=["textContent"],f$={class:"field"},m$={class:"control is-expanded has-icons-left"},p$=["disabled"],h$={key:0,class:"card-footer"},_$={class:"card-footer-item has-text-dark"},g$=["textContent"],y$={key:1,class:"card-footer"},v$=["textContent"],b$=["textContent"];function w$(e,t,n,r,s,o){const i=T("mdicon");return E(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",a$,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",l$,[c("div",u$,[c("div",c$,[c("p",{class:"title is-4",textContent:v(e.$t("dialog.playlist.save.title"))},null,8,d$),c("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=_t((...a)=>o.save&&o.save(...a),["prevent"]))},[c("div",f$,[c("p",m$,[Ct(c("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:"Playlist name",disabled:s.loading},null,8,p$),[[sn,s.playlist_name]]),C(i,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),s.loading?(E(),D("footer",h$,[c("a",_$,[C(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.saving"))},null,8,g$)])])):(E(),D("footer",y$,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[C(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.cancel"))},null,8,v$)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.save&&o.save(...a))},[C(i,{class:"icon",name:"content-save",size:"16"}),c("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.save"))},null,8,b$)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):J("",!0)]),_:1})])}var C$=ve(i$,[["render",w$]]),$y={exports:{}},pf=cy(TC);/**! * Sortable 1.14.0 * @author RubaXa * @author owenm * @license MIT - */function Fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,s)}return n}function ns(e){for(var t=1;t=0)&&(n[r]=e[r]);return n}function hE(e,t){if(e==null)return{};var n=fE(e,t),s,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&(!Object.prototype.propertyIsEnumerable.call(e,s)||(n[s]=e[s]))}return n}function mE(e){return pE(e)||_E(e)||gE(e)||vE()}function pE(e){if(Array.isArray(e))return pc(e)}function _E(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gE(e,t){if(!!e){if(typeof e=="string")return pc(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 pc(e,t)}}function pc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n"&&(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 wE(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Un(e,t,n,s){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Ja(e,t):Ja(e,t))||s&&e===n)return e;if(e===n)break}while(e=wE(e))}return null}var Mh=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var s=(" "+e.className+" ").replace(Mh," ").replace(" "+t+" "," ");e.className=(s+(n?" "+t:"")).replace(Mh," ")}}function je(e,t,n){var s=e&&e.style;if(s){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in s)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),s[t]=n+(typeof n=="string"?"":"px")}}function cr(e,t){var n="";if(typeof e=="string")n=e;else do{var s=je(e,"transform");s&&s!=="none"&&(n=s+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function bg(e,t,n){if(e){var s=e.getElementsByTagName(t),r=0,o=s.length;if(n)for(;r=o:i=r<=o,!i)return s;if(s===ts())break;s=Ms(s,!1)}return!1}function oo(e,t,n,s){for(var r=0,o=0,i=e.children;o2&&arguments[2]!==void 0?arguments[2]:{},r=s.evt,o=hE(s,AE);ki.pluginEvent.bind(Xe)(t,n,ns({dragEl:xe,parentEl:Tt,ghostEl:nt,rootEl:xt,nextEl:sr,lastDownEl:Ma,cloneEl:Pt,cloneHidden:Ds,dragStarted:Do,putSortable:Kt,activeSortable:Xe.active,originalEvent:r,oldIndex:Vr,oldDraggableIndex:Jo,newIndex:vn,newDraggableIndex:Ts,hideGhostForTarget:Cg,unhideGhostForTarget:$g,cloneNowHidden:function(){Ds=!0},cloneNowShown:function(){Ds=!1},dispatchSortableEvent:function(a){on({sortable:n,name:a,originalEvent:r})}},o))};function on(e){Po(ns({putSortable:Kt,cloneEl:Pt,targetEl:xe,rootEl:xt,oldIndex:Vr,oldDraggableIndex:Jo,newIndex:vn,newDraggableIndex:Ts},e))}var xe,Tt,nt,xt,sr,Ma,Pt,Ds,Vr,vn,Jo,Ts,Hi,Kt,Lr=!1,Xa=!1,Qa=[],Js,Ln,ku,Su,Vh,jh,Do,Tr,Xo,Qo=!1,zi=!1,Ra,Jt,xu=[],_c=!1,el=[],Rl=typeof document!="undefined",qi=vg,Bh=wi||vs?"cssFloat":"float",OE=Rl&&!bE&&!vg&&"draggable"in document.createElement("div"),Sg=function(){if(!!Rl){if(vs)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),xg=function(t,n){var s=je(t),r=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),o=oo(t,0,n),i=oo(t,1,n),a=o&&je(o),l=i&&je(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Et(o).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Et(i).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var h=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===h)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=r&&s[Bh]==="none"||i&&s[Bh]==="none"&&c+d>r)?"vertical":"horizontal"},TE=function(t,n,s){var r=s?t.left:t.top,o=s?t.right:t.bottom,i=s?t.width:t.height,a=s?n.left:n.top,l=s?n.right:n.bottom,c=s?n.width:n.height;return r===a||o===l||r+i/2===a+c/2},PE=function(t,n){var s;return Qa.some(function(r){var o=r[Xt].options.emptyInsertThreshold;if(!(!o||Pd(r))){var i=Et(r),a=t>=i.left-o&&t<=i.right+o,l=n>=i.top-o&&n<=i.bottom+o;if(a&&l)return s=r}}),s},Eg=function(t){function n(o,i){return function(a,l,c,d){var h=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(o==null&&(i||h))return!0;if(o==null||o===!1)return!1;if(i&&o==="clone")return o;if(typeof o=="function")return n(o(a,l,c,d),i)(a,l,c,d);var f=(i?a:l).options.group.name;return o===!0||typeof o=="string"&&o===f||o.join&&o.indexOf(f)>-1}}var s={},r=t.group;(!r||Ia(r)!="object")&&(r={name:r}),s.name=r.name,s.checkPull=n(r.pull,!0),s.checkPut=n(r.put),s.revertClone=r.revertClone,t.group=s},Cg=function(){!Sg&&nt&&je(nt,"display","none")},$g=function(){!Sg&&nt&&je(nt,"display","")};Rl&&document.addEventListener("click",function(e){if(Xa)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Xa=!1,!1},!0);var Xs=function(t){if(xe){t=t.touches?t.touches[0]:t;var n=PE(t.clientX,t.clientY);if(n){var s={};for(var r in t)t.hasOwnProperty(r)&&(s[r]=t[r]);s.target=s.rootEl=n,s.preventDefault=void 0,s.stopPropagation=void 0,n[Xt]._onDragOver(s)}}},DE=function(t){xe&&xe.parentNode[Xt]._isOutsideThisEl(t.target)};function Xe(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=In({},t),e[Xt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return xg(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:Xe.supportPointer!==!1&&"PointerEvent"in window&&!Zo,emptyInsertThreshold:5};ki.initializePlugins(this,e,n);for(var s in n)!(s in t)&&(t[s]=n[s]);Eg(t);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=t.forceFallback?!1:OE,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?lt(e,"pointerdown",this._onTapStart):(lt(e,"mousedown",this._onTapStart),lt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(lt(e,"dragover",this),lt(e,"dragenter",this)),Qa.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),In(this,EE())}Xe.prototype={constructor:Xe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Tr=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,xe):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var n=this,s=this.el,r=this.options,o=r.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=r.filter;if(jE(s),!xe&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||r.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Zo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Un(l,r.draggable,s,!1),!(l&&l.animated)&&Ma!==l)){if(Vr=Ft(l),Jo=Ft(l,r.draggable),typeof d=="function"){if(d.call(this,t,l,this)){on({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:s,fromEl:s}),cn("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(h){if(h=Un(c,h.trim(),s,!1),h)return on({sortable:n,rootEl:h,name:"filter",targetEl:l,fromEl:s,toEl:s}),cn("filter",n,{evt:t}),!0}),d)){o&&t.cancelable&&t.preventDefault();return}r.handle&&!Un(c,r.handle,s,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,s){var r=this,o=r.el,i=r.options,a=o.ownerDocument,l;if(s&&!xe&&s.parentNode===o){var c=Et(s);if(xt=o,xe=s,Tt=xe.parentNode,sr=xe.nextSibling,Ma=s,Hi=i.group,Xe.dragged=xe,Js={target:xe,clientX:(n||t).clientX,clientY:(n||t).clientY},Vh=Js.clientX-c.left,jh=Js.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,xe.style["will-change"]="all",l=function(){if(cn("delayEnded",r,{evt:t}),Xe.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!Ih&&r.nativeDraggable&&(xe.draggable=!0),r._triggerDragStart(t,n),on({sortable:r,name:"choose",originalEvent:t}),Ct(xe,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){bg(xe,d.trim(),Eu)}),lt(a,"dragover",Xs),lt(a,"mousemove",Xs),lt(a,"touchmove",Xs),lt(a,"mouseup",r._onDrop),lt(a,"touchend",r._onDrop),lt(a,"touchcancel",r._onDrop),Ih&&this.nativeDraggable&&(this.options.touchStartThreshold=4,xe.draggable=!0),cn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(wi||vs))){if(Xe.eventCanceled){this._onDrop();return}lt(a,"mouseup",r._disableDelayedDrag),lt(a,"touchend",r._disableDelayedDrag),lt(a,"touchcancel",r._disableDelayedDrag),lt(a,"mousemove",r._delayedDragTouchMoveHandler),lt(a,"touchmove",r._delayedDragTouchMoveHandler),i.supportPointer&<(a,"pointermove",r._delayedDragTouchMoveHandler),r._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(){xe&&Eu(xe),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ot(t,"mouseup",this._disableDelayedDrag),ot(t,"touchend",this._disableDelayedDrag),ot(t,"touchcancel",this._disableDelayedDrag),ot(t,"mousemove",this._delayedDragTouchMoveHandler),ot(t,"touchmove",this._delayedDragTouchMoveHandler),ot(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?lt(document,"pointermove",this._onTouchMove):n?lt(document,"touchmove",this._onTouchMove):lt(document,"mousemove",this._onTouchMove):(lt(xe,"dragend",this),lt(xt,"dragstart",this._onDragStart));try{document.selection?La(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Lr=!1,xt&&xe){cn("dragStarted",this,{evt:n}),this.nativeDraggable&<(document,"dragover",DE);var s=this.options;!t&&Ct(xe,s.dragClass,!1),Ct(xe,s.ghostClass,!0),Xe.active=this,t&&this._appendGhost(),on({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Ln){this._lastX=Ln.clientX,this._lastY=Ln.clientY,Cg();for(var t=document.elementFromPoint(Ln.clientX,Ln.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Ln.clientX,Ln.clientY),t!==n);)n=t;if(xe.parentNode[Xt]._isOutsideThisEl(t),n)do{if(n[Xt]){var s=void 0;if(s=n[Xt]._onDragOver({clientX:Ln.clientX,clientY:Ln.clientY,target:t,rootEl:n}),s&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);$g()}},_onTouchMove:function(t){if(Js){var n=this.options,s=n.fallbackTolerance,r=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=nt&&cr(nt,!0),a=nt&&i&&i.a,l=nt&&i&&i.d,c=qi&&Jt&&Lh(Jt),d=(o.clientX-Js.clientX+r.x)/(a||1)+(c?c[0]-xu[0]:0)/(a||1),h=(o.clientY-Js.clientY+r.y)/(l||1)+(c?c[1]-xu[1]:0)/(l||1);if(!Xe.active&&!Lr){if(s&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(on({rootEl:Tt,name:"add",toEl:Tt,fromEl:xt,originalEvent:t}),on({sortable:this,name:"remove",toEl:Tt,originalEvent:t}),on({rootEl:Tt,name:"sort",toEl:Tt,fromEl:xt,originalEvent:t}),on({sortable:this,name:"sort",toEl:Tt,originalEvent:t})),Kt&&Kt.save()):vn!==Vr&&vn>=0&&(on({sortable:this,name:"update",toEl:Tt,originalEvent:t}),on({sortable:this,name:"sort",toEl:Tt,originalEvent:t})),Xe.active&&((vn==null||vn===-1)&&(vn=Vr,Ts=Jo),on({sortable:this,name:"end",toEl:Tt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){cn("nulling",this),xt=xe=Tt=nt=sr=Pt=Ma=Ds=Js=Ln=Do=vn=Ts=Vr=Jo=Tr=Xo=Kt=Hi=Xe.dragged=Xe.ghost=Xe.clone=Xe.active=null,el.forEach(function(t){t.checked=!0}),el.length=ku=Su=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":xe&&(this._onDragOver(t),FE(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,s=this.el.children,r=0,o=s.length,i=this.options;rs.right+r||e.clientX<=s.right&&e.clientY>s.bottom&&e.clientX>=s.left:e.clientX>s.right&&e.clientY>s.top||e.clientX<=s.right&&e.clientY>s.bottom+r}function LE(e,t,n,s,r,o,i,a){var l=s?e.clientY:e.clientX,c=s?n.height:n.width,d=s?n.top:n.left,h=s?n.bottom:n.right,f=!1;if(!i){if(a&&Rad+c*o/2:lh-Ra)return-Xo}else if(l>d+c*(1-r)/2&&lh-c*o/2)?l>d+c/2?1:-1:0}function NE(e){return Ft(xe)1&&(tt.forEach(function(a){o.addAnimationState({target:a,rect:dn?Et(a):i}),bu(a),a.fromRect=i,s.removeAnimationState(a)}),dn=!1,qE(!this.options.removeCloneOnHide,r))},dragOverCompleted:function(n){var s=n.sortable,r=n.isOwner,o=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(o){if(r&&i._hideClone(),bo=!1,c.animation&&tt.length>1&&(dn||!r&&!i.options.sort&&!l)){var d=Et(kt,!1,!0,!0);tt.forEach(function(f){f!==kt&&(Nh(f,d),a.appendChild(f))}),dn=!0}if(!r)if(dn||Ki(),tt.length>1){var h=Wi;i._showClone(s),i.options.animation&&!Wi&&h&&gn.forEach(function(f){i.addAnimationState({target:f,rect:wo}),f.fromRect=wo,f.thisAnimationDuration=null})}else i._showClone(s)}},dragOverAnimationCapture:function(n){var s=n.dragRect,r=n.isOwner,o=n.activeSortable;if(tt.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!r&&o.multiDrag.isMultiDrag){wo=In({},s);var i=cr(kt,!0);wo.top-=i.f,wo.left-=i.e}},dragOverAnimationComplete:function(){dn&&(dn=!1,Ki())},drop:function(n){var s=n.originalEvent,r=n.rootEl,o=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(!!s){var h=this.options,f=o.children;if(!Pr)if(h.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(kt,h.selectedClass,!~tt.indexOf(kt)),~tt.indexOf(kt))tt.splice(tt.indexOf(kt),1),yo=null,Po({sortable:i,rootEl:r,name:"deselect",targetEl:kt,originalEvt:s});else{if(tt.push(kt),Po({sortable:i,rootEl:r,name:"select",targetEl:kt,originalEvt:s}),s.shiftKey&&yo&&i.el.contains(yo)){var m=Ft(yo),p=Ft(kt);if(~m&&~p&&m!==p){var _,g;for(p>m?(g=m,_=p):(g=p,_=m+1);g<_;g++)~tt.indexOf(f[g])||(Ct(f[g],h.selectedClass,!0),tt.push(f[g]),Po({sortable:i,rootEl:r,name:"select",targetEl:f[g],originalEvt:s}))}}else yo=kt;Nn=d}if(Pr&&this.isMultiDrag){if(dn=!1,(o[Xt].options.sort||o!==r)&&tt.length>1){var y=Et(kt),b=Ft(kt,":not(."+this.options.selectedClass+")");if(!bo&&h.animation&&(kt.thisAnimationDuration=null),d.captureAnimationState(),!bo&&(h.animation&&(kt.fromRect=y,tt.forEach(function(x){if(x.thisAnimationDuration=null,x!==kt){var C=dn?Et(x):y;x.fromRect=C,d.addAnimationState({target:x,rect:C})}})),Ki(),tt.forEach(function(x){f[b]?o.insertBefore(x,f[b]):o.appendChild(x),b++}),l===Ft(kt))){var S=!1;tt.forEach(function(x){if(x.sortableIndex!==Ft(x)){S=!0;return}}),S&&a("update")}tt.forEach(function(x){bu(x)}),d.animateAll()}Nn=d}(r===o||c&&c.lastPutMode!=="clone")&&gn.forEach(function(x){x.parentNode&&x.parentNode.removeChild(x)})}},nullingGlobal:function(){this.isMultiDrag=Pr=!1,gn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ot(document,"pointerup",this._deselectMultiDrag),ot(document,"mouseup",this._deselectMultiDrag),ot(document,"touchend",this._deselectMultiDrag),ot(document,"keydown",this._checkKeyDown),ot(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Pr!="undefined"&&Pr)&&Nn===this.sortable&&!(n&&Un(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;tt.length;){var s=tt[0];Ct(s,this.options.selectedClass,!1),tt.shift(),Po({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:s,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},In(e,{pluginName:"multiDrag",utils:{select:function(n){var s=n.parentNode[Xt];!s||!s.options.multiDrag||~tt.indexOf(n)||(Nn&&Nn!==s&&(Nn.multiDrag._deselectMultiDrag(),Nn=s),Ct(n,s.options.selectedClass,!0),tt.push(n))},deselect:function(n){var s=n.parentNode[Xt],r=tt.indexOf(n);!s||!s.options.multiDrag||!~r||(Ct(n,s.options.selectedClass,!1),tt.splice(r,1))}},eventProperties:function(){var n=this,s=[],r=[];return tt.forEach(function(o){s.push({multiDragElement:o,index:o.sortableIndex});var i;dn&&o!==kt?i=-1:dn?i=Ft(o,":not(."+n.options.selectedClass+")"):i=Ft(o),r.push({multiDragElement:o,index:i})}),{items:mE(tt),clones:[].concat(gn),oldIndicies:s,newIndicies:r}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function qE(e,t){tt.forEach(function(n,s){var r=t.children[n.sortableIndex+(e?Number(s):0)];r?t.insertBefore(n,r):t.appendChild(n)})}function Hh(e,t){gn.forEach(function(n,s){var r=t.children[n.sortableIndex+(e?Number(s):0)];r?t.insertBefore(n,r):t.appendChild(n)})}function Ki(){tt.forEach(function(e){e!==kt&&e.parentNode&&e.parentNode.removeChild(e)})}Xe.mount(new BE);Xe.mount(Id,Fd);var GE=Object.freeze(Object.defineProperty({__proto__:null,default:Xe,MultiDrag:zE,Sortable:Xe,Swap:UE},Symbol.toStringTag,{value:"Module"})),WE=eg(GE);(function(e,t){(function(s,r){e.exports=r(Td,WE)})(typeof self!="undefined"?self:tn,function(n,s){return function(r){var o={};function i(a){if(o[a])return o[a].exports;var l=o[a]={i:a,l:!1,exports:{}};return r[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=r,i.c=o,i.d=function(a,l,c){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},i.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var d in a)i.d(c,d,function(h){return a[h]}.bind(null,d));return c},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(r,o,i){var a=i("b622"),l=a("toStringTag"),c={};c[l]="z",r.exports=String(c)==="[object z]"},"0366":function(r,o,i){var a=i("1c0b");r.exports=function(l,c,d){if(a(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(h){return l.call(c,h)};case 2:return function(h,f){return l.call(c,h,f)};case 3:return function(h,f,m){return l.call(c,h,f,m)}}return function(){return l.apply(c,arguments)}}},"057f":function(r,o,i){var a=i("fc6a"),l=i("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],h=function(f){try{return l(f)}catch{return d.slice()}};r.exports.f=function(m){return d&&c.call(m)=="[object Window]"?h(m):l(a(m))}},"06cf":function(r,o,i){var a=i("83ab"),l=i("d1e7"),c=i("5c6c"),d=i("fc6a"),h=i("c04e"),f=i("5135"),m=i("0cfb"),p=Object.getOwnPropertyDescriptor;o.f=a?p:function(g,y){if(g=d(g),y=h(y,!0),m)try{return p(g,y)}catch{}if(f(g,y))return c(!l.f.call(g,y),g[y])}},"0cfb":function(r,o,i){var a=i("83ab"),l=i("d039"),c=i("cc12");r.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(r,o,i){var a=i("23e7"),l=i("d58f").left,c=i("a640"),d=i("ae40"),h=c("reduce"),f=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!h||!f},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(r,o,i){var a=i("c6b6"),l=i("9263");r.exports=function(c,d){var h=c.exec;if(typeof h=="function"){var f=h.call(c,d);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}},"159b":function(r,o,i){var a=i("da84"),l=i("fdbc"),c=i("17c2"),d=i("9112");for(var h in l){var f=a[h],m=f&&f.prototype;if(m&&m.forEach!==c)try{d(m,"forEach",c)}catch{m.forEach=c}}},"17c2":function(r,o,i){var a=i("b727").forEach,l=i("a640"),c=i("ae40"),d=l("forEach"),h=c("forEach");r.exports=!d||!h?function(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(r,o,i){var a=i("d066");r.exports=a("document","documentElement")},"1c0b":function(r,o){r.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(r,o,i){var a=i("b622"),l=a("iterator"),c=!1;try{var d=0,h={next:function(){return{done:!!d++}},return:function(){c=!0}};h[l]=function(){return this},Array.from(h,function(){throw 2})}catch{}r.exports=function(f,m){if(!m&&!c)return!1;var p=!1;try{var _={};_[l]=function(){return{next:function(){return{done:p=!0}}}},f(_)}catch{}return p}},"1d80":function(r,o){r.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(r,o,i){var a=i("d039"),l=i("b622"),c=i("2d00"),d=l("species");r.exports=function(h){return c>=51||!a(function(){var f=[],m=f.constructor={};return m[d]=function(){return{foo:1}},f[h](Boolean).foo!==1})}},"23cb":function(r,o,i){var a=i("a691"),l=Math.max,c=Math.min;r.exports=function(d,h){var f=a(d);return f<0?l(f+h,0):c(f,h)}},"23e7":function(r,o,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),d=i("6eeb"),h=i("ce4e"),f=i("e893"),m=i("94ca");r.exports=function(p,_){var g=p.target,y=p.global,b=p.stat,S,x,C,A,M,j;if(y?x=a:b?x=a[g]||h(g,{}):x=(a[g]||{}).prototype,x)for(C in _){if(M=_[C],p.noTargetGet?(j=l(x,C),A=j&&j.value):A=x[C],S=m(y?C:g+(b?".":"#")+C,p.forced),!S&&A!==void 0){if(typeof M==typeof A)continue;f(M,A)}(p.sham||A&&A.sham)&&c(M,"sham",!0),d(x,C,M,p)}}},"241c":function(r,o,i){var a=i("ca84"),l=i("7839"),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(h){return a(h,c)}},"25f0":function(r,o,i){var a=i("6eeb"),l=i("825a"),c=i("d039"),d=i("ad6d"),h="toString",f=RegExp.prototype,m=f[h],p=c(function(){return m.call({source:"a",flags:"b"})!="/a/b"}),_=m.name!=h;(p||_)&&a(RegExp.prototype,h,function(){var y=l(this),b=String(y.source),S=y.flags,x=String(S===void 0&&y instanceof RegExp&&!("flags"in f)?d.call(y):S);return"/"+b+"/"+x},{unsafe:!0})},"2ca0":function(r,o,i){var a=i("23e7"),l=i("06cf").f,c=i("50c4"),d=i("5a34"),h=i("1d80"),f=i("ab13"),m=i("c430"),p="".startsWith,_=Math.min,g=f("startsWith"),y=!m&&!g&&!!function(){var b=l(String.prototype,"startsWith");return b&&!b.writable}();a({target:"String",proto:!0,forced:!y&&!g},{startsWith:function(S){var x=String(h(this));d(S);var C=c(_(arguments.length>1?arguments[1]:void 0,x.length)),A=String(S);return p?p.call(x,A,C):x.slice(C,C+A.length)===A}})},"2d00":function(r,o,i){var a=i("da84"),l=i("342f"),c=a.process,d=c&&c.versions,h=d&&d.v8,f,m;h?(f=h.split("."),m=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(m=f[1]))),r.exports=m&&+m},"342f":function(r,o,i){var a=i("d066");r.exports=a("navigator","userAgent")||""},"35a1":function(r,o,i){var a=i("f5df"),l=i("3f8c"),c=i("b622"),d=c("iterator");r.exports=function(h){if(h!=null)return h[d]||h["@@iterator"]||l[a(h)]}},"37e8":function(r,o,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),d=i("df75");r.exports=a?Object.defineProperties:function(f,m){c(f);for(var p=d(m),_=p.length,g=0,y;_>g;)l.f(f,y=p[g++],m[y]);return f}},"3bbe":function(r,o,i){var a=i("861d");r.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(r,o,i){var a=i("6547").charAt,l=i("69f3"),c=i("7dd0"),d="String Iterator",h=l.set,f=l.getterFor(d);c(String,"String",function(m){h(this,{type:d,string:String(m),index:0})},function(){var p=f(this),_=p.string,g=p.index,y;return g>=_.length?{value:void 0,done:!0}:(y=a(_,g),p.index+=y.length,{value:y,done:!1})})},"3f8c":function(r,o){r.exports={}},"4160":function(r,o,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(r,o,i){var a=i("da84");r.exports=a},"44ad":function(r,o,i){var a=i("d039"),l=i("c6b6"),c="".split;r.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(r,o,i){var a=i("b622"),l=i("7c73"),c=i("9bf2"),d=a("unscopables"),h=Array.prototype;h[d]==null&&c.f(h,d,{configurable:!0,value:l(null)}),r.exports=function(f){h[d][f]=!0}},"44e7":function(r,o,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),d=c("match");r.exports=function(h){var f;return a(h)&&((f=h[d])!==void 0?!!f:l(h)=="RegExp")}},"4930":function(r,o,i){var a=i("d039");r.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(r,o,i){var a=i("fc6a"),l=i("50c4"),c=i("23cb"),d=function(h){return function(f,m,p){var _=a(f),g=l(_.length),y=c(p,g),b;if(h&&m!=m){for(;g>y;)if(b=_[y++],b!=b)return!0}else for(;g>y;y++)if((h||y in _)&&_[y]===m)return h||y||0;return!h&&-1}};r.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(r,o,i){var a=i("23e7"),l=i("b727").filter,c=i("1dde"),d=i("ae40"),h=c("filter"),f=d("filter");a({target:"Array",proto:!0,forced:!h||!f},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(r,o,i){var a=i("0366"),l=i("7b0b"),c=i("9bdd"),d=i("e95a"),h=i("50c4"),f=i("8418"),m=i("35a1");r.exports=function(_){var g=l(_),y=typeof this=="function"?this:Array,b=arguments.length,S=b>1?arguments[1]:void 0,x=S!==void 0,C=m(g),A=0,M,j,O,V,q,F;if(x&&(S=a(S,b>2?arguments[2]:void 0,2)),C!=null&&!(y==Array&&d(C)))for(V=C.call(g),q=V.next,j=new y;!(O=q.call(V)).done;A++)F=x?c(V,S,[O.value,A],!0):O.value,f(j,A,F);else for(M=h(g.length),j=new y(M);M>A;A++)F=x?S(g[A],A):g[A],f(j,A,F);return j.length=A,j}},"4fad":function(r,o,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(r,o,i){var a=i("a691"),l=Math.min;r.exports=function(c){return c>0?l(a(c),9007199254740991):0}},"5135":function(r,o){var i={}.hasOwnProperty;r.exports=function(a,l){return i.call(a,l)}},"5319":function(r,o,i){var a=i("d784"),l=i("825a"),c=i("7b0b"),d=i("50c4"),h=i("a691"),f=i("1d80"),m=i("8aa5"),p=i("14c3"),_=Math.max,g=Math.min,y=Math.floor,b=/\$([$&'`]|\d\d?|<[^>]*>)/g,S=/\$([$&'`]|\d\d?)/g,x=function(C){return C===void 0?C:String(C)};a("replace",2,function(C,A,M,j){var O=j.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,V=j.REPLACE_KEEPS_$0,q=O?"$":"$0";return[function(W,ue){var te=f(this),ae=W==null?void 0:W[C];return ae!==void 0?ae.call(W,te,ue):A.call(String(te),W,ue)},function(B,W){if(!O&&V||typeof W=="string"&&W.indexOf(q)===-1){var ue=M(A,B,this,W);if(ue.done)return ue.value}var te=l(B),ae=String(this),ve=typeof W=="function";ve||(W=String(W));var Le=te.global;if(Le){var qe=te.unicode;te.lastIndex=0}for(var me=[];;){var Y=p(te,ae);if(Y===null||(me.push(Y),!Le))break;var ce=String(Y[0]);ce===""&&(te.lastIndex=m(ae,d(te.lastIndex),qe))}for(var we="",U=0,re=0;re=U&&(we+=ae.slice(U,be)+$,U=be+ne.length)}return we+ae.slice(U)}];function F(B,W,ue,te,ae,ve){var Le=ue+B.length,qe=te.length,me=S;return ae!==void 0&&(ae=c(ae),me=b),A.call(ve,me,function(Y,ce){var we;switch(ce.charAt(0)){case"$":return"$";case"&":return B;case"`":return W.slice(0,ue);case"'":return W.slice(Le);case"<":we=ae[ce.slice(1,-1)];break;default:var U=+ce;if(U===0)return Y;if(U>qe){var re=y(U/10);return re===0?Y:re<=qe?te[re-1]===void 0?ce.charAt(1):te[re-1]+ce.charAt(1):Y}we=te[U-1]}return we===void 0?"":we})}})},"5692":function(r,o,i){var a=i("c430"),l=i("c6cd");(r.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,o,i){var a=i("d066"),l=i("241c"),c=i("7418"),d=i("825a");r.exports=a("Reflect","ownKeys")||function(f){var m=l.f(d(f)),p=c.f;return p?m.concat(p(f)):m}},"5a34":function(r,o,i){var a=i("44e7");r.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(r,o){r.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(r,o,i){var a=i("23e7"),l=i("a2bf"),c=i("7b0b"),d=i("50c4"),h=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(p){var _=c(this),g=d(_.length),y;return h(p),y=f(_,0),y.length=l(y,_,_,g,0,1,p,arguments.length>1?arguments[1]:void 0),y}})},"6547":function(r,o,i){var a=i("a691"),l=i("1d80"),c=function(d){return function(h,f){var m=String(l(h)),p=a(f),_=m.length,g,y;return p<0||p>=_?d?"":void 0:(g=m.charCodeAt(p),g<55296||g>56319||p+1===_||(y=m.charCodeAt(p+1))<56320||y>57343?d?m.charAt(p):g:d?m.slice(p,p+2):(g-55296<<10)+(y-56320)+65536)}};r.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(r,o,i){var a=i("861d"),l=i("e8b5"),c=i("b622"),d=c("species");r.exports=function(h,f){var m;return l(h)&&(m=h.constructor,typeof m=="function"&&(m===Array||l(m.prototype))?m=void 0:a(m)&&(m=m[d],m===null&&(m=void 0))),new(m===void 0?Array:m)(f===0?0:f)}},"69f3":function(r,o,i){var a=i("7f9a"),l=i("da84"),c=i("861d"),d=i("9112"),h=i("5135"),f=i("f772"),m=i("d012"),p=l.WeakMap,_,g,y,b=function(O){return y(O)?g(O):_(O,{})},S=function(O){return function(V){var q;if(!c(V)||(q=g(V)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return q}};if(a){var x=new p,C=x.get,A=x.has,M=x.set;_=function(O,V){return M.call(x,O,V),V},g=function(O){return C.call(x,O)||{}},y=function(O){return A.call(x,O)}}else{var j=f("state");m[j]=!0,_=function(O,V){return d(O,j,V),V},g=function(O){return h(O,j)?O[j]:{}},y=function(O){return h(O,j)}}r.exports={set:_,get:g,has:y,enforce:b,getterFor:S}},"6eeb":function(r,o,i){var a=i("da84"),l=i("9112"),c=i("5135"),d=i("ce4e"),h=i("8925"),f=i("69f3"),m=f.get,p=f.enforce,_=String(String).split("String");(r.exports=function(g,y,b,S){var x=S?!!S.unsafe:!1,C=S?!!S.enumerable:!1,A=S?!!S.noTargetGet:!1;if(typeof b=="function"&&(typeof y=="string"&&!c(b,"name")&&l(b,"name",y),p(b).source=_.join(typeof y=="string"?y:"")),g===a){C?g[y]=b:d(y,b);return}else x?!A&&g[y]&&(C=!0):delete g[y];C?g[y]=b:l(g,y,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||h(this)})},"6f53":function(r,o,i){var a=i("83ab"),l=i("df75"),c=i("fc6a"),d=i("d1e7").f,h=function(f){return function(m){for(var p=c(m),_=l(p),g=_.length,y=0,b=[],S;g>y;)S=_[y++],(!a||d.call(p,S))&&b.push(f?[S,p[S]]:p[S]);return b}};r.exports={entries:h(!0),values:h(!1)}},"73d9":function(r,o,i){var a=i("44d2");a("flatMap")},"7418":function(r,o){o.f=Object.getOwnPropertySymbols},"746f":function(r,o,i){var a=i("428f"),l=i("5135"),c=i("e538"),d=i("9bf2").f;r.exports=function(h){var f=a.Symbol||(a.Symbol={});l(f,h)||d(f,h,{value:c.f(h)})}},"7839":function(r,o){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(r,o,i){var a=i("1d80");r.exports=function(l){return Object(a(l))}},"7c73":function(r,o,i){var a=i("825a"),l=i("37e8"),c=i("7839"),d=i("d012"),h=i("1be4"),f=i("cc12"),m=i("f772"),p=">",_="<",g="prototype",y="script",b=m("IE_PROTO"),S=function(){},x=function(O){return _+y+p+O+_+"/"+y+p},C=function(O){O.write(x("")),O.close();var V=O.parentWindow.Object;return O=null,V},A=function(){var O=f("iframe"),V="java"+y+":",q;return O.style.display="none",h.appendChild(O),O.src=String(V),q=O.contentWindow.document,q.open(),q.write(x("document.F=Object")),q.close(),q.F},M,j=function(){try{M=document.domain&&new ActiveXObject("htmlfile")}catch{}j=M?C(M):A();for(var O=c.length;O--;)delete j[g][c[O]];return j()};d[b]=!0,r.exports=Object.create||function(V,q){var F;return V!==null?(S[g]=a(V),F=new S,S[g]=null,F[b]=V):F=j(),q===void 0?F:l(F,q)}},"7dd0":function(r,o,i){var a=i("23e7"),l=i("9ed3"),c=i("e163"),d=i("d2bb"),h=i("d44e"),f=i("9112"),m=i("6eeb"),p=i("b622"),_=i("c430"),g=i("3f8c"),y=i("ae93"),b=y.IteratorPrototype,S=y.BUGGY_SAFARI_ITERATORS,x=p("iterator"),C="keys",A="values",M="entries",j=function(){return this};r.exports=function(O,V,q,F,B,W,ue){l(q,V,F);var te=function(re){if(re===B&&me)return me;if(!S&&re in Le)return Le[re];switch(re){case C:return function(){return new q(this,re)};case A:return function(){return new q(this,re)};case M:return function(){return new q(this,re)}}return function(){return new q(this)}},ae=V+" Iterator",ve=!1,Le=O.prototype,qe=Le[x]||Le["@@iterator"]||B&&Le[B],me=!S&&qe||te(B),Y=V=="Array"&&Le.entries||qe,ce,we,U;if(Y&&(ce=c(Y.call(new O)),b!==Object.prototype&&ce.next&&(!_&&c(ce)!==b&&(d?d(ce,b):typeof ce[x]!="function"&&f(ce,x,j)),h(ce,ae,!0,!0),_&&(g[ae]=j))),B==A&&qe&&qe.name!==A&&(ve=!0,me=function(){return qe.call(this)}),(!_||ue)&&Le[x]!==me&&f(Le,x,me),g[V]=me,B)if(we={values:te(A),keys:W?me:te(C),entries:te(M)},ue)for(U in we)(S||ve||!(U in Le))&&m(Le,U,we[U]);else a({target:V,proto:!0,forced:S||ve},we);return we}},"7f9a":function(r,o,i){var a=i("da84"),l=i("8925"),c=a.WeakMap;r.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(r,o,i){var a=i("861d");r.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(r,o,i){var a=i("d039");r.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"8418":function(r,o,i){var a=i("c04e"),l=i("9bf2"),c=i("5c6c");r.exports=function(d,h,f){var m=a(h);m in d?l.f(d,m,c(0,f)):d[m]=f}},"861d":function(r,o){r.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"8875":function(r,o,i){var a,l,c;(function(d,h){l=[],a=h,c=typeof a=="function"?a.apply(o,l):a,c!==void 0&&(r.exports=c)})(typeof self!="undefined"?self:this,function(){function d(){var h=Object.getOwnPropertyDescriptor(document,"currentScript");if(!h&&"currentScript"in document&&document.currentScript||h&&h.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(M){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,m=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(M.stack)||m.exec(M.stack),_=p&&p[1]||!1,g=p&&p[2]||!1,y=document.location.href.replace(document.location.hash,""),b,S,x,C=document.getElementsByTagName("script");_===y&&(b=document.documentElement.outerHTML,S=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]* diff --git a/web-src/src/icons.js b/web-src/src/icons.js index b8a7c2ff..57c4652c 100644 --- a/web-src/src/icons.js +++ b/web-src/src/icons.js @@ -2,8 +2,8 @@ import { mdiAccountMusic, mdiAlbum, mdiArrowCollapseDown, - mdiBookOpenVariant, mdiBookOpenPageVariant, + mdiBookOpenVariant, mdiBookshelf, mdiCancel, mdiCast, @@ -24,9 +24,10 @@ import { mdiFire, mdiFolder, mdiFolderOpen, + mdiOpenInNew, mdiMagnify, mdiMenu, - mdiMicrophone, + mdiPodcast, mdiMusic, mdiMusicBoxMultiple, mdiPause, @@ -35,7 +36,7 @@ import { mdiPlay, mdiPlaylistPlay, mdiPlaylistPlus, - mdiRadio, + mdiBroadcast, mdiRadioTower, mdiRefresh, mdiRepeat, @@ -61,8 +62,8 @@ export const icons = { mdiAccountMusic, mdiAlbum, mdiArrowCollapseDown, - mdiBookOpenVariant, mdiBookOpenPageVariant, + mdiBookOpenVariant, mdiBookshelf, mdiCancel, mdiCast, @@ -83,9 +84,10 @@ export const icons = { mdiFire, mdiFolder, mdiFolderOpen, + mdiOpenInNew, mdiMagnify, mdiMenu, - mdiMicrophone, + mdiPodcast, mdiMusic, mdiMusicBoxMultiple, mdiPause, @@ -94,7 +96,7 @@ export const icons = { mdiPlay, mdiPlaylistPlay, mdiPlaylistPlus, - mdiRadio, + mdiBroadcast, mdiRadioTower, mdiRefresh, mdiRepeat, diff --git a/web-src/src/main.js b/web-src/src/main.js index 84e1c8ec..45511113 100644 --- a/web-src/src/main.js +++ b/web-src/src/main.js @@ -1,4 +1,5 @@ import { createApp } from 'vue' +import i18n from './i18n' import store from './store' import { router } from './router' import VueProgressBar from '@aacassandra/vue3-progressbar' @@ -30,6 +31,7 @@ const app = createApp(App) .use(mdiVue, { icons: icons }) + .use(i18n) app.config.globalProperties.$filters = filters app.mount('#app') diff --git a/web-src/src/pages/PageAbout.vue b/web-src/src/pages/PageAbout.vue index d6f12842..370c353f 100644 --- a/web-src/src/pages/PageAbout.vue +++ b/web-src/src/pages/PageAbout.vue @@ -4,10 +4,8 @@
-

OwnTone - version {{ config.version }}

-

- {{ config.library_name }} -

+

+

@@ -21,65 +19,49 @@
-

Library

+

- - - + + + + + + + + + - + - - - - - - - - - - - - - - - - @@ -94,20 +76,8 @@
-

- Compiled with support for {{ config.buildoptions.join(', ') }}. -

-

- Web interface built with Bulma, - Material Design Icons, Vue.js, - axios and - more. -

+

+

diff --git a/web-src/src/pages/PageAlbum.vue b/web-src/src/pages/PageAlbum.vue index dc14a5c7..409353e4 100644 --- a/web-src/src/pages/PageAlbum.vue +++ b/web-src/src/pages/PageAlbum.vue @@ -1,46 +1,29 @@ diff --git a/web-src/src/pages/PageAlbums.vue b/web-src/src/pages/PageAlbums.vue index 1d590a8c..6d2f09fa 100644 --- a/web-src/src/pages/PageAlbums.vue +++ b/web-src/src/pages/PageAlbums.vue @@ -1,59 +1,36 @@
Artists + +
+ +
+ +
+ +
- {{ $filters.number(library.artists) }} + + ()
Albums - {{ $filters.number(library.albums) }} -
Tracks - {{ $filters.number(library.songs) }} -
Total playtime - {{ $filters.durationInDays(library.db_playtime * 1000) }} -
Library updated - {{ $filters.timeFromNow(library.updated_at) }} ago - ({{ $filters.datetime(library.updated_at) }}) -
Uptime - {{ $filters.timeFromNow(library.started_at, true) }} - ({{ $filters.datetime(library.started_at) }}) + + ()