owntone-server/htdocs/assets/index.js

70 lines
776 KiB
JavaScript
Raw Normal View History

2024-04-01 10:41:51 -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 eh="UPDATE_CONFIG",th="UPDATE_SETTINGS",nh="UPDATE_LIBRARY_STATS",rh="UPDATE_LIBRARY_RSS_COUNT",oh="UPDATE_OUTPUTS",ku="UPDATE_PLAYER_STATUS",sh="UPDATE_QUEUE",kc="UPDATE_LYRICS",ih="UPDATE_LASTFM",ah="UPDATE_SPOTIFY",lh="UPDATE_PAIRING",Su="SPOTIFY_NEW_RELEASES",Eu="SPOTIFY_FEATURED_PLAYLISTS",Sc="SEARCH_SOURCE",ch="COMPOSER_TRACKS_SORT",uh="GENRE_TRACKS_SORT",Xa="HIDE_SINGLES",_i="HIDE_SPOTIFY",dh="ARTISTS_SORT",mh="ARTIST_ALBUMS_SORT",fh="ARTIST_TRACKS_SORT",ph="ALBUMS_SORT",hh="SHOW_ONLY_NEXT_ITEMS",Xo="SHOW_BURGER_MENU",Qo="SHOW_PLAYER_MENU",gi="SHOW_UPDATE_DIALOG",$u="UPDATE_DIALOG_SCAN_KIND";function _h(e,t){return function(){return e.apply(t,arguments)}}const{toString:q1}=Object.prototype,{getPrototypeOf:Tu}=Object,Qa=(e=>t=>{const n=q1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ar=e=>(e=e.toLowerCase(),t=>Qa(t)===e),el=e=>t=>typeof t===e,{isArray:us}=Array,ei=el("undefined");function G1(e){return e!==null&&!ei(e)&&e.constructor!==null&&!ei(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gh=ar("ArrayBuffer");function K1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gh(e.buffer),t}const Z1=el("string"),Tn=el("function"),yh=el("number"),tl=e=>e!==null&&typeof e=="object",Y1=e=>e===!0||e===!1,aa=e=>{if(Qa(e)!=="object")return!1;const t=Tu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},J1=ar("Date"),X1=ar("File"),Q1=ar("Blob"),ev=ar("FileList"),tv=e=>tl(e)&&Tn(e.pipe),nv=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=Qa(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},rv=ar("URLSearchParams"),ov=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),us(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function vh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const bh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,zh=e=>!ei(e)&&e!==bh;function Ec(){const{caseless:e}=zh(this)&&this||{},t={},n=(r,o)=>{const s=e&&vh(t,o)||o;aa(t[s])&&aa(r)?t[s]=Ec(t[s],r):aa(r)?t[s]=Ec({},r):us(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&yi(arguments[r],n);return t}const sv=(e,t,n,{allOwnKeys:r}={})=>(yi(t,(o,s)=>{n&&Tn(o)?e[s]=_h(o,n):e[s]=o},{allOwnKeys:r}),e),iv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),av=(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 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&&Tu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},cv=(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},uv=e=>{if(!e)return null;if(us(
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Hv[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},qd=Symbol("internals");function bs(e){return e&&String(e).trim().toLowerCase()}function la(e){return e===!1||e==null?e:J.isArray(e)?e.map(la):String(e)}function jv(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 Bv=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vl(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 Wv(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function qv(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 rl{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const d=bs(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]=la(a))}const i=(a,l)=>J.forEach(a,(u,d)=>s(u,d,l));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!Bv(t)?i(Uv(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=bs(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return jv(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=bs(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=bs(i),i){const a=J.findKey(r,i);a&&(!n||Vl(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||Vl(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]=la(o),delete n[s];return}const a=t?Wv(s):String(s).trim();a!==s&&delete n[s],n[a]=la(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[qd]=this[qd]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=bs(i);r[a]||(qv(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}rl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(rl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(rl);const pr=rl;function Hl(e,t){const n=this||Pu,r=t||n,o=pr.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 Ph(e){return!!(e&&e.__CANCEL__)}function vi(e,t,n){Je.call(this,e??"canceled",Je.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(vi,Je,{__CANCEL__:!0});function Gv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Kv=er.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 Zv(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Yv(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ih(e,t){return e&&!Zv(t)?Yv(e,t):t}const Jv=er.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}}();function Xv(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Qv(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 Gd(e,t){let n=0;const r=Qv(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const d={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const eb=typeof XMLHttpRequest<"u",tb=eb&&function(e){return new Promise(function(n,r){let o=e.data;const s=pr.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(J.isFormData(o)){if(er.hasStandardBrowserEnv||er.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[_,...b]=d?d.split(";").map(z=>z.trim()).filter(Boolean):[];s.setContentType([_||"multipart/form-data",...b].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(_+":"+b))}const f=Ih(e.baseURL,e.url);m.open(e.method.toUpperCase(),$h(f,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function p(){if(!m)return;const _=pr.from("getAllResponseHeaders"in m&&m.getAllResponseH
`+s.map(Kd).join(`
`):" "+Kd(s[0]):"as no adapter specified";throw new Je("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Tc};function Ul(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vi(null,e)}function Zd(e){return Ul(e),e.headers=pr.from(e.headers),e.data=Hl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dh.getAdapter(e.adapter||Pu.adapter)(e).then(function(r){return Ul(e),r.data=Hl.call(e,e.transformResponse,r),r.headers=pr.from(r.headers),r},function(r){return Ph(r)||(Ul(e),r&&r.response&&(r.response.data=Hl.call(e,e.transformResponse,r.response),r.response.headers=pr.from(r.response.headers))),Promise.reject(r)})}const Yd=e=>e instanceof pr?{...e}:e;function es(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,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,d)=>o(Yd(u),Yd(d),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||o,f=m(e[d],t[d],d);J.isUndefined(f)&&m!==a||(n[d]=f)}),n}const Rh="1.6.8",Iu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Iu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Jd={};Iu.transitional=function(t,n,r){function o(s,i){return"[Axios v"+Rh+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Je(o(i," has been removed"+(n?" in "+n:"")),Je.ERR_DEPRECATED);return n&&!Jd[i]&&(Jd[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 rb(e,t,n){if(typeof e!="object")throw new Je("options must be an object",Je.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 Je("option "+s+" must be "+l,Je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Je("Unknown option "+s,Je.ERR_BAD_OPTION)}}const Ac={assertOptions:rb,validators:Iu},wr=Ac.validators;class za{constructor(t){this.defaults=t,this.interceptors={request:new Wd,response:new Wd}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=es(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ac.assertOptions(r,{silentJSONParsing:wr.transitional(wr.boolean),forcedJSONParsing:wr.transitional(wr.boolean),clarifyTimeoutError:wr.transitional(wr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Ac.assertOptions(o,{encode:wr.function,serialize:wr.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=pr.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=[Zd.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=Zd.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=es(this.defaults,t);const n=Ih(t.baseURL,t.url);return $h(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){za.prototype[t]=function(n,r){return this.request(es(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(es(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}za.prototype[t]=n(),za.prototype[t+"Form"]=n(!0)});const ca=za;class Du{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 vi(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 Du(function(o){t=o}),cancel:t}}}const ob=Du;function sb(e){return function(n){return e.apply(null,n)}}function ib(e){return J.isObject(e)&&e.isAxiosError===!0}const Oc={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(Oc).forEach(([e,t])=>{Oc[t]=e});const ab=Oc;function Lh(e){const t=new ca(e),n=_h(ca.prototype.requ
2024-03-31 15:53:24 -04:00
* shared v9.10.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
2024-04-01 10:41:51 -04:00
*/const Ca=typeof window<"u",Kr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),lb=(e,t,n)=>cb({l:e,k:t,s:n}),cb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Nt=e=>typeof e=="number"&&isFinite(e),ub=e=>Mh(e)==="[object Date]",wa=e=>Mh(e)==="[object RegExp]",ol=e=>Xe(e)&&Object.keys(e).length===0,Gt=Object.assign;let Xd;const Ru=()=>Xd||(Xd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qd(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const db=Object.prototype.hasOwnProperty;function xa(e,t){return db.call(e,t)}const Lt=Array.isArray,$t=e=>typeof e=="function",ke=e=>typeof e=="string",Tt=e=>typeof e=="boolean",ot=e=>e!==null&&typeof e=="object",mb=e=>ot(e)&&$t(e.then)&&$t(e.catch),Nh=Object.prototype.toString,Mh=e=>Nh.call(e),Xe=e=>{if(!ot(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},fb=e=>e==null?"":Lt(e)||Xe(e)&&e.toString===Nh?JSON.stringify(e,null,2):String(e);function pb(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function Lu(e){let t=e;return()=>++t}function hb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ii=e=>!ot(e)||Lt(e);function ua(e,t){if(Ii(e)||Ii(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=>{Ii(r[s])||Ii(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
2024-03-31 15:53:24 -04:00
* message-compiler v9.10.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const _b=/\{([0-9a-zA-Z]+)\}/g;function gb(e,...t){return t.length===1&&yb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(_b,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const yb=e=>e!==null&&typeof e=="object",Vt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},vb={[Vt.EXPECTED_TOKEN]:"Expected token: '{0}'",[Vt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Vt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Vt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Vt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Vt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Vt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Vt.EMPTY_PLACEHOLDER]:"Empty placeholder",[Vt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Vt.INVALID_LINKED_FORMAT]:"Invalid linked format",[Vt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Vt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Vt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Vt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Vt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Vt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Fh(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=gb((o||vb)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
* core-base v9.10.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
2024-04-01 10:41:51 -04:00
*/function bb(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ru().__INTLIFY_PROD_DEVTOOLS__=!1)}const Zr=[];Zr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Zr[1]={w:[1],".":[2],"[":[4],o:[7]};Zr[2]={w:[2],i:[3,0],0:[3,0]};Zr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Zr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Zr[5]={"'":[4,0],o:8,l:[5,0]};Zr[6]={'"':[4,0],o:8,l:[6,0]};const zb=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Cb(e){return zb.test(e)}function wb(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 xb(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:Cb(t)?wb(t):"*"+t}function Sb(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=xb(s),m=Zr[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 Eb(e,t){return ot(e)?e[t]:null}function $b(e,t){if(!ot(e))return null;let n=em.get(t);if(n||(n=Sb(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||$t(o))return null;o=i,s++}return o}const Tb=e=>e,Ab=e=>"",Ob="text",Pb=e=>e.length===0?"":pb(e),Ib=fb;function tm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Db(e){const t=Nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Nt(e.named.count)||Nt(e.named.n))?Nt(e.named.count)?e.named.count:Nt(e.named.n)?e.named.n:t:t}function Rb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Lb(e={}){const t=e.locale,n=Db(e),r=ot(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:tm,o=ot(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?tm:void 0,s=z=>z[r(n,z.length,o)],i=e.list||[],a=z=>i[z],l=e.named||{};Nt(e.pluralIndex)&&Rb(n,l);const u=z=>l[z];function d(z){const C=$t(e.messages)?e.messages(z):ot(e.messages)?e.messages[z]:!1;return C||(e.parent?e.parent.message(z):Ab)}const m=z=>e.modifiers?e.modifiers[z]:Tb,f=Xe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:Pb,p=Xe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:Ib,h=Xe(e.processor)&&ke(e.processor.type)?e.processor.type:Ob,b={list:a,named:u,plural:s,linked:(z,...C)=>{const[v,w]=C;let S="text",k="";C.length===1?ot(v)?(k=v.modifier||k,S=v.type||S):ke(v)&&(k=v||k):C.length===2&&(ke(v)&&(k=v||k),ke(w)&&(S=w||S));const M=d(z)(b),R=S==="vnode"&&Lt(M)&&k?M[0]:M;return k?m(k)(R,S):R},message:d,type:h,interpolate:p,normalize:f,values:Gt({},i,l)};return b}let ti=null;function Nb(e){ti=e}function Mb(e,t,n){ti&&ti.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Fb=Vb("function:translate");function Vb(e){return t=>ti&&ti.emit(e,t)}const Hb={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Vh=Vt.__EXTEND_POINT__,Jr=Lu(Vh),tr={INVALID_ARGUMENT:Vh,INVALID_DATE_ARGUMENT:Jr(),INVALID_ISO_DATE_ARGUMENT:Jr(),NOT_SUPPORT_NON_STRING_MESSAGE:Jr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Jr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Jr(),NOT_SUPPORT_LOCALE_TYPE:Jr(),__EXTEND_POINT__:Jr()};function fr(e){return Fh(e,null,void 0)}function Nu(e,t){return t.locale!=null?nm(t.locale):nm(e.locale)}let jl;function nm(e){if(ke(e))return e;if($t(e)){if(e.resolvedOnce&&jl!=null)return jl;if(e.constructor.name==="Function"){const t=e();if(mb(t))throw fr(tr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return jl=t}else throw fr(tr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw
2024-02-28 10:11:13 -05:00
* @vue/shared v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-04-01 10:41:51 -04:00
**/function il(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const it={},Uo=[],an=()=>{},oz=()=>!1,bi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fu=e=>e.startsWith("onUpdate:"),vt=Object.assign,Vu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sz=Object.prototype.hasOwnProperty,tt=(e,t)=>sz.call(e,t),be=Array.isArray,jo=e=>ds(e)==="[object Map]",bo=e=>ds(e)==="[object Set]",pm=e=>ds(e)==="[object Date]",iz=e=>ds(e)==="[object RegExp]",Pe=e=>typeof e=="function",bt=e=>typeof e=="string",jr=e=>typeof e=="symbol",ut=e=>e!==null&&typeof e=="object",Hu=e=>(ut(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),Yh=Object.prototype.toString,ds=e=>Yh.call(e),az=e=>ds(e).slice(8,-1),Jh=e=>ds(e)==="[object Object]",Uu=e=>bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=il(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),al=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},lz=/-(\w)/g,Xt=al(e=>e.replace(lz,(t,n)=>n?n.toUpperCase():"")),cz=/\B([A-Z])/g,gn=al(e=>e.replace(cz,"-$1").toLowerCase()),zi=al(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fs=al(e=>e?`on${zi(e)}`:""),Bn=(e,t)=>!Object.is(e,t),Wo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Sa=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ni=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ea=e=>{const t=bt(e)?Number(e):NaN;return isNaN(t)?e:t};let hm;const Xh=()=>hm||(hm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),uz="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",dz=il(uz);function Yr(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=bt(r)?hz(r):Yr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(bt(e)||ut(e))return e}const mz=/;(?![^(]*\))/g,fz=/:([^]+)/,pz=/\/\*[^]*?\*\//g;function hz(e){const t={};return e.replace(pz,"").split(mz).forEach(n=>{if(n){const r=n.split(fz);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function xe(e){let t="";if(bt(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const r=xe(e[n]);r&&(t+=r+" ")}else if(ut(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Os(e){if(!e)return null;let{class:t,style:n}=e;return t&&!bt(t)&&(e.class=xe(t)),n&&(e.style=Yr(n)),e}const _z="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gz=il(_z);function Qh(e){return!!e||e===""}function yz(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Br(e[r],t[r]);return n}function Br(e,t){if(e===t)return!0;let n=pm(e),r=pm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=jr(e),r=jr(t),n||r)return e===t;if(n=be(e),r=be(t),n||r)return n&&r?yz(e,t):!1;if(n=ut(e),r=ut(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||!Br(e[i],t[i]))return!1}}return String(e)===String(t)}function ll(e,t){return e.findIndex(n=>Br(n,t))}const g=e=>bt(e)?e:e==null?"":be(e)||ut(e)&&(e.toString===Yh||!Pe(e.toString))?JSON.stringify(e,e_,2):String(e),e_=(e,t)=>t&&t.__v_isRef?e_(e,t.value):jo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Bl(r,s)+" =>"]=o,n),{})}:bo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Bl(n))}:jr(t)?Bl(t):ut(t)&&!be(t)&&!Jh(t)?String(t):t,Bl=(e,t="")=>{var n;return jr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
2024-02-28 10:11:13 -05:00
* @vue/reactivity v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-04-01 10:41:51 -04:00
**/let hn;class ju{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=hn,!t&&hn&&(this.index=(hn.scopes||(hn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=hn;try{return hn=this,t()}finally{hn=n}}}on(){hn=this}off(){hn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const 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 Bu(e){return new ju(e)}function t_(e,t=hn){t&&t.active&&t.effects.push(e)}function n_(){return hn}function vz(e){hn&&hn.cleanups.push(e)}let lo;class ns{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,t_(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,zo();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(bz(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Co()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ur,n=lo;try{return Ur=!0,lo=this,this._runnings++,_m(this),this.fn()}finally{gm(this),this._runnings--,lo=n,Ur=t}}stop(){var t;this.active&&(_m(this),gm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function bz(e){return e.value}function _m(e){e._trackId++,e._depsLength=0}function gm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)r_(e.deps[t],e);e.deps.length=e._depsLength}}function r_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function zz(e,t){e.effect instanceof ns&&(e=e.effect.fn);const n=new ns(e,an,()=>{n.dirty&&n.run()});t&&(vt(n,t),t.scope&&t_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Cz(e){e.effect.stop()}let Ur=!0,Rc=0;const o_=[];function zo(){o_.push(Ur),Ur=!1}function Co(){const e=o_.pop();Ur=e===void 0?!0:e}function Wu(){Rc++}function qu(){for(Rc--;!Rc&&Lc.length;)Lc.shift()()}function s_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&r_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Lc=[];function i_(e,t,n){Wu();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Lc.push(r.scheduler)))}qu()}const a_=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},$a=new WeakMap,co=Symbol(""),Nc=Symbol("");function cn(e,t,n){if(Ur&&lo){let r=$a.get(e);r||$a.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=a_(()=>r.delete(n))),s_(lo,o)}}function hr(e,t,n,r,o,s){const i=$a.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&be(e)){const l=Number(r);i.forEach((u,d)=>{(d==="length"||!jr(d)&&d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":be(e)?Uu(n)&&a.push(i.get("length")):(a.push(i.get(co)),jo(e)&&a.push(i.get(Nc)));break;case"delete":be(e)||(a.push(i.get(co)),jo(e)&&a.push(i.get(Nc)));break;case"set":jo(e)&&a.push(i.get(co));break}Wu();for(const l of a)l&&i_(l,4);qu()}function wz(e,t){var n;return(n=$a.get(e))==null?void 0:n.get(t)}const xz=il("__proto__,__v_isRef,__isVue"),l_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jr)),ym=kz();function kz(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ye(this);for(let s=0,i=this.length;s<i;s++)cn(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t]
2024-02-28 10:11:13 -05:00
* @vue/runtime-core v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-04-01 10:41:51 -04:00
**/function t0(e,t){}const n0={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"},r0={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function _r(e,t,n,r){try{return r?e(...r):e()}catch(o){wo(o,t,n)}}function bn(e,t,n,r){if(Pe(e)){const s=_r(e,t,n,r);return s&&Hu(s)&&s.catch(i=>{wo(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(bn(e[s],t,n,r));return o}function wo(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){_r(l,null,10,[e,i,a]);return}}o0(e,n,o,r)}function o0(e,t,n,r=!0){console.error(e)}let si=!1,Mc=!1;const Bt=[];let Qn=0;const Go=[];let Pr=null,so=0;const b_=Promise.resolve();let nd=null;function fs(e){const t=nd||b_;return e?t.then(this?e.bind(this):e):t}function s0(e){let t=Qn+1,n=Bt.length;for(;t<n;){const r=t+n>>>1,o=Bt[r],s=ii(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function ml(e){(!Bt.length||!Bt.includes(e,si&&e.allowRecurse?Qn+1:Qn))&&(e.id==null?Bt.push(e):Bt.splice(s0(e.id),0,e),z_())}function z_(){!si&&!Mc&&(Mc=!0,nd=b_.then(C_))}function i0(e){const t=Bt.indexOf(e);t>Qn&&Bt.splice(t,1)}function Ta(e){be(e)?Go.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?so+1:so))&&Go.push(e),z_()}function wm(e,t,n=si?Qn+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 Aa(e){if(Go.length){const t=[...new Set(Go)].sort((n,r)=>ii(n)-ii(r));if(Go.length=0,Pr){Pr.push(...t);return}for(Pr=t,so=0;so<Pr.length;so++)Pr[so]();Pr=null,so=0}}const ii=e=>e.id==null?1/0:e.id,a0=(e,t)=>{const n=ii(e)-ii(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function C_(e){Mc=!1,si=!0,Bt.sort(a0);try{for(Qn=0;Qn<Bt.length;Qn++){const t=Bt[Qn];t&&t.active!==!1&&_r(t,null,14)}}finally{Qn=0,Bt.length=0,Aa(),si=!1,nd=null,(Bt.length||Go.length)&&C_()}}let Ro,Fi=[];function w_(e,t){var n,r;Ro=e,Ro?(Ro.enabled=!0,Fi.forEach(({event:o,args:s})=>Ro.emit(o,...s)),Fi=[]):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=>{w_(s,t)}),setTimeout(()=>{Ro||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Fi=[])},3e3)):Fi=[]}function l0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||it;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]||it;f&&(o=n.map(p=>bt(p)?p.trim():p)),m&&(o=n.map(ni))}let a,l=r[a=Fs(t)]||r[a=Fs(Xt(t))];!l&&s&&(l=r[a=Fs(gn(t))]),l&&bn(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,bn(u,e,6,o)}}function x_(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!
2024-02-28 10:11:13 -05:00
* @vue/runtime-dom v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-04-01 10:41:51 -04:00
**/const DC="http://www.w3.org/2000/svg",RC="http://www.w3.org/1998/Math/MathML",Rr=typeof document<"u"?document:null,Nm=Rr&&Rr.createElement("template"),LC={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"?Rr.createElementNS(DC,e):t==="mathml"?Rr.createElementNS(RC,e):Rr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Rr.createTextNode(e),createComment:e=>Rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rr.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{Nm.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Nm.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]}},Sr="transition",Cs="animation",os=Symbol("_vtc"),Dt=(e,{slots:t})=>nr(D_,yg(e),t);Dt.displayName="Transition";const gg={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},NC=Dt.props=vt({},cd,gg),Qr=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Mm=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function yg(e){const t={};for(const U in e)U in gg||(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=MC(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:z,onEnter:C,onEnterCancelled:v,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=z,onAppear:M=C,onAppearCancelled:R=v}=t,O=(U,j,Q)=>{Or(U,j?d:a),Or(U,j?u:i),Q&&Q()},N=(U,j)=>{U._isLeaving=!1,Or(U,m),Or(U,p),Or(U,f),j&&j()},K=U=>(j,Q)=>{const pe=U?M:C,W=()=>O(j,U,Q);Qr(pe,[j,W]),Fm(()=>{Or(j,U?l:s),dr(j,U?d:a),Mm(pe)||Vm(j,r,_,W)})};return vt(t,{onBeforeEnter(U){Qr(z,[U]),dr(U,s),dr(U,i)},onBeforeAppear(U){Qr(k,[U]),dr(U,l),dr(U,u)},onEnter:K(!1),onAppear:K(!0),onLeave(U,j){U._isLeaving=!0;const Q=()=>N(U,j);dr(U,m),bg(),dr(U,f),Fm(()=>{U._isLeaving&&(Or(U,m),dr(U,p),Mm(w)||Vm(U,r,b,Q))}),Qr(w,[U,Q])},onEnterCancelled(U){O(U,!1),Qr(v,[U])},onAppearCancelled(U){O(U,!0),Qr(R,[U])},onLeaveCancelled(U){N(U),Qr(S,[U])}})}function MC(e){if(e==null)return null;if(ut(e))return[Jl(e.enter),Jl(e.leave)];{const t=Jl(e);return[t,t]}}function Jl(e){return Ea(e)}function dr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[os]||(e[os]=new Set)).add(t)}function Or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[os];n&&(n.delete(t),n.size||(e[os]=void 0))}function Fm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let FC=0;function Vm(e,t,n,r){const o=e._endId=++FC,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=vg(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 vg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Sr}Delay`),s=r(`${Sr}Duration`),i=Hm(o,s),a=r(`${Cs}Delay`),l=r(`${Cs}Duration`),u=Hm(a,l);let d=null,m=0,f=0;t===Sr?i>0&&(d=Sr,m=i,f=s.length):t===Cs?u>0&&(d=Cs,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?Sr:Cs:null,f=d?d===Sr?s.length:l.length:0);const p=d===Sr&&/\b(transform|all)(,|$)/.test(r(`${Sr}Property`).toString());return{
2024-02-28 10:11:13 -05:00
* vue v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-04-01 10:41:51 -04:00
**/const vw=()=>{},bw=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:D_,BaseTransitionPropsValidators:cd,Comment:Kt,DeprecationTypes:IC,EffectScope:ju,ErrorCodes:n0,ErrorTypeStrings:SC,Fragment:ve,KeepAlive:$0,ReactiveEffect:ns,Static:fo,Suspense:y0,Teleport:Dn,Text:Wr,TrackOpTypes:Qz,Transition:Dt,TransitionGroup:aw,TriggerOpTypes:e0,VueElement:Cl,assertNumber:t0,callWithAsyncErrorHandling:bn,callWithErrorHandling:_r,camelize:Xt,capitalize:zi,cloneVNode:sr,compatUtils:PC,compile:vw,computed:Mt,createApp:Dg,createBlock:we,createCommentVNode:Z,createElementBlock:T,createElementVNode:c,createHydrationRenderer:tg,createPropsRestProxy:B0,createRenderer:eg,createSSRApp:gw,createSlots:A0,createStaticVNode:pC,createTextVNode:wt,createVNode:y,customRef:y_,defineAsyncComponent:S0,defineComponent:vr,defineCustomElement:wg,defineEmits:D0,defineExpose:R0,defineModel:M0,defineOptions:L0,defineProps:I0,defineSSRCustomElement:rw,defineSlots:N0,devtools:EC,effect:zz,effectScope:Bu,getCurrentInstance:Rn,getCurrentScope:n_,getTransitionRawChildren:_l,guardReactiveProps:cg,h:nr,handleError:wo,hasInjectionContext:Q0,hydrate:Ig,initCustomFormatter:wC,initDirectivesForSSR:yw,inject:jn,isMemoSame:hg,isProxy:Yu,isReactive:uo,isReadonly:_o,isRef:Ft,isRuntimeOnly:vC,isShallow:ri,isVNode:qr,markRaw:Ju,mergeDefaults:U0,mergeModels:j0,mergeProps:Fo,nextTick:fs,normalizeClass:xe,normalizeProps:Os,normalizeStyle:Yr,onActivated:L_,onBeforeMount:F_,onBeforeUnmount:vl,onBeforeUpdate:V_,onDeactivated:N_,onErrorCaptured:B_,onMounted:ps,onRenderTracked:j_,onRenderTriggered:U_,onScopeDispose:vz,onServerPrefetch:H_,onUnmounted:xi,onUpdated:yl,openBlock:x,popScopeId:u0,provide:Hs,proxyRefs:td,pushScopeId:c0,queuePostFlushCb:Ta,reactive:ms,readonly:Zu,ref:rr,registerRuntimeCompiler:yC,render:eu,renderList:zt,renderSlot:yt,resolveComponent:$,resolveDirective:sd,resolveDynamicComponent:hl,resolveFilter:OC,resolveTransitionHooks:rs,setBlockTracking:qc,setDevtoolsHook:$C,setTransitionHooks:go,shallowReactive:Ku,shallowReadonly:Uz,shallowRef:ed,ssrContextKey:$_,ssrUtils:AC,stop:Cz,toDisplayString:g,toHandlerKey:Fs,toHandlers:O0,toRaw:Ye,toRef:Xz,toRefs:Zz,toValue:qz,transformVNodeArgs:mC,triggerRef:Wz,unref:yn,useAttrs:H0,useCssModule:sw,useCssVars:UC,useModel:CC,useSSRContext:T_,useSlots:V0,useTransitionState:ld,vModelCheckbox:On,vModelDynamic:$g,vModelRadio:pd,vModelSelect:hd,vModelText:un,vShow:ui,version:_g,warn:kC,watch:zn,watchEffect:A_,watchPostEffect:O_,watchSyncEffect:P_,withAsyncContext:W0,withCtx:P,withDefaults:F0,withDirectives:pt,withKeys:on,withMemo:xC,withModifiers:ht,withScopeId:d0},Symbol.toStringTag,{value:"Module"}));function zw(){return Ng().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Ng(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Cw=typeof Proxy=="function",ww="devtools-plugin:setup",xw="plugin:settings:set";let Eo,tu;function kw(){var e;return Eo!==void 0||(typeof window<"u"&&window.performance?(Eo=!0,tu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Eo=!0,tu=globalThis.perf_hooks.performance):Eo=!1),Eo}function Sw(){return kw()?tu.now():Date.now()}class Ew{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 Sw()}},n&&n.on(xw,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fal
2024-03-18 17:00:04 -04:00
* vue-i18n v9.10.2
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-04-01 10:41:51 -04:00
*/const Tw="9.10.2";function Aw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ru().__INTLIFY_PROD_DEVTOOLS__=!1)}const Mg=Hb.__EXTEND_POINT__,cr=Lu(Mg);cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr();const Fg=tr.__EXTEND_POINT__,en=Lu(Fg),Pn={UNEXPECTED_RETURN_TYPE:Fg,INVALID_ARGUMENT:en(),MUST_BE_CALL_SETUP_TOP:en(),NOT_INSTALLED:en(),NOT_AVAILABLE_IN_LEGACY_MODE:en(),REQUIRED_VALUE:en(),INVALID_VALUE:en(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:en(),NOT_INSTALLED_WITH_PROVIDE:en(),UNEXPECTED_ERROR:en(),NOT_COMPATIBLE_LEGACY_VUE_I18N:en(),BRIDGE_SUPPORT_VUE_2_ONLY:en(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:en(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:en(),__EXTEND_POINT__:en()};function Wn(e,...t){return Fh(e,null,void 0)}const nu=Kr("__translateVNode"),ru=Kr("__datetimeParts"),ou=Kr("__numberParts"),Ow=Kr("__setPluralRules"),Pw=Kr("__injectWithOption"),su=Kr("__dispose");function di(e){if(!ot(e))return e;for(const t in e)if(xa(e,t))if(!t.includes("."))ot(e[t])&&di(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]]={}),!ot(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),ot(o[n[r]])&&di(o[n[r]])}return e}function Vg(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Xe(n)?n:Lt(r)?{}:{[e]:{}};if(Lt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},ua(u,i[l])):ua(u,i)}else ke(a)&&ua(JSON.parse(a),i)}),o==null&&s)for(const a in i)xa(i,a)&&di(i[a]);return i}function Hg(e){return e.type}function Iw(e,t,n){let r=ot(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Vg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ot(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ot(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function tf(e){return y(Wr,null,e,0)}const nf="__INTLIFY_META__",rf=()=>[],Dw=()=>!1;let of=0;function sf(e){return(t,n,r,o)=>e(n,r,Rn()||void 0,o)}const Rw=()=>{const e=Rn();let t=null;return e&&(t=Hg(e)[nf])?{[nf]:t}:null};function Ug(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=Ca?rr:ed,a=!!e.translateExistCompatible;let l=Tt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:ke(e.locale)?e.locale:ka),d=i(n&&l?n.fallbackLocale.value:ke(e.fallbackLocale)||Lt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(Vg(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:Tt(e.missingWarn)||wa(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:Tt(e.fallbackWarn)||wa(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:Tt(e.fallbackRoot)?e.fallbackRoot:!0,z=!!e.fallbackFormat,C=$t(e.missing)?e.missing:null,v=$t(e.missing)?sf(e.missing):null,w=$t(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:Tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const M=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let R=e.pluralRules||n&&n.pluralRules,O;O=(()=>{o&&im(null);const L={version:Tw,locale:u.value,fallbackLocale:d.value,messages:m.value,modifiers:M,pluralRules:R,missing:v===null?void 0:v,missingWarn:h,fallbackWarn:_,fallbackFormat:z,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:S,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=f.value,L.numberFormats=p.value,L.__datetimeFormatters=Xe(O)?O.__datetimeFormatters:void 0,L.__numberFormatters=Xe(O)?O.__numberFormatters:void 0;const q=Qb(L);return o&&im(q),q})(),zs(O,u.value,d.value);function K(){return[u.value,d.value,m.value,f.value,p.value]}const U=Mt({get:()=>u.value,set:L=>{u.value=L,O.locale=u.value}}),j=Mt({get:()=>d.value,set:L=>{d.value=L,O.fallbackLocale=d.value,zs(O,u.value,L)}}),Q=Mt(()=>m.value),pe=Mt(()=>f
2024-02-28 10:11:13 -05:00
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2024-04-01 10:41:51 -04:00
*/var nx="store";function hs(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function rx(e){return e!==null&&typeof e=="object"}function ox(e){return e&&typeof e.then=="function"}function sx(e,t){return function(){return e(t)}}function Wg(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 qg(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;xl(e,n,[],e._modules.root,!0),yd(e,n,t)}function yd(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=Bu(!0);l.run(function(){hs(s,function(u,d){i[d]=sx(u,e),a[d]=Mt(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=ms({data:t}),e._scope=l,e.strict&&ux(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function xl(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;ax(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;lx(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;cx(e,f,d,u)}),r.forEachChild(function(d,m){xl(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=Na(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=Na(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 Gg(e,t)}},state:{get:function(){return vd(e.state,n)}}}),o}function Gg(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 ax(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function lx(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 cx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function ux(e){zn(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 Na(e,t,n){return rx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var dx="vuex bindings",ff="vuex:mutations",tc="vuex:actions",$o="vuex",mx=0;function fx(e,t){$w({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:[dx]},function(n){n.addTimelineLayer({id:ff,label:"Vuex Mutations",color:pf}),n.addTimelineLayer({id:tc,label:"Vuex Actions",color:pf}),n.addInspector({id:$o,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===$o)if(r.filter){var o=[];Jg(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[Yg(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===$o){var o=r.nodeId;Gg(t,o),r.state=_x(yx(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===$o){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._st
2024-02-22 13:32:55 -05:00
* vue-router v4.3.0
* (c) 2024 Eduardo San Martin Morote
2022-04-15 13:50:55 -04:00
* @license MIT
2024-04-01 10:41:51 -04:00
*/const No=typeof document<"u";function hA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const st=Object.assign;function mc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Gn(o)?o.map(e):e(o)}return n}const Gs=()=>{},Gn=Array.isArray,c1=/#/g,_A=/&/g,gA=/\//g,yA=/=/g,vA=/\?/g,u1=/\+/g,bA=/%5B/g,zA=/%5D/g,d1=/%5E/g,CA=/%60/g,m1=/%7B/g,wA=/%7C/g,f1=/%7D/g,xA=/%20/g;function Od(e){return encodeURI(""+e).replace(wA,"|").replace(bA,"[").replace(zA,"]")}function kA(e){return Od(e).replace(m1,"{").replace(f1,"}").replace(d1,"^")}function pu(e){return Od(e).replace(u1,"%2B").replace(xA,"+").replace(c1,"%23").replace(_A,"%26").replace(CA,"`").replace(m1,"{").replace(f1,"}").replace(d1,"^")}function SA(e){return pu(e).replace(yA,"%3D")}function EA(e){return Od(e).replace(c1,"%23").replace(vA,"%3F")}function $A(e){return e==null?"":EA(e).replace(gA,"%2F")}function fi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const TA=/\/$/,AA=e=>e.replace(TA,"");function fc(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=DA(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:fi(i)}}function OA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Gf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function PA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&as(t.matched[r],n.matched[o])&&p1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function as(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function p1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!IA(e[n],t[n]))return!1;return!0}function IA(e,t){return Gn(e)?Kf(e,t):Gn(t)?Kf(t,e):e===t}function Kf(e,t){return Gn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function DA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var pi;(function(e){e.pop="pop",e.push="push"})(pi||(pi={}));var Ks;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ks||(Ks={}));function RA(e){if(!e)if(No){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),AA(e)}const LA=/^[^#]+#/;function NA(e,t){return e.replace(LA,"#")+t}function MA(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 Pl=()=>({left:window.scrollX,top:window.scrollY});function FA(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=MA(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 Zf(e,t){return(history.state?history.state.position-t:-1)+e}const hu=new Map;function VA(e,t){hu.set(e,t)}function HA(e){const t=hu.get(e);return hu.delete(e),t}let UA=()=>location.protocol+"//"+location.host;function h1(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),Gf(l,"")}return Gf(n,e)+r+o}function jA(e,t,n,r){let o=[],s=[],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);o.forEach(z=>{z(n.value,h,{delta:b,type:pi.pop,direction:b?b>0?Ks.forward:Ks.back:Ks.unknown})})};function l(){i=n.value}function u(f){o.push(f);const p=()=>{const h=o.indexOf(f);h>-1&&o.splice(h,1)};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-03-26 10:24:02 -04:00
font-size="${e.size/3}" fill="${O8(t)>.5?"#000000":"#FFFFFF"}">
2024-02-29 15:19:40 -05:00
${e.caption}
</text>
2024-04-01 10:41:51 -04:00
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},I8={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},artwork_url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return P8({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function D8(e,t,n,r,o,s){const i=sd("lazy");return x(),T("figure",null,[pt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.artwork_url,lifecycle:o.lifecycle}]])])}const zr=ne(I8,[["render",D8]]),{t:Qi,locale:R8}=wl.global,b1="NO_INDEX",L8=(e,t)=>e-t,N8=(e,t)=>e.localeCompare(t,R8.value),M8=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1);function F8(e){return e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>N8(o[t],s[t])*r;case Number:return(o,s)=>L8(o[t],s[t])*r;case Date:return(o,s)=>M8(o[t],s[t])*r}})}const V8=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":""},H8=e=>{},U8=[{difference:NaN,text:()=>Qi("grouped-list.undefined")},{difference:864e5,text:()=>Qi("grouped-list.today")},{difference:6048e5,text:()=>Qi("grouped-list.last-week")},{difference:2592e6,text:()=>Qi("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],j8=e=>{var r;const t=new Date(e),n=new Date-t;return(r=U8.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)};function B8({field:e,type:t=void 0}={}){switch(t){case String:return n=>V8(n[e]);case Number:return n=>n[e];case Date:return n=>j8(n[e]);case"Digits":return n=>H8(n[e]);default:return n=>b1}}class ge{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=B8(r),s=this.items.filter(l=>n.every(u=>u(l)));this.count=s.length;const i=F8(t),a=s.sort((l,u)=>i.reduce((d,m)=>d||m(l,u),0));this.itemsGrouped=a.reduce((l,u)=>{const d=o(u);return l.set(d,[...l.get(d)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys())}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==b1&&(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 z1={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,z){function C(k){b&&b(k),p&&p(null,k)}function v(){z&&z(h),p&&p(h,null)}var w=f.type||"GET";if(h.open(w,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var k=null;try{k=h.responseText?JSON.parse(h.responseText):""}catch(M){console.error(M)}h.status>=200&&h.status<300?C(k):v()}},w==="GET")h.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var b={},z=null;typeof p=="object"?(b=p,z=h):typeof p=="function"&&(z=p);var C=f.type||"GET";return C!=="GET"&&
`).forEach((r,o)=>{const s=n.exec(r);if(s&&s[4]){const i={text:s[4],time:s[2]*60+Number(s[3])};t.push(i)}}),t.forEach((r,o,s)=>{const a=(o<s.length-1?s[o+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(u=>{const d=u.length*a;return l+=d,{duration:d,delay:l,text:u}})})}return t},player(){return this.$store.state.player}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},start_scrolling(e){(e.screenX||e.screenX!==0||e.screenY||e.screenY!==0)&&(this.autoScrolling=!1,this.scrollingTimer&&clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})}}},C7=["textContent"],w7={key:1};function x7(e,t,n,r,o,s){return x(),T("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))},[(x(!0),T(ve,null,zt(s.lyrics,(i,a)=>(x(),T(ve,{key:a},[a===s.verse_index?(x(),T("div",{key:0,class:xe({"is-highlighted":s.is_playing})},[(x(!0),T(ve,null,zt(i.words,l=>(x(),T("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:Yr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,C7)]))),128))],2)):(x(),T("div",w7,g(i.text),1))],64))),128))],544)}const k7=ne(z7,[["render",x7],["__scopeId","data-v-b7725cdd"]]),S7={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 Zn;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"),F.player_play({item_id:this.item.id})},remove(){this.$emit("close"),F.queue_remove(this.item.id)}}},E7={key:0,class:"modal is-active"},$7={class:"modal-content"},T7={class:"card"},A7={class:"card-content"},O7=["textContent"],P7=["textContent"],I7={class:"content is-small"},D7={key:0},R7=["textContent"],L7=["textContent"],N7={key:1},M7=["textContent"],F7=["textContent"],V7={key:2},H7=["textContent"],U7=["textContent"],j7={key:3},B7=["textContent"],W7=["textContent"],q7={key:4},G7=["textContent"],K7=["textContent"],Z7={key:5},Y7=["textContent"],J7=["textContent"],X7={key:6},Q7=["textContent"],eV=["textContent"],tV=["textContent"],nV=["textContent"],rV=["textContent"],oV={class:"title is-6"},sV=["textContent"],iV={key:7},aV=["textContent"],lV={class:"title is-6"},cV=["textContent"],uV=["textCo
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2024-04-01 10:41:51 -04:00
*/function Mp(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 ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mp(Object(n),!0).forEach(function(r){OH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mp(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 OH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(){return In=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},In.apply(this,arguments)}function PH(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 IH(e,t){if(e==null)return{};var n=PH(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 DH(e){return RH(e)||LH(e)||NH(e)||MH()}function RH(e){if(Array.isArray(e))return bu(e)}function LH(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function NH(e,t){if(e){if(typeof e=="string")return bu(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 bu(e,t)}}function bu(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 MH(){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 FH="1.14.0";function gr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Cr=gr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ai=gr(/Edge/i),Fp=gr(/firefox/i),Zs=gr(/safari/i)&&!gr(/chrome/i)&&!gr(/android/i),A1=gr(/iP(ad|od|hone)/i),VH=gr(/chrome/i)&&gr(/android/i),O1={capture:!1,passive:!1};function Ge(e,t,n){e.addEventListener(t,n,!Cr&&O1)}function We(e,t,n){e.removeEventListener(t,n,!Cr&&O1)}function Ga(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 HH(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Vn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Ga(e,t):Ga(e,t))||r&&e===n)return e;if(e===n)break}while(e=HH(e))}return null}var Vp=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Vp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Vp," ")}}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 ho(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 o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function P1(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 or(){var e=document.scrollingElement;return e||document.documentElement}function gt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,d,m;if(e!==window&&e.parentNode&&e!==or()?(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,!Cr))do if(o&&o.getBoundingClientRect&&(Ce(o,"transform")!=="none"||n&&Ce(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(Ce(o,"border-top-width")),a-=f.left+parseInt(Ce(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=ho(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 Hp(e,t,n){for(var r=Hr(e,!0),o=gt(e)[t];r;){var s=gt(r)[n],i=void 0;if(n==="top"||n==="left"?i=o>=s:i=o<=s,!i)return r;if(r===or())break;r=Hr(r,!1)}return!1}function cs(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)&&Vn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function Nd(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||Ce(n,"display")==="none"||t&&!Ga(n,t));)n=n.previousElementSibling;return n||null}function Et(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||Ga(e,t))&&n++;return n}function Up(e){var t=0,n=0,r=or();if(e)do{var o=ho(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 UH(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 Hr(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Ce(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 or();if(r||t)return n;r=!0}}while
`)&&(O="(?: "+O+")",K=" "+K,N++),w=new RegExp("^(?:"+O+")",R)),h&&(w=new RegExp("^"+O+"$(?!\\s)",R)),f&&(v=C.lastIndex),S=u.call(M?w:C,K),M?S?(S.input=S.input.slice(N),S[0]=S[0].slice(N),S.index=C.lastIndex,C.lastIndex+=S[0].length):C.lastIndex=0:f&&S&&(C.lastIndex=C.global?S.index+S[0].length:v),h&&S&&S.length>1&&d.call(S[0],w,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(S[k]=void 0)}),S}),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"),z=i("2d00"),C=b("isConcatSpreadable"),v=9007199254740991,w="Maximum allowed index exceeded",S=z>=51||!l(function(){var O=[];return O[C]=!1,O.concat()[0]!==O}),k=_("concat"),M=function(O){if(!d(O))return!1;var N=O[C];return N!==void 0?!!N:u(O)},R=!S||!k;a({target:"Array",proto:!0,forced:R},{concat:function(N){var K=m(this),U=h(K,0),j=0,Q,pe,W,re,oe;for(Q=-1,W=arguments.length;Q<W;Q++)if(oe=Q===-1?K:arguments[Q],M(oe)){if(re=f(oe.length),j+re>v)throw TypeError(w);for(pe=0;pe<re;pe++,j++)pe in oe&&p(U,j,oe[pe])}else{if(j>=v)throw TypeError(w);p(U,j++,oe)}return U.length=j,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,z,C){for(var v=_,w=0,S=z?u(z,C,3):!1,k;w<h;){if(w in p){if(k=S?S(p[w],w,f):p[w],b>0&&a(k))v=d(m,f,k,l(k.length),v,b-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[v]=k}v++}w++}return v};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"),z=_("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,v=Math.min,w=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!z},{splice:function(M,R){var O=m(this),N=d(O.length),K=l(M,N),U=arguments.length,j,Q,pe,W,re,oe;if(U===0?j=Q=0:U===1?(j=0,Q=N-K):(j=U-2,Q=v(C(u(R),0),N-K)),N+j-Q>w)throw TypeError(S);for(pe=f(O,Q),W=0;W<Q;W++)re=K+W,re in O&&p(pe,W,O[re]);if(pe.length=Q,j<Q){for(W=K;W<N-Q;W++)re=W+Q,oe=W+j,re in O?O[oe]=O[re]:delete O[oe];for(W=N;W>N-Q+j;W--)delete O[W-1]}else if(j>Q)for(W=N-Q;W>K;W--)re=W+Q-1,oe=W+j-1,re in O?O[oe]=O[re]:delete O[oe];for(W=0;W<j;W++)O[W+K]=arguments[W+2];return O.length=N-Q+j,pe}})},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"),z=i("861d"),C=i("825a"),v=i("7b0b"),w=i("fc6a"),S=i("c04e"),k=i("5c6c"),M=i("7c73"),R=i("df75"),O=i("241c"),N=i("057f"),K=i("7418"),U=i("06cf"),j=i("9bf2"),Q=i("d1e7"),pe=i("9112"),W=i("6eeb"),re=i("5692"),oe=i("f772"),Be=i("d012"),at=i("90e3"),Ve=i("b622"),He=i("e538"),lt=i("746f"),dt=i("d44e"),mt=i("69f3"),Me=i("b727").forEach,B=oe("hidden"),ce="Symbol",se="prototype",_e=Ve("toPrimitive"),Ue=mt.set,Ke=mt.getterFor(
2024-03-26 10:24:02 -04:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(I,D){return p(I)||h(I,D)||b(I,D)||z()}function v(I){if(Array.isArray(I))return _(I)}function w(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2024-04-01 10:41:51 -04:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(I){return v(I)||w(I)||b(I)||S()}var M=i("a352"),R=i.n(M);function O(I){I.parentElement!==null&&I.parentElement.removeChild(I)}function N(I,D,H){var X=H===0?I.children[0]:I.children[H-1].nextSibling;I.insertBefore(D,X)}var K=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(I){var D=Object.create(null);return function(X){var ye=D[X];return ye||(D[X]=I(X))}}var j=/-(\w)/g,Q=U(function(I){return I.replace(j,function(D,H){return H.toUpperCase()})});i("5db7"),i("73d9");var pe=["Start","Add","Remove","Update","End"],W=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],oe=[re,pe,W].flatMap(function(I){return I}).map(function(I){return"on".concat(I)}),Be={manage:re,manageAndEmit:pe,emit:W};function at(I){return oe.indexOf(I)!==-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(I){return Ve.includes(I)}function lt(I){return["transition-group","TransitionGroup"].includes(I)}function dt(I){return["id","class","role","style"].includes(I)||I.startsWith("data-")||I.startsWith("aria-")||I.startsWith("on")}function mt(I){return I.reduce(function(D,H){var X=C(H,2),ye=X[0],$e=X[1];return D[ye]=$e,D},{})}function Me(I){var D=I.$attrs,H=I.componentData,X=H===void 0?{}:H,ye=mt(Object.entries(D).filter(function($e){var Re=C($e,2),De=Re[0];return Re[1],dt(De)}));return f(f({},ye),X)}function B(I){var D=I.$attrs,H=I.callBackBuilder,X=mt(ce(D));Object.entries(H).forEach(function($e){var Re=C($e,2),De=Re[0],nt=Re[1];Be[De].forEach(function(Ae){X["on".concat(Ae)]=nt(Ae)})});var ye="[data-draggable]".concat(X.draggable||"");return f(f({},X),{},{draggable:ye})}function ce(I){return Object.entries(I).filter(function(D){var H=C(D,2),X=H[0];return H[1],!dt(X)}).map(function(D){var H=C(D,2),X=H[0],ye=H[1];return[Q(X),ye]}).filter(function(D){var H=C(D,2),X=H[0];return H[1],!at(X)})}i("c740");function se(I,D){if(!(I instanceof D))throw new TypeError("Cannot call a class as a function")}function _e(I,D){for(var H=0;H<D.length;H++){var X=D[H];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(I,X.key,X)}}function Ue(I,D,H){return D&&_e(I.prototype,D),H&&_e(I,H),I}var Ke=function(D){var H=D.el;return H},E=function(D,H){return D.__draggable_context=H},A=function(D){return D.__draggable_context},V=function(){function I(D){var H=D.nodes,X=H.header,ye=H.default,$e=H.footer,Re=D.root,De=D.realList;se(this,I),this.defaultNodes=ye,this.children=[].concat(k(X),k(ye),k($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(I,[{key:"render",value:function(H,X){var ye=this.tag,$e=this.children,Re=this._isRootComponent,De=Re?{default:function(){return $e}}:$e;return H(ye,X,De)}},{key:"updated",value:function(){var H=this.defaultNodes,X=this.realList;H.forEach(function(ye,$e){E(Ke(ye),{element:X[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(H){return A(H)}},{key:"getVmIndexFromDomIndex",value:function(H,X){var ye=this.defaultNodes,$e=ye.length,Re=X.children,De=Re.item(H);if(De===null)return $e;var nt=A(De);if(nt)return nt.index;if($e===0)return 0;var Ae=Ke(ye[0]),Ee=k(Re).findIndex(function(Te){ret