owntone-server/htdocs/assets/index.js

72 lines
829 KiB
JavaScript
Raw Normal View History

2024-08-05 15:19:17 -04:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const $h="ALBUMS_SORT",Th="ARTISTS_SORT",Ah="ARTIST_ALBUMS_SORT",Oh="ARTIST_TRACKS_SORT",Ph="COMPOSER_TRACKS_SORT",Ih="GENRE_TRACKS_SORT",fl="HIDE_SINGLES",wi="HIDE_SPOTIFY",Gu="SEARCH_QUERY",Ku="SEARCH_SOURCE",ki="SHOW_BURGER_MENU",Lh="SHOW_ONLY_NEXT_ITEMS",xi="SHOW_PLAYER_MENU",Si="SHOW_UPDATE_DIALOG",Nh="UPDATE_CONFIG",Zu="UPDATE_DIALOG_SCAN_KIND",Dh="UPDATE_LASTFM",Rh="UPDATE_LIBRARY_RSS_COUNT",Mh="UPDATE_LIBRARY_STATS",Bc="UPDATE_LYRICS",Fh="UPDATE_OUTPUTS",Vh="UPDATE_PAIRING",Yu="UPDATE_PLAYER_STATUS",Hh="UPDATE_QUEUE",Uh="UPDATE_SETTINGS",jh="UPDATE_SPOTIFY";function Bh(e,t){return function(){return e.apply(t,arguments)}}const{toString:Iz}=Object.prototype,{getPrototypeOf:Xu}=Object,pl=(e=>t=>{const n=Iz.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jn=e=>(e=e.toLowerCase(),t=>pl(t)===e),hl=e=>t=>typeof t===e,{isArray:_s}=Array,li=hl("undefined");function Lz(e){return e!==null&&!li(e)&&e.constructor!==null&&!li(e.constructor)&&On(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Wh=Jn("ArrayBuffer");function Nz(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Wh(e.buffer),t}const Dz=hl("string"),On=hl("function"),qh=hl("number"),_l=e=>e!==null&&typeof e=="object",Rz=e=>e===!0||e===!1,va=e=>{if(pl(e)!=="object")return!1;const t=Xu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Mz=Jn("Date"),Fz=Jn("File"),Vz=Jn("Blob"),Hz=Jn("FileList"),Uz=e=>_l(e)&&On(e.pipe),jz=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||On(e.append)&&((t=pl(e))==="formdata"||t==="object"&&On(e.toString)&&e.toString()==="[object FormData]"))},Bz=Jn("URLSearchParams"),[Wz,qz,Gz,Kz]=["ReadableStream","Request","Response","Headers"].map(Jn),Zz=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ei(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),_s(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function Gh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Kh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zh=e=>!li(e)&&e!==Kh;function Wc(){const{caseless:e}=Zh(this)&&this||{},t={},n=(r,o)=>{const s=e&&Gh(t,o)||o;va(t[s])&&va(r)?t[s]=Wc(t[s],r):va(r)?t[s]=Wc({},r):_s(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Ei(arguments[r],n);return t}const Yz=(e,t,n,{allOwnKeys:r}={})=>(Ei(t,(o,s)=>{n&&On(o)?e[s]=Bh(o,n):e[s]=o},{allOwnKeys:r}),e),Xz=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Jz=(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)},Qz=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Xu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ev=(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}
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Iv[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},fm=Symbol("internals");function $s(e){return e&&String(e).trim().toLowerCase()}function ba(e){return e===!1||e==null?e:J.isArray(e)?e.map(ba):String(e)}function Nv(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 Dv=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ec(e,t,n,r,o){if(J.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function Rv(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Mv(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class un{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const d=$s(l);if(!d)throw new Error("header name must be a non-empty string");const m=J.findKey(o,d);(!m||o[m]===void 0||u===!0||u===void 0&&o[m]!==!1)&&(o[m||l]=ba(a))}const i=(a,l)=>J.forEach(a,(u,d)=>s(u,d,l));if(J.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(J.isString(t)&&(t=t.trim())&&!Dv(t))i(Lv(t),n);else if(J.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=$s(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Nv(o);if(J.isFunction(n))return n.call(this,o,r);if(J.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$s(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ec(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=$s(i),i){const a=J.findKey(r,i);a&&(!n||ec(r,r[a],a,n))&&(delete r[a],o=!0)}}return J.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||ec(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return J.forEach(this,(o,s)=>{const i=J.findKey(r,s);if(i){n[i]=ba(o),delete n[s];return}const a=t?Rv(s):String(s).trim();a!==s&&delete n[s],n[a]=ba(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=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(o=>r.set(o)),r}static accessor(t){const r=(this[fm]=this[fm]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=$s(i);r[a]||(Mv(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}un.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(un.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(un);function tc(e,t){const n=this||$i,r=t||n,o=un.from(r.headers);let s=r.data;return J.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function s_(e){return!!(e&&e.__CANCEL__)}function gs(e,t,n){Be.call(this,e??"canceled",Be.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(gs,Be,{__CANCEL__:!0});function i_(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Be("Request failed with status code "+n.status,[Be.ERR_BAD_REQUEST,Be.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Fv(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Vv(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[s];i||(i=u),n[o]=l,r[o]=u;let m=s,f=0;for(;m!==o;)f+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function Hv(e,t){let n=0;const r=1e3/t;let o=null;return function(){const i=this===!0,a=Date.now();if(i||a-n>r)return o&&(clearTimeout(o),o=null),n=a,e.apply(null,arguments);o||(o=setTimeout(()=>(o=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Ia=(e,t,n=3)=>{let r=0;const o=Vv(50,250);return Hv(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,u=o(l),d=i<=a;r=i;const m={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&d?(a-i)/u:void 0,event:s,lengthComputable:a!=null};m[t?"download":"upload"]=!0,e(m)},n)},Uv=qn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=J.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),jv=qn.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Bv(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Wv(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function a_(e,t){return e&&!Bv(t)?Wv(e,t):t}const pm=e=>e instanceof un?{...e}:e;function wo(e,t){t=t||{};const n={};function r(u,d,m){return J.isPlainObject(u)&&J.isPlainObject(d)?J.merge.call({caseless:m},u,d):J.isPlainObject(d)?J.merge({},d):J.isArray(d)?d.slice():d}function o(u,d,m){if(J.isUndefined(d)){if(!J.isUndefined(u))return r(void 0,u,m)}else return r(u,d,m)}function s(u,d){if(!J.isUndefined(d))return r(void 0,d)}function i(u,d){if(J.isUndefined(d)){if(!J.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,m){if(m in t)return r(u,d);if(m in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessa
`+s.map(ym).join(`
`):" "+ym(s[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Zc};function nc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gs(null,e)}function zm(e){return nc(e),e.headers=un.from(e.headers),e.data=tc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),u_.getAdapter(e.adapter||$i.adapter)(e).then(function(r){return nc(e),r.data=tc.call(e,e.transformResponse,r),r.headers=un.from(r.headers),r},function(r){return s_(r)||(nc(e),r&&r.response&&(r.response.data=tc.call(e,e.transformResponse,r.response),r.response.headers=un.from(r.response.headers))),Promise.reject(r)})}const d_="1.7.2",ed={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ed[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const vm={};ed.transitional=function(t,n,r){function o(s,i){return"[Axios v"+d_+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Be(o(i," has been removed"+(n?" in "+n:"")),Be.ERR_DEPRECATED);return n&&!vm[i]&&(vm[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function nb(e,t,n){if(typeof e!="object")throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Be("option "+s+" must be "+l,Be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Be("Unknown option "+s,Be.ERR_BAD_OPTION)}}const Yc={assertOptions:nb,validators:ed},Tr=Yc.validators;class _o{constructor(t){this.defaults=t,this.interceptors={request:new mm,response:new mm}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wo(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Yc.assertOptions(r,{silentJSONParsing:Tr.transitional(Tr.boolean),forcedJSONParsing:Tr.transitional(Tr.boolean),clarifyTimeoutError:Tr.transitional(Tr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Yc.assertOptions(o,{encode:Tr.function,serialize:Tr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&J.merge(s.common,s[n.method]);s&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=un.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[zm.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=zm.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=wo(this.defaults,t);const n=a_(t.baseURL,t.url);return n_(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){_o.prototype[t]=function(n,r){return this.request(wo(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(wo(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}_o.prototype[t]=n(),_o.prototype[t+"Form"]=n(!0)});class td{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new gs(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new td(function(o){t=o}),cancel:t}}}function rb(e){return function(n){return e.apply(null,n)}}function ob(e){return J.isObject(e)&&e.isAxiosError===!0}const Xc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xc).forEach(([e,t])=>{Xc[t]=e});function m_(e){const t=new _o(e),n=Bh(_o.prototype.request,t);return J.extend(n,_o.
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-08-05 15:19:17 -04:00
*/const Na=typeof window<"u",eo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),sb=(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"),Ft=e=>typeof e=="number"&&isFinite(e),ab=e=>p_(e)==="[object Date]",Da=e=>p_(e)==="[object RegExp]",zl=e=>Xe(e)&&Object.keys(e).length===0,Kt=Object.assign;let bm;const nd=()=>bm||(bm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cm(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const lb=Object.prototype.hasOwnProperty;function Ra(e,t){return lb.call(e,t)}const Dt=Array.isArray,Tt=e=>typeof e=="function",Ce=e=>typeof e=="string",kt=e=>typeof e=="boolean",at=e=>e!==null&&typeof e=="object",cb=e=>at(e)&&Tt(e.then)&&Tt(e.catch),f_=Object.prototype.toString,p_=e=>f_.call(e),Xe=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},ub=e=>e==null?"":Dt(e)||Xe(e)&&e.toString===f_?JSON.stringify(e,null,2):String(e);function db(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function vl(e){let t=e;return()=>++t}function mb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ji=e=>!at(e)||Dt(e);function Ca(e,t){if(ji(e)||ji(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{ji(r[s])||ji(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
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-08-05 15:19:17 -04:00
*/function fb(e,t,n){return{line:e,column:t,offset:n}}function Ma(e,t,n){return{start:e,end:t}}const pb=/\{([0-9a-zA-Z]+)\}/g;function h_(e,...t){return t.length===1&&hb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(pb,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const __=Object.assign,wm=e=>typeof e=="string",hb=e=>e!==null&&typeof e=="object";function g_(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const rd={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},_b={[rd.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function gb(e,t,...n){const r=h_(_b[e],...n||[]),o={message:String(r),code:e};return t&&(o.location=t),o}const Pe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},yb={[Pe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Pe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Pe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Pe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Pe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Pe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Pe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Pe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Pe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Pe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Pe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Pe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Pe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Pe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ys(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=h_((o||yb)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function zb(e){throw e}const fr=" ",vb="\r",Xt=`
`,bb="\u2028",Cb="\u2029";function wb(e){const t=e;let n=0,r=1,o=1,s=0;const i=L=>t[L]===vb&&t[L+1]===Xt,a=L=>t[L]===Xt,l=L=>t[L]===Cb,u=L=>t[L]===bb,d=L=>i(L)||a(L)||l(L)||u(L),m=()=>n,f=()=>r,p=()=>o,h=()=>s,_=L=>i(L)||l(L)||u(L)?Xt:t[L],b=()=>_(n),k=()=>_(n+s);function w(){return s=0,d(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function g(){return i(n+s)&&s++,s++,t[n+s]}function v(){n=0,r=1,o=1,s=0}function x(L=0){s=L}function C(){const L=n+s;for(;L!==n;)w();s=0}return{index:m,line:f,column:p,peekOffset:h,charAt:_,currentChar:b,currentPeek:k,next:w,peek:g,reset:v,resetPeek:x,skipToPeek:C}}const Ar=void 0,kb=".",km="'",xb="tokenizer";function Sb(e,t={}){const n=t.location!==!1,r=wb(e),o=()=>r.index(),s=()=>fb(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:d}=t;function m(S,$,D,...Q){const me=u();if($.column+=D,$.offset+=D,d){const oe=n?Ma(me.startLoc,$):null,H=ys(S,oe,{domain:xb,args:Q});d(H)}}function f(S,$,D){S.endLoc=s(),S.currentType=$;const Q={type:$};return n&&(Q.loc=Ma(S.startLoc,S.endLoc)),D!=null&&(Q.value=D),Q}const p=S=>f(S,14);function h(S,$){return S.currentChar()===$?(S.next(),$):(m(Pe.EXPECTED_TOKEN,s(),0,$),"")}function _(S){let $="";for(;S.currentPeek()===fr||S.currentPeek()===Xt;)$+=S.currentPeek(),S.peek();return $}function b(S){const $=_(S);return S.skipToPeek(),$}function k(S){if(S===Ar)return!1;const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$===95}function w(S){if(S===Ar)return!1;const $=S.charCodeAt(0);return $>=48&&$<=57}function g(S,$){const{currentType:D}=$;if(D!==2)return!1;_(S);const Q=k(S.currentPeek());return S.resetPeek(),Q}function v(S,$){const{currentType:D}=$;if(D!==2)return!1;_(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),me=w(Q);return S.resetPeek(),me}function x(S,$){const{currentType:D}=$;if(D!==2)return!1;_(S);const Q=S.currentPeek()===km;return S.resetPeek(),Q}function C(S,$){const{currentType:D}=$;if(D!==8)return!1;_(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function L(S,$){const{currentType:D}=$;if(D!==9)return!1;_(S);const Q=k(S.currentPeek());return S.resetPeek(),Q}function M(S,$){const{currentType:D}=$;if(!(D===8||D===12))return!1;_(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function A(S,$){const{currentType:D}=$;if(D!==10)return!1;const Q=()=>{const oe=S.currentPeek();return oe==="{"?k(S.peek()):oe==="@"||oe==="%"||oe==="|"||oe===":"||oe==="."||oe===fr||!oe?!1:oe===Xt?(S.peek(),Q()):U(S,!1)},me=Q();return S.resetPeek(),me}function F(S){_(S);const $=S.currentPeek()==="|";return S.resetPeek(),$}function Z(S){const $=_(S),D=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:D,hasSpace:$.length>0}}function U(S,$=!0){const D=(me=!1,oe="",H=!1)=>{const G=S.currentPeek();return G==="{"?oe==="%"?!1:me:G==="@"||!G?oe==="%"?!0:me:G==="%"?(S.peek(),D(me,"%",!0)):G==="|"?oe==="%"||H?!0:!(oe===fr||oe===Xt):G===fr?(S.peek(),D(!0,fr,H)):G===Xt?(S.peek(),D(!0,Xt,H)):!0},Q=D();return $&&S.resetPeek(),Q}function W(S,$){const D=S.currentChar();return D===Ar?Ar:$(D)?(S.next(),D):null}function ne(S){const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36}function he(S){return W(S,ne)}function Y(S){const $=S.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36||$===45}function se(S){return W(S,Y)}function ae(S){const $=S.charCodeAt(0);return $>=48&&$<=57}function We(S){return W(S,ae)}function ot(S){const $=S.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102}function Ve(S){return W(S,ot)}function He(S){let $="",D="";for(;$=We(S);)D+=$;return D}function st(S){b(S);const $=S.currentChar();return $!=="%"&&m(Pe.EXPECTED_TOKEN,s(),0,$),S.next(),"%"}function it(S){let $="";for(;;){const D=S.currentChar();if(D==="{"||D==="}"||D==="@"||D==="|"||!D)break;if(D==="%")if(U(S))$+=D,S.next();else break;else if(D===fr||D===Xt)if(U(S))$+=D,S.next();else{if(F(S))break;$+=D,S.next()}else $+=D,S.next()}return $}function lt(S){b(S);let $
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=Db(e,{mode:n,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${g_(a.map(m=>`${m}: _${m}`),", ")} } = ctx`),l.newline()),l.push("return "),ss(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 Ub(e,t={}){const n=__({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=Ab(n).parse(e);return r?(s&&Ib(a),o&&Vo(a),{ast:a,code:""}):(Pb(a,n),Hb(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-08-05 15:19:17 -04:00
*/function jb(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nd().__INTLIFY_PROD_DEVTOOLS__=!1)}const to=[];to[0]={w:[0],i:[3,0],"[":[4],o:[7]};to[1]={w:[1],".":[2],"[":[4],o:[7]};to[2]={w:[2],i:[3,0],0:[3,0]};to[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};to[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};to[5]={"'":[4,0],o:8,l:[5,0]};to[6]={'"':[4,0],o:8,l:[6,0]};const Bb=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Wb(e){return Bb.test(e)}function qb(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 Gb(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 Kb(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Wb(t)?qb(t):"*"+t}function Zb(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,u,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,i===void 0||(i=Kb(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=Gb(s),m=to[r],u=m[l]||m.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=f[u[1]],d&&(a=s,d()===!1))))return;if(r===7)return t}}const Em=new Map;function Yb(e,t){return at(e)?e[t]:null}function Xb(e,t){if(!at(e))return null;let n=Em.get(t);if(n||(n=Zb(t),n&&Em.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0||Tt(o))return null;o=i,s++}return o}const Jb=e=>e,Qb=e=>"",e0="text",t0=e=>e.length===0?"":db(e),n0=ub;function $m(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function r0(e){const t=Ft(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ft(e.named.count)||Ft(e.named.n))?Ft(e.named.count)?e.named.count:Ft(e.named.n)?e.named.n:t:t}function o0(e,t){t.count||(t.count=e),t.n||(t.n=e)}function s0(e={}){const t=e.locale,n=r0(e),r=at(e.pluralRules)&&Ce(t)&&Tt(e.pluralRules[t])?e.pluralRules[t]:$m,o=at(e.pluralRules)&&Ce(t)&&Tt(e.pluralRules[t])?$m:void 0,s=k=>k[r(n,k.length,o)],i=e.list||[],a=k=>i[k],l=e.named||{};Ft(e.pluralIndex)&&o0(n,l);const u=k=>l[k];function d(k){const w=Tt(e.messages)?e.messages(k):at(e.messages)?e.messages[k]:!1;return w||(e.parent?e.parent.message(k):Qb)}const m=k=>e.modifiers?e.modifiers[k]:Jb,f=Xe(e.processor)&&Tt(e.processor.normalize)?e.processor.normalize:t0,p=Xe(e.processor)&&Tt(e.processor.interpolate)?e.processor.interpolate:n0,h=Xe(e.processor)&&Ce(e.processor.type)?e.processor.type:e0,b={list:a,named:u,plural:s,linked:(k,...w)=>{const[g,v]=w;let x="text",C="";w.length===1?at(g)?(C=g.modifier||C,x=g.type||x):Ce(g)&&(C=g||C):w.length===2&&(Ce(g)&&(C=g||C),Ce(v)&&(x=v||x));const L=d(k)(b),M=x==="vnode"&&Dt(L)&&C?L[0]:L;return C?m(C)(M,x):M},message:d,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return b}let ci=null;function i0(e){ci=e}function a0(e,t,n){ci&&ci.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const l0=c0("function:translate");function c0(e){return t=>ci&&ci.emit(e,t)}const y_=rd.__EXTEND_POINT__,oo=vl(y_),u0={NOT_FOUND_KEY:y_,FALLBACK_TO_TRANSLATE:oo(),CANNOT_FORMAT_NUMBER:oo(),FALLBACK_TO_NUMBER_FORMAT:oo(),CANNOT_FORMAT_DATE:oo(),FALLBACK_TO_DATE_FORMAT:oo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:oo(),__EXTEND_POINT__:oo()},z_=Pe.__EXTEND_POINT__,so=vl(z_),sr={INVALID_ARGUMENT:z_,INVALID_DATE_ARGUMENT:so(),INVALID_ISO_DATE_ARGUMENT:so(),NOT_SUPPORT_NON_STRING_MESSAGE:so(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:so(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:so(),NOT_SUPPORT_LOCALE_TYPE:so(),__EXTEND_POINT__:so()};function zr(e){return ys(e,null,void 0)}function sd(e,t){return t.locale!=null?Tm(t.locale):Tm(e.locale)}let rc;function Tm(e){if(Ce(e))return e;if(Tt(e)){if(e.resolvedOnce&&rc!=null)return rc;if(e.constructor.name==="Function"){const t=e();if(cb(t))throw zr(sr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return rc=t}else th
2024-06-25 14:55:16 -04:00
* @vue/shared v3.4.30
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-08-05 15:19:17 -04:00
**//*! #__NO_SIDE_EFFECTS__ */function Cl(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ut={},Ko=[],ln=()=>{},I0=()=>!1,Ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ad=e=>e.startsWith("onUpdate:"),_t=Object.assign,ld=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},L0=Object.prototype.hasOwnProperty,tt=(e,t)=>L0.call(e,t),ze=Array.isArray,Zo=e=>zs(e)==="[object Map]",So=e=>zs(e)==="[object Set]",Um=e=>zs(e)==="[object Date]",N0=e=>zs(e)==="[object RegExp]",Ie=e=>typeof e=="function",Ct=e=>typeof e=="string",cr=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",cd=e=>(mt(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),A_=Object.prototype.toString,zs=e=>A_.call(e),D0=e=>zs(e).slice(8,-1),O_=e=>zs(e)==="[object Object]",ud=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yo=Cl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},R0=/-(\w)/g,Qt=wl(e=>e.replace(R0,(t,n)=>n?n.toUpperCase():"")),M0=/\B([A-Z])/g,zn=wl(e=>e.replace(M0,"-$1").toLowerCase()),Ai=wl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gs=wl(e=>e?`on${Ai(e)}`:""),Kn=(e,t)=>!Object.is(e,t),Xo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},P_=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Va=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ha=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let jm;const I_=()=>jm||(jm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),F0="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",V0=Cl(F0);function no(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ct(r)?B0(r):no(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ct(e)||mt(e))return e}const H0=/;(?![^(]*\))/g,U0=/:([^]+)/,j0=/\/\*[^]*?\*\//g;function B0(e){const t={};return e.replace(j0,"").split(H0).forEach(n=>{if(n){const r=n.split(U0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ke(e){let t="";if(Ct(e))t=e;else if(ze(e))for(let n=0;n<e.length;n++){const r=ke(e[n]);r&&(t+=r+" ")}else if(mt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fs(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=ke(t)),n&&(e.style=no(n)),e}const W0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",q0=Cl(W0);function L_(e){return!!e||e===""}function G0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Zr(e[r],t[r]);return n}function Zr(e,t){if(e===t)return!0;let n=Um(e),r=Um(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=cr(e),r=cr(t),n||r)return e===t;if(n=ze(e),r=ze(t),n||r)return n&&r?G0(e,t):!1;if(n=mt(e),r=mt(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Zr(e[i],t[i]))return!1}}return String(e)===String(t)}function kl(e,t){return e.findIndex(n=>Zr(n,t))}const y=e=>Ct(e)?e:e==null?"":ze(e)||mt(e)&&(e.toString===A_||!Ie(e.toString))?JSON.stringify(e,N_,2):String(e),N_=(e,t)=>t&&t.__v_isRef?N_(e,t.value):Zo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[sc(r,s)+" =>"]=o,n),{})}:So(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>sc(n))}:cr(t)?sc(t):mt(t)&&!ze(t)&&!O_(t)?String(t):t,sc=(e,t="")=>{var n;return cr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
2024-06-25 14:55:16 -04:00
* @vue/reactivity v3.4.30
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-08-05 15:19:17 -04:00
**/let gn;class dd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=gn,!t&&gn&&(this.index=(gn.scopes||(gn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=gn;try{return gn=this,t()}finally{gn=n}}}on(){gn=this}off(){gn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function md(e){return new dd(e)}function D_(e,t=gn){t&&t.active&&t.effects.push(e)}function R_(){return gn}function K0(e){gn&&gn.cleanups.push(e)}let go;class as{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=5,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,D_(this,o)}get dirty(){if(this._dirtyLevel===2)return!1;if(this._dirtyLevel===3||this._dirtyLevel===4){this._dirtyLevel=1,ro();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed){if(n.computed.effect._dirtyLevel===2)return wr(),!0;if(Z0(n.computed),this._dirtyLevel>=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),wr()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Kr,n=go;try{return Kr=!0,go=this,this._runnings++,Bm(this),this.fn()}finally{Wm(this),this._runnings--,go=n,Kr=t}}stop(){this.active&&(Bm(this),Wm(this),this.onStop&&this.onStop(),this.active=!1)}}function Z0(e){return e.value}function Bm(e){e._trackId++,e._depsLength=0}function Wm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)M_(e.deps[t],e);e.deps.length=e._depsLength}}function M_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function Y0(e,t){e.effect instanceof as&&(e=e.effect.fn);const n=new as(e,ln,()=>{n.dirty&&n.run()});t&&(_t(n,t),t.scope&&D_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function X0(e){e.effect.stop()}let Kr=!0,nu=0;const F_=[];function ro(){F_.push(Kr),Kr=!1}function wr(){const e=F_.pop();Kr=e===void 0?!0:e}function fd(){nu++}function pd(){for(nu--;!nu&&ru.length;)ru.shift()()}function V_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&M_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ru=[];function H_(e,t,n){fd();for(const r of e.keys()){let o;if(!e.computed&&r.computed&&r._runnings>0&&(o??(o=e.get(r)===r._trackId))){r._dirtyLevel=2;continue}r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r.computed&&r._dirtyLevel===2&&(r._shouldSchedule=!0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==3&&(r._shouldSchedule=!1,r.scheduler&&ru.push(r.scheduler)))}pd()}const U_=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ua=new WeakMap,yo=Symbol(""),ou=Symbol("");function dn(e,t,n){if(Kr&&go){let r=Ua.get(e);r||Ua.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=U_(()=>r.delete(n))),V_(go,o)}}function vr(e,t,n,r,o,s){const i=Ua.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((u,d)=>{(d==="length"||!cr(d)&&d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ze(e)?ud(n)&&a.push(i.get("length")):(a.push(i.get(yo)),Zo(e)&&a.push(i.get(ou)));break;case"delete":ze(e)||(a.push(i.get(yo)),Zo(e)&&a.push(i.get(ou)));break;case"set":Zo(e)&&a.push(i.get(yo));break}fd();for(const l of a)l&&H_(l,5);pd()}function J0(e,t){const n=Ua.get(e);return n&&n.get(t)}const Q0=Cl("__proto__,__v_isRef,__isVue"),j_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cr)),qm=eC(
2024-06-25 14:55:16 -04:00
* @vue/runtime-core v3.4.30
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-08-05 15:19:17 -04:00
**/function AC(e,t){}const OC={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},PC={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function br(e,t,n,r){try{return r?e(...r):e()}catch(o){Eo(o,t,n)}}function Cn(e,t,n,r){if(Ie(e)){const o=br(e,t,n,r);return o&&cd(o)&&o.catch(s=>{Eo(s,t,n)}),o}if(ze(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Cn(e[s],t,n,r));return o}}function Eo(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){ro(),br(l,null,10,[e,i,a]),wr();return}}IC(e,n,o,r)}function IC(e,t,n,r=!0){console.error(e)}let mi=!1,su=!1;const Wt=[];let or=0;const es=[];let Mr=null,po=0;const ng=Promise.resolve();let wd=null;function bs(e){const t=wd||ng;return e?t.then(this?e.bind(this):e):t}function LC(e){let t=or+1,n=Wt.length;for(;t<n;){const r=t+n>>>1,o=Wt[r],s=fi(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function $l(e){(!Wt.length||!Wt.includes(e,mi&&e.allowRecurse?or+1:or))&&(e.id==null?Wt.push(e):Wt.splice(LC(e.id),0,e),rg())}function rg(){!mi&&!su&&(su=!0,wd=ng.then(og))}function NC(e){const t=Wt.indexOf(e);t>or&&Wt.splice(t,1)}function ja(e){ze(e)?es.push(...e):(!Mr||!Mr.includes(e,e.allowRecurse?po+1:po))&&es.push(e),rg()}function Xm(e,t,n=mi?or+1:0){for(;n<Wt.length;n++){const r=Wt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Wt.splice(n,1),n--,r()}}}function Ba(e){if(es.length){const t=[...new Set(es)].sort((n,r)=>fi(n)-fi(r));if(es.length=0,Mr){Mr.push(...t);return}for(Mr=t,po=0;po<Mr.length;po++){const n=Mr[po];n.active!==!1&&n()}Mr=null,po=0}}const fi=e=>e.id==null?1/0:e.id,DC=(e,t)=>{const n=fi(e)-fi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function og(e){su=!1,mi=!0,Wt.sort(DC);try{for(or=0;or<Wt.length;or++){const t=Wt[or];t&&t.active!==!1&&br(t,null,14)}}finally{or=0,Wt.length=0,Ba(),mi=!1,wd=null,(Wt.length||es.length)&&og()}}let Ho,Yi=[];function sg(e,t){var n,r;Ho=e,Ho?(Ho.enabled=!0,Yi.forEach(({event:o,args:s})=>Ho.emit(o,...s)),Yi=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{sg(s,t)}),setTimeout(()=>{Ho||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Yi=[])},3e3)):Yi=[]}function RC(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ut;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||ut;f&&(o=n.map(p=>Ct(p)?p.trim():p)),m&&(o=n.map(Va))}let a,l=r[a=Gs(t)]||r[a=Gs(Qt(t))];!l&&s&&(l=r[a=Gs(zn(t))]),l&&Cn(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Cn(u,e,6,o)}}function ig(
2024-06-25 14:55:16 -04:00
* @vue/runtime-dom v3.4.30
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-08-05 15:19:17 -04:00
**/const lk="http://www.w3.org/2000/svg",ck="http://www.w3.org/1998/Math/MathML",gr=typeof document<"u"?document:null,ff=gr&&gr.createElement("template"),uk={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?gr.createElementNS(lk,e):t==="mathml"?gr.createElementNS(ck,e):n?gr.createElement(e,{is:n}):gr.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>gr.createTextNode(e),createComment:e=>gr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ff.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=ff.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pr="transition",As="animation",us=Symbol("_vtc"),Lt=(e,{slots:t})=>ir(jg,oy(e),t);Lt.displayName="Transition";const ry={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},dk=Lt.props=_t({},Id,ry),ao=(e,t=[])=>{ze(e)?e.forEach(n=>n(...t)):e&&e(...t)},pf=e=>e?ze(e)?e.some(t=>t.length>1):e.length>1:!1;function oy(e){const t={};for(const U in e)U in ry||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=mk(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:k,onEnter:w,onEnterCancelled:g,onLeave:v,onLeaveCancelled:x,onBeforeAppear:C=k,onAppear:L=w,onAppearCancelled:M=g}=t,A=(U,W,ne)=>{Rr(U,W?d:a),Rr(U,W?u:i),ne&&ne()},F=(U,W)=>{U._isLeaving=!1,Rr(U,m),Rr(U,p),Rr(U,f),W&&W()},Z=U=>(W,ne)=>{const he=U?L:w,Y=()=>A(W,U,ne);ao(he,[W,Y]),hf(()=>{Rr(W,U?l:s),_r(W,U?d:a),pf(he)||_f(W,r,_,Y)})};return _t(t,{onBeforeEnter(U){ao(k,[U]),_r(U,s),_r(U,i)},onBeforeAppear(U){ao(C,[U]),_r(U,l),_r(U,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(U,W){U._isLeaving=!0;const ne=()=>F(U,W);_r(U,m),_r(U,f),iy(),hf(()=>{U._isLeaving&&(Rr(U,m),_r(U,p),pf(v)||_f(U,r,b,ne))}),ao(v,[U,ne])},onEnterCancelled(U){A(U,!1),ao(g,[U])},onAppearCancelled(U){A(U,!0),ao(M,[U])},onLeaveCancelled(U){F(U),ao(x,[U])}})}function mk(e){if(e==null)return null;if(mt(e))return[dc(e.enter),dc(e.leave)];{const t=dc(e);return[t,t]}}function dc(e){return Ha(e)}function _r(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[us]||(e[us]=new Set)).add(t)}function Rr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[us];n&&(n.delete(t),n.size||(e[us]=void 0))}function hf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let fk=0;function _f(e,t,n,r){const o=e._endId=++fk,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=sy(e,t);if(!i)return r();const u=i+"end";let d=0;const m=()=>{e.removeEventListener(u,f),s()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(u,f)}function sy(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Pr}Delay`),s=r(`${Pr}Duration`),i=gf(o,s),a=r(`${As}Delay`),l=r(`${As}Duration`),u=gf(a,l);let d=null,m=0,f=0;t===Pr?i>0&&(d=Pr,m=i,f=s.length):t===As?u>0&&(d=As,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?Pr:As:null,f=d?d===Pr?s.length:l.length:0);const p=d===Pr&&/\b(transform|all)(,|$)/.test(r(`${Pr}Property`
2024-06-25 14:55:16 -04:00
* vue v3.4.30
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-08-05 15:19:17 -04:00
**/const qk=()=>{},Gk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:jg,BaseTransitionPropsValidators:Id,Comment:Vt,DeprecationTypes:ak,EffectScope:dd,ErrorCodes:OC,ErrorTypeStrings:ek,Fragment:ve,KeepAlive:Lw,ReactiveEffect:as,Static:vo,Suspense:GC,Teleport:Dn,Text:Xr,TrackOpTypes:$C,Transition:Lt,TransitionGroup:Lk,TriggerOpTypes:TC,VueElement:Dl,assertNumber:AC,callWithAsyncErrorHandling:Cn,callWithErrorHandling:br,camelize:Qt,capitalize:Ai,cloneVNode:ur,compatUtils:ik,compile:qk,computed:Ht,createApp:vy,createBlock:we,createCommentVNode:te,createElementBlock:P,createElementVNode:c,createHydrationRenderer:Tg,createPropsRestProxy:fw,createRenderer:$g,createSSRApp:Bk,createSlots:$d,createStaticVNode:Uw,createTextVNode:It,createVNode:z,customRef:eg,defineAsyncComponent:QC,defineComponent:Sr,defineCustomElement:cy,defineEmits:rw,defineExpose:ow,defineModel:aw,defineOptions:sw,defineProps:nw,defineSSRCustomElement:Ak,defineSlots:iw,devtools:tk,effect:Y0,effectScope:md,getCurrentInstance:Rn,getCurrentScope:R_,getTransitionRawChildren:Nl,guardReactiveProps:Zg,h:ir,handleError:Eo,hasInjectionContext:Cw,hydrate:zy,initCustomFormatter:Xw,initDirectivesForSSR:Wk,inject:Gn,isMemoSame:ty,isProxy:yd,isReactive:Jo,isReadonly:ls,isRef:Ut,isRuntimeOnly:Gw,isShallow:ui,isVNode:Jr,markRaw:X_,mergeDefaults:dw,mergeModels:mw,mergeProps:Wo,nextTick:bs,normalizeClass:ke,normalizeProps:Fs,normalizeStyle:no,onActivated:Fg,onBeforeMount:ug,onBeforeUnmount:Ll,onBeforeUpdate:dg,onDeactivated:Vg,onErrorCaptured:hg,onMounted:Cs,onRenderTracked:pg,onRenderTriggered:fg,onScopeDispose:K0,onServerPrefetch:mg,onUnmounted:Oi,onUpdated:Il,openBlock:E,popScopeId:FC,provide:Zs,proxyRefs:Cd,pushScopeId:MC,queuePostFlushCb:ja,reactive:vs,readonly:gd,ref:ar,registerRuntimeCompiler:qw,render:Cu,renderList:gt,renderSlot:bt,resolveComponent:O,resolveDirective:Sd,resolveDynamicComponent:Ol,resolveFilter:sk,resolveTransitionHooks:cs,setBlockTracking:pu,setDevtoolsHook:nk,setTransitionHooks:Yr,shallowReactive:_d,shallowReadonly:gC,shallowRef:bd,ssrContextKey:Ig,ssrUtils:ok,stop:X0,toDisplayString:y,toHandlerKey:Gs,toHandlers:ew,toRaw:Je,toRef:EC,toRefs:kC,toValue:bC,transformVNodeArgs:Vw,triggerRef:vC,unref:vn,useAttrs:uw,useCssModule:Pk,useCssVars:_k,useModel:Yw,useSSRContext:Lg,useSlots:cw,useTransitionState:Pd,vModelCheckbox:In,vModelDynamic:py,vModelRadio:Nd,vModelSelect:Dd,vModelText:mn,vShow:gi,version:ny,warn:Qw,watch:wn,watchEffect:Ng,watchPostEffect:Dg,watchSyncEffect:Rg,withAsyncContext:pw,withCtx:N,withDefaults:lw,withDirectives:pt,withKeys:sn,withMemo:Jw,withModifiers:yt,withScopeId:VC},Symbol.toStringTag,{value:"Module"}));function Kk(){return wy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function wy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Zk=typeof Proxy=="function",Yk="devtools-plugin:setup",Xk="plugin:settings:set";let Po,wu;function Jk(){var e;return Po!==void 0||(typeof window<"u"&&window.performance?(Po=!0,wu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Po=!0,wu=globalThis.perf_hooks.performance):Po=!1),Po}function Qk(){return Jk()?wu.now():Date.now()}class ex{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Qk()}},n&&n.on(Xk,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.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-08-05 15:19:17 -04:00
*/const nx="9.13.1";function rx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nd().__INTLIFY_PROD_DEVTOOLS__=!1)}const ky=u0.__EXTEND_POINT__,pr=vl(ky);pr(),pr(),pr(),pr(),pr(),pr(),pr(),pr(),pr();const xy=sr.__EXTEND_POINT__,tn=vl(xy),Ln={UNEXPECTED_RETURN_TYPE:xy,INVALID_ARGUMENT:tn(),MUST_BE_CALL_SETUP_TOP:tn(),NOT_INSTALLED:tn(),NOT_AVAILABLE_IN_LEGACY_MODE:tn(),REQUIRED_VALUE:tn(),INVALID_VALUE:tn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:tn(),NOT_INSTALLED_WITH_PROVIDE:tn(),UNEXPECTED_ERROR:tn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:tn(),BRIDGE_SUPPORT_VUE_2_ONLY:tn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:tn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:tn(),__EXTEND_POINT__:tn()};function Zn(e,...t){return ys(e,null,void 0)}const ku=eo("__translateVNode"),xu=eo("__datetimeParts"),Su=eo("__numberParts"),ox=eo("__setPluralRules"),sx=eo("__injectWithOption"),Eu=eo("__dispose");function yi(e){if(!at(e))return e;for(const t in e)if(Ra(e,t))if(!t.includes("."))at(e[t])&&yi(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]={}),!at(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),at(o[n[r]])&&yi(o[n[r]])}return e}function Sy(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Xe(n)?n:Dt(r)?{}:{[e]:{}};if(Dt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},Ca(u,i[l])):Ca(u,i)}else Ce(a)&&Ca(JSON.parse(a),i)}),o==null&&s)for(const a in i)Ra(i,a)&&yi(i[a]);return i}function Ey(e){return e.type}function ix(e,t,n){let r=at(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Sy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(at(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(at(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Pf(e){return z(Xr,null,e,0)}const If="__INTLIFY_META__",Lf=()=>[],ax=()=>!1;let Nf=0;function Df(e){return(t,n,r,o)=>e(n,r,Rn()||void 0,o)}const lx=()=>{const e=Rn();let t=null;return e&&(t=Ey(e)[If])?{[If]:t}:null};function $y(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=Na?ar:bd,a=!!e.translateExistCompatible;let l=kt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:Ce(e.locale)?e.locale:Fa),d=i(n&&l?n.fallbackLocale.value:Ce(e.fallbackLocale)||Dt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(Sy(u.value,e)),f=i(Xe(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Xe(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:kt(e.missingWarn)||Da(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:kt(e.fallbackWarn)||Da(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:kt(e.fallbackRoot)?e.fallbackRoot:!0,k=!!e.fallbackFormat,w=Tt(e.missing)?e.missing:null,g=Tt(e.missing)?Df(e.missing):null,v=Tt(e.postTranslation)?e.postTranslation:null,x=n?n.warnHtmlMessage:kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const L=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let M=e.pluralRules||n&&n.pluralRules,A;A=(()=>{o&&Im(null);const H={version:nx,locale:u.value,fallbackLocale:d.value,messages:m.value,modifiers:L,pluralRules:M,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:_,fallbackFormat:k,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:x,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};H.datetimeFormats=f.value,H.numberFormats=p.value,H.__datetimeFormatters=Xe(A)?A.__datetimeFormatters:void 0,H.__numberFormatters=Xe(A)?A.__numberFormatters:void 0;const G=C0(H);return o&&Im(G),G})(),Ts(A,u.value,d.value);function Z(){return[u.value,d.value,m.value,f.value,p.value]}const U=Ht({get:()=>u.value,set:H=>{u.value=H,A.locale=u.value}}),W=Ht({get:()=>d.value,set:H=>{d.value=H,A.fallbackLocale=d.value,Ts(A,u.value,H)}}),ne=Ht(()=>m.value),he=Ht(()=>
2024-02-28 10:11:13 -05:00
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2024-08-05 15:19:17 -04:00
*/var Tx="store";function ws(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Ax(e){return e!==null&&typeof e=="object"}function Ox(e){return e&&typeof e.then=="function"}function Px(e,t){return function(){return e(t)}}function Oy(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Py(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Ml(e,n,[],e._modules.root,!0),Fd(e,n,t)}function Fd(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=md(!0);l.run(function(){ws(s,function(u,d){i[d]=Px(u,e),a[d]=Ht(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=vs({data:t}),e._scope=l,e.strict&&Rx(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function Ml(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!s&&!o){var a=Vd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=Ix(e,i,n);r.forEachMutation(function(d,m){var f=i+m;Lx(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;Nx(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;Dx(e,f,d,u)}),r.forEachChild(function(d,m){Ml(e,t,n.concat(m),d,o)})}function Ix(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=Ja(s,i,a),u=l.payload,d=l.options,m=l.type;return(!d||!d.root)&&(m=t+m),e.dispatch(m,u)},commit:r?e.commit:function(s,i,a){var l=Ja(s,i,a),u=l.payload,d=l.options,m=l.type;(!d||!d.root)&&(m=t+m),e.commit(m,u,d)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Iy(e,t)}},state:{get:function(){return Vd(e.state,n)}}}),o}function Iy(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Lx(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function Nx(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return Ox(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Dx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function Rx(e){wn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Vd(e,t){return t.reduce(function(n,r){return n[r]},e)}function Ja(e,t,n){return Ax(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Mx="vuex bindings",jf="vuex:mutations",hc="vuex:actions",Io="vuex",Fx=0;function Vx(e,t){tx({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Mx]},function(n){n.addTimelineLayer({id:jf,label:"Vuex Mutations",color:Bf}),n.addTimelineLayer({id:hc,label:"Vuex Actions",color:Bf}),n.addInspector({id:Io,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Io)if(r.filter){var o=[];Ry(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[Dy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Io){var o=r.nodeId;Iy(t,o),r.state=jx(Wx(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Io){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._st
2024-06-25 14:55:16 -04:00
* vue-router v4.4.0
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-08-05 15:19:17 -04:00
*/const jo=typeof document<"u";function UO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ct=Object.assign;function Sc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Xn(o)?o.map(e):e(o)}return n}const ti=()=>{},Xn=Array.isArray,Z1=/#/g,jO=/&/g,BO=/\//g,WO=/=/g,qO=/\?/g,Y1=/\+/g,GO=/%5B/g,KO=/%5D/g,X1=/%5E/g,ZO=/%60/g,J1=/%7B/g,YO=/%7C/g,Q1=/%7D/g,XO=/%20/g;function Jd(e){return encodeURI(""+e).replace(YO,"|").replace(GO,"[").replace(KO,"]")}function JO(e){return Jd(e).replace(J1,"{").replace(Q1,"}").replace(X1,"^")}function Du(e){return Jd(e).replace(Y1,"%2B").replace(XO,"+").replace(Z1,"%23").replace(jO,"%26").replace(ZO,"`").replace(J1,"{").replace(Q1,"}").replace(X1,"^")}function QO(e){return Du(e).replace(WO,"%3D")}function e8(e){return Jd(e).replace(Z1,"%23").replace(qO,"%3F")}function t8(e){return e==null?"":e8(e).replace(BO,"%2F")}function vi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const n8=/\/$/,r8=e=>e.replace(n8,"");function Ec(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=a8(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:vi(i)}}function o8(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function s8(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&fs(t.matched[r],n.matched[o])&&ez(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ez(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!i8(e[n],t[n]))return!1;return!0}function i8(e,t){return Xn(e)?kp(e,t):Xn(t)?kp(t,e):e===t}function kp(e,t){return Xn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function a8(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Nr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var bi;(function(e){e.pop="pop",e.push="push"})(bi||(bi={}));var ni;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ni||(ni={}));function l8(e){if(!e)if(jo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),r8(e)}const c8=/^[^#]+#/;function u8(e,t){return e.replace(c8,"#")+t}function d8(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ql=()=>({left:window.scrollX,top:window.scrollY});function m8(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=d8(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function xp(e,t){return(history.state?history.state.position-t:-1)+e}const Ru=new Map;function f8(e,t){Ru.set(e,t)}function p8(e){const t=Ru.get(e);return Ru.delete(e),t}let h8=()=>location.protocol+"//"+location.host;function tz(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),wp(l,"")}return wp(n,e)+r+o}function _8(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=tz(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);o.forEach(k=>{k(n.value,h,{delta:b,type:bi.pop,direction:b?b>0?ni.forward:ni.back:ni.unknown
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-08-05 15:19:17 -04:00
font-size="${e.size/3}" fill="${sI(t)>.5?"#000000":"#FFFFFF"}">
2024-02-29 15:19:40 -05:00
${e.caption}
</text>
2024-08-05 15:19:17 -04:00
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},aI={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return iI({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function lI(e,t,n,r,o,s){const i=Sd("lazy");return E(),P("figure",null,[pt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:o.lifecycle}]])])}const Er=ie(aI,[["render",lI]]),{t:da,locale:cI}=Rl.global,az="NO_INDEX",uI=(e,t)=>e-t,dI=(e,t)=>e.localeCompare(t,cI.value),mI=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),fI=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>dI(o[t],s[t])*r;case Number:return(o,s)=>uI(o[t],s[t])*r;case Date:return(o,s)=>mI(o[t],s[t])*r;default:return()=>0}}),pI=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":""},hI=e=>{},_I=[{difference:NaN,text:()=>da("grouped-list.undefined")},{difference:864e5,text:()=>da("grouped-list.today")},{difference:6048e5,text:()=>da("grouped-list.last-week")},{difference:2592e6,text:()=>da("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],gI=e=>{var r;const t=new Date(e),n=new Date-t;return(r=_I.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)},yI=({field:e,type:t}={})=>{switch(t){case String:return n=>pI(n[e]);case Number:return n=>n[e];case Date:return n=>gI(n[e]);case"Digits":return n=>hI(n[e]);default:return()=>az}};class Ee{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={},s={}){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indices=[],this.group(s)}group({criteria:t=[],filters:n=[],index:r}={}){const o=this.items.filter(l=>n.every(u=>u(l)));this.count=o.length;const s=fI(t),i=o.sort((l,u)=>s.reduce((d,m)=>d||m(l,u),0)),a=yI(r);return this.itemsGrouped=i.reduce((l,u)=>{const d=a(u);return l.set(d,[...l.get(d)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==az&&(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 lz={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(o!==null){var _=o.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new s(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(b,k){function w(C){b&&b(C),p&&p(null,C)}function g(){k&&k(h),p&&p(h,null)}var v=f.type||"GET";if(h.open(v,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var C=null;try{C=h.responseText?JSON.parse(h.responseText):""}catch(L){console.error(L)}h.status>=200&&h.status<300?w(C):g()}},v==="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={},k=null;typeof p=="object"?(b=p,k=h):typeof p=="function"&&(k=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!_?
`).forEach(r=>{const{text:o,minutes:s,seconds:i,hundredths:a}=n.exec(r).groups;if(o){const l={text:o,time:s*60+Number(i)+ +`.${a||0}`};t.push(l)}}),t.forEach((r,o,s)=>{const i=(s[o+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,o=this.lastIndex>=0&&this.lastIndex<n.length&&n[this.lastIndex].time>t;if((r||o)&&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 s=n.length-1,i=-1,a=0;for(;a<=s;){i=a+s>>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:s=i-1}return i}return this.reset_scrolling(),-1}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})},start_scrolling(e){(e.screenX??e.screenY)&&(this.autoScrolling=!1,clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))}}},JV=["textContent"],QV={key:1};function e9(e,t,n,r,o,s){return E(),P("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>o.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>o.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>s.start_scrolling&&s.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>s.start_scrolling&&s.start_scrolling(...i))},[(E(!0),P(ve,null,gt(s.lyrics,(i,a)=>(E(),P(ve,{key:a},[a===s.verse_index?(E(),P("div",{key:0,class:ke({"is-highlighted":s.is_playing})},[(E(!0),P(ve,null,gt(i.words,l=>(E(),P("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:no({"animation-duration":`${l.delay}s`}),textContent:y(l.text)},null,12,JV)]))),128))],2)):(E(),P("div",QV,y(i.text),1))],64))),128))],544)}const t9=ie(XV,[["render",e9],["__scopeId","data-v-c3d13bce"]]),n9={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new er;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),j.player_play({item_id:this.item.id})},remove(){this.$emit("close"),j.queue_remove(this.item.id)}}},r9={key:0,class:"modal is-active"},o9={class:"modal-content"},s9={class:"card"},i9={class:"
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2024-08-05 15:19:17 -04:00
*/function fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function dr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fh(Object(n),!0).forEach(function(r){aj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $a(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$a=function(t){return typeof t}:$a=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$a(e)}function aj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nn(){return Nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nn.apply(this,arguments)}function lj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function cj(e,t){if(e==null)return{};var n=lj(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uj(e){return dj(e)||mj(e)||fj(e)||pj()}function dj(e){if(Array.isArray(e))return Uu(e)}function mj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fj(e,t){if(e){if(typeof e=="string")return Uu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Uu(e,t)}}function Uu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var hj="1.14.0";function Cr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var $r=Cr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Vi=Cr(/Edge/i),ph=Cr(/firefox/i),ri=Cr(/safari/i)&&!Cr(/chrome/i)&&!Cr(/android/i),gz=Cr(/iP(ad|od|hone)/i),_j=Cr(/chrome/i)&&Cr(/android/i),yz={capture:!1,passive:!1};function Ze(e,t,n){e.addEventListener(t,n,!$r&&yz)}function qe(e,t,n){e.removeEventListener(t,n,!$r&&yz)}function ll(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function gj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function jn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&ll(e,t):ll(e,t))||r&&e===n)return e;if(e===n)break}while(e=gj(e))}return null}var hh=/\s+/g;function wt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(hh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(hh," ")}}function be(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 Co(e,t){var n="";if(typeof e=="string")n=e;else do{var r=be(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function zz(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function lr(){var e=document.scrollingElement;return e||document.documentElement}function vt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,d,m;if(e!==window&&e.parentNode&&e!==lr()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,u=s.right,d=s.height,m=s.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!$r))do if(o&&o.getBoundingClientRect&&(be(o,"transform")!=="none"||n&&be(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(be(o,"border-top-width")),a-=f.left+parseInt(be(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=Co(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,u=a+m)}return{top:i,left:a,bottom:l,right:u,width:m,height:d}}}function _h(e,t,n){for(var r=Gr(e,!0),o=vt(e)[t];r;){var s=vt(r)[n],i=void 0;if(i=o>=s,!i)return r;if(r===lr())break;r=Gr(r,!1)}return!1}function hs(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Oe.ghost&&(r||i[s]!==Oe.dragged)&&jn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function om(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||be(n,"display")==="none"||t&&!ll(n,t));)n=n.previousElementSibling;return n||null}function $t(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||ll(e,t))&&n++;return n}function gh(e){var t=0,n=0,r=lr();if(e)do{var o=Co(e),s=o.a,i=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function yj(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Gr(e,t){if(!e||!e.getBoundingClientRect)return lr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=be(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return lr();if(r||t)return n;r=!0}}while(n=n.parentNode);return lr()}
`)&&(A="(?: "+A+")",Z=" "+Z,F++),v=new RegExp("^(?:"+A+")",M)),h&&(v=new RegExp("^"+A+"$(?!\\s)",M)),f&&(g=w.lastIndex),x=u.call(L?v:w,Z),L?x?(x.input=x.input.slice(F),x[0]=x[0].slice(F),x.index=w.lastIndex,w.lastIndex+=x[0].length):w.lastIndex=0:f&&x&&(w.lastIndex=w.global?x.index+x[0].length:g),h&&x&&x.length>1&&d.call(x[0],v,function(){for(C=1;C<arguments.length-2;C++)arguments[C]===void 0&&(x[C]=void 0)}),x}),o.exports=m},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=u.data={},f=u.NATIVE="N",p=u.POLYFILL="P";o.exports=u},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),k=i("2d00"),w=b("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",x=k>=51||!l(function(){var A=[];return A[w]=!1,A.concat()[0]!==A}),C=_("concat"),L=function(A){if(!d(A))return!1;var F=A[w];return F!==void 0?!!F:u(A)},M=!x||!C;a({target:"Array",proto:!0,forced:M},{concat:function(F){var Z=m(this),U=h(Z,0),W=0,ne,he,Y,se,ae;for(ne=-1,Y=arguments.length;ne<Y;ne++)if(ae=ne===-1?Z:arguments[ne],L(ae)){if(se=f(ae.length),W+se>g)throw TypeError(v);for(he=0;he<se;he++,W++)he in ae&&p(U,W,ae[he])}else{if(W>=g)throw TypeError(v);p(U,W++,ae)}return U.length=W,U}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,u,d,m){try{return m?u(a(d)[0],d[1]):u(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),d=i("c04e"),m=Object.defineProperty;s.f=a?m:function(p,h,_){if(u(p),h=d(h,!0),u(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(o,s,i){var a=i("d039");function l(u,d){return RegExp(u,d)}s.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(o,s,i){var a=i("e8b5"),l=i("50c4"),u=i("0366"),d=function(m,f,p,h,_,b,k,w){for(var g=_,v=0,x=k?u(k,w,3):!1,C;v<h;){if(v in p){if(C=x?x(p[v],v,f):p[v],b>0&&a(C))g=d(m,f,C,l(C.length),g,b-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[g]=C}g++}v++}return g};o.exports=d},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),k=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,g=Math.min,v=9007199254740991,x="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!k},{splice:function(L,M){var A=m(this),F=d(A.length),Z=l(L,F),U=arguments.length,W,ne,he,Y,se,ae;if(U===0?W=ne=0:U===1?(W=0,ne=F-Z):(W=U-2,ne=g(w(u(M),0),F-Z)),F+W-ne>v)throw TypeError(x);for(he=f(A,ne),Y=0;Y<ne;Y++)se=Z+Y,se in A&&p(he,Y,A[se]);if(he.length=ne,W<ne){for(Y=Z;Y<F-ne;Y++)se=Y+ne,ae=Y+W,se in A?A[ae]=A[se]:delete A[ae];for(Y=F;Y>F-ne+W;Y--)delete A[Y-1]}else if(W>ne)for(Y=F-ne;Y>Z;Y--)se=Y+ne-1,ae=Y+W-1,se in A?A[ae]=A[se]:delete A[ae];for(Y=0;Y<W;Y++)A[Y+Z]=arguments[Y+2];return A.length=F-ne+W,he}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),u=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),k=i("861d"),w=i("825a"),g=i("7b0b"),v=i("fc6a"),x=i("c04e"),C=i("5c6c"),L=i("7c73"),M=i("df75"),A=i("241c"),F=i("057f"),Z=i("7418"),U=i("06cf"),W=i("9bf2"),ne=i("d1e7"),he=i("9112"),Y=i("6eeb"),se=i("5692"),ae=i("f772"),We=i("d012"),ot=i("90e3"),Ve=i("b622"),He=i("e538"),st=i("746f"),it=i("d44e"),lt=i("69f3"),Ne=i("b727").forEach,K=ae("hidden"),de="Symbol",ce="prototype",ge=Ve("toPrimitive"),Ue=
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(R,V){return p(R)||h(R,V)||b(R,V)||k()}function g(R){if(Array.isArray(R))return _(R)}function v(R){if(typeof Symbol<"u"&&Symbol.iterator in Object(R))return Array.from(R)}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(R){return g(R)||v(R)||b(R)||x()}var L=i("a352"),M=i.n(L);function A(R){R.parentElement!==null&&R.parentElement.removeChild(R)}function F(R,V,q){var re=q===0?R.children[0]:R.children[q-1].nextSibling;R.insertBefore(V,re)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(R){var V=Object.create(null);return function(re){var ye=V[re];return ye||(V[re]=R(re))}}var W=/-(\w)/g,ne=U(function(R){return R.replace(W,function(V,q){return q.toUpperCase()})});i("5db7"),i("73d9");var he=["Start","Add","Remove","Update","End"],Y=["Choose","Unchoose","Sort","Filter","Clone"],se=["Move"],ae=[se,he,Y].flatMap(function(R){return R}).map(function(R){return"on".concat(R)}),We={manage:se,manageAndEmit:he,emit:Y};function ot(R){return ae.indexOf(R)!==-1}i("caad"),i("2ca0");var Ve=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function He(R){return Ve.includes(R)}function st(R){return["transition-group","TransitionGroup"].includes(R)}function it(R){return["id","class","role","style"].includes(R)||R.startsWith("data-")||R.startsWith("aria-")||R.startsWith("on")}function lt(R){return R.reduce(function(V,q){var re=w(q,2),ye=re[0],$e=re[1];return V[ye]=$e,V},{})}function Ne(R){var V=R.$attrs,q=R.componentData,re=q===void 0?{}:q,ye=lt(Object.entries(V).filter(function($e){var Re=w($e,2),De=Re[0];return Re[1],it(De)}));return f(f({},ye),re)}function K(R){var V=R.$attrs,q=R.callBackBuilder,re=lt(de(V));Object.entries(q).forEach(function($e){var Re=w($e,2),De=Re[0],nt=Re[1];We[De].forEach(function(Ae){re["on".concat(Ae)]=nt(Ae)})});var ye="[data-draggable]".concat(re.draggable||"");return f(f({},re),{},{draggable:ye})}function de(R){return Object.entries(R).filter(function(V){var q=w(V,2),re=q[0];return q[1],!it(re)}).map(function(V){var q=w(V,2),re=q[0],ye=q[1];return[ne(re),ye]}).filter(function(V){var q=w(V,2),re=q[0];return q[1],!ot(re)})}i("c740");function ce(R,V){if(!(R instanceof V))throw new TypeError("Cannot call a class as a function")}function ge(R,V){for(var q=0;q<V.length;q++){var re=V[q];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(R,re.key,re)}}function Ue(R,V,q){return V&&ge(R.prototype,V),R}var Ge=function(V){var q=V.el;return q},T=function(V,q){return V.__draggable_context=q},I=function(V){return V.__draggable_context},B=function(){function R(V){var q=V.nodes,re=q.header,ye=q.default,$e=q.footer,Re=V.root,De=V.realList;ce(this,R),this.defaultNodes=ye,this.children=[].concat(C(re),C(ye),C($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(R,[{key:"render",value:function(q,re){var ye=this.tag,$e=this.children,Re=this._isRootComponent,De=Re?{default:function(){return $e}}:$e;return q(ye,re,De)}},{key:"updated",value:function(){var q=this.defaultNodes,re=this.realList;q.forEach(function(ye,$e){T(Ge(ye),{element:re[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(q){return I(q)}},{key:"getVmIndexFromDomIndex",value:function(q,re){var ye=this.defaultNodes,$e=ye.length,Re=re.children,De=Re.item(q);if(De===null)return $e;var nt=I(De);if(nt)return nt.index;if($e===0)return 0;var Ae=Ge(ye[0]),Se=C(Re