owntone-server/htdocs/assets/index.js

72 lines
792 KiB
JavaScript
Raw Normal View History

2024-05-19 16:43:38 -04: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 yh="ALBUMS_SORT",vh="ARTISTS_SORT",bh="ARTIST_ALBUMS_SORT",zh="ARTIST_TRACKS_SORT",Ch="COMPOSER_TRACKS_SORT",wh="GENRE_TRACKS_SORT",ll="HIDE_SINGLES",Ci="HIDE_SPOTIFY",Hu="SEARCH_QUERY",Uu="SEARCH_SOURCE",wi="SHOW_BURGER_MENU",kh="SHOW_ONLY_NEXT_ITEMS",ki="SHOW_PLAYER_MENU",xi="SHOW_UPDATE_DIALOG",xh="UPDATE_CONFIG",ju="UPDATE_DIALOG_SCAN_KIND",Sh="UPDATE_LASTFM",Eh="UPDATE_LIBRARY_RSS_COUNT",$h="UPDATE_LIBRARY_STATS",Vc="UPDATE_LYRICS",Th="UPDATE_OUTPUTS",Ah="UPDATE_PAIRING",Bu="UPDATE_PLAYER_STATUS",Oh="UPDATE_QUEUE",Ph="UPDATE_SETTINGS",Ih="UPDATE_SPOTIFY";function Lh(e,t){return function(){return e.apply(t,arguments)}}const{toString:yv}=Object.prototype,{getPrototypeOf:Wu}=Object,cl=(e=>t=>{const n=yv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ur=e=>(e=e.toLowerCase(),t=>cl(t)===e),ul=e=>t=>typeof t===e,{isArray:_o}=Array,ai=ul("undefined");function vv(e){return e!==null&&!ai(e)&&e.constructor!==null&&!ai(e.constructor)&&An(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Nh=ur("ArrayBuffer");function bv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Nh(e.buffer),t}const zv=ul("string"),An=ul("function"),Dh=ul("number"),dl=e=>e!==null&&typeof e=="object",Cv=e=>e===!0||e===!1,ya=e=>{if(cl(e)!=="object")return!1;const t=Wu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wv=ur("Date"),kv=ur("File"),xv=ur("Blob"),Sv=ur("FileList"),Ev=e=>dl(e)&&An(e.pipe),$v=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||An(e.append)&&((t=cl(e))==="formdata"||t==="object"&&An(e.toString)&&e.toString()==="[object FormData]"))},Tv=ur("URLSearchParams"),Av=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Si(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),_o(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Rh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Mh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Fh=e=>!ai(e)&&e!==Mh;function Hc(){const{caseless:e}=Fh(this)&&this||{},t={},n=(r,s)=>{const o=e&&Rh(t,s)||s;ya(t[o])&&ya(r)?t[o]=Hc(t[o],r):ya(r)?t[o]=Hc({},r):_o(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Si(arguments[r],n);return t}const Ov=(e,t,n,{allOwnKeys:r}={})=>(Si(t,(s,o)=>{n&&An(s)?e[o]=Lh(s,n):e[o]=s},{allOwnKeys:r}),e),Pv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Iv=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Lv=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Wu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Nv=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Dv=e=>{if(!e)return null;if(_o(e))return e;let t=e.length;if(!Dh(t))ret
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&fb[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},am=Symbol("internals");function Eo(e){return e&&String(e).trim().toLowerCase()}function va(e){return e===!1||e==null?e:te.isArray(e)?e.map(va):String(e)}function hb(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 _b=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Zl(e,t,n,r,s){if(te.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!te.isString(t)){if(te.isString(r))return t.indexOf(r)!==-1;if(te.isRegExp(r))return r.test(t)}}function gb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function yb(e,t){const n=te.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 On{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,u){const d=Eo(l);if(!d)throw new Error("header name must be a non-empty string");const m=te.findKey(s,d);(!m||s[m]===void 0||u===!0||u===void 0&&s[m]!==!1)&&(s[m||l]=va(a))}const i=(a,l)=>te.forEach(a,(u,d)=>o(u,d,l));return te.isPlainObject(t)||t instanceof this.constructor?i(t,n):te.isString(t)&&(t=t.trim())&&!_b(t)?i(pb(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Eo(t),t){const r=te.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return hb(s);if(te.isFunction(n))return n.call(this,s,r);if(te.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Eo(t),t){const r=te.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Zl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=Eo(i),i){const a=te.findKey(r,i);a&&(!n||Zl(r,r[a],a,n))&&(delete r[a],s=!0)}}return te.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||Zl(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return te.forEach(this,(s,o)=>{const i=te.findKey(r,o);if(i){n[i]=va(s),delete n[o];return}const a=t?gb(o):String(o).trim();a!==o&&delete n[o],n[a]=va(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return te.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&te.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[am]=this[am]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=Eo(i);r[a]||(yb(s,i),r[a]=!0)}return te.isArray(t)?t.forEach(o):o(t),this}}On.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);te.reduceDescriptors(On.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});te.freezeMethods(On);function Yl(e,t){const n=this||Ei,r=t||n,s=On.from(r.headers);let o=r.data;return te.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Yh(e){return!!(e&&e.__CANCEL__)}function $i(e,t,n){Xe.call(this,e??"canceled",Xe.ERR_CANCELED,t,n),this.name="CanceledError"}te.inherits($i,Xe,{__CANCEL__:!0});function vb(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 bb=rr.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];te.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),te.isString(r)&&i.push("path="+r),te.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 zb(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cb(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Xh(e,t){return e&&!zb(t)?Cb(e,t):t}const wb=rr.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=te.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function kb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xb(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[o];i||(i=u),n[s]=l,r[s]=u;let m=o,f=0;for(;m!==s;)f+=n[m++],m=m%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function lm(e,t){let n=0;const r=xb(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,l=r(a),u=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&&u?(i-o)/l:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const Sb=typeof XMLHttpRequest<"u",Eb=Sb&&function(e){return new Promise(function(n,r){let s=e.data;const o=On.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(te.isFormData(s)){if(rr.hasStandardBrowserEnv||rr.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=Xh(e.baseURL,e.url);m.open(e.method.toUpperCase(),qh(f,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function p(){if(!m)return;const _=On.from("getAllResponseHeaders"in m&&m.getAllResponseHea
`+o.map(cm).join(`
`):" "+cm(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:jc};function Xl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $i(null,e)}function um(e){return Xl(e),e.headers=On.from(e.headers),e.data=Yl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Jh.getAdapter(e.adapter||Ei.adapter)(e).then(function(r){return Xl(e),r.data=Yl.call(e,e.transformResponse,r),r.headers=On.from(r.headers),r},function(r){return Yh(r)||(Xl(e),r&&r.response&&(r.response.data=Yl.call(e,e.transformResponse,r.response),r.response.headers=On.from(r.response.headers))),Promise.reject(r)})}const dm=e=>e instanceof On?{...e}:e;function ro(e,t){t=t||{};const n={};function r(u,d,m){return te.isPlainObject(u)&&te.isPlainObject(d)?te.merge.call({caseless:m},u,d):te.isPlainObject(d)?te.merge({},d):te.isArray(d)?d.slice():d}function s(u,d,m){if(te.isUndefined(d)){if(!te.isUndefined(u))return r(void 0,u,m)}else return r(u,d,m)}function o(u,d){if(!te.isUndefined(d))return r(void 0,d)}function i(u,d){if(te.isUndefined(d)){if(!te.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,m){if(m in t)return r(u,d);if(m in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,d)=>s(dm(u),dm(d),!0)};return te.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||s,f=m(e[d],t[d],d);te.isUndefined(f)&&m!==a||(n[d]=f)}),n}const Qh="1.6.8",Gu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Gu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const mm={};Gu.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Qh+"] 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&&!mm[i]&&(mm[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 Tb(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 Bc={assertOptions:Tb,validators:Gu},Er=Bc.validators;class hs{constructor(t){this.defaults=t,this.interceptors={request:new im,response:new im}}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=ro(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Bc.assertOptions(r,{silentJSONParsing:Er.transitional(Er.boolean),forcedJSONParsing:Er.transitional(Er.boolean),clarifyTimeoutError:Er.transitional(Er.boolean)},!1),s!=null&&(te.isFunction(s)?n.paramsSerializer={serialize:s}:Bc.assertOptions(s,{encode:Er.function,serialize:Er.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&te.merge(o.common,o[n.method]);o&&te.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=On.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[um.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(b){_.call(this,b);break}}try{d=um.call(this,p)}catch(h){return Promise.reject(h)}for(m=0,f=u.length;m<f;)d=d.then(u[m++],u[m++]);return d}getUri(t){t=ro(this.defaults,t);const n=Xh(t.baseURL,t.url);return qh(n,t.params,t.paramsSerializer)}}te.forEach(["delete","get","head","options"],function(t){hs.prototype[t]=function(n,r){return this.request(ro(r||{},{method:t,url:n,data:(r||{}).data}))}});te.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(ro(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}hs.prototype[t]=n(),hs.prototype[t+"Form"]=n(!0)});class Ku{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 $i(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 Ku(function(s){t=s}),cancel:t}}}function Ab(e){return function(n){return e.apply(null,n)}}function Ob(e){return te.isObject(e)&&e.isAxiosError===!0}const Wc={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(Wc).forEach(([e,t])=>{Wc[t]=e});function e_(e){const t=new hs(e),n=Lh(hs.prototype.request,t);return te.extend(n,hs.p
2024-04-20 16:36:33 -04:00
* shared v9.13.1
2024-03-31 15:53:24 -04:00
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
2024-05-19 16:43:38 -04:00
*/const Oa=typeof window<"u",Jr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Pb=(e,t,n)=>Ib({l:e,k:t,s:n}),Ib=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Mt=e=>typeof e=="number"&&isFinite(e),Lb=e=>n_(e)==="[object Date]",Pa=e=>n_(e)==="[object RegExp]",fl=e=>Je(e)&&Object.keys(e).length===0,Gt=Object.assign;let fm;const Zu=()=>fm||(fm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pm(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Nb=Object.prototype.hasOwnProperty;function Ia(e,t){return Nb.call(e,t)}const Rt=Array.isArray,Tt=e=>typeof e=="function",we=e=>typeof e=="string",kt=e=>typeof e=="boolean",at=e=>e!==null&&typeof e=="object",Db=e=>at(e)&&Tt(e.then)&&Tt(e.catch),t_=Object.prototype.toString,n_=e=>t_.call(e),Je=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Rb=e=>e==null?"":Rt(e)||Je(e)&&e.toString===t_?JSON.stringify(e,null,2):String(e);function Mb(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function pl(e){let t=e;return()=>++t}function Fb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ui=e=>!at(e)||Rt(e);function ba(e,t){if(Ui(e)||Ui(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=>{Ui(r[o])||Ui(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*!
2024-04-20 16:36:33 -04:00
* message-compiler v9.13.1
2024-03-31 15:53:24 -04:00
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
2024-05-19 16:43:38 -04:00
*/function Vb(e,t,n){return{line:e,column:t,offset:n}}function La(e,t,n){return{start:e,end:t}}const Hb=/\{([0-9a-zA-Z]+)\}/g;function r_(e,...t){return t.length===1&&Ub(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Hb,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const s_=Object.assign,hm=e=>typeof e=="string",Ub=e=>e!==null&&typeof e=="object";function o_(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Yu={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},jb={[Yu.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Bb(e,t,...n){const r=r_(jb[e]||"",...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const Pe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Wb={[Pe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Pe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Pe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Pe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Pe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Pe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Pe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Pe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Pe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Pe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Pe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Pe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Pe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Pe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function go(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=r_((s||Wb)[e]||"",...o||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function qb(e){throw e}const mr=" ",Gb="\r",Xt=`
`,Kb="\u2028",Zb="\u2029";function Yb(e){const t=e;let n=0,r=1,s=1,o=0;const i=N=>t[N]===Gb&&t[N+1]===Xt,a=N=>t[N]===Xt,l=N=>t[N]===Zb,u=N=>t[N]===Kb,d=N=>i(N)||a(N)||l(N)||u(N),m=()=>n,f=()=>r,p=()=>s,h=()=>o,_=N=>i(N)||l(N)||u(N)?Xt:t[N],b=()=>_(n),C=()=>_(n+o);function k(){return o=0,d(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function y(){return i(n+o)&&o++,o++,t[n+o]}function z(){n=0,r=1,s=1,o=0}function x(N=0){o=N}function w(){const N=n+o;for(;N!==n;)k();o=0}return{index:m,line:f,column:p,peekOffset:h,charAt:_,currentChar:b,currentPeek:C,next:k,peek:y,reset:z,resetPeek:x,skipToPeek:w}}const $r=void 0,Xb=".",_m="'",Jb="tokenizer";function Qb(e,t={}){const n=t.location!==!1,r=Yb(e),s=()=>r.index(),o=()=>Vb(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:d}=t;function m(S,$,R,...J){const me=u();if($.column+=R,$.offset+=R,d){const se=n?La(me.startLoc,$):null,H=go(S,se,{domain:Jb,args:J});d(H)}}function f(S,$,R){S.endLoc=o(),S.currentType=$;const J={type:$};return n&&(J.loc=La(S.startLoc,S.endLoc)),R!=null&&(J.value=R),J}const p=S=>f(S,14);function h(S,$){return S.currentChar()===$?(S.next(),$):(m(Pe.EXPECTED_TOKEN,o(),0,$),"")}function _(S){let $="";for(;S.currentPeek()===mr||S.currentPeek()===Xt;)$+=S.currentPeek(),S.peek();return $}function b(S){const $=_(S);return S.skipToPeek(),$}function C(S){if(S===$r)return!1;const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$===95}function k(S){if(S===$r)return!1;const $=S.charCodeAt(0);return $>=48&&$<=57}function y(S,$){const{currentType:R}=$;if(R!==2)return!1;_(S);const J=C(S.currentPeek());return S.resetPeek(),J}function z(S,$){const{currentType:R}=$;if(R!==2)return!1;_(S);const J=S.currentPeek()==="-"?S.peek():S.currentPeek(),me=k(J);return S.resetPeek(),me}function x(S,$){const{currentType:R}=$;if(R!==2)return!1;_(S);const J=S.currentPeek()===_m;return S.resetPeek(),J}function w(S,$){const{currentType:R}=$;if(R!==8)return!1;_(S);const J=S.currentPeek()===".";return S.resetPeek(),J}function N(S,$){const{currentType:R}=$;if(R!==9)return!1;_(S);const J=C(S.currentPeek());return S.resetPeek(),J}function D(S,$){const{currentType:R}=$;if(!(R===8||R===12))return!1;_(S);const J=S.currentPeek()===":";return S.resetPeek(),J}function O(S,$){const{currentType:R}=$;if(R!==10)return!1;const J=()=>{const se=S.currentPeek();return se==="{"?C(S.peek()):se==="@"||se==="%"||se==="|"||se===":"||se==="."||se===mr||!se?!1:se===Xt?(S.peek(),J()):U(S,!1)},me=J();return S.resetPeek(),me}function V(S){_(S);const $=S.currentPeek()==="|";return S.resetPeek(),$}function X(S){const $=_(S),R=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:R,hasSpace:$.length>0}}function U(S,$=!0){const R=(me=!1,se="",H=!1)=>{const K=S.currentPeek();return K==="{"?se==="%"?!1:me:K==="@"||!K?se==="%"?!0:me:K==="%"?(S.peek(),R(me,"%",!0)):K==="|"?se==="%"||H?!0:!(se===mr||se===Xt):K===mr?(S.peek(),R(!0,mr,H)):K===Xt?(S.peek(),R(!0,Xt,H)):!0},J=R();return $&&S.resetPeek(),J}function W(S,$){const R=S.currentChar();return R===$r?$r:$(R)?(S.next(),R):null}function ne(S){const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36}function he(S){return W(S,ne)}function Z(S){const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36||$===45}function oe(S){return W(S,Z)}function ae(S){const $=S.charCodeAt(0);return $>=48&&$<=57}function Be(S){return W(S,ae)}function st(S){const $=S.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102}function Ve(S){return W(S,st)}function He(S){let $="",R="";for(;$=Be(S);)R+=$;return R}function ot(S){b(S);const $=S.currentChar();return $!=="%"&&m(Pe.EXPECTED_TOKEN,o(),0,$),S.next(),"%"}function it(S){let $="";for(;;){const R=S.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R==="%")if(U(S))$+=R,S.next();else break;else if(R===mr||R===Xt)if(U(S))$+=R,S.next();else{if(V(S))break;$+=R,S.next()}else $+=R,S.next()}return $}function lt(S){b(S);let $
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=cz(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${o_(a.map(m=>`${m}: _${m}`),", ")} } = ctx`),l.newline()),l.push("return "),so(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:u,map:d}=l.context();return{ast:e,code:u,map:d?d.toJSON():void 0}};function hz(e,t={}){const n=s_({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=rz(n).parse(e);return r?(o&&iz(a),s&&Ms(a),{ast:a,code:""}):(oz(a,n),pz(a,n))}/*!
2024-04-20 16:36:33 -04:00
* core-base v9.13.1
2024-03-31 15:53:24 -04:00
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
2024-05-19 16:43:38 -04:00
*/function _z(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zu().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qr=[];Qr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Qr[1]={w:[1],".":[2],"[":[4],o:[7]};Qr[2]={w:[2],i:[3,0],0:[3,0]};Qr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Qr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Qr[5]={"'":[4,0],o:8,l:[5,0]};Qr[6]={'"':[4,0],o:8,l:[6,0]};const gz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yz(e){return gz.test(e)}function vz(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 bz(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 zz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:yz(t)?vz(t):"*"+t}function Cz(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=zz(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=bz(o),m=Qr[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 vm=new Map;function wz(e,t){return at(e)?e[t]:null}function kz(e,t){if(!at(e))return null;let n=vm.get(t);if(n||(n=Cz(t),n&&vm.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0||Tt(s))return null;s=i,o++}return s}const xz=e=>e,Sz=e=>"",Ez="text",$z=e=>e.length===0?"":Mb(e),Tz=Rb;function bm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Az(e){const t=Mt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Mt(e.named.count)||Mt(e.named.n))?Mt(e.named.count)?e.named.count:Mt(e.named.n)?e.named.n:t:t}function Oz(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Pz(e={}){const t=e.locale,n=Az(e),r=at(e.pluralRules)&&we(t)&&Tt(e.pluralRules[t])?e.pluralRules[t]:bm,s=at(e.pluralRules)&&we(t)&&Tt(e.pluralRules[t])?bm:void 0,o=C=>C[r(n,C.length,s)],i=e.list||[],a=C=>i[C],l=e.named||{};Mt(e.pluralIndex)&&Oz(n,l);const u=C=>l[C];function d(C){const k=Tt(e.messages)?e.messages(C):at(e.messages)?e.messages[C]:!1;return k||(e.parent?e.parent.message(C):Sz)}const m=C=>e.modifiers?e.modifiers[C]:xz,f=Je(e.processor)&&Tt(e.processor.normalize)?e.processor.normalize:$z,p=Je(e.processor)&&Tt(e.processor.interpolate)?e.processor.interpolate:Tz,h=Je(e.processor)&&we(e.processor.type)?e.processor.type:Ez,b={list:a,named:u,plural:o,linked:(C,...k)=>{const[y,z]=k;let x="text",w="";k.length===1?at(y)?(w=y.modifier||w,x=y.type||x):we(y)&&(w=y||w):k.length===2&&(we(y)&&(w=y||w),we(z)&&(x=z||x));const N=d(C)(b),D=x==="vnode"&&Rt(N)&&w?N[0]:N;return w?m(w)(D,x):D},message:d,type:h,interpolate:p,normalize:f,values:Gt({},i,l)};return b}let li=null;function Iz(e){li=e}function Lz(e,t,n){li&&li.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Nz=Dz("function:translate");function Dz(e){return t=>li&&li.emit(e,t)}const i_=Yu.__EXTEND_POINT__,rs=pl(i_),Rz={NOT_FOUND_KEY:i_,FALLBACK_TO_TRANSLATE:rs(),CANNOT_FORMAT_NUMBER:rs(),FALLBACK_TO_NUMBER_FORMAT:rs(),CANNOT_FORMAT_DATE:rs(),FALLBACK_TO_DATE_FORMAT:rs(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:rs(),__EXTEND_POINT__:rs()},a_=Pe.__EXTEND_POINT__,ss=pl(a_),sr={INVALID_ARGUMENT:a_,INVALID_DATE_ARGUMENT:ss(),INVALID_ISO_DATE_ARGUMENT:ss(),NOT_SUPPORT_NON_STRING_MESSAGE:ss(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ss(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ss(),NOT_SUPPORT_LOCALE_TYPE:ss(),__EXTEND_POINT__:ss()};function gr(e){return go(e,null,void 0)}function Ju(e,t){return t.locale!=null?zm(t.locale):zm(e.locale)}let Jl;function zm(e){if(we(e))return e;if(Tt(e)){if(e.resolvedOnce&&Jl!=null)return Jl;if(e.constructor.name==="Function"){const t=e();if(Db(t))throw gr(sr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Jl=t}else th
2024-04-20 16:36:33 -04:00
* @vue/shared v3.4.23
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-05-19 16:43:38 -04:00
**//*! #__NO_SIDE_EFFECTS__ */function _l(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ut={},qs=[],ln=()=>{},i0=()=>!1,Ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ed=e=>e.startsWith("onUpdate:"),zt=Object.assign,td=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},a0=Object.prototype.hasOwnProperty,tt=(e,t)=>a0.call(e,t),ve=Array.isArray,Gs=e=>yo(e)==="[object Map]",xs=e=>yo(e)==="[object Set]",Lm=e=>yo(e)==="[object Date]",l0=e=>yo(e)==="[object RegExp]",Ie=e=>typeof e=="function",Ct=e=>typeof e=="string",zr=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",nd=e=>(mt(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),y_=Object.prototype.toString,yo=e=>y_.call(e),c0=e=>yo(e).slice(8,-1),v_=e=>yo(e)==="[object Object]",rd=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ks=_l(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},u0=/-(\w)/g,Qt=gl(e=>e.replace(u0,(t,n)=>n?n.toUpperCase():"")),d0=/\B([A-Z])/g,yn=gl(e=>e.replace(d0,"-$1").toLowerCase()),Ai=gl(e=>e.charAt(0).toUpperCase()+e.slice(1)),qo=gl(e=>e?`on${Ai(e)}`:""),Gn=(e,t)=>!Object.is(e,t),Zs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},b_=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Da=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ra=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let Nm;const z_=()=>Nm||(Nm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),m0="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",f0=_l(m0);function es(e){if(ve(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ct(r)?g0(r):es(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ct(e)||mt(e))return e}const p0=/;(?![^(]*\))/g,h0=/:([^]+)/,_0=/\/\*[^]*?\*\//g;function g0(e){const t={};return e.replace(_0,"").split(p0).forEach(n=>{if(n){const r=n.split(h0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function xe(e){let t="";if(Ct(e))t=e;else if(ve(e))for(let n=0;n<e.length;n++){const r=xe(e[n]);r&&(t+=r+" ")}else if(mt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Mo(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=xe(t)),n&&(e.style=es(n)),e}const y0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",v0=_l(y0);function C_(e){return!!e||e===""}function b0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Kr(e[r],t[r]);return n}function Kr(e,t){if(e===t)return!0;let n=Lm(e),r=Lm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=zr(e),r=zr(t),n||r)return e===t;if(n=ve(e),r=ve(t),n||r)return n&&r?b0(e,t):!1;if(n=mt(e),r=mt(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Kr(e[i],t[i]))return!1}}return String(e)===String(t)}function yl(e,t){return e.findIndex(n=>Kr(n,t))}const g=e=>Ct(e)?e:e==null?"":ve(e)||mt(e)&&(e.toString===y_||!Ie(e.toString))?JSON.stringify(e,w_,2):String(e),w_=(e,t)=>t&&t.__v_isRef?w_(e,t.value):Gs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ec(r,o)+" =>"]=s,n),{})}:xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ec(n))}:zr(t)?ec(t):mt(t)&&!ve(t)&&!v_(t)?String(t):t,ec=(e,t="")=>{var n;return zr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
2024-04-20 16:36:33 -04:00
* @vue/reactivity v3.4.23
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-05-19 16:43:38 -04:00
**/let _n;class sd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_n,!t&&_n&&(this.index=(_n.scopes||(_n.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_n;try{return _n=this,t()}finally{_n=n}}}on(){_n=this}off(){_n=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const 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 od(e){return new sd(e)}function k_(e,t=_n){t&&t.active&&t.effects.push(e)}function x_(){return _n}function z0(e){_n&&_n.cleanups.push(e)}let _s;class io{constructor(t,n,r,s){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,k_(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,ts();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(C0(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ns()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Gr,n=_s;try{return Gr=!0,_s=this,this._runnings++,Dm(this),this.fn()}finally{Rm(this),this._runnings--,_s=n,Gr=t}}stop(){var t;this.active&&(Dm(this),Rm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function C0(e){return e.value}function Dm(e){e._trackId++,e._depsLength=0}function Rm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)S_(e.deps[t],e);e.deps.length=e._depsLength}}function S_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function w0(e,t){e.effect instanceof io&&(e=e.effect.fn);const n=new io(e,ln,()=>{n.dirty&&n.run()});t&&(zt(n,t),t.scope&&k_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function k0(e){e.effect.stop()}let Gr=!0,Yc=0;const E_=[];function ts(){E_.push(Gr),Gr=!1}function ns(){const e=E_.pop();Gr=e===void 0?!0:e}function id(){Yc++}function ad(){for(Yc--;!Yc&&Xc.length;)Xc.shift()()}function $_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&S_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Xc=[];function T_(e,t,n){id();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Xc.push(r.scheduler)))}ad()}const A_=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ma=new WeakMap,gs=Symbol(""),Jc=Symbol("");function un(e,t,n){if(Gr&&_s){let r=Ma.get(e);r||Ma.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=A_(()=>r.delete(n))),$_(_s,s)}}function yr(e,t,n,r,s,o){const i=Ma.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ve(e)){const l=Number(r);i.forEach((u,d)=>{(d==="length"||!zr(d)&&d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ve(e)?rd(n)&&a.push(i.get("length")):(a.push(i.get(gs)),Gs(e)&&a.push(i.get(Jc)));break;case"delete":ve(e)||(a.push(i.get(gs)),Gs(e)&&a.push(i.get(Jc)));break;case"set":Gs(e)&&a.push(i.get(gs));break}id();for(const l of a)l&&T_(l,4);ad()}function x0(e,t){var n;return(n=Ma.get(e))==null?void 0:n.get(t)}const S0=_l("__proto__,__v_isRef,__isVue"),O_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zr)),Mm=E0();function E0(){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++)un(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t]
2024-04-20 16:36:33 -04:00
* @vue/runtime-core v3.4.23
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-05-19 16:43:38 -04:00
**/function rC(e,t){}const sC={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"},oC={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function vr(e,t,n,r){try{return r?e(...r):e()}catch(s){Ss(s,t,n)}}function zn(e,t,n,r){if(Ie(e)){const s=vr(e,t,n,r);return s&&nd(s)&&s.catch(o=>{Ss(o,t,n)}),s}if(ve(e)){const s=[];for(let o=0;o<e.length;o++)s.push(zn(e[o],t,n,r));return s}}function Ss(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const u=o.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){ts(),vr(l,null,10,[e,i,a]),ns();return}}iC(e,n,s,r)}function iC(e,t,n,r=!0){console.error(e)}let di=!1,Qc=!1;const Bt=[];let nr=0;const Js=[];let Rr=null,ms=0;const B_=Promise.resolve();let _d=null;function bo(e){const t=_d||B_;return e?t.then(this?e.bind(this):e):t}function aC(e){let t=nr+1,n=Bt.length;for(;t<n;){const r=t+n>>>1,s=Bt[r],o=mi(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function Cl(e){(!Bt.length||!Bt.includes(e,di&&e.allowRecurse?nr+1:nr))&&(e.id==null?Bt.push(e):Bt.splice(aC(e.id),0,e),W_())}function W_(){!di&&!Qc&&(Qc=!0,_d=B_.then(q_))}function lC(e){const t=Bt.indexOf(e);t>nr&&Bt.splice(t,1)}function Fa(e){ve(e)?Js.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?ms+1:ms))&&Js.push(e),W_()}function jm(e,t,n=di?nr+1:0){for(;n<Bt.length;n++){const r=Bt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Bt.splice(n,1),n--,r()}}}function Va(e){if(Js.length){const t=[...new Set(Js)].sort((n,r)=>mi(n)-mi(r));if(Js.length=0,Rr){Rr.push(...t);return}for(Rr=t,ms=0;ms<Rr.length;ms++)Rr[ms]();Rr=null,ms=0}}const mi=e=>e.id==null?1/0:e.id,cC=(e,t)=>{const n=mi(e)-mi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function q_(e){Qc=!1,di=!0,Bt.sort(cC);try{for(nr=0;nr<Bt.length;nr++){const t=Bt[nr];t&&t.active!==!1&&vr(t,null,14)}}finally{nr=0,Bt.length=0,Va(),di=!1,_d=null,(Bt.length||Js.length)&&q_()}}let Fs,Zi=[];function G_(e,t){var n,r;Fs=e,Fs?(Fs.enabled=!0,Zi.forEach(({event:s,args:o})=>Fs.emit(s,...o)),Zi=[]):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=>{G_(o,t)}),setTimeout(()=>{Fs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Zi=[])},3e3)):Zi=[]}function uC(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(Da))}let a,l=r[a=qo(t)]||r[a=qo(Qt(t))];!l&&o&&(l=r[a=qo(yn(t))]),l&&zn(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,zn(u,e,6,s)}}function K_(e,t,n=!1){const r=t.emitsC
2024-04-20 16:36:33 -04:00
* @vue/runtime-dom v3.4.23
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-05-19 16:43:38 -04:00
**/const Nw="http://www.w3.org/2000/svg",Dw="http://www.w3.org/1998/Math/MathML",Vr=typeof document<"u"?document:null,rf=Vr&&Vr.createElement("template"),Rw={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"?Vr.createElementNS(Nw,e):t==="mathml"?Vr.createElementNS(Dw,e):Vr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Vr.createTextNode(e),createComment:e=>Vr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Vr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,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{rf.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=rf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Or="transition",To="animation",co=Symbol("_vtc"),Nt=(e,{slots:t})=>or(sg,Bg(e),t);Nt.displayName="Transition";const jg={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},Mw=Nt.props=zt({},wd,jg),is=(e,t=[])=>{ve(e)?e.forEach(n=>n(...t)):e&&e(...t)},sf=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function Bg(e){const t={};for(const U in e)U in jg||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Fw(s),_=h&&h[0],b=h&&h[1],{onBeforeEnter:C,onEnter:k,onEnterCancelled:y,onLeave:z,onLeaveCancelled:x,onBeforeAppear:w=C,onAppear:N=k,onAppearCancelled:D=y}=t,O=(U,W,ne)=>{Dr(U,W?d:a),Dr(U,W?u:i),ne&&ne()},V=(U,W)=>{U._isLeaving=!1,Dr(U,m),Dr(U,p),Dr(U,f),W&&W()},X=U=>(W,ne)=>{const he=U?N:k,Z=()=>O(W,U,ne);is(he,[W,Z]),of(()=>{Dr(W,U?l:o),hr(W,U?d:a),sf(he)||af(W,r,_,Z)})};return zt(t,{onBeforeEnter(U){is(C,[U]),hr(U,o),hr(U,i)},onBeforeAppear(U){is(w,[U]),hr(U,l),hr(U,u)},onEnter:X(!1),onAppear:X(!0),onLeave(U,W){U._isLeaving=!0;const ne=()=>V(U,W);hr(U,m),qg(),hr(U,f),of(()=>{U._isLeaving&&(Dr(U,m),hr(U,p),sf(z)||af(U,r,b,ne))}),is(z,[U,ne])},onEnterCancelled(U){O(U,!1),is(y,[U])},onAppearCancelled(U){O(U,!0),is(D,[U])},onLeaveCancelled(U){V(U),is(x,[U])}})}function Fw(e){if(e==null)return null;if(mt(e))return[ac(e.enter),ac(e.leave)];{const t=ac(e);return[t,t]}}function ac(e){return Ra(e)}function hr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[co]||(e[co]=new Set)).add(t)}function Dr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[co];n&&(n.delete(t),n.size||(e[co]=void 0))}function of(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vw=0;function af(e,t,n,r){const s=e._endId=++Vw,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Wg(e,t);if(!i)return r();const u=i+"end";let d=0;const m=()=>{e.removeEventListener(u,f),o()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(u,f)}function Wg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Or}Delay`),o=r(`${Or}Duration`),i=lf(s,o),a=r(`${To}Delay`),l=r(`${To}Duration`),u=lf(a,l);let d=null,m=0,f=0;t===Or?i>0&&(d=Or,m=i,f=o.length):t===To?u>0&&(d=To,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?Or:To:null,f=d?d===Or?o.length:l.length:0);const p=d===Or&&/\b(transform|all)(,|$)/.test(r(`${Or}Property`).toString())
2024-04-20 16:36:33 -04:00
* vue v3.4.23
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-05-19 16:43:38 -04:00
**/const bk=()=>{},zk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:sg,BaseTransitionPropsValidators:wd,Comment:Kt,DeprecationTypes:Lw,EffectScope:sd,ErrorCodes:sC,ErrorTypeStrings:Ew,Fragment:be,KeepAlive:AC,ReactiveEffect:io,Static:vs,Suspense:bC,Teleport:Dn,Text:Zr,TrackOpTypes:tC,Transition:Nt,TransitionGroup:lk,TriggerOpTypes:nC,VueElement:Ol,assertNumber:rC,callWithAsyncErrorHandling:zn,callWithErrorHandling:vr,camelize:Qt,capitalize:Ai,cloneVNode:lr,compatUtils:Iw,compile:bk,computed:Ft,createApp:iy,createBlock:ke,createCommentVNode:ee,createElementBlock:P,createElementVNode:c,createHydrationRenderer:Eg,createPropsRestProxy:WC,createRenderer:Sg,createSSRApp:yk,createSlots:kd,createStaticVNode:hw,createTextVNode:Lt,createVNode:v,customRef:U_,defineAsyncComponent:$C,defineComponent:wr,defineCustomElement:Zg,defineEmits:NC,defineExpose:DC,defineModel:FC,defineOptions:RC,defineProps:LC,defineSSRCustomElement:sk,defineSlots:MC,devtools:$w,effect:w0,effectScope:od,getCurrentInstance:Rn,getCurrentScope:x_,getTransitionRawChildren:Sl,guardReactiveProps:Ng,h:or,handleError:Ss,hasInjectionContext:ew,hydrate:oy,initCustomFormatter:kw,initDirectivesForSSR:vk,inject:qn,isMemoSame:Hg,isProxy:dd,isReactive:Ys,isReadonly:ao,isRef:Vt,isRuntimeOnly:bw,isShallow:ci,isVNode:Yr,markRaw:F_,mergeDefaults:jC,mergeModels:BC,mergeProps:js,nextTick:bo,normalizeClass:xe,normalizeProps:Mo,normalizeStyle:es,onActivated:ig,onBeforeMount:cg,onBeforeUnmount:Tl,onBeforeUpdate:ug,onDeactivated:ag,onErrorCaptured:pg,onMounted:zo,onRenderTracked:fg,onRenderTriggered:mg,onScopeDispose:z0,onServerPrefetch:dg,onUnmounted:Ii,onUpdated:$l,openBlock:E,popScopeId:mC,provide:Ko,proxyRefs:hd,pushScopeId:dC,queuePostFlushCb:Fa,reactive:vo,readonly:ud,ref:ir,registerRuntimeCompiler:vw,render:_u,renderList:_t,renderSlot:bt,resolveComponent:A,resolveDirective:vd,resolveDynamicComponent:xl,resolveFilter:Pw,resolveTransitionHooks:lo,setBlockTracking:lu,setDevtoolsHook:Tw,setTransitionHooks:Cs,shallowReactive:cd,shallowReadonly:B0,shallowRef:pd,ssrContextKey:J_,ssrUtils:Ow,stop:k0,toDisplayString:g,toHandlerKey:qo,toHandlers:PC,toRaw:Ye,toRef:eC,toRefs:X0,toValue:K0,transformVNodeArgs:fw,triggerRef:G0,unref:vn,useAttrs:UC,useCssModule:ik,useCssVars:jw,useModel:ww,useSSRContext:Q_,useSlots:HC,useTransitionState:Cd,vModelCheckbox:In,vModelDynamic:ey,vModelRadio:Td,vModelSelect:Ad,vModelText:dn,vShow:_i,version:Ug,warn:Sw,watch:Cn,watchEffect:eg,watchPostEffect:tg,watchSyncEffect:ng,withAsyncContext:qC,withCtx:L,withDefaults:VC,withDirectives:pt,withKeys:on,withMemo:xw,withModifiers:gt,withScopeId:fC},Symbol.toStringTag,{value:"Module"}));function Ck(){return cy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function cy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const wk=typeof Proxy=="function",kk="devtools-plugin:setup",xk="plugin:settings:set";let As,gu;function Sk(){var e;return As!==void 0||(typeof window<"u"&&window.performance?(As=!0,gu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(As=!0,gu=globalThis.perf_hooks.performance):As=!1),As}function Ek(){return Sk()?gu.now():Date.now()}class $k{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const i=localStorage.getItem(s),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}o=i},now(){return Ek()}},n&&n.on(xk,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fa
2024-04-20 16:36:33 -04:00
* vue-i18n v9.13.1
2024-01-23 05:01:07 -05:00
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-05-19 16:43:38 -04:00
*/const Ak="9.13.1";function Ok(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zu().__INTLIFY_PROD_DEVTOOLS__=!1)}const uy=Rz.__EXTEND_POINT__,fr=pl(uy);fr(),fr(),fr(),fr(),fr(),fr(),fr(),fr(),fr();const dy=sr.__EXTEND_POINT__,tn=pl(dy),Ln={UNEXPECTED_RETURN_TYPE:dy,INVALID_ARGUMENT:tn(),MUST_BE_CALL_SETUP_TOP:tn(),NOT_INSTALLED:tn(),NOT_AVAILABLE_IN_LEGACY_MODE:tn(),REQUIRED_VALUE:tn(),INVALID_VALUE:tn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:tn(),NOT_INSTALLED_WITH_PROVIDE:tn(),UNEXPECTED_ERROR:tn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:tn(),BRIDGE_SUPPORT_VUE_2_ONLY:tn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:tn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:tn(),__EXTEND_POINT__:tn()};function Kn(e,...t){return go(e,null,void 0)}const yu=Jr("__translateVNode"),vu=Jr("__datetimeParts"),bu=Jr("__numberParts"),Pk=Jr("__setPluralRules"),Ik=Jr("__injectWithOption"),zu=Jr("__dispose");function gi(e){if(!at(e))return e;for(const t in e)if(Ia(e,t))if(!t.includes("."))at(e[t])&&gi(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]])&&gi(s[n[r]])}return e}function my(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=Je(n)?n:Rt(r)?{}:{[e]:{}};if(Rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},ba(u,i[l])):ba(u,i)}else we(a)&&ba(JSON.parse(a),i)}),s==null&&o)for(const a in i)Ia(i,a)&&gi(i[a]);return i}function fy(e){return e.type}function Lk(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 Cf(e){return v(Zr,null,e,0)}const wf="__INTLIFY_META__",kf=()=>[],Nk=()=>!1;let xf=0;function Sf(e){return(t,n,r,s)=>e(n,r,Rn()||void 0,s)}const Dk=()=>{const e=Rn();let t=null;return e&&(t=fy(e)[wf])?{[wf]:t}:null};function py(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=Oa?ir:pd,a=!!e.translateExistCompatible;let l=kt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:we(e.locale)?e.locale:Na),d=i(n&&l?n.fallbackLocale.value:we(e.fallbackLocale)||Rt(e.fallbackLocale)||Je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(my(u.value,e)),f=i(Je(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Je(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:kt(e.missingWarn)||Pa(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:kt(e.fallbackWarn)||Pa(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:kt(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,k=Tt(e.missing)?e.missing:null,y=Tt(e.missing)?Sf(e.missing):null,z=Tt(e.postTranslation)?e.postTranslation:null,x=n?n.warnHtmlMessage:kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const N=n?n.modifiers:Je(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,O;O=(()=>{s&&xm(null);const H={version:Ak,locale:u.value,fallbackLocale:d.value,messages:m.value,modifiers:N,pluralRules:D,missing:y===null?void 0:y,missingWarn:h,fallbackWarn:_,fallbackFormat:C,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:x,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};H.datetimeFormats=f.value,H.numberFormats=p.value,H.__datetimeFormatters=Je(O)?O.__datetimeFormatters:void 0,H.__numberFormatters=Je(O)?O.__numberFormatters:void 0;const K=Zz(H);return s&&xm(K),K})(),$o(O,u.value,d.value);function X(){return[u.value,d.value,m.value,f.value,p.value]}const U=Ft({get:()=>u.value,set:H=>{u.value=H,O.locale=u.value}}),W=Ft({get:()=>d.value,set:H=>{d.value=H,O.fallbackLocale=d.value,$o(O,u.value,H)}}),ne=Ft(()=>m.value),he=Ft(()=>
2024-02-28 10:11:13 -05:00
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2024-05-19 16:43:38 -04:00
*/var rx="store";function Co(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function sx(e){return e!==null&&typeof e=="object"}function ox(e){return e&&typeof e.then=="function"}function ix(e,t){return function(){return e(t)}}function gy(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 yy(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;Il(e,n,[],e._modules.root,!0),Id(e,n,t)}function Id(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},a={},l=od(!0);l.run(function(){Co(o,function(u,d){i[d]=ix(u,e),a[d]=Ft(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=vo({data:t}),e._scope=l,e.strict&&dx(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function Il(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=Ld(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=ax(e,i,n);r.forEachMutation(function(d,m){var f=i+m;lx(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;cx(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;ux(e,f,d,u)}),r.forEachChild(function(d,m){Il(e,t,n.concat(m),d,s)})}function ax(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=Ga(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=Ga(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 vy(e,t)}},state:{get:function(){return Ld(e.state,n)}}}),s}function vy(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function lx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function cx(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return ox(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function ux(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function dx(e){Cn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Ld(e,t){return t.reduce(function(n,r){return n[r]},e)}function Ga(e,t,n){return sx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var mx="vuex bindings",If="vuex:mutations",dc="vuex:actions",Os="vuex",fx=0;function px(e,t){Tk({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[mx]},function(n){n.addTimelineLayer({id:If,label:"Vuex Mutations",color:Lf}),n.addTimelineLayer({id:dc,label:"Vuex Actions",color:Lf}),n.addInspector({id:Os,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Os)if(r.filter){var s=[];wy(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[Cy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Os){var s=r.nodeId;vy(t,s),r.state=gx(vx(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Os){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._st
2024-04-20 16:36:33 -04:00
* vue-router v4.3.2
2024-02-22 13:32:55 -05:00
* (c) 2024 Eduardo San Martin Morote
2022-04-15 13:50:55 -04:00
* @license MIT
2024-05-19 16:43:38 -04:00
*/const Hs=typeof document<"u";function _O(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ct=Object.assign;function Cc(e,t){const n={};for(const r in t){const s=t[r];n[r]=Yn(s)?s.map(e):e(s)}return n}const ei=()=>{},Yn=Array.isArray,N1=/#/g,gO=/&/g,yO=/\//g,vO=/=/g,bO=/\?/g,D1=/\+/g,zO=/%5B/g,CO=/%5D/g,R1=/%5E/g,wO=/%60/g,M1=/%7B/g,kO=/%7C/g,F1=/%7D/g,xO=/%20/g;function qd(e){return encodeURI(""+e).replace(kO,"|").replace(zO,"[").replace(CO,"]")}function SO(e){return qd(e).replace(M1,"{").replace(F1,"}").replace(R1,"^")}function Au(e){return qd(e).replace(D1,"%2B").replace(xO,"+").replace(N1,"%23").replace(gO,"%26").replace(wO,"`").replace(M1,"{").replace(F1,"}").replace(R1,"^")}function EO(e){return Au(e).replace(vO,"%3D")}function $O(e){return qd(e).replace(N1,"%23").replace(bO,"%3F")}function TO(e){return e==null?"":$O(e).replace(yO,"%2F")}function vi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const AO=/\/$/,OO=e=>e.replace(AO,"");function wc(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=NO(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:vi(i)}}function PO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function fp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IO(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&fo(t.matched[r],n.matched[s])&&V1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function V1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!LO(e[n],t[n]))return!1;return!0}function LO(e,t){return Yn(e)?pp(e,t):Yn(t)?pp(t,e):e===t}function pp(e,t){return Yn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function NO(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}var bi;(function(e){e.pop="pop",e.push="push"})(bi||(bi={}));var ti;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ti||(ti={}));function DO(e){if(!e)if(Hs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),OO(e)}const RO=/^[^#]+#/;function MO(e,t){return e.replace(RO,"#")+t}function FO(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 Hl=()=>({left:window.scrollX,top:window.scrollY});function VO(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=FO(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function hp(e,t){return(history.state?history.state.position-t:-1)+e}const Ou=new Map;function HO(e,t){Ou.set(e,t)}function UO(e){const t=Ou.get(e);return Ou.delete(e),t}let jO=()=>location.protocol+"//"+location.host;function H1(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),fp(l,"")}return fp(n,e)+r+s}function BO(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const p=H1(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:bi.pop,direction:b?b>0?ti.forward:ti.back:ti.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)};retur
2024-02-29 15:19:40 -05:00
width="${e.size}" height="${e.size}"
viewBox="0 0 ${e.size} ${e.size}">
<rect width="100%" height="100%" fill="#${t}"/>
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
font-weight="${e.font.weight}" font-family="${e.font.family}"
2024-04-21 11:53:56 -04:00
font-size="${e.size/3}" fill="${PP(t)>.5?"#000000":"#FFFFFF"}">
2024-02-29 15:19:40 -05:00
${e.caption}
</text>
2024-05-19 16:43:38 -04:00
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},LP={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return IP({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function NP(e,t,n,r,s,o){const i=vd("lazy");return E(),P("figure",null,[pt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:s.lifecycle}]])])}const xr=ie(LP,[["render",NP]]),{t:ca,locale:DP}=Pl.global,q1="NO_INDEX",RP=(e,t)=>e-t,MP=(e,t)=>e.localeCompare(t,DP.value),FP=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),VP=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(s,o)=>MP(s[t],o[t])*r;case Number:return(s,o)=>RP(s[t],o[t])*r;case Date:return(s,o)=>FP(s[t],o[t])*r;default:return()=>0}}),HP=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":""},UP=e=>{},jP=[{difference:NaN,text:()=>ca("grouped-list.undefined")},{difference:864e5,text:()=>ca("grouped-list.today")},{difference:6048e5,text:()=>ca("grouped-list.last-week")},{difference:2592e6,text:()=>ca("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],BP=e=>{var r;const t=new Date(e),n=new Date-t;return(r=jP.find(s=>isNaN(n)||n<s.difference))==null?void 0:r.text(t)},WP=({field:e,type:t}={})=>{switch(t){case String:return n=>HP(n[e]);case Number:return n=>n[e];case Date:return n=>BP(n[e]);case"Digits":return n=>UP(n[e]);default:return()=>q1}};class Ee{constructor({items:t=[],total:n=0,offset:r=0,limit:s=-1}={},o={}){this.items=t,this.total=n,this.offset=r,this.limit=s,this.count=t.length,this.indices=[],this.group(o)}group({criteria:t=[],filters:n=[],index:r}={}){const s=this.items.filter(l=>n.every(u=>u(l)));this.count=s.length;const o=VP(t),i=s.sort((l,u)=>o.reduce((d,m)=>d||m(l,u),0)),a=WP(r);return this.itemsGrouped=i.reduce((l,u)=>{const d=a(u);return l.set(d,[...l.get(d)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==q1&&(yield{index:t,isItem:!1,item:{},itemId:t});for(const r of n)yield{index:t,isItem:!0,item:r,itemId:r.id}}}[Symbol.iterator](){return this.generate()}}var G1={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(b){_.resolve(b)},function(b){_.reject(b)}),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 b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(b,C){function k(w){b&&b(w),p&&p(null,w)}function y(){C&&C(h),p&&p(h,null)}var z=f.type||"GET";if(h.open(z,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var w=null;try{w=h.responseText?JSON.parse(h.responseText):""}catch(N){console.error(N)}h.status>=200&&h.status<300?k(w):y()}},z==="GET")h.send(null);else{var x=null;f.postData&&(f.contentType==="image/jpeg"?(x=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(x=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(x)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var b={},C=null;typeof p=="object"?(b=p,C=h):typeof p=="function"&&(C=p);var k=f.type||"GET";return k!=="GET"&&f.postData&&!_?
`).forEach(r=>{const{text:s,minutes:o,seconds:i,hundredths:a}=n.exec(r).groups;if(s){const l={text:s,time:o*60+Number(i)+ +`.${a||0}`};t.push(l)}}),t.forEach((r,s,o)=>{const i=(o[s+1].time-r.time||3)/r.text.length;let a=0;r.words=r.text.match(/\S+\s*/gu).map(l=>{const u=l.length*i;return a+=u,{duration:u,delay:a,text:l}})})}return t},player(){return this.$store.state.player},verse_index(){var e;if(this.lyrics.length&&this.lyrics[0].time){const t=this.player.item_progress_ms/1e3,n=this.lyrics,r=this.player.item_id!==this.lastItemId,s=this.lastIndex>=0&&this.lastIndex<n.length&&n[this.lastIndex].time>t;if((r||s)&&this.reset_scrolling(),this.lastIndex<n.length-1&&n[this.lastIndex+1].time>t||this.lastIndex===n.length-1)return this.lastIndex;if(this.lastIndex<n.length-2&&n[this.lastIndex+2].time>t)return this.lastIndex+1;let o=n.length-1,i=-1,a=0;for(;a<=o;){i=a+o>>1;const l=n[i].time,u=(e=n[i+1])==null?void 0:e.time;if(l<=t&&(u>t||!u))break;l<t?a=i+1:o=i-1}return i}return this.reset_scrolling(),-1}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})},start_scrolling(e){(e.screenX??e.screenY)&&(this.autoScrolling=!1,clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))}}},xV=["textContent"],SV={key:1};function EV(e,t,n,r,s,o){return E(),P("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>s.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>s.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>o.start_scrolling&&o.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>o.start_scrolling&&o.start_scrolling(...i))},[(E(!0),P(be,null,_t(o.lyrics,(i,a)=>(E(),P(be,{key:a},[a===o.verse_index?(E(),P("div",{key:0,class:xe({"is-highlighted":o.is_playing})},[(E(!0),P(be,null,_t(i.words,l=>(E(),P("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:es({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,xV)]))),128))],2)):(E(),P("div",SV,g(i.text),1))],64))),128))],544)}const $V=ie(kV,[["render",EV],["__scopeId","data-v-c3d13bce"]]),TV={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Jn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),j.player_play({item_id:this.item.id})},remove(){this.$emit("close"),j.queue_remove(this.item.id)}}},AV={key:0,class:"modal is-active"},OV={class:"modal-content"},PV={class:"card"},IV={class:"
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2024-05-19 16:43:38 -04:00
*/function rh(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 cr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rh(Object(n),!0).forEach(function(r){LU(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Sa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Sa=function(t){return typeof t}:Sa=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sa(e)}function LU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nn(){return Nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nn.apply(this,arguments)}function NU(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 DU(e,t){if(e==null)return{};var n=NU(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 RU(e){return MU(e)||FU(e)||VU(e)||HU()}function MU(e){if(Array.isArray(e))return Du(e)}function FU(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VU(e,t){if(e){if(typeof e=="string")return Du(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 Du(e,t)}}function Du(e,t){t=e.length;for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function HU(){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 UU="1.14.0";function br(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Sr=br(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Fi=br(/Edge/i),sh=br(/firefox/i),ni=br(/safari/i)&&!br(/chrome/i)&&!br(/android/i),nv=br(/iP(ad|od|hone)/i),jU=br(/chrome/i)&&br(/android/i),rv={capture:!1,passive:!1};function Ke(e,t,n){e.addEventListener(t,n,!Sr&&rv)}function We(e,t,n){e.removeEventListener(t,n,!Sr&&rv)}function rl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function BU(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function jn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&rl(e,t):rl(e,t))||r&&e===n)return e;if(e===n)break}while(e=BU(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 zs(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 sv(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 ar(){var e=document.scrollingElement;return e||document.documentElement}function vt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,u,d,m;if(e!==window&&e.parentNode&&e!==ar()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,u=o.right,d=o.height,m=o.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!Sr))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,u=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=zs(s||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,u=a+m)}return{top:i,left:a,bottom:l,right:u,width:m,height:d}}}function ih(e,t,n){for(var r=qr(e,!0),s=vt(e)[t];r;){var o=vt(r)[n],i=void 0;if(i=s>=o,!i)return r;if(r===ar())break;r=qr(r,!1)}return!1}function ho(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Oe.ghost&&(r||i[o]!==Oe.dragged)&&jn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function Jd(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||Ce(n,"display")==="none"||t&&!rl(n,t));)n=n.previousElementSibling;return n||null}function $t(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||rl(e,t))&&n++;return n}function ah(e){var t=0,n=0,r=ar();if(e)do{var s=zs(e),o=s.a,i=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function WU(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function qr(e,t){if(!e||!e.getBoundingClientRect)return ar();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 ar();if(r||t)return n;r=!0}}while(n=n.parentNode);return ar()}
`)&&(O="(?: "+O+")",X=" "+X,V++),z=new RegExp("^(?:"+O+")",D)),h&&(z=new RegExp("^"+O+"$(?!\\s)",D)),f&&(y=k.lastIndex),x=u.call(N?z:k,X),N?x?(x.input=x.input.slice(V),x[0]=x[0].slice(V),x.index=k.lastIndex,k.lastIndex+=x[0].length):k.lastIndex=0:f&&x&&(k.lastIndex=k.global?x.index+x[0].length:y),h&&x&&x.length>1&&d.call(x[0],z,function(){for(w=1;w<arguments.length-2;w++)arguments[w]===void 0&&(x[w]=void 0)}),x}),s.exports=m},"94ca":function(s,o,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=u.data={},f=u.NATIVE="N",p=u.POLYFILL="P";s.exports=u},"99af":function(s,o,i){var a=i("23e7"),l=i("d039"),u=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),C=i("2d00"),k=b("isConcatSpreadable"),y=9007199254740991,z="Maximum allowed index exceeded",x=C>=51||!l(function(){var O=[];return O[k]=!1,O.concat()[0]!==O}),w=_("concat"),N=function(O){if(!d(O))return!1;var V=O[k];return V!==void 0?!!V:u(O)},D=!x||!w;a({target:"Array",proto:!0,forced:D},{concat:function(V){var X=m(this),U=h(X,0),W=0,ne,he,Z,oe,ae;for(ne=-1,Z=arguments.length;ne<Z;ne++)if(ae=ne===-1?X:arguments[ne],N(ae)){if(oe=f(ae.length),W+oe>y)throw TypeError(z);for(he=0;he<oe;he++,W++)he in ae&&p(U,W,ae[he])}else{if(W>=y)throw TypeError(z);p(U,W++,ae)}return U.length=W,U}})},"9bdd":function(s,o,i){var a=i("825a");s.exports=function(l,u,d,m){try{return m?u(a(d)[0],d[1]):u(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(s,o,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),d=i("c04e"),m=Object.defineProperty;o.f=a?m:function(p,h,_){if(u(p),h=d(h,!0),u(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(s,o,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};s.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(s,o,i){var a=i("d039");function l(u,d){return RegExp(u,d)}o.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(s,o,i){var a=i("e8b5"),l=i("50c4"),u=i("0366"),d=function(m,f,p,h,_,b,C,k){for(var y=_,z=0,x=C?u(C,k,3):!1,w;z<h;){if(z in p){if(w=x?x(p[z],z,f):p[z],b>0&&a(w))y=d(m,f,w,l(w.length),y,b-1)-1;else{if(y>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[y]=w}y++}z++}return y};s.exports=d},a352:function(s,o){s.exports=r},a434:function(s,o,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),k=Math.max,y=Math.min,z=9007199254740991,x="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!C},{splice:function(N,D){var O=m(this),V=d(O.length),X=l(N,V),U=arguments.length,W,ne,he,Z,oe,ae;if(U===0?W=ne=0:U===1?(W=0,ne=V-X):(W=U-2,ne=y(k(u(D),0),V-X)),V+W-ne>z)throw TypeError(x);for(he=f(O,ne),Z=0;Z<ne;Z++)oe=X+Z,oe in O&&p(he,Z,O[oe]);if(he.length=ne,W<ne){for(Z=X;Z<V-ne;Z++)oe=Z+ne,ae=Z+W,oe in O?O[ae]=O[oe]:delete O[ae];for(Z=V;Z>V-ne+W;Z--)delete O[Z-1]}else if(W>ne)for(Z=V-ne;Z>X;Z--)oe=Z+ne-1,ae=Z+W-1,oe in O?O[ae]=O[oe]:delete O[ae];for(Z=0;Z<W;Z++)O[Z+X]=arguments[Z+2];return O.length=V-ne+W,he}})},a4d3:function(s,o,i){var a=i("23e7"),l=i("da84"),u=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),C=i("861d"),k=i("825a"),y=i("7b0b"),z=i("fc6a"),x=i("c04e"),w=i("5c6c"),N=i("7c73"),D=i("df75"),O=i("241c"),V=i("057f"),X=i("7418"),U=i("06cf"),W=i("9bf2"),ne=i("d1e7"),he=i("9112"),Z=i("6eeb"),oe=i("5692"),ae=i("f772"),Be=i("d012"),st=i("90e3"),Ve=i("b622"),He=i("e538"),ot=i("746f"),it=i("d44e"),lt=i("69f3"),Ne=i("b727").forEach,G=ae("hidden"),de="Symbol",ce="prototype",ge=Ve("toPrimitive"),Ue=
2024-04-20 16:36:33 -04:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(M,F){return p(M)||h(M,F)||b(M,F)||C()}function y(M){if(Array.isArray(M))return _(M)}function z(M){if(typeof Symbol<"u"&&Symbol.iterator in Object(M))return Array.from(M)}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2024-05-19 16:43:38 -04:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(M){return y(M)||z(M)||b(M)||x()}var N=i("a352"),D=i.n(N);function O(M){M.parentElement!==null&&M.parentElement.removeChild(M)}function V(M,F,q){var re=q===0?M.children[0]:M.children[q-1].nextSibling;M.insertBefore(F,re)}var X=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(M){var F=Object.create(null);return function(re){var ye=F[re];return ye||(F[re]=M(re))}}var W=/-(\w)/g,ne=U(function(M){return M.replace(W,function(F,q){return q.toUpperCase()})});i("5db7"),i("73d9");var he=["Start","Add","Remove","Update","End"],Z=["Choose","Unchoose","Sort","Filter","Clone"],oe=["Move"],ae=[oe,he,Z].flatMap(function(M){return M}).map(function(M){return"on".concat(M)}),Be={manage:oe,manageAndEmit:he,emit:Z};function st(M){return ae.indexOf(M)!==-1}i("caad"),i("2ca0");var Ve=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function He(M){return Ve.includes(M)}function ot(M){return["transition-group","TransitionGroup"].includes(M)}function it(M){return["id","class","role","style"].includes(M)||M.startsWith("data-")||M.startsWith("aria-")||M.startsWith("on")}function lt(M){return M.reduce(function(F,q){var re=k(q,2),ye=re[0],$e=re[1];return F[ye]=$e,F},{})}function Ne(M){var F=M.$attrs,q=M.componentData,re=q===void 0?{}:q,ye=lt(Object.entries(F).filter(function($e){var Re=k($e,2),De=Re[0];return Re[1],it(De)}));return f(f({},ye),re)}function G(M){var F=M.$attrs,q=M.callBackBuilder,re=lt(de(F));Object.entries(q).forEach(function($e){var Re=k($e,2),De=Re[0],nt=Re[1];Be[De].forEach(function(Ae){re["on".concat(Ae)]=nt(Ae)})});var ye="[data-draggable]".concat(re.draggable||"");return f(f({},re),{},{draggable:ye})}function de(M){return Object.entries(M).filter(function(F){var q=k(F,2),re=q[0];return q[1],!it(re)}).map(function(F){var q=k(F,2),re=q[0],ye=q[1];return[ne(re),ye]}).filter(function(F){var q=k(F,2),re=q[0];return q[1],!st(re)})}i("c740");function ce(M,F){if(!(M instanceof F))throw new TypeError("Cannot call a class as a function")}function ge(M,F){for(var q=0;q<F.length;q++){var re=F[q];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(M,re.key,re)}}function Ue(M,F,q){return F&&ge(M.prototype,F),M}var qe=function(F){var q=F.el;return q},T=function(F,q){return F.__draggable_context=q},I=function(F){return F.__draggable_context},B=function(){function M(F){var q=F.nodes,re=q.header,ye=q.default,$e=q.footer,Re=F.root,De=F.realList;ce(this,M),this.defaultNodes=ye,this.children=[].concat(w(re),w(ye),w($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(M,[{key:"render",value:function(q,re){var ye=this.tag,$e=this.children,Re=this._isRootComponent,De=Re?{default:function(){return $e}}:$e;return q(ye,re,De)}},{key:"updated",value:function(){var q=this.defaultNodes,re=this.realList;q.forEach(function(ye,$e){T(qe(ye),{element:re[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(q){return I(q)}},{key:"getVmIndexFromDomIndex",value:function(q,re){var ye=this.defaultNodes,$e=ye.length,Re=re.children,De=Re.item(q);if(De===null)return $e;var nt=I(De);if(nt)return nt.index;if($e===0)return 0;var Ae=qe(ye[0]),Se=w(Re