owntone-server/htdocs/assets/index.js

61 lines
831 KiB
JavaScript
Raw Normal View History

2024-01-23 05:01:07 -05:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const Uh="UPDATE_CONFIG",Bh="UPDATE_SETTINGS",Al="UPDATE_SETTINGS_OPTION",jh="UPDATE_LIBRARY_STATS",qh="UPDATE_LIBRARY_RSS_COUNT",Wh="UPDATE_OUTPUTS",pd="UPDATE_PLAYER_STATUS",Gh="UPDATE_QUEUE",ac="UPDATE_LYRICS",Kh="UPDATE_LASTFM",Zh="UPDATE_SPOTIFY",Yh="UPDATE_PAIRING",hd="SPOTIFY_NEW_RELEASES",_d="SPOTIFY_FEATURED_PLAYLISTS",Bm="ADD_NOTIFICATION",lc="DELETE_NOTIFICATION",uc="SEARCH_SOURCE",gd="ADD_RECENT_SEARCH",Jh="COMPOSER_TRACKS_SORT",Xh="GENRE_TRACKS_SORT",Tl="HIDE_SINGLES",vi="HIDE_SPOTIFY",Qh="ARTISTS_SORT",e_="ARTIST_ALBUMS_SORT",t_="ARTIST_TRACKS_SORT",n_="ALBUMS_SORT",r_="SHOW_ONLY_NEXT_ITEMS",Xs="SHOW_BURGER_MENU",Qs="SHOW_PLAYER_MENU",bi="SHOW_UPDATE_DIALOG",yd="UPDATE_DIALOG_SCAN_KIND";/**
* @vue/shared v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ol(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ut={},js=[],an=()=>{},gb=()=>!1,zi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vd=e=>e.startsWith("onUpdate:"),zt=Object.assign,bd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yb=Object.prototype.hasOwnProperty,nt=(e,t)=>yb.call(e,t),ze=Array.isArray,qs=e=>co(e)==="[object Map]",zs=e=>co(e)==="[object Set]",jm=e=>co(e)==="[object Date]",vb=e=>co(e)==="[object RegExp]",De=e=>typeof e=="function",Ct=e=>typeof e=="string",qr=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",zd=e=>(ft(e)||De(e))&&De(e.then)&&De(e.catch),s_=Object.prototype.toString,co=e=>s_.call(e),bb=e=>co(e).slice(8,-1),o_=e=>co(e)==="[object Object]",Cd=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ho=Ol(",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))},zb=/-(\w)/g,Xt=Dl(e=>e.replace(zb,(t,n)=>n?n.toUpperCase():"")),Cb=/\B([A-Z])/g,gn=Dl(e=>e.replace(Cb,"-$1").toLowerCase()),Ci=Dl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Uo=Dl(e=>e?`on${Ci(e)}`:""),qn=(e,t)=>!Object.is(e,t),Ws=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},tl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ri=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nl=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let qm;const i_=()=>qm||(qm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),wb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",kb=Ol(wb);function Zr(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ct(r)?$b(r):Zr(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ct(e)||ft(e))return e}const xb=/;(?![^(]*\))/g,Eb=/:([^]+)/,Sb=/\/\*[^]*?\*\//g;function $b(e){const t={};return e.replace(Sb,"").split(xb).forEach(n=>{if(n){const r=n.split(Eb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ee(e){let t="";if(Ct(e))t=e;else if(ze(e))for(let n=0;n<e.length;n++){const r=Ee(e[n]);r&&(t+=r+" ")}else if(ft(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Po(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=Ee(t)),n&&(e.style=Zr(n)),e}const Ab="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tb=Ol(Ab);function a_(e){return!!e||e===""}function Ob(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=vr(e[r],t[r]);return n}function vr(e,t){if(e===t)return!0;let n=jm(e),r=jm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=qr(e),r=qr(t),n||r)return e===t;if(n=ze(e),r=ze(t),n||r)return n&&r?Ob(e,t):!1;if(n=ft(e),r=ft(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!vr(e[i],t[i]))return!1}}return String(e)===String(t)}function Pl(e,t){return e.findIndex(n=>vr(n,t))}const g=e=>Ct(e)?e:e==null?"":ze(e)||ft(e)&&(e.toString===s_||!De(e.toString))?JSON.stringify(e,l_,2):String(e),l_=(e,t)=>t&&t.__v_isRef?l_(e,t.value):qs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[gu(r,o)+" =>"]=s,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>gu(n))}:qr(t)?gu(t):ft(t)&&!ze(t)&&!o_(t)?String(t):t,gu=(e,t="")=>{var n;return qr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let hn;class wd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=hn,!t&&hn&&(this.index=(hn.scopes||(hn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=hn;try{return hn=this,t()}finally{hn=n}}}on(){hn=this}off(){hn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function kd(e){return new wd(e)}function u_(e,t=hn){t&&t.active&&t.effects.push(e)}function c_(){return hn}function Db(e){hn&&hn.cleanups.push(e)}let cs;class eo{constructor(t,n,r,s){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,u_(this,s)}get dirty(){if(this._dirtyLevel===1){Cs();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Pb(n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),ws()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=jr,n=cs;try{return jr=!0,cs=this,this._runnings++,Wm(this),this.fn()}finally{Gm(this),this._runnings--,cs=n,jr=t}}stop(){var t;this.active&&(Wm(this),Gm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Pb(e){return e.value}function Wm(e){e._trackId++,e._depsLength=0}function Gm(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)d_(e.deps[t],e);e.deps.length=e._depsLength}}function d_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function Ib(e,t){e.effect instanceof eo&&(e=e.effect.fn);const n=new eo(e,an,()=>{n.dirty&&n.run()});t&&(zt(n,t),t.scope&&u_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Fb(e){e.effect.stop()}let jr=!0,cc=0;const m_=[];function Cs(){m_.push(jr),jr=!1}function ws(){const e=m_.pop();jr=e===void 0?!0:e}function xd(){cc++}function Ed(){for(cc--;!cc&&dc.length;)dc.shift()()}function f_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&d_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const dc=[];function p_(e,t,n){xd();for(const r of e.keys())if(r._dirtyLevel<t&&e.get(r)===r._trackId){const s=r._dirtyLevel;r._dirtyLevel=t,s===0&&(r._shouldSchedule=!0,r.trigger())}h_(e),Ed()}function h_(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,dc.push(t.scheduler))}const __=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},rl=new WeakMap,ds=Symbol(""),mc=Symbol("");function cn(e,t,n){if(jr&&cs){let r=rl.get(e);r||rl.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=__(()=>r.delete(n))),f_(cs,s)}}function hr(e,t,n,r,s,o){const i=rl.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ze(e)){const l=Number(r);i.forEach((c,d)=>{(d==="length"||!qr(d)&&d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ze(e)?Cd(n)&&a.push(i.get("length")):(a.push(i.get(ds)),qs(e)&&a.push(i.get(mc)));break;case"delete":ze(e)||(a.push(i.get(ds)),qs(e)&&a.push(i.get(mc)));break;case"set":qs(e)&&a.push(i.get(ds));break}xd();for(const l of a)l&&p_(l,2);Ed()}function Rb(e,t){var n;return(n=rl.get(e))==null?void 0:n.get(t)}const Lb=Ol("__proto__,__v_isRef,__isVue"),g_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qr)),Km=Nb();function Nb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ye(this);for(let o=0,i=this.length;o<i;o++)cn(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Ye)):s}}),["push","pop","shift
* @vue/runtime-core v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-01-28 12:47:56 -05:00
**/function pz(e,t){}const hz={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},_z={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function _r(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){ks(o,t,n)}return s}function vn(e,t,n,r){if(De(e)){const o=_r(e,t,n,r);return o&&zd(o)&&o.catch(i=>{ks(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(vn(e[o],t,n,r));return s}function ks(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){_r(l,null,10,[e,i,a]);return}}gz(e,n,s,r)}function gz(e,t,n,r=!0){console.error(e)}let ii=!1,fc=!1;const jt=[];let er=0;const Ks=[];let Ir=null,as=0;const A_=Promise.resolve();let Rd=null;function fo(e){const t=Rd||A_;return e?t.then(this?e.bind(this):e):t}function yz(e){let t=er+1,n=jt.length;for(;t<n;){const r=t+n>>>1,s=jt[r],o=ai(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function Ll(e){(!jt.length||!jt.includes(e,ii&&e.allowRecurse?er+1:er))&&(e.id==null?jt.push(e):jt.splice(yz(e.id),0,e),T_())}function T_(){!ii&&!fc&&(fc=!0,Rd=A_.then(O_))}function vz(e){const t=jt.indexOf(e);t>er&&jt.splice(t,1)}function sl(e){ze(e)?Ks.push(...e):(!Ir||!Ir.includes(e,e.allowRecurse?as+1:as))&&Ks.push(e),T_()}function Qm(e,t,n=ii?er+1:0){for(;n<jt.length;n++){const r=jt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;jt.splice(n,1),n--,r()}}}function ol(e){if(Ks.length){const t=[...new Set(Ks)].sort((n,r)=>ai(n)-ai(r));if(Ks.length=0,Ir){Ir.push(...t);return}for(Ir=t,as=0;as<Ir.length;as++)Ir[as]();Ir=null,as=0}}const ai=e=>e.id==null?1/0:e.id,bz=(e,t)=>{const n=ai(e)-ai(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function O_(e){fc=!1,ii=!0,jt.sort(bz);try{for(er=0;er<jt.length;er++){const t=jt[er];t&&t.active!==!1&&_r(t,null,14)}}finally{er=0,jt.length=0,ol(),ii=!1,Rd=null,(jt.length||Ks.length)&&O_()}}let Rs,ji=[];function D_(e,t){var n,r;Rs=e,Rs?(Rs.enabled=!0,ji.forEach(({event:s,args:o})=>Rs.emit(s,...o)),ji=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{D_(o,t)}),setTimeout(()=>{Rs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ji=[])},3e3)):ji=[]}function zz(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ut;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||ut;f&&(s=n.map(p=>Ct(p)?p.trim():p)),m&&(s=n.map(ri))}let a,l=r[a=Uo(t)]||r[a=Uo(Xt(t))];!l&&o&&(l=r[a=Uo(gn(t))]),l&&vn(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,vn(c,e,6,s)}}function P_(e,t,n=!1){const r=t.emitsCache,s=r.get
2024-01-23 05:01:07 -05:00
* @vue/runtime-dom v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-01-28 12:47:56 -05:00
**/const W0="http://www.w3.org/2000/svg",G0="http://www.w3.org/1998/Math/MathML",Lr=typeof document<"u"?document:null,pf=Lr&&Lr.createElement("template"),K0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Lr.createElementNS(W0,e):t==="mathml"?Lr.createElementNS(G0,e):Lr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{pf.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=pf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Er="transition",zo="animation",no=Symbol("_vtc"),It=(e,{slots:t})=>tr(j_,$g(e),t);It.displayName="Transition";const Sg={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},Z0=It.props=zt({},Bd,Sg),es=(e,t=[])=>{ze(e)?e.forEach(n=>n(...t)):e&&e(...t)},hf=e=>e?ze(e)?e.some(t=>t.length>1):e.length>1:!1;function $g(e){const t={};for(const B in e)B in Sg||(t[B]=e[B]);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:c=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Y0(s),_=h&&h[0],b=h&&h[1],{onBeforeEnter:C,onEnter:w,onEnterCancelled:v,onLeave:z,onLeaveCancelled:S,onBeforeAppear:x=C,onAppear:N=w,onAppearCancelled:D=v}=t,P=(B,q,X)=>{Pr(B,q?d:a),Pr(B,q?c:i),X&&X()},L=(B,q)=>{B._isLeaving=!1,Pr(B,m),Pr(B,p),Pr(B,f),q&&q()},Z=B=>(q,X)=>{const pe=B?N:w,G=()=>P(q,B,X);es(pe,[q,G]),_f(()=>{Pr(q,B?l:o),mr(q,B?d:a),hf(pe)||gf(q,r,_,G)})};return zt(t,{onBeforeEnter(B){es(C,[B]),mr(B,o),mr(B,i)},onBeforeAppear(B){es(x,[B]),mr(B,l),mr(B,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(B,q){B._isLeaving=!0;const X=()=>L(B,q);mr(B,m),Tg(),mr(B,f),_f(()=>{B._isLeaving&&(Pr(B,m),mr(B,p),hf(z)||gf(B,r,b,X))}),es(z,[B,X])},onEnterCancelled(B){P(B,!1),es(v,[B])},onAppearCancelled(B){P(B,!0),es(D,[B])},onLeaveCancelled(B){L(B),es(S,[B])}})}function Y0(e){if(e==null)return null;if(ft(e))return[ku(e.enter),ku(e.leave)];{const t=ku(e);return[t,t]}}function ku(e){return nl(e)}function mr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[no]||(e[no]=new Set)).add(t)}function Pr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[no];n&&(n.delete(t),n.size||(e[no]=void 0))}function _f(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let J0=0;function gf(e,t,n,r){const s=e._endId=++J0,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ag(e,t);if(!i)return r();const c=i+"end";let d=0;const m=()=>{e.removeEventListener(c,f),o()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(c,f)}function Ag(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Er}Delay`),o=r(`${Er}Duration`),i=yf(s,o),a=r(`${zo}Delay`),l=r(`${zo}Duration`),c=yf(a,l);let d=null,m=0,f=0;t===Er?i>0&&(d=Er,m=i,f=o.length):t===zo?c>0&&(d=zo,m=c,f=l.length):(m=Math.max(i,c),d=m>0?i>c?Er:zo:null,f=d?d===Er?o.length:l.length:0);const p=d===Er&&/\b(transform|all)(,|$)/.test(r(`${Er}Property`).toString());return{
2024-01-23 05:01:07 -05:00
* vue v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-01-28 12:47:56 -05:00
**/const TC=()=>{},OC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:j_,BaseTransitionPropsValidators:Bd,Comment:Gt,DeprecationTypes:q0,EffectScope:wd,ErrorCodes:hz,ErrorTypeStrings:N0,Fragment:we,KeepAlive:Hz,ReactiveEffect:eo,Static:ps,Suspense:Oz,Teleport:Yr,Text:Wr,TrackOpTypes:mz,Transition:It,TransitionGroup:yC,TriggerOpTypes:fz,VueElement:Wl,assertNumber:pz,callWithAsyncErrorHandling:vn,callWithErrorHandling:_r,camelize:Xt,capitalize:Ci,cloneVNode:ir,compatUtils:j0,compile:TC,computed:Lt,createApp:Bg,createBlock:_e,createCommentVNode:M,createElementBlock:T,createElementVNode:u,createHydrationRenderer:dg,createPropsRestProxy:n0,createRenderer:cg,createSSRApp:$C,createSlots:Ei,createStaticVNode:E0,createTextVNode:gt,createVNode:y,customRef:S_,defineAsyncComponent:Mz,defineComponent:zr,defineCustomElement:Dg,defineEmits:Wz,defineExpose:Gz,defineModel:Yz,defineOptions:Kz,defineProps:qz,defineSSRCustomElement:pC,defineSlots:Zz,devtools:M0,effect:Ib,effectScope:kd,getCurrentInstance:In,getCurrentScope:c_,getTransitionRawChildren:Vl,guardReactiveProps:vg,h:tr,handleError:ks,hasInjectionContext:d0,hydrate:Ug,initCustomFormatter:F0,initDirectivesForSSR:AC,inject:jn,isMemoSame:xg,isProxy:Td,isReactive:ms,isReadonly:gs,isRef:Mt,isRuntimeOnly:O0,isShallow:si,isVNode:Gr,markRaw:Od,mergeDefaults:e0,mergeModels:t0,mergeProps:Hs,nextTick:fo,normalizeClass:Ee,normalizeProps:Po,normalizeStyle:Zr,onActivated:W_,onBeforeMount:Z_,onBeforeUnmount:Bl,onBeforeUpdate:Y_,onDeactivated:G_,onErrorCaptured:eg,onMounted:po,onRenderTracked:Q_,onRenderTriggered:X_,onScopeDispose:Db,onServerPrefetch:J_,onUnmounted:xi,onUpdated:Ul,openBlock:k,popScopeId:wz,provide:jo,proxyRefs:Fd,pushScopeId:Cz,queuePostFlushCb:sl,reactive:mo,readonly:Ad,ref:sr,registerRuntimeCompiler:T0,render:Tc,renderList:ct,renderSlot:it,resolveComponent:$,resolveDirective:Md,resolveDynamicComponent:F_,resolveFilter:B0,resolveTransitionHooks:to,setBlockTracking:zc,setDevtoolsHook:V0,setTransitionHooks:ys,shallowReactive:$d,shallowReadonly:tz,shallowRef:Id,ssrContextKey:N_,ssrUtils:U0,stop:Fb,toDisplayString:g,toHandlerKey:Uo,toHandlers:Bz,toRaw:Ye,toRef:dz,toRefs:lz,toValue:oz,transformVNodeArgs:k0,triggerRef:sz,unref:yn,useAttrs:Qz,useCssModule:_C,useCssVars:eC,useModel:I0,useSSRContext:M_,useSlots:Xz,useTransitionState:Ud,vModelCheckbox:On,vModelDynamic:Lg,vModelRadio:Zd,vModelSelect:Yd,vModelText:dn,vShow:mi,version:Eg,warn:L0,watch:bn,watchEffect:V_,watchPostEffect:H_,watchSyncEffect:U_,withAsyncContext:r0,withCtx:E,withDefaults:Jz,withDirectives:yt,withKeys:sn,withMemo:R0,withModifiers:st,withScopeId:kz},Symbol.toStringTag,{value:"Module"})),te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},DC={name:"NavbarItemLink",props:{exact:Boolean,to:Object},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qs,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(Xs,!1),this.show_player_menu&&this.$store.commit(Qs,!1),this.$router.push(this.to)}}},PC=["href"];function IC(e,t,n,r,s,o){return k(),T("a",{class:Ee(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=st(i=>o.open_link(),["stop","prevent"]))},[it(e.$slots,"default")],10,PC)}const Wg=te(DC,[["render",IC]]),FC={name:"NavbarTop",components:{NavbarItemLink:Wg},data(){return{show_settings_menu:!1}},computed:{is_visible_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},is_visible_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},is_visible_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},is_visible_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobook
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&fx[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Lf=Symbol("internals");function ko(e){return e&&String(e).trim().toLowerCase()}function qa(e){return e===!1||e==null?e:J.isArray(e)?e.map(qa):String(e)}function hx(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const _x=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $u(e,t,n,r,s){if(J.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function gx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function yx(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class Xl{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,c){const d=ko(l);if(!d)throw new Error("header name must be a non-empty string");const m=J.findKey(s,d);(!m||s[m]===void 0||c===!0||c===void 0&&s[m]!==!1)&&(s[m||l]=qa(a))}const i=(a,l)=>J.forEach(a,(c,d)=>o(c,d,l));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!_x(t)?i(px(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=ko(t),t){const r=J.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return hx(s);if(J.isFunction(n))return n.call(this,s,r);if(J.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ko(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$u(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=ko(i),i){const a=J.findKey(r,i);a&&(!n||$u(r,r[a],a,n))&&(delete r[a],s=!0)}}return J.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||$u(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return J.forEach(this,(s,o)=>{const i=J.findKey(r,o);if(i){n[i]=qa(s),delete n[o];return}const a=t?gx(o):String(o).trim();a!==o&&delete n[o],n[a]=qa(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&J.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Lf]=this[Lf]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=ko(i);r[a]||(yx(s,i),r[a]=!0)}return J.isArray(t)?t.forEach(o):o(t),this}}Xl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Xl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(Xl);const gr=Xl;function Au(e,t){const n=this||tm,r=t||n,s=gr.from(r.headers);let o=r.data;return J.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function uy(e){return!!(e&&e.__CANCEL__)}function Ai(e,t,n){Xe.call(this,e??"canceled",Xe.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ai,Xe,{__CANCEL__:!0});function vx(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Xe("Request failed with status code "+n.status,[Xe.ERR_BAD_REQUEST,Xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const bx=nr.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function zx(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cx(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function cy(e,t){return e&&!zx(t)?Cx(e,t):t}const wx=nr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const a=J.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function kx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xx(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[o];i||(i=c),n[s]=l,r[s]=c;let m=o,f=0;for(;m!==s;)f+=n[m++],m=m%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const p=d&&c-d;return p?Math.round(f*1e3/p):void 0}}function Nf(e,t){let n=0;const r=xx(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,l=r(a),c=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-o)/l:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const Ex=typeof XMLHttpRequest<"u",Sx=Ex&&function(e){return new Promise(function(n,r){let s=e.data;const o=gr.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(J.isFormData(s)){if(nr.hasStandardBrowserEnv||nr.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((d=o.getContentType())!==!1){const[_,...b]=d?d.split(";").map(C=>C.trim()).filter(Boolean):[];o.setContentType([_||"multipart/form-data",...b].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(_+":"+b))}const f=cy(e.baseURL,e.url);m.open(e.method.toUpperCase(),oy(f,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function p(){if(!m)return;const _=gr.from("getAllResponseHeaders"in m&&m.getAllResponseH
2024-01-23 05:01:07 -05:00
`+o.map(Mf).join(`
2024-01-28 12:47:56 -05:00
`):" "+Mf(o[0]):"as no adapter specified";throw new Xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Pc};function Tu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ai(null,e)}function Vf(e){return Tu(e),e.headers=gr.from(e.headers),e.data=Au.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),dy.getAdapter(e.adapter||tm.adapter)(e).then(function(r){return Tu(e),r.data=Au.call(e,e.transformResponse,r),r.headers=gr.from(r.headers),r},function(r){return uy(r)||(Tu(e),r&&r.response&&(r.response.data=Au.call(e,e.transformResponse,r.response),r.response.headers=gr.from(r.response.headers))),Promise.reject(r)})}const Hf=e=>e instanceof gr?e.toJSON():e;function so(e,t){t=t||{};const n={};function r(c,d,m){return J.isPlainObject(c)&&J.isPlainObject(d)?J.merge.call({caseless:m},c,d):J.isPlainObject(d)?J.merge({},d):J.isArray(d)?d.slice():d}function s(c,d,m){if(J.isUndefined(d)){if(!J.isUndefined(c))return r(void 0,c,m)}else return r(c,d,m)}function o(c,d){if(!J.isUndefined(d))return r(void 0,d)}function i(c,d){if(J.isUndefined(d)){if(!J.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,m){if(m in t)return r(c,d);if(m in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,d)=>s(Hf(c),Hf(d),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||s,f=m(e[d],t[d],d);J.isUndefined(f)&&m!==a||(n[d]=f)}),n}const my="1.6.7",nm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Uf={};nm.transitional=function(t,n,r){function s(o,i){return"[Axios v"+my+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new Xe(s(i," has been removed"+(n?" in "+n:"")),Xe.ERR_DEPRECATED);return n&&!Uf[i]&&(Uf[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 Ax(e,t,n){if(typeof e!="object")throw new Xe("options must be an object",Xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new Xe("option "+o+" must be "+l,Xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Xe("Unknown option "+o,Xe.ERR_BAD_OPTION)}}const Ic={assertOptions:Ax,validators:nm},Sr=Ic.validators;class dl{constructor(t){this.defaults=t,this.interceptors={request:new Rf,response:new Rf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=so(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Ic.assertOptions(r,{silentJSONParsing:Sr.transitional(Sr.boolean),forcedJSONParsing:Sr.transitional(Sr.boolean),clarifyTimeoutError:Sr.transitional(Sr.boolean)},!1),s!=null&&(J.isFunction(s)?n.paramsSerializer={serialize:s}:Ic.assertOptions(s,{encode:Sr.function,serialize:Sr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&J.merge(o.common,o[n.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=gr.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[Vf.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(b){_.call(this,b);break}}try{d=Vf.call(this,p)}catch(h){return Promise.reject(h)}for(m=0,f=c.length;m<f;)d=d.then(c[m++],c[m++]);return d}getUri(t){t=so(this.defaults,t);const n=cy(t.baseURL,t.url);return oy(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){dl.prototype[t]=function(n,r){return this.request(so(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(so(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}dl.prototype[t]=n(),dl.prototype[t+"Form"]=n(!0)});const Wa=dl;class rm{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new Ai(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new rm(function(s){t=s}),cancel:t}}}const Tx=rm;function Ox(e){return function(n){return e.apply(null,n)}}function Dx(e){return J.isObject(e)&&e.isAxiosError===!0}const Fc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fc).forEach(([e,t])=>{Fc[t]=e});const Px=Fc;function fy(e){const t=new Wa(e),n=Gg(Wa.prototype.requ
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2024-01-28 12:47:56 -05:00
*/var Ux="store";function _o(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Bx(e){return e!==null&&typeof e=="object"}function jx(e){return e&&typeof e.then=="function"}function qx(e,t){return function(){return e(t)}}function hy(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 _y(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;Ql(e,n,[],e._modules.root,!0),sm(e,n,t)}function sm(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},a={},l=kd(!0);l.run(function(){_o(o,function(c,d){i[d]=qx(c,e),a[d]=Lt(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=mo({data:t}),e._scope=l,e.strict&&Yx(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function Ql(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=om(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var c=r.context=Wx(e,i,n);r.forEachMutation(function(d,m){var f=i+m;Gx(e,f,d,c)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;Kx(e,f,p,c)}),r.forEachGetter(function(d,m){var f=i+m;Zx(e,f,d,c)}),r.forEachChild(function(d,m){Ql(e,t,n.concat(m),d,s)})}function Wx(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=ml(o,i,a),c=l.payload,d=l.options,m=l.type;return(!d||!d.root)&&(m=t+m),e.dispatch(m,c)},commit:r?e.commit:function(o,i,a){var l=ml(o,i,a),c=l.payload,d=l.options,m=l.type;(!d||!d.root)&&(m=t+m),e.commit(m,c,d)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return gy(e,t)}},state:{get:function(){return om(e.state,n)}}}),s}function gy(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 Gx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function Kx(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 jx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Zx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Yx(e){bn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function om(e,t){return t.reduce(function(n,r){return n[r]},e)}function ml(e,t,n){return Bx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Jx="vuex bindings",Bf="vuex:mutations",Ou="vuex:actions",As="vuex",Xx=0;function Qx(e,t){Hx({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:[Jx]},function(n){n.addTimelineLayer({id:Bf,label:"Vuex Mutations",color:jf}),n.addTimelineLayer({id:Ou,label:"Vuex Actions",color:jf}),n.addInspector({id:As,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===As)if(r.filter){var s=[];zy(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[by(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===As){var s=r.nodeId;gy(t,s),r.state=n2(s2(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===As){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._st
2024-01-23 05:01:07 -05:00
* shared v9.9.0
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-01-28 12:47:56 -05:00
*/const fl=typeof window<"u",Jr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),i2=(e,t,n)=>a2({l:e,k:t,s:n}),a2=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Nt=e=>typeof e=="number"&&isFinite(e),l2=e=>xy(e)==="[object Date]",pl=e=>xy(e)==="[object RegExp]",eu=e=>Qe(e)&&Object.keys(e).length===0,Kt=Object.assign;let qf;const am=()=>qf||(qf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const u2=Object.prototype.hasOwnProperty;function hl(e,t){return u2.call(e,t)}const Rt=Array.isArray,$t=e=>typeof e=="function",ke=e=>typeof e=="string",At=e=>typeof e=="boolean",at=e=>e!==null&&typeof e=="object",c2=e=>at(e)&&$t(e.then)&&$t(e.catch),ky=Object.prototype.toString,xy=e=>ky.call(e),Qe=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},d2=e=>e==null?"":Rt(e)||Qe(e)&&e.toString===ky?JSON.stringify(e,null,2):String(e);function m2(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function lm(e){let t=e;return()=>++t}function f2(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ji=e=>!at(e)||Rt(e);function Ga(e,t){if(Ji(e)||Ji(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{Ji(r[o])||Ji(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*!
2024-01-23 05:01:07 -05:00
* message-compiler v9.9.0
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-01-28 12:47:56 -05:00
*/const p2=/\{([0-9a-zA-Z]+)\}/g;function h2(e,...t){return t.length===1&&_2(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(p2,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const _2=e=>e!==null&&typeof e=="object",Vt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},g2={[Vt.EXPECTED_TOKEN]:"Expected token: '{0}'",[Vt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Vt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Vt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Vt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Vt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Vt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Vt.EMPTY_PLACEHOLDER]:"Empty placeholder",[Vt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Vt.INVALID_LINKED_FORMAT]:"Invalid linked format",[Vt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Vt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Vt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Vt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Vt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Vt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ey(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=h2((s||g2)[e]||"",...o||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
2024-01-23 05:01:07 -05:00
* core-base v9.9.0
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-01-28 12:47:56 -05:00
*/function y2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(am().__INTLIFY_PROD_DEVTOOLS__=!1)}const Xr=[];Xr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Xr[1]={w:[1],".":[2],"[":[4],o:[7]};Xr[2]={w:[2],i:[3,0],0:[3,0]};Xr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Xr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Xr[5]={"'":[4,0],o:8,l:[5,0]};Xr[6]={'"':[4,0],o:8,l:[6,0]};const v2=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function b2(e){return v2.test(e)}function z2(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 C2(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 w2(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:b2(t)?z2(t):"*"+t}function k2(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,c,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=w2(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=C2(o),m=Xr[r],c=m[l]||m.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const Gf=new Map;function x2(e,t){return at(e)?e[t]:null}function E2(e,t){if(!at(e))return null;let n=Gf.get(t);if(n||(n=k2(t),n&&Gf.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0||$t(s))return null;s=i,o++}return s}const S2=e=>e,$2=e=>"",A2="text",T2=e=>e.length===0?"":m2(e),O2=d2;function Kf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function D2(e){const t=Nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Nt(e.named.count)||Nt(e.named.n))?Nt(e.named.count)?e.named.count:Nt(e.named.n)?e.named.n:t:t}function P2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function I2(e={}){const t=e.locale,n=D2(e),r=at(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:Kf,s=at(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?Kf:void 0,o=C=>C[r(n,C.length,s)],i=e.list||[],a=C=>i[C],l=e.named||{};Nt(e.pluralIndex)&&P2(n,l);const c=C=>l[C];function d(C){const w=$t(e.messages)?e.messages(C):at(e.messages)?e.messages[C]:!1;return w||(e.parent?e.parent.message(C):$2)}const m=C=>e.modifiers?e.modifiers[C]:S2,f=Qe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:T2,p=Qe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:O2,h=Qe(e.processor)&&ke(e.processor.type)?e.processor.type:A2,b={list:a,named:c,plural:o,linked:(C,...w)=>{const[v,z]=w;let S="text",x="";w.length===1?at(v)?(x=v.modifier||x,S=v.type||S):ke(v)&&(x=v||x):w.length===2&&(ke(v)&&(x=v||x),ke(z)&&(S=z||S));const N=d(C)(b),D=S==="vnode"&&Rt(N)&&x?N[0]:N;return x?m(x)(D,S):D},message:d,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return b}let pi=null;function F2(e){pi=e}function R2(e,t,n){pi&&pi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const L2=N2("function:translate");function N2(e){return t=>pi&&pi.emit(e,t)}const M2={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Sy=Vt.__EXTEND_POINT__,ts=lm(Sy),rr={INVALID_ARGUMENT:Sy,INVALID_DATE_ARGUMENT:ts(),INVALID_ISO_DATE_ARGUMENT:ts(),NOT_SUPPORT_NON_STRING_MESSAGE:ts(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ts(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ts(),NOT_SUPPORT_LOCALE_TYPE:ts(),__EXTEND_POINT__:ts()};function pr(e){return Ey(e,null,void 0)}function um(e,t){return t.locale!=null?Zf(t.locale):Zf(e.locale)}let Du;function Zf(e){if(ke(e))return e;if($t(e)){if(e.resolvedOnce&&Du!=null)return Du;if(e.constructor.name==="Function"){const t=e();if(c2(t))throw pr(rr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Du=t}else throw pr(rr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw
2024-01-23 05:01:07 -05:00
* vue-i18n v9.9.0
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-01-28 12:47:56 -05:00
*/const nE="9.9.0";function rE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(am().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ly=M2.__EXTEND_POINT__,$r=lm(Ly);$r(),$r(),$r(),$r(),$r(),$r(),$r(),$r();const Ny=rr.__EXTEND_POINT__,en=lm(Ny),Dn={UNEXPECTED_RETURN_TYPE:Ny,INVALID_ARGUMENT:en(),MUST_BE_CALL_SETUP_TOP:en(),NOT_INSTALLED:en(),NOT_AVAILABLE_IN_LEGACY_MODE:en(),REQUIRED_VALUE:en(),INVALID_VALUE:en(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:en(),NOT_INSTALLED_WITH_PROVIDE:en(),UNEXPECTED_ERROR:en(),NOT_COMPATIBLE_LEGACY_VUE_I18N:en(),BRIDGE_SUPPORT_VUE_2_ONLY:en(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:en(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:en(),__EXTEND_POINT__:en()};function Wn(e,...t){return Ey(e,null,void 0)}const Hc=Jr("__translateVNode"),Uc=Jr("__datetimeParts"),Bc=Jr("__numberParts"),sE=Jr("__setPluralRules"),oE=Jr("__injectWithOption"),jc=Jr("__dispose");function hi(e){if(!at(e))return e;for(const t in e)if(hl(e,t))if(!t.includes("."))at(e[t])&&hi(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]in s||(s[n[i]]={}),!at(s[n[i]])){o=!0;break}s=s[n[i]]}o||(s[n[r]]=e[t],delete e[t]),at(s[n[r]])&&hi(s[n[r]])}return e}function My(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=Qe(n)?n:Rt(r)?{}:{[e]:{}};if(Rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||{},Ga(c,i[l])):Ga(c,i)}else ke(a)&&Ga(JSON.parse(a),i)}),s==null&&o)for(const a in i)hl(i,a)&&hi(i[a]);return i}function Vy(e){return e.type}function iE(e,t,n){let r=at(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=My(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(at(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(at(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function ap(e){return y(Wr,null,e,0)}const lp="__INTLIFY_META__",up=()=>[],aE=()=>!1;let cp=0;function dp(e){return(t,n,r,s)=>e(n,r,In()||void 0,s)}const lE=()=>{const e=In();let t=null;return e&&(t=Vy(e)[lp])?{[lp]:t}:null};function Hy(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=fl?sr:Id;let a=At(e.inheritLocale)?e.inheritLocale:!0;const l=i(n&&a?n.locale.value:ke(e.locale)?e.locale:_l),c=i(n&&a?n.fallbackLocale.value:ke(e.fallbackLocale)||Rt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),d=i(My(l.value,e)),m=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=n?n.missingWarn:At(e.missingWarn)||pl(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:At(e.fallbackWarn)||pl(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:At(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,C=$t(e.missing)?e.missing:null,w=$t(e.missing)?dp(e.missing):null,v=$t(e.postTranslation)?e.postTranslation:null,z=n?n.warnHtmlMessage:At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const x=n?n.modifiers:Qe(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,D;D=(()=>{s&&Qf(null);const R={version:nE,locale:l.value,fallbackLocale:c.value,messages:d.value,modifiers:x,pluralRules:N,missing:w===null?void 0:w,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:z,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=m.value,R.numberFormats=f.value,R.__datetimeFormatters=Qe(D)?D.__datetimeFormatters:void 0,R.__numberFormatters=Qe(D)?D.__numberFormatters:void 0;const j=J2(R);return s&&Qf(j),j})(),xo(D,l.value,c.value);function L(){return[l.value,c.value,d.value,m.value,f.value]}const Z=Lt({get:()=>l.value,set:R=>{l.value=R,D.locale=l.value}}),B=Lt({get:()=>c.value,set:R=>{c.value=R,D.fallbackLocale=c.value,xo(D,l.value,R)}}),q=Lt(()=>d.value),X=Lt(()=>m.value),pe=Lt(()=>f.value);function G(
2023-11-21 11:05:30 -05:00
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
2022-04-15 13:50:55 -04:00
* @license MIT
2024-01-28 13:02:45 -05:00
*/const Ns=typeof window<"u";function jT(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const lt=Object.assign;function ju(e,t){const n={};for(const r in t){const s=t[r];n[r]=Kn(s)?s.map(e):e(s)}return n}const Yo=()=>{},Kn=Array.isArray,qT=/\/$/,WT=e=>e.replace(qT,"");function qu(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=YT(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function GT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function KT(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&ao(t.matched[r],n.matched[s])&&Jv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ao(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ZT(e[n],t[n]))return!1;return!0}function ZT(e,t){return Kn(e)?Jp(e,t):Kn(t)?Jp(t,e):e===t}function Jp(e,t){return Kn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function YT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var gi;(function(e){e.pop="pop",e.push="push"})(gi||(gi={}));var Jo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Jo||(Jo={}));function JT(e){if(!e)if(Ns){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),WT(e)}const XT=/^[^#]+#/;function QT(e,t){return e.replace(XT,"#")+t}function eO(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const lu=()=>({left:window.pageXOffset,top:window.pageYOffset});function tO(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=eO(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 Xp(e,t){return(history.state?history.state.position-t:-1)+e}const Xc=new Map;function nO(e,t){Xc.set(e,t)}function rO(e){const t=Xc.get(e);return Xc.delete(e),t}let sO=()=>location.protocol+"//"+location.host;function Xv(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),Yp(l,"")}return Yp(n,e)+r+s}function oO(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const p=Xv(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);s.forEach(C=>{C(n.value,h,{delta:b,type:gi.pop,direction:b?b>0?Jo.forward:Jo.back:Jo.unknown})})};function l(){i=n.value}function c(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(lt({},f.state,{scroll:lu()}),"")}function m(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:m}}function Qp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?lu():null}}function iO(e){const{history:t,location:n}=window,r={value:Xv(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replace
`).forEach((r,s)=>{const o=n.exec(r);if(o&&o[4]){const i={text:o[4],time:o[2]*60+o[3]*1};t.push(i)}}),t.forEach((r,s,o)=>{const a=(s<o.length-1?o[s+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(c=>{const d=c.length*a;return l+=d,{duration:d,delay:l,text:c}})})}return t},player(){return this.$store.state.player}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!=this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},start_scrolling(e){(e.screenX||e.screenX!=0||e.screenY||e.screenY!=0)&&(this.autoScrolling=!1,this.scrollingTimer&&clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop,left:0,behavior:"smooth"})}}},aU=["textContent"],lU={key:1};function uU(e,t,n,r,s,o){return k(),T("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>s.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>s.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>o.start_scrolling&&o.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>o.start_scrolling&&o.start_scrolling(...i))},[(k(!0),T(we,null,ct(o.lyrics,(i,a)=>(k(),T(we,{key:a},[a===o.verse_index?(k(),T("div",{key:0,class:Ee({"is-highlighted":o.is_playing})},[(k(!0),T(we,null,ct(i.words,l=>(k(),T("span",{key:l,class:"has-text-weight-bold is-size-5"},[u("span",{style:Zr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,aU)]))),128))],2)):(k(),T("div",lU,g(i.text),1))],64))),128))],544)}const cU=te(iU,[["render",uU],["__scopeId","data-v-d4edaddb"]]),dU={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Yn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),V.player_play({item_id:this.item.id})},remove(){this.$emit("close"),V.queue_remove(this.item.id)}}},mU={key:0,class:"modal is-active"},fU={class:"modal-content fd-modal-card"},pU={class:"card"},hU={class:"card-content"},_U=["textContent"],gU=["textContent"],yU={class:"content is-small"},vU={key:0},bU=["textContent"],zU=["textContent"],CU={key:1},wU=["textContent"],kU=["textContent"],xU={key:2},EU=["textContent"],SU=["textContent"],$U={key:3},AU=["textContent"],TU=["textContent"],OU={key:4},DU=["textContent"],PU=["textContent"],IU={key:5},FU=["textContent"],RU=["textContent"],LU={key:6},NU=["textContent"],MU=["textContent"],VU=["textContent"],HU=["textContent"],UU=["textContent"],BU={class:"title is-6"},jU=["textContent"],qU={key:7},WU=["textContent"],GU={class:"title is-6"},KU=["textContent"],ZU=["textContent"],YU=["textContent"
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2024-01-28 13:02:45 -05:00
*/function Ah(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function ar(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ah(Object(n),!0).forEach(function(r){Pj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ah(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ya(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ya=function(t){return typeof t}:Ya=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ya(e)}function Pj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(){return Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pn.apply(this,arguments)}function Ij(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function Fj(e,t){if(e==null)return{};var n=Ij(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Rj(e){return Lj(e)||Nj(e)||Mj(e)||Vj()}function Lj(e){if(Array.isArray(e))return ud(e)}function Nj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mj(e,t){if(e){if(typeof e=="string")return ud(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 ud(e,t)}}function ud(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Hj="1.14.0";function yr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var wr=yr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ri=yr(/Edge/i),Th=yr(/firefox/i),Xo=yr(/safari/i)&&!yr(/chrome/i)&&!yr(/android/i),eb=yr(/iP(ad|od|hone)/i),Uj=yr(/chrome/i)&&yr(/android/i),tb={capture:!1,passive:!1};function Ge(e,t,n){e.addEventListener(t,n,!wr&&tb)}function je(e,t,n){e.removeEventListener(t,n,!wr&&tb)}function kl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function Bj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Hn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&kl(e,t):kl(e,t))||r&&e===n)return e;if(e===n)break}while(e=Bj(e))}return null}var Oh=/\s+/g;function wt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Oh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Oh," ")}}function Ce(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function _s(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Ce(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function nb(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function or(){var e=document.scrollingElement;return e||document.documentElement}function bt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,c,d,m;if(e!==window&&e.parentNode&&e!==or()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,c=o.right,d=o.height,m=o.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!wr))do if(s&&s.getBoundingClientRect&&(Ce(s,"transform")!=="none"||n&&Ce(s,"position")!=="static")){var f=s.getBoundingClientRect();i-=f.top+parseInt(Ce(s,"border-top-width")),a-=f.left+parseInt(Ce(s,"border-left-width")),l=i+o.height,c=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=_s(s||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,c=a+m)}return{top:i,left:a,bottom:l,right:c,width:m,height:d}}}function Dh(e,t,n){for(var r=Br(e,!0),s=bt(e)[t];r;){var o=bt(r)[n],i=void 0;if(n==="top"||n==="left"?i=s>=o:i=s<=o,!i)return r;if(r===or())break;r=Br(r,!1)}return!1}function uo(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Oe.ghost&&(r||i[o]!==Oe.dragged)&&Hn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function Mm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||Ce(n,"display")==="none"||t&&!kl(n,t));)n=n.previousElementSibling;return n||null}function St(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||kl(e,t))&&n++;return n}function Ph(e){var t=0,n=0,r=or();if(e)do{var s=_s(e),o=s.a,i=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function jj(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Br(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=Ce(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return or();if(r||t)return n;r=!0}}while
2024-01-28 12:47:56 -05:00
`)&&(P="(?: "+P+")",Z=" "+Z,L++),z=new RegExp("^(?:"+P+")",D)),h&&(z=new RegExp("^"+P+"$(?!\\s)",D)),f&&(v=w.lastIndex),S=c.call(N?z:w,Z),N?S?(S.input=S.input.slice(L),S[0]=S[0].slice(L),S.index=w.lastIndex,w.lastIndex+=S[0].length):w.lastIndex=0:f&&S&&(w.lastIndex=w.global?S.index+S[0].length:v),h&&S&&S.length>1&&d.call(S[0],z,function(){for(x=1;x<arguments.length-2;x++)arguments[x]===void 0&&(S[x]=void 0)}),S}),s.exports=m},"94ca":function(s,o,i){var a=i("d039"),l=/#|\.prototype\./,c=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=c.data={},f=c.NATIVE="N",p=c.POLYFILL="P";s.exports=c},"99af":function(s,o,i){var a=i("23e7"),l=i("d039"),c=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),C=i("2d00"),w=b("isConcatSpreadable"),v=9007199254740991,z="Maximum allowed index exceeded",S=C>=51||!l(function(){var P=[];return P[w]=!1,P.concat()[0]!==P}),x=_("concat"),N=function(P){if(!d(P))return!1;var L=P[w];return L!==void 0?!!L:c(P)},D=!S||!x;a({target:"Array",proto:!0,forced:D},{concat:function(L){var Z=m(this),B=h(Z,0),q=0,X,pe,G,re,oe;for(X=-1,G=arguments.length;X<G;X++)if(oe=X===-1?Z:arguments[X],N(oe)){if(re=f(oe.length),q+re>v)throw TypeError(z);for(pe=0;pe<re;pe++,q++)pe in oe&&p(B,q,oe[pe])}else{if(q>=v)throw TypeError(z);p(B,q++,oe)}return B.length=q,B}})},"9bdd":function(s,o,i){var a=i("825a");s.exports=function(l,c,d,m){try{return m?c(a(d)[0],d[1]):c(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(s,o,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),d=i("c04e"),m=Object.defineProperty;o.f=a?m:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(s,o,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),c=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};s.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:c(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(s,o,i){var a=i("d039");function l(c,d){return RegExp(c,d)}o.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(s,o,i){var a=i("e8b5"),l=i("50c4"),c=i("0366"),d=function(m,f,p,h,_,b,C,w){for(var v=_,z=0,S=C?c(C,w,3):!1,x;z<h;){if(z in p){if(x=S?S(p[z],z,f):p[z],b>0&&a(x))v=d(m,f,x,l(x.length),v,b-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[v]=x}v++}z++}return v};s.exports=d},a352:function(s,o){s.exports=r},a434:function(s,o,i){var a=i("23e7"),l=i("23cb"),c=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,v=Math.min,z=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!C},{splice:function(N,D){var P=m(this),L=d(P.length),Z=l(N,L),B=arguments.length,q,X,pe,G,re,oe;if(B===0?q=X=0:B===1?(q=0,X=L-Z):(q=B-2,X=v(w(c(D),0),L-Z)),L+q-X>z)throw TypeError(S);for(pe=f(P,X),G=0;G<X;G++)re=Z+G,re in P&&p(pe,G,P[re]);if(pe.length=X,q<X){for(G=Z;G<L-X;G++)re=G+X,oe=G+q,re in P?P[oe]=P[re]:delete P[oe];for(G=L;G>L-X+q;G--)delete P[G-1]}else if(q>X)for(G=L-X;G>Z;G--)re=G+X-1,oe=G+q-1,re in P?P[oe]=P[re]:delete P[oe];for(G=0;G<q;G++)P[G+Z]=arguments[G+2];return P.length=L-X+q,pe}})},a4d3:function(s,o,i){var a=i("23e7"),l=i("da84"),c=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),C=i("861d"),w=i("825a"),v=i("7b0b"),z=i("fc6a"),S=i("c04e"),x=i("5c6c"),N=i("7c73"),D=i("df75"),P=i("241c"),L=i("057f"),Z=i("7418"),B=i("06cf"),q=i("9bf2"),X=i("d1e7"),pe=i("9112"),G=i("6eeb"),re=i("5692"),oe=i("f772"),Be=i("d012"),Je=i("90e3"),We=i("b622"),Ue=i("e538"),dt=i("746f"),pt=i("d44e"),ht=i("69f3"),Ne=i("b727").forEach,W=oe("hidden"),ue="Symbol",ie="prototype",ge=We("toPrimitive"),Ve=ht.set,Ke=ht.getterFor(
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(I,F){return p(I)||h(I,F)||b(I,F)||C()}function v(I){if(Array.isArray(I))return _(I)}function z(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2024-01-28 13:02:45 -05:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(I){return v(I)||z(I)||b(I)||S()}var N=i("a352"),D=i.n(N);function P(I){I.parentElement!==null&&I.parentElement.removeChild(I)}function L(I,F,U){var ee=U===0?I.children[0]:I.children[U-1].nextSibling;I.insertBefore(F,ee)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function B(I){var F=Object.create(null);return function(ee){var be=F[ee];return be||(F[ee]=I(ee))}}var q=/-(\w)/g,X=B(function(I){return I.replace(q,function(F,U){return U.toUpperCase()})});i("5db7"),i("73d9");var pe=["Start","Add","Remove","Update","End"],G=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],oe=[re,pe,G].flatMap(function(I){return I}).map(function(I){return"on".concat(I)}),Be={manage:re,manageAndEmit:pe,emit:G};function Je(I){return oe.indexOf(I)!==-1}i("caad"),i("2ca0");var We=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Ue(I){return We.includes(I)}function dt(I){return["transition-group","TransitionGroup"].includes(I)}function pt(I){return["id","class","role","style"].includes(I)||I.startsWith("data-")||I.startsWith("aria-")||I.startsWith("on")}function ht(I){return I.reduce(function(F,U){var ee=w(U,2),be=ee[0],$e=ee[1];return F[be]=$e,F},{})}function Ne(I){var F=I.$attrs,U=I.componentData,ee=U===void 0?{}:U,be=ht(Object.entries(F).filter(function($e){var Fe=w($e,2),Ie=Fe[0];return Fe[1],pt(Ie)}));return f(f({},be),ee)}function W(I){var F=I.$attrs,U=I.callBackBuilder,ee=ht(ue(F));Object.entries(U).forEach(function($e){var Fe=w($e,2),Ie=Fe[0],rt=Fe[1];Be[Ie].forEach(function(Te){ee["on".concat(Te)]=rt(Te)})});var be="[data-draggable]".concat(ee.draggable||"");return f(f({},ee),{},{draggable:be})}function ue(I){return Object.entries(I).filter(function(F){var U=w(F,2),ee=U[0];return U[1],!pt(ee)}).map(function(F){var U=w(F,2),ee=U[0],be=U[1];return[X(ee),be]}).filter(function(F){var U=w(F,2),ee=U[0];return U[1],!Je(ee)})}i("c740");function ie(I,F){if(!(I instanceof F))throw new TypeError("Cannot call a class as a function")}function ge(I,F){for(var U=0;U<F.length;U++){var ee=F[U];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(I,ee.key,ee)}}function Ve(I,F,U){return F&&ge(I.prototype,F),U&&ge(I,U),I}var Ke=function(F){var U=F.el;return U},A=function(F,U){return F.__draggable_context=U},O=function(F){return F.__draggable_context},H=function(){function I(F){var U=F.nodes,ee=U.header,be=U.default,$e=U.footer,Fe=F.root,Ie=F.realList;ie(this,I),this.defaultNodes=be,this.children=[].concat(x(ee),x(be),x($e)),this.externalComponent=Fe.externalComponent,this.rootTransition=Fe.transition,this.tag=Fe.tag,this.realList=Ie}return Ve(I,[{key:"render",value:function(U,ee){var be=this.tag,$e=this.children,Fe=this._isRootComponent,Ie=Fe?{default:function(){return $e}}:$e;return U(be,ee,Ie)}},{key:"updated",value:function(){var U=this.defaultNodes,ee=this.realList;U.forEach(function(be,$e){A(Ke(be),{element:ee[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(U){return O(U)}},{key:"getVmIndexFromDomIndex",value:function(U,ee){var be=this.defaultNodes,$e=be.length,Fe=ee.children,Ie=Fe.item(U);if(Ie===null)return $e;var rt=O(Ie);if(rt)return rt.index;if($e===0)return 0;var Te=Ke(be[0]