2025-02-25 12:27:30 +00:00

90 lines
924 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function nn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ze={},_o=[],tn=()=>{},ri=()=>!1,Ks=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ou=e=>e.startsWith("onUpdate:"),Je=Object.assign,iu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},BC=Object.prototype.hasOwnProperty,lt=(e,t)=>BC.call(e,t),ve=Array.isArray,go=e=>Po(e)==="[object Map]",Xs=e=>Po(e)==="[object Set]",vm=e=>Po(e)==="[object Date]",Xy=e=>Po(e)==="[object RegExp]",$e=e=>typeof e=="function",Re=e=>typeof e=="string",An=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",au=e=>(mt(e)||$e(e))&&$e(e.then)&&$e(e.catch),wf=Object.prototype.toString,Po=e=>wf.call(e),Yy=e=>Po(e).slice(8,-1),Ya=e=>Po(e)==="[object Object]",lu=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,as=nn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zy=nn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),cu=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qC=/-(\w)/g,zt=cu(e=>e.replace(qC,(t,n)=>n?n.toUpperCase():"")),WC=/\B([A-Z])/g,pn=cu(e=>e.replace(WC,"-$1").toLowerCase()),Ys=cu(e=>e.charAt(0).toUpperCase()+e.slice(1)),yo=cu(e=>e?`on${Ys(e)}`:""),dn=(e,t)=>!Object.is(e,t),vo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},kf=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ea=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wa=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let ch;const Za=()=>ch||(ch=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GC=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function KC(e){return GC.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function XC(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const YC={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},ZC={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},JC={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},QC={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},eS={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},tS="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,Symbol",xf=nn(tS),nS=xf,uh=2;function Jy(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let r=e.split(/(\r?\n)/);const s=r.filter((a,l)=>l%2===1);r=r.filter((a,l)=>l%2===0);let o=0;const i=[];for(let a=0;a<r.length;a++)if(o+=r[a].length+(s[a]&&s[a].length||0),o>=t){for(let l=a-uh;l<=a+uh||n>o;l++){if(l<0||l>=r.length)continue;const c=l+1;i.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${r[l]}`);const d=r[l].length,m=s[l]&&s[l].length||0;if(l===a){const f=t-(o-(d+m)),p=Math.max(1,n>o?d-f:n-t);i.push(" | "+" ".repeat(f)+"^".repeat(p))}else if(l>a){if(n>o){const f=Math.max(Math.min(n-o,d),1);i.push(" | "+"^".repeat(f))}o+=d+m}}break}return i.join(`
`)}function _s(e){if(ve(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Re(r)?Tf(r):_s(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Re(e)||mt(e))return e}const rS=/;(?![^(]*\))/g,sS=/:([^]+)/,oS=/\/\*[^]*?\*\//g;function Tf(e){const t={};return e.replace(oS,"").split(rS).forEach(n=>{if(n){const r=n.split(sS);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function iS(e){if(!e)return"";if(Re(e))return e;let t="";for(const n in e){const r=e[n];if(Re(r)||typeof r=="number"){const s=n.startsWith("--")?n:pn(n);t+=`${s}:${r};`}}return t}function Ce(e){let t="";if(Re(e))t=e;else if(ve(e))for(let n=0;n<e.length;n++){const r=Ce(e[n]);r&&(t+=r+" ")}else if(mt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function si(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Re(t)&&(e.class=Ce(t)),n&&(e.style=_s(n)),e}const aS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",lS="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",cS="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",uS="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Qy=nn(aS),e1=nn(lS),t1=nn(cS),n1=nn(uS),r1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s1=nn(r1),dS=nn(r1+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Af(e){return!!e||e===""}const mS=/[>/="'\u0009\u000a\u000c\u0020]/,yd={};function fS(e){if(yd.hasOwnProperty(e))return yd[e];const t=mS.test(e);return t&&console.error(`unsafe attribute name: ${e}`),yd[e]=!t}const pS={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},hS=nn("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),_S=nn("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),gS=nn("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function yS(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const vS=/["'&<>]/;function bS(e){const t=""+e,n=vS.exec(t);if(!n)return t;let r="",s,o,i=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:s="&quot;";break;case 38:s="&amp;";break;case 39:s="&#39;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}i!==o&&(r+=t.slice(i,o)),i=o+1,r+=s}return i!==o?r+t.slice(i,o):r}const zS=/^-?>|<!--|-->|--!>|<!-$/g;function CS(e){return e.replace(zS,"")}const o1=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function SS(e,t){return e.replace(o1,n=>t?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function ES(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ms(e[r],t[r]);return n}function ms(e,t){if(e===t)return!0;let n=vm(e),r=vm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=An(e),r=An(t),n||r)return e===t;if(n=ve(e),r=ve(t),n||r)return n&&r?ES(e,t):!1;if(n=mt(e),r=mt(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!ms(e[i],t[i]))return!1}}return String(e)===String(t)}function Ja(e,t){return e.findIndex(n=>ms(n,t))}const i1=e=>!!(e&&e.__v_isRef===!0),y=e=>Re(e)?e:e==null?"":ve(e)||mt(e)&&(e.toString===wf||!$e(e.toString))?i1(e)?y(e.value):JSON.stringify(e,a1,2):String(e),a1=(e,t)=>i1(t)?a1(e,t.value):go(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[vd(r,o)+" =>"]=s,n),{})}:Xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>vd(n))}:An(t)?vd(t):mt(t)&&!ve(t)&&!Ya(t)?String(t):t,vd=(e,t="")=>{var n;return An(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},wS=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:_o,EMPTY_OBJ:Ze,NO:ri,NOOP:tn,PatchFlagNames:ZC,PatchFlags:YC,ShapeFlags:JC,SlotFlags:QC,camelize:zt,capitalize:Ys,cssVarNameEscapeSymbolsRE:o1,def:kf,escapeHtml:bS,escapeHtmlComment:CS,extend:Je,genCacheKey:XC,genPropsAccessExp:KC,generateCodeFrame:Jy,getEscapedCssVarName:SS,getGlobalThis:Za,hasChanged:dn,hasOwn:lt,hyphenate:pn,includeBooleanAttr:Af,invokeArrayFns:vo,isArray:ve,isBooleanAttr:dS,isBuiltInDirective:Zy,isDate:vm,isFunction:$e,isGloballyAllowed:xf,isGloballyWhitelisted:nS,isHTMLTag:Qy,isIntegerKey:lu,isKnownHtmlAttr:hS,isKnownMathMLAttr:gS,isKnownSvgAttr:_S,isMap:go,isMathMLTag:t1,isModelListener:ou,isObject:mt,isOn:Ks,isPlainObject:Ya,isPromise:au,isRegExp:Xy,isRenderableAttrValue:yS,isReservedProp:as,isSSRSafeAttrName:fS,isSVGTag:e1,isSet:Xs,isSpecialBooleanAttr:s1,isString:Re,isSymbol:An,isVoidTag:n1,looseEqual:ms,looseIndexOf:Ja,looseToNumber:Ea,makeMap:nn,normalizeClass:Ce,normalizeProps:si,normalizeStyle:_s,objectToString:wf,parseStringStyle:Tf,propsToAttrMap:pS,remove:iu,slotFlagsText:eS,stringifyStyle:iS,toDisplayString:y,toHandlerKey:yo,toNumber:wa,toRawType:Yy,toTypeString:Po},Symbol.toStringTag,{value:"Module"}));/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let En;class Of{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=En,!t&&En&&(this.index=(En.scopes||(En.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=En;try{return En=this,t()}finally{En=n}}}on(){En=this}off(){En=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function uu(e){return new Of(e)}function $f(){return En}function l1(e,t=!1){En&&En.cleanups.push(e)}let bt;const bd=new WeakSet;class ka{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,En&&En.active&&En.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bd.has(this)&&(bd.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||u1(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,dh(this),d1(this);const t=bt,n=xr;bt=this,xr=!0;try{return this.fn()}finally{m1(this),bt=t,xr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Pf(t);this.deps=this.depsTail=void 0,dh(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bd.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bm(this)&&this.run()}get dirty(){return bm(this)}}let c1=0,aa,la;function u1(e,t=!1){if(e.flags|=8,t){e.next=la,la=e;return}e.next=aa,aa=e}function Nf(){c1++}function If(){if(--c1>0)return;if(la){let t=la;for(la=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;aa;){let t=aa;for(aa=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function d1(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function m1(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Pf(r),kS(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function bm(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(f1(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function f1(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xa))return;e.globalVersion=xa;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!bm(e)){e.flags&=-3;return}const n=bt,r=xr;bt=e,xr=!0;try{d1(e);const s=e.fn(e._value);(t.version===0||dn(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{bt=n,xr=r,m1(e),e.flags&=-3}}function Pf(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Pf(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function kS(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function xS(e,t){e.effect instanceof ka&&(e=e.effect.fn);const n=new ka(e);t&&Je(n,t);try{n.run()}catch(s){throw n.stop(),s}const r=n.run.bind(n);return r.effect=n,r}function TS(e){e.effect.stop()}let xr=!0;const p1=[];function Zs(){p1.push(xr),xr=!1}function Js(){const e=p1.pop();xr=e===void 0?!0:e}function dh(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=bt;bt=void 0;try{t()}finally{bt=n}}}let xa=0;class AS{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class du{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!bt||!xr||bt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==bt)n=this.activeLink=new AS(bt,this),bt.deps?(n.prevDep=bt.depsTail,bt.depsTail.nextDep=n,bt.depsTail=n):bt.deps=bt.depsTail=n,h1(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=bt.depsTail,n.nextDep=void 0,bt.depsTail.nextDep=n,bt.depsTail=n,bt.deps===n&&(bt.deps=r)}return n}trigger(t){this.version++,xa++,this.notify(t)}notify(t){Nf();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{If()}}}function h1(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)h1(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const vc=new WeakMap,bo=Symbol(""),zm=Symbol(""),Ta=Symbol("");function mn(e,t,n){if(xr&&bt){let r=vc.get(e);r||vc.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new du),s.map=r,s.key=n),s.track()}}function ns(e,t,n,r,s,o){const i=vc.get(e);if(!i){xa++;return}const a=l=>{l&&l.trigger()};if(Nf(),t==="clear")i.forEach(a);else{const l=ve(e),c=l&&lu(n);if(l&&n==="length"){const d=Number(r);i.forEach((m,f)=>{(f==="length"||f===Ta||!An(f)&&f>=d)&&a(m)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Ta)),t){case"add":l?c&&a(i.get("length")):(a(i.get(bo)),go(e)&&a(i.get(zm)));break;case"delete":l||(a(i.get(bo)),go(e)&&a(i.get(zm)));break;case"set":go(e)&&a(i.get(bo));break}}If()}function OS(e,t){const n=vc.get(e);return n&&n.get(t)}function Fo(e){const t=nt(e);return t===e?t:(mn(t,"iterate",Ta),Yn(e)?t:t.map(fn))}function mu(e){return mn(e=nt(e),"iterate",Ta),e}const $S={__proto__:null,[Symbol.iterator](){return zd(this,Symbol.iterator,fn)},concat(...e){return Fo(this).concat(...e.map(t=>ve(t)?Fo(t):t))},entries(){return zd(this,"entries",e=>(e[1]=fn(e[1]),e))},every(e,t){return Xr(this,"every",e,t,void 0,arguments)},filter(e,t){return Xr(this,"filter",e,t,n=>n.map(fn),arguments)},find(e,t){return Xr(this,"find",e,t,fn,arguments)},findIndex(e,t){return Xr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xr(this,"findLast",e,t,fn,arguments)},findLastIndex(e,t){return Xr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Cd(this,"includes",e)},indexOf(...e){return Cd(this,"indexOf",e)},join(e){return Fo(this).join(e)},lastIndexOf(...e){return Cd(this,"lastIndexOf",e)},map(e,t){return Xr(this,"map",e,t,void 0,arguments)},pop(){return Ui(this,"pop")},push(...e){return Ui(this,"push",e)},reduce(e,...t){return mh(this,"reduce",e,t)},reduceRight(e,...t){return mh(this,"reduceRight",e,t)},shift(){return Ui(this,"shift")},some(e,t){return Xr(this,"some",e,t,void 0,arguments)},splice(...e){return Ui(this,"splice",e)},toReversed(){return Fo(this).toReversed()},toSorted(e){return Fo(this).toSorted(e)},toSpliced(...e){return Fo(this).toSpliced(...e)},unshift(...e){return Ui(this,"unshift",e)},values(){return zd(this,"values",fn)}};function zd(e,t,n){const r=mu(e),s=r[t]();return r!==e&&!Yn(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const NS=Array.prototype;function Xr(e,t,n,r,s,o){const i=mu(e),a=i!==e&&!Yn(e),l=i[t];if(l!==NS[t]){const m=l.apply(e,o);return a?fn(m):m}let c=n;i!==e&&(a?c=function(m,f){return n.call(this,fn(m),f,e)}:n.length>2&&(c=function(m,f){return n.call(this,m,f,e)}));const d=l.call(i,c,r);return a&&s?s(d):d}function mh(e,t,n,r){const s=mu(e);let o=n;return s!==e&&(Yn(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,fn(a),l,e)}),s[t](o,...r)}function Cd(e,t,n){const r=nt(e);mn(r,"iterate",Ta);const s=r[t](...n);return(s===-1||s===!1)&&hu(n[0])?(n[0]=nt(n[0]),r[t](...n)):s}function Ui(e,t,n=[]){Zs(),Nf();const r=nt(e)[t].apply(e,n);return If(),Js(),r}const IS=nn("__proto__,__v_isRef,__isVue"),_1=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(An));function PS(e){An(e)||(e=String(e));const t=nt(this);return mn(t,"has",e),t.hasOwnProperty(e)}class g1{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?S1:C1:o?z1:b1).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ve(t);if(!s){let l;if(i&&(l=$S[n]))return l;if(n==="hasOwnProperty")return PS}const a=Reflect.get(t,n,Ot(t)?t:r);return(An(n)?_1.has(n):IS(n))||(s||mn(t,"get",n),o)?a:Ot(a)?i&&lu(n)?a:a.value:mt(a)?s?Rf(a):Oi(a):a}}class y1 extends g1{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=qs(o);if(!Yn(r)&&!qs(r)&&(o=nt(o),r=nt(r)),!ve(t)&&Ot(o)&&!Ot(r))return l?!1:(o.value=r,!0)}const i=ve(t)&&lu(n)?Number(n)<t.length:lt(t,n),a=Reflect.set(t,n,r,Ot(t)?t:s);return t===nt(s)&&(i?dn(r,o)&&ns(t,"set",n,r):ns(t,"add",n,r)),a}deleteProperty(t,n){const r=lt(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&ns(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!An(n)||!_1.has(n))&&mn(t,"has",n),r}ownKeys(t){return mn(t,"iterate",ve(t)?"length":bo),Reflect.ownKeys(t)}}class v1 extends g1{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const LS=new y1,RS=new v1,DS=new y1(!0),MS=new v1(!0),Cm=e=>e,gl=e=>Reflect.getPrototypeOf(e);function FS(e,t,n){return function(...r){const s=this.__v_raw,o=nt(s),i=go(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),d=n?Cm:t?Sm:fn;return!t&&mn(o,"iterate",l?zm:bo),{next(){const{value:m,done:f}=c.next();return f?{value:m,done:f}:{value:a?[d(m[0]),d(m[1])]:d(m),done:f}},[Symbol.iterator](){return this}}}}function yl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function VS(e,t){const n={get(s){const o=this.__v_raw,i=nt(o),a=nt(s);e||(dn(s,a)&&mn(i,"get",s),mn(i,"get",a));const{has:l}=gl(i),c=t?Cm:e?Sm:fn;if(l.call(i,s))return c(o.get(s));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&mn(nt(s),"iterate",bo),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=nt(o),a=nt(s);return e||(dn(s,a)&&mn(i,"has",s),mn(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=nt(a),c=t?Cm:e?Sm:fn;return!e&&mn(l,"iterate",bo),a.forEach((d,m)=>s.call(o,c(d),c(m),i))}};return Je(n,e?{add:yl("add"),set:yl("set"),delete:yl("delete"),clear:yl("clear")}:{add(s){!t&&!Yn(s)&&!qs(s)&&(s=nt(s));const o=nt(this);return gl(o).has.call(o,s)||(o.add(s),ns(o,"add",s,s)),this},set(s,o){!t&&!Yn(o)&&!qs(o)&&(o=nt(o));const i=nt(this),{has:a,get:l}=gl(i);let c=a.call(i,s);c||(s=nt(s),c=a.call(i,s));const d=l.call(i,s);return i.set(s,o),c?dn(o,d)&&ns(i,"set",s,o):ns(i,"add",s,o),this},delete(s){const o=nt(this),{has:i,get:a}=gl(o);let l=i.call(o,s);l||(s=nt(s),l=i.call(o,s)),a&&a.call(o,s);const c=o.delete(s);return l&&ns(o,"delete",s,void 0),c},clear(){const s=nt(this),o=s.size!==0,i=s.clear();return o&&ns(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=FS(s,e,t)}),n}function fu(e,t){const n=VS(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(lt(n,s)&&s in r?n:r,s,o)}const HS={get:fu(!1,!1)},US={get:fu(!1,!0)},jS={get:fu(!0,!1)},BS={get:fu(!0,!0)},b1=new WeakMap,z1=new WeakMap,C1=new WeakMap,S1=new WeakMap;function qS(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function WS(e){return e.__v_skip||!Object.isExtensible(e)?0:qS(Yy(e))}function Oi(e){return qs(e)?e:pu(e,!1,LS,HS,b1)}function Lf(e){return pu(e,!1,DS,US,z1)}function Rf(e){return pu(e,!0,RS,jS,C1)}function GS(e){return pu(e,!0,MS,BS,S1)}function pu(e,t,n,r,s){if(!mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=WS(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Br(e){return qs(e)?Br(e.__v_raw):!!(e&&e.__v_isReactive)}function qs(e){return!!(e&&e.__v_isReadonly)}function Yn(e){return!!(e&&e.__v_isShallow)}function hu(e){return e?!!e.__v_raw:!1}function nt(e){const t=e&&e.__v_raw;return t?nt(t):e}function _u(e){return!lt(e,"__v_skip")&&Object.isExtensible(e)&&kf(e,"__v_skip",!0),e}const fn=e=>mt(e)?Oi(e):e,Sm=e=>mt(e)?Rf(e):e;function Ot(e){return e?e.__v_isRef===!0:!1}function ar(e){return E1(e,!1)}function gu(e){return E1(e,!0)}function E1(e,t){return Ot(e)?e:new KS(e,t)}class KS{constructor(t,n){this.dep=new du,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:nt(t),this._value=n?t:fn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Yn(t)||qs(t);t=r?t:nt(t),dn(t,n)&&(this._rawValue=t,this._value=r?t:fn(t),this.dep.trigger())}}function XS(e){e.dep&&e.dep.trigger()}function Fn(e){return Ot(e)?e.value:e}function YS(e){return $e(e)?e():Fn(e)}const ZS={get:(e,t,n)=>t==="__v_raw"?e:Fn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ot(s)&&!Ot(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Df(e){return Br(e)?e:new Proxy(e,ZS)}class JS{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new du,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function w1(e){return new JS(e)}function k1(e){const t=ve(e)?new Array(e.length):{};for(const n in e)t[n]=x1(e,n);return t}class QS{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return OS(nt(this._object),this._key)}}class eE{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function tE(e,t,n){return Ot(e)?e:$e(e)?new eE(e):mt(e)&&arguments.length>1?x1(e,t,n):ar(e)}function x1(e,t,n){const r=e[t];return Ot(r)?r:new QS(e,t,n)}class nE{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new du(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xa-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&bt!==this)return u1(this,!0),!0}get value(){const t=this.dep.track();return f1(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function rE(e,t,n=!1){let r,s;return $e(e)?r=e:(r=e.get,s=e.set),new nE(r,s,n)}const sE={GET:"get",HAS:"has",ITERATE:"iterate"},oE={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},vl={},bc=new WeakMap;let Os;function iE(){return Os}function T1(e,t=!1,n=Os){if(n){let r=bc.get(n);r||bc.set(n,r=[]),r.push(e)}}function aE(e,t,n=Ze){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,c=b=>s?b:Yn(b)||s===!1||s===0?rs(b,1):rs(b);let d,m,f,p,h=!1,_=!1;if(Ot(e)?(m=()=>e.value,h=Yn(e)):Br(e)?(m=()=>c(e),h=!0):ve(e)?(_=!0,h=e.some(b=>Br(b)||Yn(b)),m=()=>e.map(b=>{if(Ot(b))return b.value;if(Br(b))return c(b);if($e(b))return l?l(b,2):b()})):$e(e)?t?m=l?()=>l(e,2):e:m=()=>{if(f){Zs();try{f()}finally{Js()}}const b=Os;Os=d;try{return l?l(e,3,[p]):e(p)}finally{Os=b}}:m=tn,t&&s){const b=m,E=s===!0?1/0:s;m=()=>rs(b(),E)}const v=$f(),C=()=>{d.stop(),v&&v.active&&iu(v.effects,d)};if(o&&t){const b=t;t=(...E)=>{b(...E),C()}}let S=_?new Array(e.length).fill(vl):vl;const g=b=>{if(!(!(d.flags&1)||!d.dirty&&!b))if(t){const E=d.run();if(s||h||(_?E.some((w,P)=>dn(w,S[P])):dn(E,S))){f&&f();const w=Os;Os=d;try{const P=[E,S===vl?void 0:_&&S[0]===vl?[]:S,p];l?l(t,3,P):t(...P),S=E}finally{Os=w}}}else d.run()};return a&&a(g),d=new ka(m),d.scheduler=i?()=>i(g,!1):g,p=b=>T1(b,!1,d),f=d.onStop=()=>{const b=bc.get(d);if(b){if(l)l(b,4);else for(const E of b)E();bc.delete(d)}},t?r?g(!0):S=d.run():i?i(g.bind(null,!0),!0):d.run(),C.pause=d.pause.bind(d),C.resume=d.resume.bind(d),C.stop=C,C}function rs(e,t=1/0,n){if(t<=0||!mt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ot(e))rs(e.value,t,n);else if(ve(e))for(let r=0;r<e.length;r++)rs(e[r],t,n);else if(Xs(e)||go(e))e.forEach(r=>{rs(r,t,n)});else if(Ya(e)){for(const r in e)rs(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&rs(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const A1=[];function lE(e){A1.push(e)}function cE(){A1.pop()}function uE(e,t){}const dE={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",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",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},mE={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",15:"component update",16:"app unmount cleanup function"};function $i(e,t,n,r){try{return r?e(...r):e()}catch(s){Lo(s,t,n)}}function dr(e,t,n,r){if($e(e)){const s=$i(e,t,n,r);return s&&au(s)&&s.catch(o=>{Lo(o,t,n)}),s}if(ve(e)){const s=[];for(let o=0;o<e.length;o++)s.push(dr(e[o],t,n,r));return s}}function Lo(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ze;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const d=a.ec;if(d){for(let m=0;m<d.length;m++)if(d[m](e,l,c)===!1)return}a=a.parent}if(o){Zs(),$i(o,null,10,[e,l,c]),Js();return}}fE(e,n,s,r,i)}function fE(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const wn=[];let Fr=-1;const ci=[];let $s=null,Yo=0;const O1=Promise.resolve();let zc=null;function Ro(e){const t=zc||O1;return e?t.then(this?e.bind(this):e):t}function pE(e){let t=Fr+1,n=wn.length;for(;t<n;){const r=t+n>>>1,s=wn[r],o=Oa(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Mf(e){if(!(e.flags&1)){const t=Oa(e),n=wn[wn.length-1];!n||!(e.flags&2)&&t>=Oa(n)?wn.push(e):wn.splice(pE(t),0,e),e.flags|=1,$1()}}function $1(){zc||(zc=O1.then(N1))}function Aa(e){ve(e)?ci.push(...e):$s&&e.id===-1?$s.splice(Yo+1,0,e):e.flags&1||(ci.push(e),e.flags|=1),$1()}function fh(e,t,n=Fr+1){for(;n<wn.length;n++){const r=wn[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;wn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Cc(e){if(ci.length){const t=[...new Set(ci)].sort((n,r)=>Oa(n)-Oa(r));if(ci.length=0,$s){$s.push(...t);return}for($s=t,Yo=0;Yo<$s.length;Yo++){const n=$s[Yo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$s=null,Yo=0}}const Oa=e=>e.id==null?e.flags&2?-1:1/0:e.id;function N1(e){try{for(Fr=0;Fr<wn.length;Fr++){const t=wn[Fr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),$i(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Fr<wn.length;Fr++){const t=wn[Fr];t&&(t.flags&=-2)}Fr=-1,wn.length=0,Cc(),zc=null,(wn.length||ci.length)&&N1()}}let Zo,bl=[];function I1(e,t){var n,r;Zo=e,Zo?(Zo.enabled=!0,bl.forEach(({event:s,args:o})=>Zo.emit(s,...o)),bl=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{I1(o,t)}),setTimeout(()=>{Zo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,bl=[])},3e3)):bl=[]}let Zt=null,yu=null;function $a(e){const t=Zt;return Zt=e,yu=e&&e.type.__scopeId||null,t}function hE(e){yu=e}function _E(){yu=null}const gE=e=>D;function D(e,t=Zt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&$m(-1);const o=$a(t);let i;try{i=e(...s)}finally{$a(o),r._d&&$m(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ct(e,t){if(Zt===null)return e;const n=nl(Zt),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Ze]=t[s];o&&($e(o)&&(o={mounted:o,updated:o}),o.deep&&rs(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Vr(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Zs(),dr(l,n,8,[e.el,a,e,t]),Js())}}const P1=Symbol("_vte"),L1=e=>e.__isTeleport,ca=e=>e&&(e.disabled||e.disabled===""),ph=e=>e&&(e.defer||e.defer===""),hh=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_h=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Em=(e,t)=>{const n=e&&e.to;return Re(n)?t?t(n):null:n},R1={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:d,pc:m,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:v}}=c,C=ca(t.props);let{shapeFlag:S,children:g,dynamicChildren:b}=t;if(e==null){const E=t.el=_(""),w=t.anchor=_("");p(E,n,r),p(w,n,r);const P=(k,R)=>{S&16&&(s&&s.isCE&&(s.ce._teleportTarget=k),d(g,k,R,s,o,i,a,l))},N=()=>{const k=t.target=Em(t.props,h),R=D1(k,t,_,p);k&&(i!=="svg"&&hh(k)?i="svg":i!=="mathml"&&_h(k)&&(i="mathml"),C||(P(k,R),Kl(t,!1)))};C&&(P(n,w),Kl(t,!0)),ph(t.props)?Xt(()=>{N(),t.el.__isMounted=!0},o):N()}else{if(ph(t.props)&&!e.el.__isMounted){Xt(()=>{R1.process(e,t,n,r,s,o,i,a,l,c),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,w=t.target=e.target,P=t.targetAnchor=e.targetAnchor,N=ca(e.props),k=N?n:w,R=N?E:P;if(i==="svg"||hh(w)?i="svg":(i==="mathml"||_h(w))&&(i="mathml"),b?(f(e.dynamicChildren,b,k,s,o,i,a),Yf(e,t,!0)):l||m(e,t,k,R,s,o,i,a,!1),C)N?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):zl(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=Em(t.props,h);B&&zl(t,B,null,c,0)}else N&&zl(t,w,P,c,1);Kl(t,C)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:d,target:m,props:f}=e;if(m&&(s(c),s(d)),o&&s(l),i&16){const p=o||!ca(f);for(let h=0;h<a.length;h++){const _=a[h];r(_,t,n,p,!!_.dynamicChildren)}}},move:zl,hydrate:yE};function zl(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:d}=e,m=o===2;if(m&&r(i,t,n),(!m||ca(d))&&l&16)for(let f=0;f<c.length;f++)s(c[f],t,n,2);m&&r(a,t,n)}function yE(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:d}},m){const f=t.target=Em(t.props,l);if(f){const p=ca(t.props),h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(p)t.anchor=m(i(e),t,a(e),n,r,s,o),t.targetStart=h,t.targetAnchor=h&&i(h);else{t.anchor=i(e);let _=h;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,f._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}t.targetAnchor||D1(f,t,d,c),m(h&&i(h),t,f,n,r,s,o)}Kl(t,p)}return t.anchor&&i(t.anchor)}const hr=R1;function Kl(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function D1(e,t,n,r){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[P1]=o,e&&(r(s,e),r(o,e)),o}const Ns=Symbol("_leaveCb"),Cl=Symbol("_enterCb");function Ff(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ni(()=>{e.isMounted=!0}),Cu(()=>{e.isUnmounting=!0}),e}const tr=[Function,Array],Vf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:tr,onEnter:tr,onAfterEnter:tr,onEnterCancelled:tr,onBeforeLeave:tr,onLeave:tr,onAfterLeave:tr,onLeaveCancelled:tr,onBeforeAppear:tr,onAppear:tr,onAfterAppear:tr,onAppearCancelled:tr},M1=e=>{const t=e.subTree;return t.component?M1(t.component):t},vE={name:"BaseTransition",props:Vf,setup(e,{slots:t}){const n=On(),r=Ff();return()=>{const s=t.default&&vu(t.default(),!0);if(!s||!s.length)return;const o=F1(s),i=nt(e),{mode:a}=i;if(r.isLeaving)return Sd(o);const l=gh(o);if(!l)return Sd(o);let c=pi(l,i,r,n,m=>c=m);l.type!==Wt&&fs(l,c);let d=n.subTree&&gh(n.subTree);if(d&&d.type!==Wt&&!Er(l,d)&&M1(n).type!==Wt){let m=pi(d,i,r,n);if(fs(d,m),a==="out-in"&&l.type!==Wt)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete m.afterLeave,d=void 0},Sd(o);a==="in-out"&&l.type!==Wt?m.delayLeave=(f,p,h)=>{const _=H1(r,d);_[String(d.key)]=d,f[Ns]=()=>{p(),f[Ns]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{h(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return o}}};function F1(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Wt){t=n;break}}return t}const V1=vE;function H1(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function pi(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:d,onEnterCancelled:m,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:_,onBeforeAppear:v,onAppear:C,onAfterAppear:S,onAppearCancelled:g}=t,b=String(e.key),E=H1(n,e),w=(k,R)=>{k&&dr(k,r,9,R)},P=(k,R)=>{const B=R[1];w(k,R),ve(k)?k.every(M=>M.length<=1)&&B():k.length<=1&&B()},N={mode:i,persisted:a,beforeEnter(k){let R=l;if(!n.isMounted)if(o)R=v||l;else return;k[Ns]&&k[Ns](!0);const B=E[b];B&&Er(e,B)&&B.el[Ns]&&B.el[Ns](),w(R,[k])},enter(k){let R=c,B=d,M=m;if(!n.isMounted)if(o)R=C||c,B=S||d,M=g||m;else return;let H=!1;const X=k[Cl]=ae=>{H||(H=!0,ae?w(M,[k]):w(B,[k]),N.delayedLeave&&N.delayedLeave(),k[Cl]=void 0)};R?P(R,[k,X]):X()},leave(k,R){const B=String(e.key);if(k[Cl]&&k[Cl](!0),n.isUnmounting)return R();w(f,[k]);let M=!1;const H=k[Ns]=X=>{M||(M=!0,R(),X?w(_,[k]):w(h,[k]),k[Ns]=void 0,E[B]===e&&delete E[B])};E[B]=e,p?P(p,[k,H]):H()},clone(k){const R=pi(k,t,n,r,s);return s&&s(R),R}};return N}function Sd(e){if(Qa(e))return e=Wr(e),e.children=null,e}function gh(e){if(!Qa(e))return L1(e.type)&&e.children?F1(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$e(n.default))return n.default()}}function fs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function vu(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===be?(i.patchFlag&128&&s++,r=r.concat(vu(i.children,t,a))):(t||i.type!==Wt)&&r.push(a!=null?Wr(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function gs(e,t){return $e(e)?Je({name:e.name},t,{setup:e}):e}function bE(){const e=On();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Hf(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zE(e){const t=On(),n=gu(null);if(t){const s=t.refs===Ze?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function Na(e,t,n,r,s=!1){if(ve(e)){e.forEach((h,_)=>Na(h,t&&(ve(t)?t[_]:t),n,r,s));return}if(Us(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Na(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?nl(r.component):r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,d=a.refs===Ze?a.refs={}:a.refs,m=a.setupState,f=nt(m),p=m===Ze?()=>!1:h=>lt(f,h);if(c!=null&&c!==l&&(Re(c)?(d[c]=null,p(c)&&(m[c]=null)):Ot(c)&&(c.value=null)),$e(l))$i(l,a,12,[i,d]);else{const h=Re(l),_=Ot(l);if(h||_){const v=()=>{if(e.f){const C=h?p(l)?m[l]:d[l]:l.value;s?ve(C)&&iu(C,o):ve(C)?C.includes(o)||C.push(o):h?(d[l]=[o],p(l)&&(m[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else h?(d[l]=i,p(l)&&(m[l]=i)):_&&(l.value=i,e.k&&(d[e.k]=i))};i?(v.id=-1,Xt(v,n)):v()}}}let yh=!1;const Vo=()=>{yh||(console.error("Hydration completed but contains mismatches."),yh=!0)},CE=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",SE=e=>e.namespaceURI.includes("MathML"),Sl=e=>{if(e.nodeType===1){if(CE(e))return"svg";if(SE(e))return"mathml"}},oi=e=>e.nodeType===8;function EE(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),Cc(),b._vnode=g;return}m(b.firstChild,g,null,null,null),Cc(),b._vnode=g},m=(g,b,E,w,P,N=!1)=>{N=N||!!b.dynamicChildren;const k=oi(g)&&g.data==="[",R=()=>_(g,b,E,w,P,k),{type:B,ref:M,shapeFlag:H,patchFlag:X}=b;let ae=g.nodeType;b.el=g,X===-2&&(N=!1,b.dynamicChildren=null);let G=null;switch(B){case ls:ae!==3?b.children===""?(l(b.el=s(""),i(g),g),G=g):G=R():(g.data!==b.children&&(Vo(),g.data=b.children),G=o(g));break;case Wt:S(g)?(G=o(g),C(b.el=g.content.firstChild,g,E)):ae!==8||k?G=R():G=o(g);break;case Co:if(k&&(g=o(g),ae=g.nodeType),ae===1||ae===3){G=g;const te=!b.children.length;for(let le=0;le<b.staticCount;le++)te&&(b.children+=G.nodeType===1?G.outerHTML:G.data),le===b.staticCount-1&&(b.anchor=G),G=o(G);return k?o(G):G}else R();break;case be:k?G=h(g,b,E,w,P,N):G=R();break;default:if(H&1)(ae!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!S(g)?G=R():G=f(g,b,E,w,P,N);else if(H&6){b.slotScopeIds=P;const te=i(g);if(k?G=v(g):oi(g)&&g.data==="teleport start"?G=v(g,g.data,"teleport end"):G=o(g),t(b,te,null,E,w,Sl(te),N),Us(b)&&!b.type.__asyncResolved){let le;k?(le=z(be),le.anchor=G?G.previousSibling:te.lastChild):le=g.nodeType===3?Kt(""):z("div"),le.el=g,b.component.subTree=le}}else H&64?ae!==8?G=R():G=b.type.hydrate(g,b,E,w,P,N,e,p):H&128&&(G=b.type.hydrate(g,b,E,w,Sl(i(g)),P,N,e,m))}return M!=null&&Na(M,null,w,b),G},f=(g,b,E,w,P,N)=>{N=N||!!b.dynamicChildren;const{type:k,props:R,patchFlag:B,shapeFlag:M,dirs:H,transition:X}=b,ae=k==="input"||k==="option";if(ae||B!==-1){H&&Vr(b,null,E,"created");let G=!1;if(S(g)){G=fv(null,X)&&E&&E.vnode.props&&E.vnode.props.appear;const le=g.content.firstChild;G&&X.beforeEnter(le),C(le,g,E),b.el=g=le}if(M&16&&!(R&&(R.innerHTML||R.textContent))){let le=p(g.firstChild,b,g,E,w,P,N);for(;le;){El(g,1)||Vo();const Ae=le;le=le.nextSibling,a(Ae)}}else if(M&8){let le=b.children;le[0]===`
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(le=le.slice(1)),g.textContent!==le&&(El(g,0)||Vo(),g.textContent=b.children)}if(R){if(ae||!N||B&48){const le=g.tagName.includes("-");for(const Ae in R)(ae&&(Ae.endsWith("value")||Ae==="indeterminate")||Ks(Ae)&&!as(Ae)||Ae[0]==="."||le)&&r(g,Ae,null,R[Ae],void 0,E)}else if(R.onClick)r(g,"onClick",null,R.onClick,void 0,E);else if(B&4&&Br(R.style))for(const le in R.style)R.style[le]}let te;(te=R&&R.onVnodeBeforeMount)&&Rn(te,E,b),H&&Vr(b,null,E,"beforeMount"),((te=R&&R.onVnodeMounted)||H||G)&&Sv(()=>{te&&Rn(te,E,b),G&&X.enter(g),H&&Vr(b,null,E,"mounted")},w)}return g.nextSibling},p=(g,b,E,w,P,N,k)=>{k=k||!!b.dynamicChildren;const R=b.children,B=R.length;for(let M=0;M<B;M++){const H=k?R[M]:R[M]=Dn(R[M]),X=H.type===ls;g?(X&&!k&&M+1<B&&Dn(R[M+1]).type===ls&&(l(s(g.data.slice(H.children.length)),E,o(g)),g.data=H.children),g=m(g,H,w,P,N,k)):X&&!H.children?l(H.el=s(""),E):(El(E,1)||Vo(),n(null,H,E,null,w,P,Sl(E),N))}return g},h=(g,b,E,w,P,N)=>{const{slotScopeIds:k}=b;k&&(P=P?P.concat(k):k);const R=i(g),B=p(o(g),b,R,E,w,P,N);return B&&oi(B)&&B.data==="]"?o(b.anchor=B):(Vo(),l(b.anchor=c("]"),R,B),B)},_=(g,b,E,w,P,N)=>{if(El(g.parentElement,1)||Vo(),b.el=null,N){const B=v(g);for(;;){const M=o(g);if(M&&M!==B)a(M);else break}}const k=o(g),R=i(g);return a(g),n(null,b,R,k,E,w,Sl(R),P),E&&(E.vnode.el=b.el,wu(E,b.el)),k},v=(g,b="[",E="]")=>{let w=0;for(;g;)if(g=o(g),g&&oi(g)&&(g.data===b&&w++,g.data===E)){if(w===0)return o(g);w--}return g},C=(g,b,E)=>{const w=b.parentNode;w&&w.replaceChild(g,b);let P=E;for(;P;)P.vnode.el===b&&(P.vnode.el=P.subTree.el=g),P=P.parent},S=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[d,m]}const vh="data-allow-mismatch",wE={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function El(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(vh);)e=e.parentElement;const n=e&&e.getAttribute(vh);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(wE[t])}}const kE=Za().requestIdleCallback||(e=>setTimeout(e,1)),xE=Za().cancelIdleCallback||(e=>clearTimeout(e)),TE=(e=1e4)=>t=>{const n=kE(t,{timeout:e});return()=>xE(n)};function AE(e){const{top:t,left:n,bottom:r,right:s}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:i}=window;return(t>0&&t<o||r>0&&r<o)&&(n>0&&n<i||s>0&&s<i)}const OE=e=>(t,n)=>{const r=new IntersectionObserver(s=>{for(const o of s)if(o.isIntersecting){r.disconnect(),t();break}},e);return n(s=>{if(s instanceof Element){if(AE(s))return t(),r.disconnect(),!1;r.observe(s)}}),()=>r.disconnect()},$E=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},NE=(e=[])=>(t,n)=>{Re(e)&&(e=[e]);let r=!1;const s=i=>{r||(r=!0,o(),t(),i.target.dispatchEvent(new i.constructor(i.type,i)))},o=()=>{n(i=>{for(const a of e)i.removeEventListener(a,s)})};return n(i=>{for(const a of e)i.addEventListener(a,s,{once:!0})}),o};function IE(e,t){if(oi(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(oi(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Us=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function PE(e){$e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let c=null,d,m=0;const f=()=>(m++,c=null,p()),p=()=>{let h;return c||(h=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((v,C)=>{l(_,()=>v(f()),()=>C(_),m+1)});throw _}).then(_=>h!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),d=_,_)))};return gs({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,_,v){const C=o?()=>{const S=o(v,g=>IE(h,g));S&&(_.bum||(_.bum=[])).push(S)}:v;d?C():p().then(()=>!_.isUnmounted&&C())},get __asyncResolved(){return d},setup(){const h=Yt;if(Hf(h),d)return()=>Ed(d,h);const _=g=>{c=null,Lo(g,h,13,!r)};if(a&&h.suspense||hi)return p().then(g=>()=>Ed(g,h)).catch(g=>(_(g),()=>r?z(r,{error:g}):null));const v=ar(!1),C=ar(),S=ar(!!s);return s&&setTimeout(()=>{S.value=!1},s),i!=null&&setTimeout(()=>{if(!v.value&&!C.value){const g=new Error(`Async component timed out after ${i}ms.`);_(g),C.value=g}},i),p().then(()=>{v.value=!0,h.parent&&Qa(h.parent.vnode)&&h.parent.update()}).catch(g=>{_(g),C.value=g}),()=>{if(v.value&&d)return Ed(d,h);if(C.value&&r)return z(r,{error:C.value});if(n&&!S.value)return z(n)}}})}function Ed(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=z(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Qa=e=>e.type.__isKeepAlive,LE={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=On(),r=n.ctx;if(!r.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:m}}}=r,f=m("div");r.activate=(S,g,b,E,w)=>{const P=S.component;c(S,g,b,0,a),l(P.vnode,S,g,b,P,a,E,S.slotScopeIds,w),Xt(()=>{P.isDeactivated=!1,P.a&&vo(P.a);const N=S.props&&S.props.onVnodeMounted;N&&Rn(N,P.parent,S)},a)},r.deactivate=S=>{const g=S.component;Ec(g.m),Ec(g.a),c(S,f,null,1,a),Xt(()=>{g.da&&vo(g.da);const b=S.props&&S.props.onVnodeUnmounted;b&&Rn(b,g.parent,S),g.isDeactivated=!0},a)};function p(S){wd(S),d(S,n,a,!0)}function h(S){s.forEach((g,b)=>{const E=Rm(g.type);E&&!S(E)&&_(b)})}function _(S){const g=s.get(S);g&&(!i||!Er(g,i))?p(g):i&&wd(i),s.delete(S),o.delete(S)}Zn(()=>[e.include,e.exclude],([S,g])=>{S&&h(b=>Qi(S,b)),g&&h(b=>!Qi(g,b))},{flush:"post",deep:!0});let v=null;const C=()=>{v!=null&&(wc(n.subTree.type)?Xt(()=>{s.set(v,wl(n.subTree))},n.subTree.suspense):s.set(v,wl(n.subTree)))};return Ni(C),zu(C),Cu(()=>{s.forEach(S=>{const{subTree:g,suspense:b}=n,E=wl(g);if(S.type===E.type&&S.key===E.key){wd(E);const w=E.component.da;w&&Xt(w,b);return}p(S)})}),()=>{if(v=null,!t.default)return i=null;const S=t.default(),g=S[0];if(S.length>1)return i=null,S;if(!ps(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let b=wl(g);if(b.type===Wt)return i=null,b;const E=b.type,w=Rm(Us(b)?b.type.__asyncResolved||{}:E),{include:P,exclude:N,max:k}=e;if(P&&(!w||!Qi(P,w))||N&&w&&Qi(N,w))return b.shapeFlag&=-257,i=b,g;const R=b.key==null?E:b.key,B=s.get(R);return b.el&&(b=Wr(b),g.shapeFlag&128&&(g.ssContent=b)),v=R,B?(b.el=B.el,b.component=B.component,b.transition&&fs(b,b.transition),b.shapeFlag|=512,o.delete(R),o.add(R)):(o.add(R),k&&o.size>parseInt(k,10)&&_(o.values().next().value)),b.shapeFlag|=256,i=b,wc(g.type)?g:b}}},RE=LE;function Qi(e,t){return ve(e)?e.some(n=>Qi(n,t)):Re(e)?e.split(",").includes(t):Xy(e)?(e.lastIndex=0,e.test(t)):!1}function U1(e,t){B1(e,"a",t)}function j1(e,t){B1(e,"da",t)}function B1(e,t,n=Yt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(bu(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Qa(s.parent.vnode)&&DE(r,t,n,s),s=s.parent}}function DE(e,t,n,r){const s=bu(t,e,r,!0);el(()=>{iu(r[t],s)},n)}function wd(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function wl(e){return e.shapeFlag&128?e.ssContent:e}function bu(e,t,n=Yt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Zs();const a=xo(n),l=dr(t,n,e,i);return a(),Js(),l});return r?s.unshift(o):s.push(o),o}}const ys=e=>(t,n=Yt)=>{(!hi||e==="sp")&&bu(e,(...r)=>t(...r),n)},q1=ys("bm"),Ni=ys("m"),Uf=ys("bu"),zu=ys("u"),Cu=ys("bum"),el=ys("um"),W1=ys("sp"),G1=ys("rtg"),K1=ys("rtc");function X1(e,t=Yt){bu("ec",e,t)}const jf="components",ME="directives";function $(e,t){return qf(jf,e,!0,t)||e}const Y1=Symbol.for("v-ndc");function Su(e){return Re(e)?qf(jf,e,!1)||e:e||Y1}function Bf(e){return qf(ME,e)}function qf(e,t,n=!0,r=!1){const s=Zt||Yt;if(s){const o=s.type;if(e===jf){const a=Rm(o,!1);if(a&&(a===t||a===zt(t)||a===Ys(zt(t))))return o}const i=bh(s[e]||o[e],t)||bh(s.appContext[e],t);return!i&&r?o:i}}function bh(e,t){return e&&(e[t]||e[zt(t)]||e[Ys(zt(t))])}function Et(e,t,n,r){let s;const o=n&&n[r],i=ve(e);if(i||Re(e)){const a=i&&Br(e);let l=!1;a&&(l=!Yn(e),e=mu(e)),s=new Array(e.length);for(let c=0,d=e.length;c<d;c++)s[c]=t(l?fn(e[c]):e[c],c,void 0,o&&o[c])}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o&&o[a])}else if(mt(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o&&o[l]));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const d=a[l];s[l]=t(e[d],d,l,o&&o[l])}}else s=[];return n&&(n[r]=s),s}function Wf(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ve(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function At(e,t,n={},r,s){if(Zt.ce||Zt.parent&&Us(Zt.parent)&&Zt.parent.ce)return t!=="default"&&(n.name=t),x(),ze(be,null,[z("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),x();const i=o&&Gf(o(n)),a=n.key||i&&i.key,l=ze(be,{key:(a&&!An(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Gf(e){return e.some(t=>ps(t)?!(t.type===Wt||t.type===be&&!Gf(t.children)):!0)?e:null}function FE(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:yo(r)]=e[r];return n}const wm=e=>e?Av(e)?nl(e):wm(e.parent):null,ua=Je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>wm(e.parent),$root:e=>wm(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Kf(e),$forceUpdate:e=>e.f||(e.f=()=>{Mf(e.update)}),$nextTick:e=>e.n||(e.n=Ro.bind(e.proxy)),$watch:e=>hw.bind(e)}),kd=(e,t)=>e!==Ze&&!e.__isScriptSetup&&lt(e,t),km={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(kd(r,t))return i[t]=1,r[t];if(s!==Ze&&lt(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&lt(c,t))return i[t]=3,o[t];if(n!==Ze&&lt(n,t))return i[t]=4,n[t];xm&&(i[t]=0)}}const d=ua[t];let m,f;if(d)return t==="$attrs"&&mn(e.attrs,"get",""),d(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==Ze&&lt(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,lt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return kd(s,t)?(s[t]=n,!0):r!==Ze&&lt(r,t)?(r[t]=n,!0):lt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ze&&lt(e,i)||kd(t,i)||(a=o[0])&&lt(a,i)||lt(r,i)||lt(ua,i)||lt(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:lt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},VE=Je({},km,{get(e,t){if(t!==Symbol.unscopables)return km.get(e,t,e)},has(e,t){return t[0]!=="_"&&!xf(t)}});function HE(){return null}function UE(){return null}function jE(e){}function BE(e){}function qE(){return null}function WE(){}function GE(e,t){return null}function KE(){return Z1().slots}function XE(){return Z1().attrs}function Z1(){const e=On();return e.setupContext||(e.setupContext=Nv(e))}function Ia(e){return ve(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function YE(e,t){const n=Ia(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?ve(s)||$e(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function ZE(e,t){return!e||!t?e||t:ve(e)&&ve(t)?e.concat(t):Je({},Ia(e),Ia(t))}function JE(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function QE(e){const t=On();let n=e();return Im(),au(n)&&(n=n.catch(r=>{throw xo(t),r})),[n,()=>xo(t)]}let xm=!0;function ew(e){const t=Kf(e),n=e.proxy,r=e.ctx;xm=!1,t.beforeCreate&&zh(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:m,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:v,beforeDestroy:C,beforeUnmount:S,destroyed:g,unmounted:b,render:E,renderTracked:w,renderTriggered:P,errorCaptured:N,serverPrefetch:k,expose:R,inheritAttrs:B,components:M,directives:H,filters:X}=t;if(c&&tw(c,r,null),i)for(const te in i){const le=i[te];$e(le)&&(r[te]=le.bind(n))}if(s){const te=s.call(n,n);mt(te)&&(e.data=Oi(te))}if(xm=!0,o)for(const te in o){const le=o[te],Ae=$e(le)?le.bind(n,n):$e(le.get)?le.get.bind(n,n):tn,Qe=!$e(le)&&$e(le.set)?le.set.bind(n):tn,De=en({get:Ae,set:Qe});Object.defineProperty(r,te,{enumerable:!0,configurable:!0,get:()=>De.value,set:je=>De.value=je})}if(a)for(const te in a)J1(a[te],r,n,te);if(l){const te=$e(l)?l.call(n):l;Reflect.ownKeys(te).forEach(le=>{da(le,te[le])})}d&&zh(d,e,"c");function G(te,le){ve(le)?le.forEach(Ae=>te(Ae.bind(n))):le&&te(le.bind(n))}if(G(q1,m),G(Ni,f),G(Uf,p),G(zu,h),G(U1,_),G(j1,v),G(X1,N),G(K1,w),G(G1,P),G(Cu,S),G(el,b),G(W1,k),ve(R))if(R.length){const te=e.exposed||(e.exposed={});R.forEach(le=>{Object.defineProperty(te,le,{get:()=>n[le],set:Ae=>n[le]=Ae})})}else e.exposed||(e.exposed={});E&&e.render===tn&&(e.render=E),B!=null&&(e.inheritAttrs=B),M&&(e.components=M),H&&(e.directives=H),k&&Hf(e)}function tw(e,t,n=tn){ve(e)&&(e=Tm(e));for(const r in e){const s=e[r];let o;mt(s)?"default"in s?o=lr(s.from||r,s.default,!0):o=lr(s.from||r):o=lr(s),Ot(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function zh(e,t,n){dr(ve(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function J1(e,t,n,r){let s=r.includes(".")?vv(n,r):()=>n[r];if(Re(e)){const o=t[e];$e(o)&&Zn(s,o)}else if($e(e))Zn(s,e.bind(n));else if(mt(e))if(ve(e))e.forEach(o=>J1(o,t,n,r));else{const o=$e(e.handler)?e.handler.bind(n):t[e.handler];$e(o)&&Zn(s,o,e)}}function Kf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Sc(l,c,i,!0)),Sc(l,t,i)),mt(t)&&o.set(t,l),l}function Sc(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Sc(e,o,n,!0),s&&s.forEach(i=>Sc(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=nw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const nw={data:Ch,props:Sh,emits:Sh,methods:ea,computed:ea,beforeCreate:zn,created:zn,beforeMount:zn,mounted:zn,beforeUpdate:zn,updated:zn,beforeDestroy:zn,beforeUnmount:zn,destroyed:zn,unmounted:zn,activated:zn,deactivated:zn,errorCaptured:zn,serverPrefetch:zn,components:ea,directives:ea,watch:sw,provide:Ch,inject:rw};function Ch(e,t){return t?e?function(){return Je($e(e)?e.call(this,this):e,$e(t)?t.call(this,this):t)}:t:e}function rw(e,t){return ea(Tm(e),Tm(t))}function Tm(e){if(ve(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function zn(e,t){return e?[...new Set([].concat(e,t))]:t}function ea(e,t){return e?Je(Object.create(null),e,t):t}function Sh(e,t){return e?ve(e)&&ve(t)?[...new Set([...e,...t])]:Je(Object.create(null),Ia(e),Ia(t??{})):t}function sw(e,t){if(!e)return t;if(!t)return e;const n=Je(Object.create(null),e);for(const r in t)n[r]=zn(e[r],t[r]);return n}function Q1(){return{app:null,config:{isNativeTag:ri,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ow=0;function iw(e,t){return function(r,s=null){$e(r)||(r=Je({},r)),s!=null&&!mt(s)&&(s=null);const o=Q1(),i=new WeakSet,a=[];let l=!1;const c=o.app={_uid:ow++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Pv,get config(){return o.config},set config(d){},use(d,...m){return i.has(d)||(d&&$e(d.install)?(i.add(d),d.install(c,...m)):$e(d)&&(i.add(d),d(c,...m))),c},mixin(d){return o.mixins.includes(d)||o.mixins.push(d),c},component(d,m){return m?(o.components[d]=m,c):o.components[d]},directive(d,m){return m?(o.directives[d]=m,c):o.directives[d]},mount(d,m,f){if(!l){const p=c._ceVNode||z(r,s);return p.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),m&&t?t(p,d):e(p,d,f),l=!0,c._container=d,d.__vue_app__=c,nl(p.component)}},onUnmount(d){a.push(d)},unmount(){l&&(dr(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,m){return o.provides[d]=m,c},runWithContext(d){const m=zo;zo=c;try{return d()}finally{zo=m}}};return c}}let zo=null;function da(e,t){if(Yt){let n=Yt.provides;const r=Yt.parent&&Yt.parent.provides;r===n&&(n=Yt.provides=Object.create(r)),n[e]=t}}function lr(e,t,n=!1){const r=Yt||Zt;if(r||zo){const s=zo?zo._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&$e(t)?t.call(r&&r.proxy):t}}function ev(){return!!(Yt||Zt||zo)}const tv={},nv=()=>Object.create(tv),rv=e=>Object.getPrototypeOf(e)===tv;function aw(e,t,n,r=!1){const s={},o=nv();e.propsDefaults=Object.create(null),sv(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Lf(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function lw(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=nt(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let m=0;m<d.length;m++){let f=d[m];if(Eu(e.emitsOptions,f))continue;const p=t[f];if(l)if(lt(o,f))p!==o[f]&&(o[f]=p,c=!0);else{const h=zt(f);s[h]=Am(l,a,h,p,e,!1)}else p!==o[f]&&(o[f]=p,c=!0)}}}else{sv(e,t,s,o)&&(c=!0);let d;for(const m in a)(!t||!lt(t,m)&&((d=pn(m))===m||!lt(t,d)))&&(l?n&&(n[m]!==void 0||n[d]!==void 0)&&(s[m]=Am(l,a,m,void 0,e,!0)):delete s[m]);if(o!==a)for(const m in o)(!t||!lt(t,m))&&(delete o[m],c=!0)}c&&ns(e.attrs,"set","")}function sv(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(as(l))continue;const c=t[l];let d;s&&lt(s,d=zt(l))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:Eu(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=nt(n),c=a||Ze;for(let d=0;d<o.length;d++){const m=o[d];n[m]=Am(s,l,m,c[m],e,!lt(c,m))}}return i}function Am(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=lt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&$e(l)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const d=xo(s);r=c[n]=l.call(null,t),d()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===pn(n))&&(r=!0))}return r}const cw=new WeakMap;function ov(e,t,n=!1){const r=n?cw:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!$e(e)){const d=m=>{l=!0;const[f,p]=ov(m,t,!0);Je(i,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return mt(e)&&r.set(e,_o),_o;if(ve(o))for(let d=0;d<o.length;d++){const m=zt(o[d]);Eh(m)&&(i[m]=Ze)}else if(o)for(const d in o){const m=zt(d);if(Eh(m)){const f=o[d],p=i[m]=ve(f)||$e(f)?{type:f}:Je({},f),h=p.type;let _=!1,v=!0;if(ve(h))for(let C=0;C<h.length;++C){const S=h[C],g=$e(S)&&S.name;if(g==="Boolean"){_=!0;break}else g==="String"&&(v=!1)}else _=$e(h)&&h.name==="Boolean";p[0]=_,p[1]=v,(_||lt(p,"default"))&&a.push(m)}}const c=[i,a];return mt(e)&&r.set(e,c),c}function Eh(e){return e[0]!=="$"&&!as(e)}const iv=e=>e[0]==="_"||e==="$stable",Xf=e=>ve(e)?e.map(Dn):[Dn(e)],uw=(e,t,n)=>{if(t._n)return t;const r=D((...s)=>Xf(t(...s)),n);return r._c=!1,r},av=(e,t,n)=>{const r=e._ctx;for(const s in e){if(iv(s))continue;const o=e[s];if($e(o))t[s]=uw(s,o,r);else if(o!=null){const i=Xf(o);t[s]=()=>i}}},lv=(e,t)=>{const n=Xf(t);e.slots.default=()=>n},cv=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},dw=(e,t,n)=>{const r=e.slots=nv();if(e.vnode.shapeFlag&32){const s=t._;s?(cv(r,t,n),n&&kf(r,"_",s,!0)):av(t,r)}else t&&lv(e,t)},mw=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ze;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:cv(s,t,n):(o=!t.$stable,av(t,s)),i=t}else t&&(lv(e,t),i={default:1});if(o)for(const a in s)!iv(a)&&i[a]==null&&delete s[a]},Xt=Sv;function uv(e){return mv(e)}function dv(e){return mv(e,EE)}function mv(e,t){const n=Za();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:m,nextSibling:f,setScopeId:p=tn,insertStaticContent:h}=e,_=(O,I,q,ne=null,J=null,ie=null,pe=void 0,T=null,A=!!I.dynamicChildren)=>{if(O===I)return;O&&!Er(O,I)&&(ne=Y(O),je(O,J,ie,!0),O=null),I.patchFlag===-2&&(A=!1,I.dynamicChildren=null);const{type:F,ref:se,shapeFlag:ce}=I;switch(F){case ls:v(O,I,q,ne);break;case Wt:C(O,I,q,ne);break;case Co:O==null&&S(I,q,ne,pe);break;case be:M(O,I,q,ne,J,ie,pe,T,A);break;default:ce&1?E(O,I,q,ne,J,ie,pe,T,A):ce&6?H(O,I,q,ne,J,ie,pe,T,A):(ce&64||ce&128)&&F.process(O,I,q,ne,J,ie,pe,T,A,ye)}se!=null&&J&&Na(se,O&&O.ref,ie,I||O,!I)},v=(O,I,q,ne)=>{if(O==null)r(I.el=a(I.children),q,ne);else{const J=I.el=O.el;I.children!==O.children&&c(J,I.children)}},C=(O,I,q,ne)=>{O==null?r(I.el=l(I.children||""),q,ne):I.el=O.el},S=(O,I,q,ne)=>{[O.el,O.anchor]=h(O.children,I,q,ne,O.el,O.anchor)},g=({el:O,anchor:I},q,ne)=>{let J;for(;O&&O!==I;)J=f(O),r(O,q,ne),O=J;r(I,q,ne)},b=({el:O,anchor:I})=>{let q;for(;O&&O!==I;)q=f(O),s(O),O=q;s(I)},E=(O,I,q,ne,J,ie,pe,T,A)=>{I.type==="svg"?pe="svg":I.type==="math"&&(pe="mathml"),O==null?w(I,q,ne,J,ie,pe,T,A):k(O,I,J,ie,pe,T,A)},w=(O,I,q,ne,J,ie,pe,T)=>{let A,F;const{props:se,shapeFlag:ce,transition:oe,dirs:j}=O;if(A=O.el=i(O.type,ie,se&&se.is,se),ce&8?d(A,O.children):ce&16&&N(O.children,A,null,ne,J,xd(O,ie),pe,T),j&&Vr(O,null,ne,"created"),P(A,O,O.scopeId,pe,ne),se){for(const we in se)we!=="value"&&!as(we)&&o(A,we,null,se[we],ie,ne);"value"in se&&o(A,"value",null,se.value,ie),(F=se.onVnodeBeforeMount)&&Rn(F,ne,O)}j&&Vr(O,null,ne,"beforeMount");const Z=fv(J,oe);Z&&oe.beforeEnter(A),r(A,I,q),((F=se&&se.onVnodeMounted)||Z||j)&&Xt(()=>{F&&Rn(F,ne,O),Z&&oe.enter(A),j&&Vr(O,null,ne,"mounted")},J)},P=(O,I,q,ne,J)=>{if(q&&p(O,q),ne)for(let ie=0;ie<ne.length;ie++)p(O,ne[ie]);if(J){let ie=J.subTree;if(I===ie||wc(ie.type)&&(ie.ssContent===I||ie.ssFallback===I)){const pe=J.vnode;P(O,pe,pe.scopeId,pe.slotScopeIds,J.parent)}}},N=(O,I,q,ne,J,ie,pe,T,A=0)=>{for(let F=A;F<O.length;F++){const se=O[F]=T?Is(O[F]):Dn(O[F]);_(null,se,I,q,ne,J,ie,pe,T)}},k=(O,I,q,ne,J,ie,pe)=>{const T=I.el=O.el;let{patchFlag:A,dynamicChildren:F,dirs:se}=I;A|=O.patchFlag&16;const ce=O.props||Ze,oe=I.props||Ze;let j;if(q&&no(q,!1),(j=oe.onVnodeBeforeUpdate)&&Rn(j,q,I,O),se&&Vr(I,O,q,"beforeUpdate"),q&&no(q,!0),(ce.innerHTML&&oe.innerHTML==null||ce.textContent&&oe.textContent==null)&&d(T,""),F?R(O.dynamicChildren,F,T,q,ne,xd(I,J),ie):pe||le(O,I,T,null,q,ne,xd(I,J),ie,!1),A>0){if(A&16)B(T,ce,oe,q,J);else if(A&2&&ce.class!==oe.class&&o(T,"class",null,oe.class,J),A&4&&o(T,"style",ce.style,oe.style,J),A&8){const Z=I.dynamicProps;for(let we=0;we<Z.length;we++){const V=Z[we],U=ce[V],K=oe[V];(K!==U||V==="value")&&o(T,V,U,K,J,q)}}A&1&&O.children!==I.children&&d(T,I.children)}else!pe&&F==null&&B(T,ce,oe,q,J);((j=oe.onVnodeUpdated)||se)&&Xt(()=>{j&&Rn(j,q,I,O),se&&Vr(I,O,q,"updated")},ne)},R=(O,I,q,ne,J,ie,pe)=>{for(let T=0;T<I.length;T++){const A=O[T],F=I[T],se=A.el&&(A.type===be||!Er(A,F)||A.shapeFlag&70)?m(A.el):q;_(A,F,se,null,ne,J,ie,pe,!0)}},B=(O,I,q,ne,J)=>{if(I!==q){if(I!==Ze)for(const ie in I)!as(ie)&&!(ie in q)&&o(O,ie,I[ie],null,J,ne);for(const ie in q){if(as(ie))continue;const pe=q[ie],T=I[ie];pe!==T&&ie!=="value"&&o(O,ie,T,pe,J,ne)}"value"in q&&o(O,"value",I.value,q.value,J)}},M=(O,I,q,ne,J,ie,pe,T,A)=>{const F=I.el=O?O.el:a(""),se=I.anchor=O?O.anchor:a("");let{patchFlag:ce,dynamicChildren:oe,slotScopeIds:j}=I;j&&(T=T?T.concat(j):j),O==null?(r(F,q,ne),r(se,q,ne),N(I.children||[],q,se,J,ie,pe,T,A)):ce>0&&ce&64&&oe&&O.dynamicChildren?(R(O.dynamicChildren,oe,q,J,ie,pe,T),(I.key!=null||J&&I===J.subTree)&&Yf(O,I,!0)):le(O,I,q,se,J,ie,pe,T,A)},H=(O,I,q,ne,J,ie,pe,T,A)=>{I.slotScopeIds=T,O==null?I.shapeFlag&512?J.ctx.activate(I,q,ne,pe,A):X(I,q,ne,J,ie,pe,A):ae(O,I,A)},X=(O,I,q,ne,J,ie,pe)=>{const T=O.component=Tv(O,ne,J);if(Qa(O)&&(T.ctx.renderer=ye),Ov(T,!1,pe),T.asyncDep){if(J&&J.registerDep(T,G,pe),!O.el){const A=T.subTree=z(Wt);C(null,A,I,q)}}else G(T,O,I,q,J,ie,pe)},ae=(O,I,q)=>{const ne=I.component=O.component;if(zw(O,I,q))if(ne.asyncDep&&!ne.asyncResolved){te(ne,I,q);return}else ne.next=I,ne.update();else I.el=O.el,ne.vnode=I},G=(O,I,q,ne,J,ie,pe)=>{const T=()=>{if(O.isMounted){let{next:ce,bu:oe,u:j,parent:Z,vnode:we}=O;{const _e=pv(O);if(_e){ce&&(ce.el=we.el,te(O,ce,pe)),_e.asyncDep.then(()=>{O.isUnmounted||T()});return}}let V=ce,U;no(O,!1),ce?(ce.el=we.el,te(O,ce,pe)):ce=we,oe&&vo(oe),(U=ce.props&&ce.props.onVnodeBeforeUpdate)&&Rn(U,Z,ce,we),no(O,!0);const K=Xl(O),re=O.subTree;O.subTree=K,_(re,K,m(re.el),Y(re),O,J,ie),ce.el=K.el,V===null&&wu(O,K.el),j&&Xt(j,J),(U=ce.props&&ce.props.onVnodeUpdated)&&Xt(()=>Rn(U,Z,ce,we),J)}else{let ce;const{el:oe,props:j}=I,{bm:Z,m:we,parent:V,root:U,type:K}=O,re=Us(I);if(no(O,!1),Z&&vo(Z),!re&&(ce=j&&j.onVnodeBeforeMount)&&Rn(ce,V,I),no(O,!0),oe&&Xe){const _e=()=>{O.subTree=Xl(O),Xe(oe,O.subTree,O,J,null)};re&&K.__asyncHydrate?K.__asyncHydrate(oe,O,_e):_e()}else{U.ce&&U.ce._injectChildStyle(K);const _e=O.subTree=Xl(O);_(null,_e,q,ne,O,J,ie),I.el=_e.el}if(we&&Xt(we,J),!re&&(ce=j&&j.onVnodeMounted)){const _e=I;Xt(()=>Rn(ce,V,_e),J)}(I.shapeFlag&256||V&&Us(V.vnode)&&V.vnode.shapeFlag&256)&&O.a&&Xt(O.a,J),O.isMounted=!0,I=q=ne=null}};O.scope.on();const A=O.effect=new ka(T);O.scope.off();const F=O.update=A.run.bind(A),se=O.job=A.runIfDirty.bind(A);se.i=O,se.id=O.uid,A.scheduler=()=>Mf(se),no(O,!0),F()},te=(O,I,q)=>{I.component=O;const ne=O.vnode.props;O.vnode=I,O.next=null,lw(O,I.props,ne,q),mw(O,I.children,q),Zs(),fh(O),Js()},le=(O,I,q,ne,J,ie,pe,T,A=!1)=>{const F=O&&O.children,se=O?O.shapeFlag:0,ce=I.children,{patchFlag:oe,shapeFlag:j}=I;if(oe>0){if(oe&128){Qe(F,ce,q,ne,J,ie,pe,T,A);return}else if(oe&256){Ae(F,ce,q,ne,J,ie,pe,T,A);return}}j&8?(se&16&&Ge(F,J,ie),ce!==F&&d(q,ce)):se&16?j&16?Qe(F,ce,q,ne,J,ie,pe,T,A):Ge(F,J,ie,!0):(se&8&&d(q,""),j&16&&N(ce,q,ne,J,ie,pe,T,A))},Ae=(O,I,q,ne,J,ie,pe,T,A)=>{O=O||_o,I=I||_o;const F=O.length,se=I.length,ce=Math.min(F,se);let oe;for(oe=0;oe<ce;oe++){const j=I[oe]=A?Is(I[oe]):Dn(I[oe]);_(O[oe],j,q,null,J,ie,pe,T,A)}F>se?Ge(O,J,ie,!0,!1,ce):N(I,q,ne,J,ie,pe,T,A,ce)},Qe=(O,I,q,ne,J,ie,pe,T,A)=>{let F=0;const se=I.length;let ce=O.length-1,oe=se-1;for(;F<=ce&&F<=oe;){const j=O[F],Z=I[F]=A?Is(I[F]):Dn(I[F]);if(Er(j,Z))_(j,Z,q,null,J,ie,pe,T,A);else break;F++}for(;F<=ce&&F<=oe;){const j=O[ce],Z=I[oe]=A?Is(I[oe]):Dn(I[oe]);if(Er(j,Z))_(j,Z,q,null,J,ie,pe,T,A);else break;ce--,oe--}if(F>ce){if(F<=oe){const j=oe+1,Z=j<se?I[j].el:ne;for(;F<=oe;)_(null,I[F]=A?Is(I[F]):Dn(I[F]),q,Z,J,ie,pe,T,A),F++}}else if(F>oe)for(;F<=ce;)je(O[F],J,ie,!0),F++;else{const j=F,Z=F,we=new Map;for(F=Z;F<=oe;F++){const Fe=I[F]=A?Is(I[F]):Dn(I[F]);Fe.key!=null&&we.set(Fe.key,F)}let V,U=0;const K=oe-Z+1;let re=!1,_e=0;const Te=new Array(K);for(F=0;F<K;F++)Te[F]=0;for(F=j;F<=ce;F++){const Fe=O[F];if(U>=K){je(Fe,J,ie,!0);continue}let at;if(Fe.key!=null)at=we.get(Fe.key);else for(V=Z;V<=oe;V++)if(Te[V-Z]===0&&Er(Fe,I[V])){at=V;break}at===void 0?je(Fe,J,ie,!0):(Te[at-Z]=F+1,at>=_e?_e=at:re=!0,_(Fe,I[at],q,null,J,ie,pe,T,A),U++)}const Ve=re?fw(Te):_o;for(V=Ve.length-1,F=K-1;F>=0;F--){const Fe=Z+F,at=I[Fe],Ie=Fe+1<se?I[Fe+1].el:ne;Te[F]===0?_(null,at,q,Ie,J,ie,pe,T,A):re&&(V<0||F!==Ve[V]?De(at,q,Ie,2):V--)}}},De=(O,I,q,ne,J=null)=>{const{el:ie,type:pe,transition:T,children:A,shapeFlag:F}=O;if(F&6){De(O.component.subTree,I,q,ne);return}if(F&128){O.suspense.move(I,q,ne);return}if(F&64){pe.move(O,I,q,ye);return}if(pe===be){r(ie,I,q);for(let ce=0;ce<A.length;ce++)De(A[ce],I,q,ne);r(O.anchor,I,q);return}if(pe===Co){g(O,I,q);return}if(ne!==2&&F&1&&T)if(ne===0)T.beforeEnter(ie),r(ie,I,q),Xt(()=>T.enter(ie),J);else{const{leave:ce,delayLeave:oe,afterLeave:j}=T,Z=()=>r(ie,I,q),we=()=>{ce(ie,()=>{Z(),j&&j()})};oe?oe(ie,Z,we):we()}else r(ie,I,q)},je=(O,I,q,ne=!1,J=!1)=>{const{type:ie,props:pe,ref:T,children:A,dynamicChildren:F,shapeFlag:se,patchFlag:ce,dirs:oe,cacheIndex:j}=O;if(ce===-2&&(J=!1),T!=null&&Na(T,null,q,O,!0),j!=null&&(I.renderCache[j]=void 0),se&256){I.ctx.deactivate(O);return}const Z=se&1&&oe,we=!Us(O);let V;if(we&&(V=pe&&pe.onVnodeBeforeUnmount)&&Rn(V,I,O),se&6)gt(O.component,q,ne);else{if(se&128){O.suspense.unmount(q,ne);return}Z&&Vr(O,null,I,"beforeUnmount"),se&64?O.type.remove(O,I,q,ye,ne):F&&!F.hasOnce&&(ie!==be||ce>0&&ce&64)?Ge(F,I,q,!1,!0):(ie===be&&ce&384||!J&&se&16)&&Ge(A,I,q),ne&&ft(O)}(we&&(V=pe&&pe.onVnodeUnmounted)||Z)&&Xt(()=>{V&&Rn(V,I,O),Z&&Vr(O,null,I,"unmounted")},q)},ft=O=>{const{type:I,el:q,anchor:ne,transition:J}=O;if(I===be){pt(q,ne);return}if(I===Co){b(O);return}const ie=()=>{s(q),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(O.shapeFlag&1&&J&&!J.persisted){const{leave:pe,delayLeave:T}=J,A=()=>pe(q,ie);T?T(O.el,ie,A):A()}else ie()},pt=(O,I)=>{let q;for(;O!==I;)q=f(O),s(O),O=q;s(I)},gt=(O,I,q)=>{const{bum:ne,scope:J,job:ie,subTree:pe,um:T,m:A,a:F}=O;Ec(A),Ec(F),ne&&vo(ne),J.stop(),ie&&(ie.flags|=8,je(pe,O,I,q)),T&&Xt(T,I),Xt(()=>{O.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},Ge=(O,I,q,ne=!1,J=!1,ie=0)=>{for(let pe=ie;pe<O.length;pe++)je(O[pe],I,q,ne,J)},Y=O=>{if(O.shapeFlag&6)return Y(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const I=f(O.anchor||O.el),q=I&&I[P1];return q?f(q):I};let fe=!1;const de=(O,I,q)=>{O==null?I._vnode&&je(I._vnode,null,null,!0):_(I._vnode||null,O,I,null,null,null,q),I._vnode=O,fe||(fe=!0,fh(),Cc(),fe=!1)},ye={p:_,um:je,m:De,r:ft,mt:X,mc:N,pc:le,pbc:R,n:Y,o:e};let Be,Xe;return t&&([Be,Xe]=t(ye)),{render:de,hydrate:Be,createApp:iw(de,Be)}}function xd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function no({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yf(e,t,n=!1){const r=e.children,s=t.children;if(ve(r)&&ve(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Is(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Yf(i,a)),a.type===ls&&(a.el=i.el)}}function fw(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function pv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pv(t)}function Ec(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const hv=Symbol.for("v-scx"),_v=()=>lr(hv);function gv(e,t){return tl(e,null,t)}function pw(e,t){return tl(e,null,{flush:"post"})}function yv(e,t){return tl(e,null,{flush:"sync"})}function Zn(e,t,n){return tl(e,t,n)}function tl(e,t,n=Ze){const{immediate:r,deep:s,flush:o,once:i}=n,a=Je({},n),l=t&&r||!t&&o!=="post";let c;if(hi){if(o==="sync"){const p=_v();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=tn,p.resume=tn,p.pause=tn,p}}const d=Yt;a.call=(p,h,_)=>dr(p,d,h,_);let m=!1;o==="post"?a.scheduler=p=>{Xt(p,d&&d.suspense)}:o!=="sync"&&(m=!0,a.scheduler=(p,h)=>{h?p():Mf(p)}),a.augmentJob=p=>{t&&(p.flags|=4),m&&(p.flags|=2,d&&(p.id=d.uid,p.i=d))};const f=aE(e,t,a);return hi&&(c?c.push(f):l&&f()),f}function hw(e,t,n){const r=this.proxy,s=Re(e)?e.includes(".")?vv(r,e):()=>r[e]:e.bind(r,r);let o;$e(t)?o=t:(o=t.handler,n=t);const i=xo(this),a=tl(s,o.bind(r),n);return i(),a}function vv(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function _w(e,t,n=Ze){const r=On(),s=zt(t),o=pn(t),i=bv(e,s),a=w1((l,c)=>{let d,m=Ze,f;return yv(()=>{const p=e[s];dn(d,p)&&(d=p,c())}),{get(){return l(),n.get?n.get(d):d},set(p){const h=n.set?n.set(p):p;if(!dn(h,d)&&!(m!==Ze&&dn(p,m)))return;const _=r.vnode.props;_&&(t in _||s in _||o in _)&&(`onUpdate:${t}`in _||`onUpdate:${s}`in _||`onUpdate:${o}`in _)||(d=p,c()),r.emit(`update:${t}`,h),dn(p,h)&&dn(p,m)&&!dn(h,f)&&c(),m=p,f=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Ze:a,done:!1}:{done:!0}}}},a}const bv=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${zt(t)}Modifiers`]||e[`${pn(t)}Modifiers`];function gw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ze;let s=n;const o=t.startsWith("update:"),i=o&&bv(r,t.slice(7));i&&(i.trim&&(s=n.map(d=>Re(d)?d.trim():d)),i.number&&(s=n.map(Ea)));let a,l=r[a=yo(t)]||r[a=yo(zt(t))];!l&&o&&(l=r[a=yo(pn(t))]),l&&dr(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,dr(c,e,6,s)}}function zv(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!$e(e)){const l=c=>{const d=zv(c,t,!0);d&&(a=!0,Je(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(mt(e)&&r.set(e,null),null):(ve(o)?o.forEach(l=>i[l]=null):Je(i,o),mt(e)&&r.set(e,i),i)}function Eu(e,t){return!e||!Ks(t)?!1:(t=t.slice(2).replace(/Once$/,""),lt(e,t[0].toLowerCase()+t.slice(1))||lt(e,pn(t))||lt(e,t))}function Xl(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:d,props:m,data:f,setupState:p,ctx:h,inheritAttrs:_}=e,v=$a(e);let C,S;try{if(n.shapeFlag&4){const b=s||r,E=b;C=Dn(c.call(E,b,d,m,p,f,h)),S=a}else{const b=t;C=Dn(b.length>1?b(m,{attrs:a,slots:i,emit:l}):b(m,null)),S=t.props?a:vw(a)}}catch(b){ma.length=0,Lo(b,e,1),C=z(Wt)}let g=C;if(S&&_!==!1){const b=Object.keys(S),{shapeFlag:E}=g;b.length&&E&7&&(o&&b.some(ou)&&(S=bw(S,o)),g=Wr(g,S,!1,!0))}return n.dirs&&(g=Wr(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&fs(g,n.transition),C=g,$a(v),C}function yw(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(ps(s)){if(s.type!==Wt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const vw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ks(n))&&((t||(t={}))[n]=e[n]);return t},bw=(e,t)=>{const n={};for(const r in e)(!ou(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zw(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?wh(r,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let m=0;m<d.length;m++){const f=d[m];if(i[f]!==r[f]&&!Eu(c,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?wh(r,i,c):!0:!!i;return!1}function wh(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Eu(n,o))return!0}return!1}function wu({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const wc=e=>e.__isSuspense;let Om=0;const Cw={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(e==null)Ew(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ww(e,t,n,r,s,i,a,l,c)}},hydrate:kw,normalize:xw},Sw=Cw;function Pa(e,t){const n=e.props&&e.props[t];$e(n)&&n()}function Ew(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:d}}=l,m=d("div"),f=e.suspense=Cv(e,s,r,t,m,n,o,i,a,l);c(null,f.pendingBranch=e.ssContent,m,null,r,f,o,i),f.deps>0?(Pa(e,"onPending"),Pa(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),ui(f,e.ssFallback)):f.resolve(!1,!0)}function ww(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:d}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:v,isHydrating:C}=m;if(_)m.pendingBranch=f,Er(f,_)?(l(_,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():v&&(C||(l(h,p,n,r,s,null,o,i,a),ui(m,p)))):(m.pendingId=Om++,C?(m.isHydrating=!1,m.activeBranch=_):c(_,s,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),v?(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():(l(h,p,n,r,s,null,o,i,a),ui(m,p))):h&&Er(f,h)?(l(h,f,n,r,s,m,o,i,a),m.resolve(!0)):(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0&&m.resolve()));else if(h&&Er(f,h))l(h,f,n,r,s,m,o,i,a),ui(m,f);else if(Pa(t,"onPending"),m.pendingBranch=f,f.shapeFlag&512?m.pendingId=f.component.suspenseId:m.pendingId=Om++,l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0)m.resolve();else{const{timeout:S,pendingId:g}=m;S>0?setTimeout(()=>{m.pendingId===g&&m.fallback(p)},S):S===0&&m.fallback(p)}}function Cv(e,t,n,r,s,o,i,a,l,c,d=!1){const{p:m,m:f,um:p,n:h,o:{parentNode:_,remove:v}}=c;let C;const S=Tw(e);S&&t&&t.pendingBranch&&(C=t.pendingId,t.deps++);const g=e.props?wa(e.props.timeout):void 0,b=o,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Om++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(w=!1,P=!1){const{vnode:N,activeBranch:k,pendingBranch:R,pendingId:B,effects:M,parentComponent:H,container:X}=E;let ae=!1;E.isHydrating?E.isHydrating=!1:w||(ae=k&&R.transition&&R.transition.mode==="out-in",ae&&(k.transition.afterLeave=()=>{B===E.pendingId&&(f(R,X,o===b?h(k):o,0),Aa(M))}),k&&(_(k.el)===X&&(o=h(k)),p(k,H,E,!0)),ae||f(R,X,o,0)),ui(E,R),E.pendingBranch=null,E.isInFallback=!1;let G=E.parent,te=!1;for(;G;){if(G.pendingBranch){G.effects.push(...M),te=!0;break}G=G.parent}!te&&!ae&&Aa(M),E.effects=[],S&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Pa(N,"onResolve")},fallback(w){if(!E.pendingBranch)return;const{vnode:P,activeBranch:N,parentComponent:k,container:R,namespace:B}=E;Pa(P,"onFallback");const M=h(N),H=()=>{E.isInFallback&&(m(null,w,R,M,k,null,B,a,l),ui(E,w))},X=w.transition&&w.transition.mode==="out-in";X&&(N.transition.afterLeave=H),E.isInFallback=!0,p(N,k,null,!0),X||H()},move(w,P,N){E.activeBranch&&f(E.activeBranch,w,P,N),E.container=w},next(){return E.activeBranch&&h(E.activeBranch)},registerDep(w,P,N){const k=!!E.pendingBranch;k&&E.deps++;const R=w.vnode.el;w.asyncDep.catch(B=>{Lo(B,w,0)}).then(B=>{if(w.isUnmounted||E.isUnmounted||E.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:M}=w;Pm(w,B,!1),R&&(M.el=R);const H=!R&&w.subTree.el;P(w,M,_(R||w.subTree.el),R?null:h(w.subTree),E,i,N),H&&v(H),wu(w,M.el),k&&--E.deps===0&&E.resolve()})},unmount(w,P){E.isUnmounted=!0,E.activeBranch&&p(E.activeBranch,n,w,P),E.pendingBranch&&p(E.pendingBranch,n,w,P)}};return E}function kw(e,t,n,r,s,o,i,a,l){const c=t.suspense=Cv(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),d}function xw(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=kh(r?n.default:n),e.ssFallback=r?kh(n.fallback):z(Wt)}function kh(e){let t;if($e(e)){const n=ko&&e._c;n&&(e._d=!1,x()),e=e(),n&&(e._d=!0,t=yn,Ev())}return ve(e)&&(e=yw(e)),e=Dn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Sv(e,t){t&&t.pendingBranch?ve(e)?t.effects.push(...e):t.effects.push(e):Aa(e)}function ui(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,wu(r,s))}function Tw(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const be=Symbol.for("v-fgt"),ls=Symbol.for("v-txt"),Wt=Symbol.for("v-cmt"),Co=Symbol.for("v-stc"),ma=[];let yn=null;function x(e=!1){ma.push(yn=e?null:[])}function Ev(){ma.pop(),yn=ma[ma.length-1]||null}let ko=1;function $m(e,t=!1){ko+=e,e<0&&yn&&t&&(yn.hasOnce=!0)}function wv(e){return e.dynamicChildren=ko>0?yn||_o:null,Ev(),ko>0&&yn&&yn.push(e),e}function L(e,t,n,r,s,o){return wv(u(e,t,n,r,s,o,!0))}function ze(e,t,n,r,s){return wv(z(e,t,n,r,s,!0))}function ps(e){return e?e.__v_isVNode===!0:!1}function Er(e,t){return e.type===t.type&&e.key===t.key}function Aw(e){}const kv=({key:e})=>e??null,Yl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Ot(e)||$e(e)?{i:Zt,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,r=0,s=null,o=e===be?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kv(t),ref:t&&Yl(t),scopeId:yu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Zt};return a?(Zf(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Re(n)?8:16),ko>0&&!i&&yn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&yn.push(l),l}const z=Ow;function Ow(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Y1)&&(e=Wt),ps(e)){const a=Wr(e,t,!0);return n&&Zf(a,n),ko>0&&!o&&yn&&(a.shapeFlag&6?yn[yn.indexOf(e)]=a:yn.push(a)),a.patchFlag=-2,a}if(Mw(e)&&(e=e.__vccOpts),t){t=xv(t);let{class:a,style:l}=t;a&&!Re(a)&&(t.class=Ce(a)),mt(l)&&(hu(l)&&!ve(l)&&(l=Je({},l)),t.style=_s(l))}const i=Re(e)?1:wc(e)?128:L1(e)?64:mt(e)?4:$e(e)?2:0;return u(e,t,n,r,s,i,o,!0)}function xv(e){return e?hu(e)||rv(e)?Je({},e):e:null}function Wr(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?ii(s||{},t):s,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&kv(c),ref:t&&t.ref?n&&o?ve(o)?o.concat(Yl(t)):[o,Yl(t)]:Yl(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==be?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wr(e.ssContent),ssFallback:e.ssFallback&&Wr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&fs(d,l.clone(d)),d}function Kt(e=" ",t=0){return z(ls,null,e,t)}function $w(e,t){const n=z(Co,null,e);return n.staticCount=t,n}function ee(e="",t=!1){return t?(x(),ze(Wt,null,e)):z(Wt,null,e)}function Dn(e){return e==null||typeof e=="boolean"?z(Wt):ve(e)?z(be,null,e.slice()):ps(e)?Is(e):z(ls,null,String(e))}function Is(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wr(e)}function Zf(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ve(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Zf(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!rv(t)?t._ctx=Zt:s===3&&Zt&&(Zt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $e(t)?(t={default:t,_ctx:Zt},n=32):(t=String(t),r&64?(n=16,t=[Kt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ii(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Ce([t.class,r.class]));else if(s==="style")t.style=_s([t.style,r.style]);else if(Ks(s)){const o=t[s],i=r[s];i&&o!==i&&!(ve(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Rn(e,t,n,r=null){dr(e,t,7,[n,r])}const Nw=Q1();let Iw=0;function Tv(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Nw,o={uid:Iw++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Of(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ov(r,s),emitsOptions:zv(r,s),emit:null,emitted:null,propsDefaults:Ze,inheritAttrs:r.inheritAttrs,ctx:Ze,data:Ze,props:Ze,attrs:Ze,slots:Ze,refs:Ze,setupState:Ze,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=gw.bind(null,o),e.ce&&e.ce(o),o}let Yt=null;const On=()=>Yt||Zt;let kc,Nm;{const e=Za(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};kc=t("__VUE_INSTANCE_SETTERS__",n=>Yt=n),Nm=t("__VUE_SSR_SETTERS__",n=>hi=n)}const xo=e=>{const t=Yt;return kc(e),e.scope.on(),()=>{e.scope.off(),kc(t)}},Im=()=>{Yt&&Yt.scope.off(),kc(null)};function Av(e){return e.vnode.shapeFlag&4}let hi=!1;function Ov(e,t=!1,n=!1){t&&Nm(t);const{props:r,children:s}=e.vnode,o=Av(e);aw(e,r,o,t),dw(e,s,n);const i=o?Pw(e,t):void 0;return t&&Nm(!1),i}function Pw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,km);const{setup:r}=n;if(r){Zs();const s=e.setupContext=r.length>1?Nv(e):null,o=xo(e),i=$i(r,e,0,[e.props,s]),a=au(i);if(Js(),o(),(a||e.sp)&&!Us(e)&&Hf(e),a){if(i.then(Im,Im),t)return i.then(l=>{Pm(e,l,t)}).catch(l=>{Lo(l,e,0)});e.asyncDep=i}else Pm(e,i,t)}else $v(e,t)}function Pm(e,t,n){$e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mt(t)&&(e.setupState=Df(t)),$v(e,n)}let xc,Lm;function Lw(e){xc=e,Lm=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,VE))}}const Rw=()=>!xc;function $v(e,t,n){const r=e.type;if(!e.render){if(!t&&xc&&!r.render){const s=r.template||Kf(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Je(Je({isCustomElement:o,delimiters:a},i),l);r.render=xc(s,c)}}e.render=r.render||tn,Lm&&Lm(e)}{const s=xo(e);Zs();try{ew(e)}finally{Js(),s()}}}const Dw={get(e,t){return mn(e,"get",""),e[t]}};function Nv(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Dw),slots:e.slots,emit:e.emit,expose:t}}function nl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Df(_u(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ua)return ua[n](e)},has(t,n){return n in t||n in ua}})):e.proxy}function Rm(e,t=!0){return $e(e)?e.displayName||e.name:e.name||t&&e.__name}function Mw(e){return $e(e)&&"__vccOpts"in e}const en=(e,t)=>rE(e,t,hi);function Ur(e,t,n){const r=arguments.length;return r===2?mt(t)&&!ve(t)?ps(t)?z(e,null,[t]):z(e,t):z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ps(n)&&(n=[n]),z(e,t,n))}function Fw(){}function Vw(e,t,n,r){const s=n[r];if(s&&Iv(s,e))return s;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function Iv(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(dn(n[r],t[r]))return!1;return ko>0&&yn&&yn.push(e),!0}const Pv="3.5.13",Hw=tn,Uw=mE,jw=Zo,Bw=I1,qw={createComponentInstance:Tv,setupComponent:Ov,renderComponentRoot:Xl,setCurrentRenderingInstance:$a,isVNode:ps,normalizeVNode:Dn,getComponentPublicInstance:nl,ensureValidVNode:Gf,pushWarningContext:lE,popWarningContext:cE},Ww=qw,Gw=null,Kw=null,Xw=null;/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Dm;const xh=typeof window<"u"&&window.trustedTypes;if(xh)try{Dm=xh.createPolicy("vue",{createHTML:e=>e})}catch{}const Lv=Dm?e=>Dm.createHTML(e):e=>e,Yw="http://www.w3.org/2000/svg",Zw="http://www.w3.org/1998/Math/MathML",ts=typeof document<"u"?document:null,Th=ts&&ts.createElement("template"),Jw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?ts.createElementNS(Yw,e):t==="mathml"?ts.createElementNS(Zw,e):n?ts.createElement(e,{is:n}):ts.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ts.createTextNode(e),createComment:e=>ts.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ts.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Th.innerHTML=Lv(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Th.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]}},zs="transition",ji="animation",_i=Symbol("_vtc"),Rv={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},Dv=Je({},Vf,Rv),Qw=e=>(e.displayName="Transition",e.props=Dv,e),rn=Qw((e,{slots:t})=>Ur(V1,Mv(e),t)),ro=(e,t=[])=>{ve(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ah=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function Mv(e){const t={};for(const M in e)M in Rv||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=ek(s),_=h&&h[0],v=h&&h[1],{onBeforeEnter:C,onEnter:S,onEnterCancelled:g,onLeave:b,onLeaveCancelled:E,onBeforeAppear:w=C,onAppear:P=S,onAppearCancelled:N=g}=t,k=(M,H,X,ae)=>{M._enterCancelled=ae,Ts(M,H?d:a),Ts(M,H?c:i),X&&X()},R=(M,H)=>{M._isLeaving=!1,Ts(M,m),Ts(M,p),Ts(M,f),H&&H()},B=M=>(H,X)=>{const ae=M?P:S,G=()=>k(H,M,X);ro(ae,[H,G]),Oh(()=>{Ts(H,M?l:o),Dr(H,M?d:a),Ah(ae)||$h(H,r,_,G)})};return Je(t,{onBeforeEnter(M){ro(C,[M]),Dr(M,o),Dr(M,i)},onBeforeAppear(M){ro(w,[M]),Dr(M,l),Dr(M,c)},onEnter:B(!1),onAppear:B(!0),onLeave(M,H){M._isLeaving=!0;const X=()=>R(M,H);Dr(M,m),M._enterCancelled?(Dr(M,f),Mm()):(Mm(),Dr(M,f)),Oh(()=>{M._isLeaving&&(Ts(M,m),Dr(M,p),Ah(b)||$h(M,r,v,X))}),ro(b,[M,X])},onEnterCancelled(M){k(M,!1,void 0,!0),ro(g,[M])},onAppearCancelled(M){k(M,!0,void 0,!0),ro(N,[M])},onLeaveCancelled(M){R(M),ro(E,[M])}})}function ek(e){if(e==null)return null;if(mt(e))return[Td(e.enter),Td(e.leave)];{const t=Td(e);return[t,t]}}function Td(e){return wa(e)}function Dr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[_i]||(e[_i]=new Set)).add(t)}function Ts(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[_i];n&&(n.delete(t),n.size||(e[_i]=void 0))}function Oh(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tk=0;function $h(e,t,n,r){const s=e._endId=++tk,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Fv(e,t);if(!i)return r();const c=i+"end";let d=0;const m=()=>{e.removeEventListener(c,f),o()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(c,f)}function Fv(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${zs}Delay`),o=r(`${zs}Duration`),i=Nh(s,o),a=r(`${ji}Delay`),l=r(`${ji}Duration`),c=Nh(a,l);let d=null,m=0,f=0;t===zs?i>0&&(d=zs,m=i,f=o.length):t===ji?c>0&&(d=ji,m=c,f=l.length):(m=Math.max(i,c),d=m>0?i>c?zs:ji:null,f=d?d===zs?o.length:l.length:0);const p=d===zs&&/\b(transform|all)(,|$)/.test(r(`${zs}Property`).toString());return{type:d,timeout:m,propCount:f,hasTransform:p}}function Nh(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ih(n)+Ih(e[r])))}function Ih(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Mm(){return document.body.offsetHeight}function nk(e,t,n){const r=e[_i];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Tc=Symbol("_vod"),Vv=Symbol("_vsh"),La={beforeMount(e,{value:t},{transition:n}){e[Tc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Bi(e,!0),r.enter(e)):r.leave(e,()=>{Bi(e,!1)}):Bi(e,t))},beforeUnmount(e,{value:t}){Bi(e,t)}};function Bi(e,t){e.style.display=t?e[Tc]:"none",e[Vv]=!t}function rk(){La.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Hv=Symbol("");function sk(e){const t=On();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Ac(o,s))},r=()=>{const s=e(t.proxy);t.ce?Ac(t.ce,s):Fm(t.subTree,s),n(s)};Uf(()=>{Aa(r)}),Ni(()=>{Zn(r,tn,{flush:"post"});const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),el(()=>s.disconnect())})}function Fm(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Fm(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ac(e.el,t);else if(e.type===be)e.children.forEach(n=>Fm(n,t));else if(e.type===Co){let{el:n,anchor:r}=e;for(;n&&(Ac(n,t),n!==r);)n=n.nextSibling}}function Ac(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t)n.setProperty(`--${s}`,t[s]),r+=`--${s}: ${t[s]};`;n[Hv]=r}}const ok=/(^|;)\s*display\s*:/;function ik(e,t,n){const r=e.style,s=Re(n);let o=!1;if(n&&!s){if(t)if(Re(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Zl(r,a,"")}else for(const i in t)n[i]==null&&Zl(r,i,"");for(const i in n)i==="display"&&(o=!0),Zl(r,i,n[i])}else if(s){if(t!==n){const i=r[Hv];i&&(n+=";"+i),r.cssText=n,o=ok.test(n)}}else t&&e.removeAttribute("style");Tc in e&&(e[Tc]=o?r.display:"",e[Vv]&&(r.display="none"))}const Ph=/\s*!important$/;function Zl(e,t,n){if(ve(n))n.forEach(r=>Zl(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ak(e,t);Ph.test(n)?e.setProperty(pn(r),n.replace(Ph,""),"important"):e[r]=n}}const Lh=["Webkit","Moz","ms"],Ad={};function ak(e,t){const n=Ad[t];if(n)return n;let r=zt(t);if(r!=="filter"&&r in e)return Ad[t]=r;r=Ys(r);for(let s=0;s<Lh.length;s++){const o=Lh[s]+r;if(o in e)return Ad[t]=o}return t}const Rh="http://www.w3.org/1999/xlink";function Dh(e,t,n,r,s,o=s1(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Rh,t.slice(6,t.length)):e.setAttributeNS(Rh,t,n):n==null||o&&!Af(n)?e.removeAttribute(t):e.setAttribute(t,o?"":An(n)?String(n):n)}function Mh(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Lv(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Af(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function ss(e,t,n,r){e.addEventListener(t,n,r)}function lk(e,t,n,r){e.removeEventListener(t,n,r)}const Fh=Symbol("_vei");function ck(e,t,n,r,s=null){const o=e[Fh]||(e[Fh]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=uk(t);if(r){const c=o[t]=fk(r,s);ss(e,a,c,l)}else i&&(lk(e,a,i,l),o[t]=void 0)}}const Vh=/(?:Once|Passive|Capture)$/;function uk(e){let t;if(Vh.test(e)){t={};let r;for(;r=e.match(Vh);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pn(e.slice(2)),t]}let Od=0;const dk=Promise.resolve(),mk=()=>Od||(dk.then(()=>Od=0),Od=Date.now());function fk(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;dr(pk(r,n.value),t,5,[r])};return n.value=e,n.attached=mk(),n}function pk(e,t){if(ve(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Hh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hk=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?nk(e,r,i):t==="style"?ik(e,n,r):Ks(t)?ou(t)||ck(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_k(e,t,r,i))?(Mh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Dh(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Re(r))?Mh(e,zt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Dh(e,t,r,i))};function _k(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hh(t)&&$e(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Hh(t)&&Re(n)?!1:t in e}const Uh={};/*! #__NO_SIDE_EFFECTS__ */function Uv(e,t,n){const r=gs(e,t);Ya(r)&&Je(r,t);class s extends ku{constructor(i){super(r,i,n)}}return s.def=r,s}/*! #__NO_SIDE_EFFECTS__ */const gk=(e,t)=>Uv(e,t,Qv),yk=typeof HTMLElement<"u"?HTMLElement:class{};class ku extends yk{constructor(t,n={},r=$c){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==$c?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof ku){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Ro(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:i}=r;let a;if(o&&!ve(o))for(const l in o){const c=o[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=wa(this._props[l])),(a||(a=Object.create(null)))[zt(l)]=!0)}this._numberProps=a,s&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)lt(this,r)||Object.defineProperty(this,r,{get:()=>Fn(n[r])})}_resolveProps(t){const{props:n}=t,r=ve(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&r.includes(s)&&this._setProp(s,this[s]);for(const s of r.map(zt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):Uh;const s=zt(t);n&&this._numberProps&&this._numberProps[s]&&(r=wa(r)),this._setProp(s,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!1){if(n!==this._props[t]&&(n===Uh?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),r)){const o=this._ob;o&&o.disconnect(),n===!0?this.setAttribute(pn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(pn(t),n+""):n||this.removeAttribute(pn(t)),o&&o.observe(this,{attributes:!0})}}_update(){Jv(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=z(this._def,Je(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const s=(o,i)=>{this.dispatchEvent(new CustomEvent(o,Ya(i[0])?Je({detail:i},i[0]):{detail:i}))};r.emit=(o,...i)=>{s(o,i),pn(o)!==o&&s(pn(o),i)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let s=t.length-1;s>=0;s--){const o=document.createElement("style");r&&o.setAttribute("nonce",r),o.textContent=t[s],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const s=t[r],o=s.getAttribute("name")||"default",i=this._slots[o],a=s.parentNode;if(i)for(const l of i){if(n&&l.nodeType===1){const c=n+"-s",d=document.createTreeWalker(l,1);l.setAttribute(c,"");let m;for(;m=d.nextNode();)m.setAttribute(c,"")}a.insertBefore(l,s)}else for(;s.firstChild;)a.insertBefore(s.firstChild,s);a.removeChild(s)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function jv(e){const t=On(),n=t&&t.ce;return n||null}function vk(){const e=jv();return e&&e.shadowRoot}function bk(e="$style"){{const t=On();if(!t)return Ze;const n=t.type.__cssModules;if(!n)return Ze;const r=n[e];return r||Ze}}const Bv=new WeakMap,qv=new WeakMap,Oc=Symbol("_moveCb"),jh=Symbol("_enterCb"),zk=e=>(delete e.props.mode,e),Ck=zk({name:"TransitionGroup",props:Je({},Dv,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=On(),r=Ff();let s,o;return zu(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!xk(s[0].el,n.vnode.el,i))return;s.forEach(Ek),s.forEach(wk);const a=s.filter(kk);Mm(),a.forEach(l=>{const c=l.el,d=c.style;Dr(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const m=c[Oc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",m),c[Oc]=null,Ts(c,i))};c.addEventListener("transitionend",m)})}),()=>{const i=nt(e),a=Mv(i);let l=i.tag||be;if(s=[],o)for(let c=0;c<o.length;c++){const d=o[c];d.el&&d.el instanceof Element&&(s.push(d),fs(d,pi(d,a,r,n)),Bv.set(d,d.el.getBoundingClientRect()))}o=t.default?vu(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&fs(d,pi(d,a,r,n))}return z(l,null,o)}}}),Sk=Ck;function Ek(e){const t=e.el;t[Oc]&&t[Oc](),t[jh]&&t[jh]()}function wk(e){qv.set(e,e.el.getBoundingClientRect())}function kk(e){const t=Bv.get(e),n=qv.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function xk(e,t,n){const r=e.cloneNode(),s=e[_i];s&&s.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Fv(r);return o.removeChild(r),i}const Ws=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?n=>vo(t,n):t};function Tk(e){e.target.composing=!0}function Bh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const cr=Symbol("_assign"),Un={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[cr]=Ws(s);const o=r||s.props&&s.props.type==="number";ss(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Ea(a)),e[cr](a)}),n&&ss(e,"change",()=>{e.value=e.value.trim()}),t||(ss(e,"compositionstart",Tk),ss(e,"compositionend",Bh),ss(e,"change",Bh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[cr]=Ws(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ea(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},mr={deep:!0,created(e,t,n){e[cr]=Ws(n),ss(e,"change",()=>{const r=e._modelValue,s=gi(e),o=e.checked,i=e[cr];if(ve(r)){const a=Ja(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Xs(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Wv(e,o))})},mounted:qh,beforeUpdate(e,t,n){e[cr]=Ws(n),qh(e,t,n)}};function qh(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(ve(t))s=Ja(t,r.props.value)>-1;else if(Xs(t))s=t.has(r.props.value);else{if(t===n)return;s=ms(t,Wv(e,!0))}e.checked!==s&&(e.checked=s)}const Jf={created(e,{value:t},n){e.checked=ms(t,n.props.value),e[cr]=Ws(n),ss(e,"change",()=>{e[cr](gi(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[cr]=Ws(r),t!==n&&(e.checked=ms(t,r.props.value))}},Qf={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Xs(t);ss(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ea(gi(i)):gi(i));e[cr](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,Ro(()=>{e._assigning=!1})}),e[cr]=Ws(r)},mounted(e,{value:t}){Wh(e,t)},beforeUpdate(e,t,n){e[cr]=Ws(n)},updated(e,{value:t}){e._assigning||Wh(e,t)}};function Wh(e,t){const n=e.multiple,r=ve(t);if(!(n&&!r&&!Xs(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],a=gi(i);if(n)if(r){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(c=>String(c)===String(a)):i.selected=Ja(t,a)>-1}else i.selected=t.has(a);else if(ms(gi(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function gi(e){return"_value"in e?e._value:e.value}function Wv(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Gv={created(e,t,n){kl(e,t,n,null,"created")},mounted(e,t,n){kl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){kl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){kl(e,t,n,r,"updated")}};function Kv(e,t){switch(e){case"SELECT":return Qf;case"TEXTAREA":return Un;default:switch(t){case"checkbox":return mr;case"radio":return Jf;default:return Un}}}function kl(e,t,n,r,s){const i=Kv(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}function Ak(){Un.getSSRProps=({value:e})=>({value:e}),Jf.getSSRProps=({value:e},t)=>{if(t.props&&ms(t.props.value,e))return{checked:!0}},mr.getSSRProps=({value:e},t)=>{if(ve(e)){if(t.props&&Ja(e,t.props.value)>-1)return{checked:!0}}else if(Xs(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Gv.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Kv(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Ok=["ctrl","shift","alt","meta"],$k={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ok.some(n=>e[`${n}Key`]&&!t.includes(n))},wt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=$k[t[i]];if(a&&a(s,t))return}return e(s,...o)})},Nk={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Mn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=pn(s.key);if(t.some(i=>i===o||Nk[i]===o))return e(s)})},Xv=Je({patchProp:hk},Jw);let fa,Gh=!1;function Yv(){return fa||(fa=uv(Xv))}function Zv(){return fa=Gh?fa:dv(Xv),Gh=!0,fa}const Jv=(...e)=>{Yv().render(...e)},Ik=(...e)=>{Zv().hydrate(...e)},$c=(...e)=>{const t=Yv().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=tb(r);if(!s)return;const o=t._component;!$e(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,eb(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Qv=(...e)=>{const t=Zv().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=tb(r);if(s)return n(s,!0,eb(s))},t};function eb(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function tb(e){return Re(e)?document.querySelector(e):e}let Kh=!1;const Pk=()=>{Kh||(Kh=!0,Ak(),rk())},Lk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:V1,BaseTransitionPropsValidators:Vf,Comment:Wt,DeprecationTypes:Xw,EffectScope:Of,ErrorCodes:dE,ErrorTypeStrings:Uw,Fragment:be,KeepAlive:RE,ReactiveEffect:ka,Static:Co,Suspense:Sw,Teleport:hr,Text:ls,TrackOpTypes:sE,Transition:rn,TransitionGroup:Sk,TriggerOpTypes:oE,VueElement:ku,assertNumber:uE,callWithAsyncErrorHandling:dr,callWithErrorHandling:$i,camelize:zt,capitalize:Ys,cloneVNode:Wr,compatUtils:Kw,computed:en,createApp:$c,createBlock:ze,createCommentVNode:ee,createElementBlock:L,createElementVNode:u,createHydrationRenderer:dv,createPropsRestProxy:JE,createRenderer:uv,createSSRApp:Qv,createSlots:Wf,createStaticVNode:$w,createTextVNode:Kt,createVNode:z,customRef:w1,defineAsyncComponent:PE,defineComponent:gs,defineCustomElement:Uv,defineEmits:UE,defineExpose:jE,defineModel:WE,defineOptions:BE,defineProps:HE,defineSSRCustomElement:gk,defineSlots:qE,devtools:jw,effect:xS,effectScope:uu,getCurrentInstance:On,getCurrentScope:$f,getCurrentWatcher:iE,getTransitionRawChildren:vu,guardReactiveProps:xv,h:Ur,handleError:Lo,hasInjectionContext:ev,hydrate:Ik,hydrateOnIdle:TE,hydrateOnInteraction:NE,hydrateOnMediaQuery:$E,hydrateOnVisible:OE,initCustomFormatter:Fw,initDirectivesForSSR:Pk,inject:lr,isMemoSame:Iv,isProxy:hu,isReactive:Br,isReadonly:qs,isRef:Ot,isRuntimeOnly:Rw,isShallow:Yn,isVNode:ps,markRaw:_u,mergeDefaults:YE,mergeModels:ZE,mergeProps:ii,nextTick:Ro,normalizeClass:Ce,normalizeProps:si,normalizeStyle:_s,onActivated:U1,onBeforeMount:q1,onBeforeUnmount:Cu,onBeforeUpdate:Uf,onDeactivated:j1,onErrorCaptured:X1,onMounted:Ni,onRenderTracked:K1,onRenderTriggered:G1,onScopeDispose:l1,onServerPrefetch:W1,onUnmounted:el,onUpdated:zu,onWatcherCleanup:T1,openBlock:x,popScopeId:_E,provide:da,proxyRefs:Df,pushScopeId:hE,queuePostFlushCb:Aa,reactive:Oi,readonly:Rf,ref:ar,registerRuntimeCompiler:Lw,render:Jv,renderList:Et,renderSlot:At,resolveComponent:$,resolveDirective:Bf,resolveDynamicComponent:Su,resolveFilter:Gw,resolveTransitionHooks:pi,setBlockTracking:$m,setDevtoolsHook:Bw,setTransitionHooks:fs,shallowReactive:Lf,shallowReadonly:GS,shallowRef:gu,ssrContextKey:hv,ssrUtils:Ww,stop:TS,toDisplayString:y,toHandlerKey:yo,toHandlers:FE,toRaw:nt,toRef:tE,toRefs:k1,toValue:YS,transformVNodeArgs:Aw,triggerRef:XS,unref:Fn,useAttrs:XE,useCssModule:bk,useCssVars:sk,useHost:jv,useId:bE,useModel:_w,useSSRContext:_v,useShadowRoot:vk,useSlots:KE,useTemplateRef:zE,useTransitionState:Ff,vModelCheckbox:mr,vModelDynamic:Gv,vModelRadio:Jf,vModelSelect:Qf,vModelText:Un,vShow:La,version:Pv,warn:Hw,watch:Zn,watchEffect:gv,watchPostEffect:pw,watchSyncEffect:yv,withAsyncContext:QE,withCtx:D,withDefaults:GE,withDirectives:Ct,withKeys:Mn,withMemo:Vw,withModifiers:wt,withScopeId:gE},Symbol.toStringTag,{value:"Module"}));/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let nb;const xu=e=>nb=e,rb=Symbol();function Vm(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var pa;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(pa||(pa={}));function Rk(){const e=uu(!0),t=e.run(()=>ar({}));let n=[],r=[];const s=_u({install(o){xu(s),s._a=o,o.provide(rb,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const sb=()=>{};function Xh(e,t,n,r=sb){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&$f()&&l1(s),s}function Ho(e,...t){e.slice().forEach(n=>{n(...t)})}const Dk=e=>e(),Yh=Symbol(),$d=Symbol();function Hm(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Vm(s)&&Vm(r)&&e.hasOwnProperty(n)&&!Ot(r)&&!Br(r)?e[n]=Hm(s,r):e[n]=r}return e}const Mk=Symbol();function Fk(e){return!Vm(e)||!e.hasOwnProperty(Mk)}const{assign:As}=Object;function Vk(e){return!!(Ot(e)&&e.effect)}function Hk(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=s?s():{});const d=k1(n.state.value[e]);return As(d,o,Object.keys(i||{}).reduce((m,f)=>(m[f]=_u(en(()=>{xu(n);const p=n._s.get(e);return i[f].call(p,p)})),m),{}))}return l=ob(e,c,t,n,r,!0),l}function ob(e,t,n={},r,s,o){let i;const a=As({actions:{}},n),l={deep:!0};let c,d,m=[],f=[],p;const h=r.state.value[e];!o&&!h&&(r.state.value[e]={}),ar({});let _;function v(N){let k;c=d=!1,typeof N=="function"?(N(r.state.value[e]),k={type:pa.patchFunction,storeId:e,events:p}):(Hm(r.state.value[e],N),k={type:pa.patchObject,payload:N,storeId:e,events:p});const R=_=Symbol();Ro().then(()=>{_===R&&(c=!0)}),d=!0,Ho(m,k,r.state.value[e])}const C=o?function(){const{state:k}=n,R=k?k():{};this.$patch(B=>{As(B,R)})}:sb;function S(){i.stop(),m=[],f=[],r._s.delete(e)}const g=(N,k="")=>{if(Yh in N)return N[$d]=k,N;const R=function(){xu(r);const B=Array.from(arguments),M=[],H=[];function X(te){M.push(te)}function ae(te){H.push(te)}Ho(f,{args:B,name:R[$d],store:E,after:X,onError:ae});let G;try{G=N.apply(this&&this.$id===e?this:E,B)}catch(te){throw Ho(H,te),te}return G instanceof Promise?G.then(te=>(Ho(M,te),te)).catch(te=>(Ho(H,te),Promise.reject(te))):(Ho(M,G),G)};return R[Yh]=!0,R[$d]=k,R},b={_p:r,$id:e,$onAction:Xh.bind(null,f),$patch:v,$reset:C,$subscribe(N,k={}){const R=Xh(m,N,k.detached,()=>B()),B=i.run(()=>Zn(()=>r.state.value[e],M=>{(k.flush==="sync"?d:c)&&N({storeId:e,type:pa.direct,events:p},M)},As({},l,k)));return R},$dispose:S},E=Oi(b);r._s.set(e,E);const P=(r._a&&r._a.runWithContext||Dk)(()=>r._e.run(()=>(i=uu()).run(()=>t({action:g}))));for(const N in P){const k=P[N];if(Ot(k)&&!Vk(k)||Br(k))o||(h&&Fk(k)&&(Ot(k)?k.value=h[N]:Hm(k,h[N])),r.state.value[e][N]=k);else if(typeof k=="function"){const R=g(k,N);P[N]=R,a.actions[N]=k}}return As(E,P),As(nt(E),P),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:N=>{v(k=>{As(k,N)})}}),r._p.forEach(N=>{As(E,i.run(()=>N({store:E,app:r._a,pinia:r,options:a})))}),h&&o&&n.hydrate&&n.hydrate(E.$state,h),c=!0,d=!0,E}/*! #__NO_SIDE_EFFECTS__ */function _r(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,l){const c=ev();return a=a||(c?lr(rb,null):null),a&&xu(a),a=nb,a._s.has(r)||(o?ob(r,t,s,a):Hk(r,s,a)),a._s.get(r)}return i.$id=r,i}const ep=_r("RemotesStore",{state:()=>({pairing:{}})});function ib(e,t){return function(){return e.apply(t,arguments)}}const{toString:Uk}=Object.prototype,{getPrototypeOf:tp}=Object,Tu=(e=>t=>{const n=Uk.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nr=e=>(e=e.toLowerCase(),t=>Tu(t)===e),Au=e=>t=>typeof t===e,{isArray:Ii}=Array,Ra=Au("undefined");function jk(e){return e!==null&&!Ra(e)&&e.constructor!==null&&!Ra(e.constructor)&&Jn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ab=Nr("ArrayBuffer");function Bk(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ab(e.buffer),t}const qk=Au("string"),Jn=Au("function"),lb=Au("number"),Ou=e=>e!==null&&typeof e=="object",Wk=e=>e===!0||e===!1,Jl=e=>{if(Tu(e)!=="object")return!1;const t=tp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Gk=Nr("Date"),Kk=Nr("File"),Xk=Nr("Blob"),Yk=Nr("FileList"),Zk=e=>Ou(e)&&Jn(e.pipe),Jk=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Jn(e.append)&&((t=Tu(e))==="formdata"||t==="object"&&Jn(e.toString)&&e.toString()==="[object FormData]"))},Qk=Nr("URLSearchParams"),[ex,tx,nx,rx]=["ReadableStream","Request","Response","Headers"].map(Nr),sx=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function rl(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Ii(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function cb(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const fo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ub=e=>!Ra(e)&&e!==fo;function Um(){const{caseless:e}=ub(this)&&this||{},t={},n=(r,s)=>{const o=e&&cb(t,s)||s;Jl(t[o])&&Jl(r)?t[o]=Um(t[o],r):Jl(r)?t[o]=Um({},r):Ii(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&rl(arguments[r],n);return t}const ox=(e,t,n,{allOwnKeys:r}={})=>(rl(t,(s,o)=>{n&&Jn(s)?e[o]=ib(s,n):e[o]=s},{allOwnKeys:r}),e),ix=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ax=(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)},lx=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&tp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},cx=(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},ux=e=>{if(!e)return null;if(Ii(e))return e;let t=e.length;if(!lb(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},dx=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&tp(Uint8Array)),mx=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},fx=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},px=Nr("HTMLFormElement"),hx=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Zh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),_x=Nr("RegExp"),db=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};rl(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},gx=e=>{db(e,(t,n)=>{if(Jn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Jn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},yx=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Ii(e)?r(e):r(String(e).split(t)),n},vx=()=>{},bx=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Nd="abcdefghijklmnopqrstuvwxyz",Jh="0123456789",mb={DIGIT:Jh,ALPHA:Nd,ALPHA_DIGIT:Nd+Nd.toUpperCase()+Jh},zx=(e=16,t=mb.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Cx(e){return!!(e&&Jn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Sx=e=>{const t=new Array(10),n=(r,s)=>{if(Ou(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Ii(r)?[]:{};return rl(r,(i,a)=>{const l=n(i,s+1);!Ra(l)&&(o[a]=l)}),t[s]=void 0,o}}return r};return n(e,0)},Ex=Nr("AsyncFunction"),wx=e=>e&&(Ou(e)||Jn(e))&&Jn(e.then)&&Jn(e.catch),fb=((e,t)=>e?setImmediate:t?((n,r)=>(fo.addEventListener("message",({source:s,data:o})=>{s===fo&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),fo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Jn(fo.postMessage)),kx=typeof queueMicrotask<"u"?queueMicrotask.bind(fo):typeof process<"u"&&process.nextTick||fb,Q={isArray:Ii,isArrayBuffer:ab,isBuffer:jk,isFormData:Jk,isArrayBufferView:Bk,isString:qk,isNumber:lb,isBoolean:Wk,isObject:Ou,isPlainObject:Jl,isReadableStream:ex,isRequest:tx,isResponse:nx,isHeaders:rx,isUndefined:Ra,isDate:Gk,isFile:Kk,isBlob:Xk,isRegExp:_x,isFunction:Jn,isStream:Zk,isURLSearchParams:Qk,isTypedArray:dx,isFileList:Yk,forEach:rl,merge:Um,extend:ox,trim:sx,stripBOM:ix,inherits:ax,toFlatObject:lx,kindOf:Tu,kindOfTest:Nr,endsWith:cx,toArray:ux,forEachEntry:mx,matchAll:fx,isHTMLForm:px,hasOwnProperty:Zh,hasOwnProp:Zh,reduceDescriptors:db,freezeMethods:gx,toObjectSet:yx,toCamelCase:hx,noop:vx,toFiniteNumber:bx,findKey:cb,global:fo,isContextDefined:ub,ALPHABET:mb,generateString:zx,isSpecCompliantForm:Cx,toJSONObject:Sx,isAsyncFn:Ex,isThenable:wx,setImmediate:fb,asap:kx};function We(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}Q.inherits(We,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q.toJSONObject(this.config),code:this.code,status:this.status}}});const pb=We.prototype,hb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{hb[e]={value:e}});Object.defineProperties(We,hb);Object.defineProperty(pb,"isAxiosError",{value:!0});We.from=(e,t,n,r,s,o)=>{const i=Object.create(pb);return Q.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),We.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const xx=null;function jm(e){return Q.isPlainObject(e)||Q.isArray(e)}function _b(e){return Q.endsWith(e,"[]")?e.slice(0,-2):e}function Qh(e,t,n){return e?e.concat(t).map(function(s,o){return s=_b(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Tx(e){return Q.isArray(e)&&!e.some(jm)}const Ax=Q.toFlatObject(Q,{},null,function(t){return/^is[A-Z]/.test(t)});function $u(e,t,n){if(!Q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,v){return!Q.isUndefined(v[_])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Q.isSpecCompliantForm(t);if(!Q.isFunction(s))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Q.isDate(h))return h.toISOString();if(!l&&Q.isBlob(h))throw new We("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(h)||Q.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,v){let C=h;if(h&&!v&&typeof h=="object"){if(Q.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(Q.isArray(h)&&Tx(h)||(Q.isFileList(h)||Q.endsWith(_,"[]"))&&(C=Q.toArray(h)))return _=_b(_),C.forEach(function(g,b){!(Q.isUndefined(g)||g===null)&&t.append(i===!0?Qh([_],b,o):i===null?_:_+"[]",c(g))}),!1}return jm(h)?!0:(t.append(Qh(v,_,o),c(h)),!1)}const m=[],f=Object.assign(Ax,{defaultVisitor:d,convertValue:c,isVisitable:jm});function p(h,_){if(!Q.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(h),Q.forEach(h,function(C,S){(!(Q.isUndefined(C)||C===null)&&s.call(t,C,Q.isString(S)?S.trim():S,_,f))===!0&&p(C,_?_.concat(S):[S])}),m.pop()}}if(!Q.isObject(e))throw new TypeError("data must be an object");return p(e),t}function e_(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function np(e,t){this._pairs=[],e&&$u(e,this,t)}const gb=np.prototype;gb.append=function(t,n){this._pairs.push([t,n])};gb.toString=function(t){const n=t?function(r){return t.call(this,r,e_)}:e_;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Ox(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yb(e,t,n){if(!t)return e;const r=n&&n.encode||Ox;Q.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=Q.isURLSearchParams(t)?t.toString():new np(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class t_{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Q.forEach(this.handlers,function(r){r!==null&&t(r)})}}const vb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$x=typeof URLSearchParams<"u"?URLSearchParams:np,Nx=typeof FormData<"u"?FormData:null,Ix=typeof Blob<"u"?Blob:null,Px={isBrowser:!0,classes:{URLSearchParams:$x,FormData:Nx,Blob:Ix},protocols:["http","https","file","blob","url","data"]},rp=typeof window<"u"&&typeof document<"u",Bm=typeof navigator=="object"&&navigator||void 0,Lx=rp&&(!Bm||["ReactNative","NativeScript","NS"].indexOf(Bm.product)<0),Rx=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Dx=rp&&window.location.href||"http://localhost",Mx=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:rp,hasStandardBrowserEnv:Lx,hasStandardBrowserWebWorkerEnv:Rx,navigator:Bm,origin:Dx},Symbol.toStringTag,{value:"Module"})),hn={...Mx,...Px};function Fx(e,t){return $u(e,new hn.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return hn.isNode&&Q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Vx(e){return Q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Hx(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function bb(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=o>=n.length;return i=!i&&Q.isArray(s)?s.length:i,l?(Q.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!Q.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&Q.isArray(s[i])&&(s[i]=Hx(s[i])),!a)}if(Q.isFormData(e)&&Q.isFunction(e.entries)){const n={};return Q.forEachEntry(e,(r,s)=>{t(Vx(r),s,n,0)}),n}return null}function Ux(e,t,n){if(Q.isString(e))try{return(t||JSON.parse)(e),Q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const sl={transitional:vb,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=Q.isObject(t);if(o&&Q.isHTMLForm(t)&&(t=new FormData(t)),Q.isFormData(t))return s?JSON.stringify(bb(t)):t;if(Q.isArrayBuffer(t)||Q.isBuffer(t)||Q.isStream(t)||Q.isFile(t)||Q.isBlob(t)||Q.isReadableStream(t))return t;if(Q.isArrayBufferView(t))return t.buffer;if(Q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Fx(t,this.formSerializer).toString();if((a=Q.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return $u(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Ux(t)):t}],transformResponse:[function(t){const n=this.transitional||sl.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(Q.isResponse(t)||Q.isReadableStream(t))return t;if(t&&Q.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?We.from(a,We.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:hn.classes.FormData,Blob:hn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Q.forEach(["delete","get","head","post","put","patch"],e=>{sl.headers[e]={}});const jx=Q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Bx=e=>{const t={};let n,r,s;return e&&e.split(`
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&jx[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},n_=Symbol("internals");function qi(e){return e&&String(e).trim().toLowerCase()}function Ql(e){return e===!1||e==null?e:Q.isArray(e)?e.map(Ql):String(e)}function qx(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 Wx=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Id(e,t,n,r,s){if(Q.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!Q.isString(t)){if(Q.isString(r))return t.indexOf(r)!==-1;if(Q.isRegExp(r))return r.test(t)}}function Gx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Kx(e,t){const n=Q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let Hn=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,c){const d=qi(l);if(!d)throw new Error("header name must be a non-empty string");const m=Q.findKey(s,d);(!m||s[m]===void 0||c===!0||c===void 0&&s[m]!==!1)&&(s[m||l]=Ql(a))}const i=(a,l)=>Q.forEach(a,(c,d)=>o(c,d,l));if(Q.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(Q.isString(t)&&(t=t.trim())&&!Wx(t))i(Bx(t),n);else if(Q.isHeaders(t))for(const[a,l]of t.entries())o(l,a,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=qi(t),t){const r=Q.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return qx(s);if(Q.isFunction(n))return n.call(this,s,r);if(Q.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=qi(t),t){const r=Q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Id(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=qi(i),i){const a=Q.findKey(r,i);a&&(!n||Id(r,r[a],a,n))&&(delete r[a],s=!0)}}return Q.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Id(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return Q.forEach(this,(s,o)=>{const i=Q.findKey(r,o);if(i){n[i]=Ql(s),delete n[o];return}const a=t?Gx(o):String(o).trim();a!==o&&delete n[o],n[a]=Ql(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Q.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&Q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[n_]=this[n_]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=qi(i);r[a]||(Kx(s,i),r[a]=!0)}return Q.isArray(t)?t.forEach(o):o(t),this}};Hn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Q.reduceDescriptors(Hn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Q.freezeMethods(Hn);function Pd(e,t){const n=this||sl,r=t||n,s=Hn.from(r.headers);let o=r.data;return Q.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function zb(e){return!!(e&&e.__CANCEL__)}function Pi(e,t,n){We.call(this,e??"canceled",We.ERR_CANCELED,t,n),this.name="CanceledError"}Q.inherits(Pi,We,{__CANCEL__:!0});function Cb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new We("Request failed with status code "+n.status,[We.ERR_BAD_REQUEST,We.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Xx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Yx(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[o];i||(i=c),n[s]=l,r[s]=c;let m=o,f=0;for(;m!==s;)f+=n[m++],m=m%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const p=d&&c-d;return p?Math.round(f*1e3/p):void 0}}function Zx(e,t){let n=0,r=1e3/t,s,o;const i=(c,d=Date.now())=>{n=d,s=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),m=d-n;m>=r?i(c,d):(s=c,o||(o=setTimeout(()=>{o=null,i(s)},r-m)))},()=>s&&i(s)]}const Nc=(e,t,n=3)=>{let r=0;const s=Yx(50,250);return Zx(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-r,c=s(l),d=i<=a;r=i;const m={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&d?(a-i)/c:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(m)},n)},r_=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},s_=e=>(...t)=>Q.asap(()=>e(...t)),Jx=hn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,hn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(hn.origin),hn.navigator&&/(msie|trident)/i.test(hn.navigator.userAgent)):()=>!0,Qx=hn.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];Q.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),Q.isString(r)&&i.push("path="+r),Q.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function eT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sb(e,t){return e&&!eT(t)?tT(e,t):t}const o_=e=>e instanceof Hn?{...e}:e;function To(e,t){t=t||{};const n={};function r(c,d,m,f){return Q.isPlainObject(c)&&Q.isPlainObject(d)?Q.merge.call({caseless:f},c,d):Q.isPlainObject(d)?Q.merge({},d):Q.isArray(d)?d.slice():d}function s(c,d,m,f){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return r(void 0,c,m,f)}else return r(c,d,m,f)}function o(c,d){if(!Q.isUndefined(d))return r(void 0,d)}function i(c,d){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,m){if(m in t)return r(c,d);if(m in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,d,m)=>s(o_(c),o_(d),m,!0)};return Q.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||s,f=m(e[d],t[d],d);Q.isUndefined(f)&&m!==a||(n[d]=f)}),n}const Eb=e=>{const t=To({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=Hn.from(i),t.url=yb(Sb(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(Q.isFormData(n)){if(hn.hasStandardBrowserEnv||hn.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[c,...d]=l?l.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(hn.hasStandardBrowserEnv&&(r&&Q.isFunction(r)&&(r=r(t)),r||r!==!1&&Jx(t.url))){const c=s&&o&&Qx.read(o);c&&i.set(s,c)}return t},nT=typeof XMLHttpRequest<"u",rT=nT&&function(e){return new Promise(function(n,r){const s=Eb(e);let o=s.data;const i=Hn.from(s.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=s,d,m,f,p,h;function _(){p&&p(),h&&h(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let v=new XMLHttpRequest;v.open(s.method.toUpperCase(),s.url,!0),v.timeout=s.timeout;function C(){if(!v)return;const g=Hn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:g,config:e,request:v};Cb(function(P){n(P),_()},function(P){r(P),_()},E),v=null}"onloadend"in v?v.onloadend=C:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(C)},v.onabort=function(){v&&(r(new We("Request aborted",We.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new We("Network Error",We.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let b=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const E=s.transitional||vb;s.timeoutErrorMessage&&(b=s.timeoutErrorMessage),r(new We(b,E.clarifyTimeoutError?We.ETIMEDOUT:We.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&Q.forEach(i.toJSON(),function(b,E){v.setRequestHeader(E,b)}),Q.isUndefined(s.withCredentials)||(v.withCredentials=!!s.withCredentials),a&&a!=="json"&&(v.responseType=s.responseType),c&&([f,h]=Nc(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([m,p]=Nc(l),v.upload.addEventListener("progress",m),v.upload.addEventListener("loadend",p)),(s.cancelToken||s.signal)&&(d=g=>{v&&(r(!g||g.type?new Pi(null,e,v):g),v.abort(),v=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const S=Xx(s.url);if(S&&hn.protocols.indexOf(S)===-1){r(new We("Unsupported protocol "+S+":",We.ERR_BAD_REQUEST,e));return}v.send(o||null)})},sT=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(c){if(!s){s=!0,a();const d=c instanceof Error?c:this.reason;r.abort(d instanceof We?d:new Pi(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new We(`timeout ${t} of ms exceeded`,We.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>Q.asap(a),l}},oT=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},iT=async function*(e,t){for await(const n of aT(e))yield*oT(n,t)},aT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},i_=(e,t,n,r)=>{const s=iT(e,t);let o=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await s.next();if(c){a(),l.close();return}let m=d.byteLength;if(n){let f=o+=m;n(f)}l.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(l){return a(l),s.return()}},{highWaterMark:2})},Nu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wb=Nu&&typeof ReadableStream=="function",lT=Nu&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),kb=(e,...t)=>{try{return!!e(...t)}catch{return!1}},cT=wb&&kb(()=>{let e=!1;const t=new Request(hn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),a_=64*1024,qm=wb&&kb(()=>Q.isReadableStream(new Response("").body)),Ic={stream:qm&&(e=>e.body)};Nu&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ic[t]&&(Ic[t]=Q.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new We(`Response type '${t}' is not supported`,We.ERR_NOT_SUPPORT,r)})})})(new Response);const uT=async e=>{if(e==null)return 0;if(Q.isBlob(e))return e.size;if(Q.isSpecCompliantForm(e))return(await new Request(hn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Q.isArrayBufferView(e)||Q.isArrayBuffer(e))return e.byteLength;if(Q.isURLSearchParams(e)&&(e=e+""),Q.isString(e))return(await lT(e)).byteLength},dT=async(e,t)=>{const n=Q.toFiniteNumber(e.getContentLength());return n??uT(t)},mT=Nu&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:d,withCredentials:m="same-origin",fetchOptions:f}=Eb(e);c=c?(c+"").toLowerCase():"text";let p=sT([s,o&&o.toAbortSignal()],i),h;const _=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let v;try{if(l&&cT&&n!=="get"&&n!=="head"&&(v=await dT(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),w;if(Q.isFormData(r)&&(w=E.headers.get("content-type"))&&d.setContentType(w),E.body){const[P,N]=r_(v,Nc(s_(l)));r=i_(E.body,a_,P,N)}}Q.isString(m)||(m=m?"include":"omit");const C="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:C?m:void 0});let S=await fetch(h);const g=qm&&(c==="stream"||c==="response");if(qm&&(a||g&&_)){const E={};["status","statusText","headers"].forEach(k=>{E[k]=S[k]});const w=Q.toFiniteNumber(S.headers.get("content-length")),[P,N]=a&&r_(w,Nc(s_(a),!0))||[];S=new Response(i_(S.body,a_,P,()=>{N&&N(),_&&_()}),E)}c=c||"text";let b=await Ic[Q.findKey(Ic,c)||"text"](S,e);return!g&&_&&_(),await new Promise((E,w)=>{Cb(E,w,{data:b,headers:Hn.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:h})})}catch(C){throw _&&_(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new We("Network Error",We.ERR_NETWORK,e,h),{cause:C.cause||C}):We.from(C,C&&C.code,e,h)}}),Wm={http:xx,xhr:rT,fetch:mT};Q.forEach(Wm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const l_=e=>`- ${e}`,fT=e=>Q.isFunction(e)||e===null||e===!1,xb={getAdapter:e=>{e=Q.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!fT(n)&&(r=Wm[(i=String(n)).toLowerCase()],r===void 0))throw new We(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
`+o.map(l_).join(`
`):" "+l_(o[0]):"as no adapter specified";throw new We("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Wm};function Ld(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pi(null,e)}function c_(e){return Ld(e),e.headers=Hn.from(e.headers),e.data=Pd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xb.getAdapter(e.adapter||sl.adapter)(e).then(function(r){return Ld(e),r.data=Pd.call(e,e.transformResponse,r),r.headers=Hn.from(r.headers),r},function(r){return zb(r)||(Ld(e),r&&r.response&&(r.response.data=Pd.call(e,e.transformResponse,r.response),r.response.headers=Hn.from(r.response.headers))),Promise.reject(r)})}const Tb="1.7.9",Iu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Iu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const u_={};Iu.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Tb+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new We(s(i," has been removed"+(n?" in "+n:"")),We.ERR_DEPRECATED);return n&&!u_[i]&&(u_[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};Iu.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function pT(e,t,n){if(typeof e!="object")throw new We("options must be an object",We.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new We("option "+o+" must be "+l,We.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new We("Unknown option "+o,We.ERR_BAD_OPTION)}}const ec={assertOptions:pT,validators:Iu},Rr=ec.validators;let So=class{constructor(t){this.defaults=t,this.interceptors={request:new t_,response:new t_}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=To(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&ec.assertOptions(r,{silentJSONParsing:Rr.transitional(Rr.boolean),forcedJSONParsing:Rr.transitional(Rr.boolean),clarifyTimeoutError:Rr.transitional(Rr.boolean)},!1),s!=null&&(Q.isFunction(s)?n.paramsSerializer={serialize:s}:ec.assertOptions(s,{encode:Rr.function,serialize:Rr.function},!0)),ec.assertOptions(n,{baseUrl:Rr.spelling("baseURL"),withXsrfToken:Rr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&Q.merge(o.common,o[n.method]);o&&Q.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=Hn.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[c_.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(v){_.call(this,v);break}}try{d=c_.call(this,p)}catch(h){return Promise.reject(h)}for(m=0,f=c.length;m<f;)d=d.then(c[m++],c[m++]);return d}getUri(t){t=To(this.defaults,t);const n=Sb(t.baseURL,t.url);return yb(n,t.params,t.paramsSerializer)}};Q.forEach(["delete","get","head","options"],function(t){So.prototype[t]=function(n,r){return this.request(To(r||{},{method:t,url:n,data:(r||{}).data}))}});Q.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(To(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}So.prototype[t]=n(),So.prototype[t+"Form"]=n(!0)});let hT=class Ab{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new Pi(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ab(function(s){t=s}),cancel:t}}};function _T(e){return function(n){return e.apply(null,n)}}function gT(e){return Q.isObject(e)&&e.isAxiosError===!0}const Gm={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(Gm).forEach(([e,t])=>{Gm[t]=e});function Ob(e){const t=new So(e),n=ib(So.prototype.request,t);return Q.extend(n,So.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Ob(To(e,s))},n}const me=Ob(sl);me.Axios=So;me.CanceledError=Pi;me.CancelToken=hT;me.isCancel=zb;me.VERSION=Tb;me.toFormData=$u;me.AxiosError=We;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=_T;me.isAxiosError=gT;me.mergeConfig=To;me.AxiosHeaders=Hn;me.formToJSON=e=>bb(Q.isHTMLForm(e)?new FormData(e):e);me.getAdapter=xb.getAdapter;me.HttpStatusCode=Gm;me.default=me;const{Axios:Mee,AxiosError:Fee,CanceledError:Vee,isCancel:Hee,CancelToken:Uee,VERSION:jee,all:Bee,Cancel:qee,isAxiosError:Wee,spread:Gee,toFormData:Kee,AxiosHeaders:Xee,HttpStatusCode:Yee,formToJSON:Zee,getAdapter:Jee,mergeConfig:Qee}=me;/*!
* shared v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Pc=typeof window<"u",Qs=(e,t=!1)=>t?Symbol.for(e):Symbol(e),yT=(e,t,n)=>vT({l:e,k:t,s:n}),vT=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Gt=e=>typeof e=="number"&&isFinite(e),bT=e=>Nb(e)==="[object Date]",Lc=e=>Nb(e)==="[object RegExp]",Pu=e=>st(e)&&Object.keys(e).length===0,vn=Object.assign,zT=Object.create,yt=(e=null)=>zT(e);let d_;const sp=()=>d_||(d_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:yt());function m_(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const CT=Object.prototype.hasOwnProperty;function wr(e,t){return CT.call(e,t)}const Jt=Array.isArray,Mt=e=>typeof e=="function",Ee=e=>typeof e=="string",Nt=e=>typeof e=="boolean",ct=e=>e!==null&&typeof e=="object",ST=e=>ct(e)&&Mt(e.then)&&Mt(e.catch),$b=Object.prototype.toString,Nb=e=>$b.call(e),st=e=>{if(!ct(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},ET=e=>e==null?"":Jt(e)||st(e)&&e.toString===$b?JSON.stringify(e,null,2):String(e);function wT(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Lu(e){let t=e;return()=>++t}function kT(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const xl=e=>!ct(e)||Jt(e);function tc(e,t){if(xl(e)||xl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(ct(r[o])&&!ct(s[o])&&(s[o]=Array.isArray(r[o])?[]:yt()),xl(s[o])||xl(r[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]}))})}}/*!
* message-compiler v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function xT(e,t,n){return{line:e,column:t,offset:n}}function Rc(e,t,n){return{start:e,end:t}}const TT=/\{([0-9a-zA-Z]+)\}/g;function Ib(e,...t){return t.length===1&&AT(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(TT,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Pb=Object.assign,f_=e=>typeof e=="string",AT=e=>e!==null&&typeof e=="object";function Lb(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const op={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},OT={[op.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function $T(e,t,...n){const r=Ib(OT[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const Le={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},NT={[Le.EXPECTED_TOKEN]:"Expected token: '{0}'",[Le.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Le.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Le.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Le.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Le.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Le.EMPTY_PLACEHOLDER]:"Empty placeholder",[Le.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Le.INVALID_LINKED_FORMAT]:"Invalid linked format",[Le.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Le.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Le.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Le.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Le.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Le.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Li(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=Ib((s||NT)[e]||"",...o||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function IT(e){throw e}const Yr=" ",PT="\r",Sn=`
`,LT="\u2028",RT="\u2029";function DT(e){const t=e;let n=0,r=1,s=1,o=0;const i=P=>t[P]===PT&&t[P+1]===Sn,a=P=>t[P]===Sn,l=P=>t[P]===RT,c=P=>t[P]===LT,d=P=>i(P)||a(P)||l(P)||c(P),m=()=>n,f=()=>r,p=()=>s,h=()=>o,_=P=>i(P)||l(P)||c(P)?Sn:t[P],v=()=>_(n),C=()=>_(n+o);function S(){return o=0,d(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function g(){return i(n+o)&&o++,o++,t[n+o]}function b(){n=0,r=1,s=1,o=0}function E(P=0){o=P}function w(){const P=n+o;for(;P!==n;)S();o=0}return{index:m,line:f,column:p,peekOffset:h,charAt:_,currentChar:v,currentPeek:C,next:S,peek:g,reset:b,resetPeek:E,skipToPeek:w}}const Cs=void 0,MT=".",p_="'",FT="tokenizer";function VT(e,t={}){const n=t.location!==!1,r=DT(e),s=()=>r.index(),o=()=>xT(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function m(T,A,F,...se){const ce=c();if(A.column+=F,A.offset+=F,d){const oe=n?Rc(ce.startLoc,A):null,j=Li(T,oe,{domain:FT,args:se});d(j)}}function f(T,A,F){T.endLoc=o(),T.currentType=A;const se={type:A};return n&&(se.loc=Rc(T.startLoc,T.endLoc)),F!=null&&(se.value=F),se}const p=T=>f(T,14);function h(T,A){return T.currentChar()===A?(T.next(),A):(m(Le.EXPECTED_TOKEN,o(),0,A),"")}function _(T){let A="";for(;T.currentPeek()===Yr||T.currentPeek()===Sn;)A+=T.currentPeek(),T.peek();return A}function v(T){const A=_(T);return T.skipToPeek(),A}function C(T){if(T===Cs)return!1;const A=T.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A===95}function S(T){if(T===Cs)return!1;const A=T.charCodeAt(0);return A>=48&&A<=57}function g(T,A){const{currentType:F}=A;if(F!==2)return!1;_(T);const se=C(T.currentPeek());return T.resetPeek(),se}function b(T,A){const{currentType:F}=A;if(F!==2)return!1;_(T);const se=T.currentPeek()==="-"?T.peek():T.currentPeek(),ce=S(se);return T.resetPeek(),ce}function E(T,A){const{currentType:F}=A;if(F!==2)return!1;_(T);const se=T.currentPeek()===p_;return T.resetPeek(),se}function w(T,A){const{currentType:F}=A;if(F!==8)return!1;_(T);const se=T.currentPeek()===".";return T.resetPeek(),se}function P(T,A){const{currentType:F}=A;if(F!==9)return!1;_(T);const se=C(T.currentPeek());return T.resetPeek(),se}function N(T,A){const{currentType:F}=A;if(!(F===8||F===12))return!1;_(T);const se=T.currentPeek()===":";return T.resetPeek(),se}function k(T,A){const{currentType:F}=A;if(F!==10)return!1;const se=()=>{const oe=T.currentPeek();return oe==="{"?C(T.peek()):oe==="@"||oe==="%"||oe==="|"||oe===":"||oe==="."||oe===Yr||!oe?!1:oe===Sn?(T.peek(),se()):M(T,!1)},ce=se();return T.resetPeek(),ce}function R(T){_(T);const A=T.currentPeek()==="|";return T.resetPeek(),A}function B(T){const A=_(T),F=T.currentPeek()==="%"&&T.peek()==="{";return T.resetPeek(),{isModulo:F,hasSpace:A.length>0}}function M(T,A=!0){const F=(ce=!1,oe="",j=!1)=>{const Z=T.currentPeek();return Z==="{"?oe==="%"?!1:ce:Z==="@"||!Z?oe==="%"?!0:ce:Z==="%"?(T.peek(),F(ce,"%",!0)):Z==="|"?oe==="%"||j?!0:!(oe===Yr||oe===Sn):Z===Yr?(T.peek(),F(!0,Yr,j)):Z===Sn?(T.peek(),F(!0,Sn,j)):!0},se=F();return A&&T.resetPeek(),se}function H(T,A){const F=T.currentChar();return F===Cs?Cs:A(F)?(T.next(),F):null}function X(T){const A=T.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A>=48&&A<=57||A===95||A===36}function ae(T){return H(T,X)}function G(T){const A=T.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A>=48&&A<=57||A===95||A===36||A===45}function te(T){return H(T,G)}function le(T){const A=T.charCodeAt(0);return A>=48&&A<=57}function Ae(T){return H(T,le)}function Qe(T){const A=T.charCodeAt(0);return A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102}function De(T){return H(T,Qe)}function je(T){let A="",F="";for(;A=Ae(T);)F+=A;return F}function ft(T){v(T);const A=T.currentChar();return A!=="%"&&m(Le.EXPECTED_TOKEN,o(),0,A),T.next(),"%"}function pt(T){let A="";for(;;){const F=T.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(M(T))A+=F,T.next();else break;else if(F===Yr||F===Sn)if(M(T))A+=F,T.next();else{if(R(T))break;A+=F,T.next()}else A+=F,T.next()}return A}function gt(T){v(T);let A="",F="";for(;A=te(T);)F+=A;return T.currentChar()===Cs&&m(Le.UNTERMINATED_CLOSING_BRACE,o(),0),F}function Ge(T){v(T);let A="";return T.currentChar()==="-"?(T.next(),A+=`-${je(T)}`):A+=je(T),T.currentChar()===Cs&&m(Le.UNTERMINATED_CLOSING_BRACE,o(),0),A}function Y(T){return T!==p_&&T!==Sn}function fe(T){v(T),h(T,"'");let A="",F="";for(;A=H(T,Y);)A==="\\"?F+=de(T):F+=A;const se=T.currentChar();return se===Sn||se===Cs?(m(Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),se===Sn&&(T.next(),h(T,"'")),F):(h(T,"'"),F)}function de(T){const A=T.currentChar();switch(A){case"\\":case"'":return T.next(),`\\${A}`;case"u":return ye(T,A,4);case"U":return ye(T,A,6);default:return m(Le.UNKNOWN_ESCAPE_SEQUENCE,o(),0,A),""}}function ye(T,A,F){h(T,A);let se="";for(let ce=0;ce<F;ce++){const oe=De(T);if(!oe){m(Le.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${A}${se}${T.currentChar()}`);break}se+=oe}return`\\${A}${se}`}function Be(T){return T!=="{"&&T!=="}"&&T!==Yr&&T!==Sn}function Xe(T){v(T);let A="",F="";for(;A=H(T,Be);)F+=A;return F}function O(T){let A="",F="";for(;A=ae(T);)F+=A;return F}function I(T){const A=F=>{const se=T.currentChar();return se==="{"||se==="%"||se==="@"||se==="|"||se==="("||se===")"||!se||se===Yr?F:(F+=se,T.next(),A(F))};return A("")}function q(T){v(T);const A=h(T,"|");return v(T),A}function ne(T,A){let F=null;switch(T.currentChar()){case"{":return A.braceNest>=1&&m(Le.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),T.next(),F=f(A,2,"{"),v(T),A.braceNest++,F;case"}":return A.braceNest>0&&A.currentType===2&&m(Le.EMPTY_PLACEHOLDER,o(),0),T.next(),F=f(A,3,"}"),A.braceNest--,A.braceNest>0&&v(T),A.inLinked&&A.braceNest===0&&(A.inLinked=!1),F;case"@":return A.braceNest>0&&m(Le.UNTERMINATED_CLOSING_BRACE,o(),0),F=J(T,A)||p(A),A.braceNest=0,F;default:{let ce=!0,oe=!0,j=!0;if(R(T))return A.braceNest>0&&m(Le.UNTERMINATED_CLOSING_BRACE,o(),0),F=f(A,1,q(T)),A.braceNest=0,A.inLinked=!1,F;if(A.braceNest>0&&(A.currentType===5||A.currentType===6||A.currentType===7))return m(Le.UNTERMINATED_CLOSING_BRACE,o(),0),A.braceNest=0,ie(T,A);if(ce=g(T,A))return F=f(A,5,gt(T)),v(T),F;if(oe=b(T,A))return F=f(A,6,Ge(T)),v(T),F;if(j=E(T,A))return F=f(A,7,fe(T)),v(T),F;if(!ce&&!oe&&!j)return F=f(A,13,Xe(T)),m(Le.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,F.value),v(T),F;break}}return F}function J(T,A){const{currentType:F}=A;let se=null;const ce=T.currentChar();switch((F===8||F===9||F===12||F===10)&&(ce===Sn||ce===Yr)&&m(Le.INVALID_LINKED_FORMAT,o(),0),ce){case"@":return T.next(),se=f(A,8,"@"),A.inLinked=!0,se;case".":return v(T),T.next(),f(A,9,".");case":":return v(T),T.next(),f(A,10,":");default:return R(T)?(se=f(A,1,q(T)),A.braceNest=0,A.inLinked=!1,se):w(T,A)||N(T,A)?(v(T),J(T,A)):P(T,A)?(v(T),f(A,12,O(T))):k(T,A)?(v(T),ce==="{"?ne(T,A)||se:f(A,11,I(T))):(F===8&&m(Le.INVALID_LINKED_FORMAT,o(),0),A.braceNest=0,A.inLinked=!1,ie(T,A))}}function ie(T,A){let F={type:14};if(A.braceNest>0)return ne(T,A)||p(A);if(A.inLinked)return J(T,A)||p(A);switch(T.currentChar()){case"{":return ne(T,A)||p(A);case"}":return m(Le.UNBALANCED_CLOSING_BRACE,o(),0),T.next(),f(A,3,"}");case"@":return J(T,A)||p(A);default:{if(R(T))return F=f(A,1,q(T)),A.braceNest=0,A.inLinked=!1,F;const{isModulo:ce,hasSpace:oe}=B(T);if(ce)return oe?f(A,0,pt(T)):f(A,4,ft(T));if(M(T))return f(A,0,pt(T));break}}return F}function pe(){const{currentType:T,offset:A,startLoc:F,endLoc:se}=l;return l.lastType=T,l.lastOffset=A,l.lastStartLoc=F,l.lastEndLoc=se,l.offset=s(),l.startLoc=o(),r.currentChar()===Cs?f(l,14):ie(r,l)}return{nextToken:pe,currentOffset:s,currentPosition:o,context:c}}const HT="parser",UT=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function jT(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"<22>"}}}function BT(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(g,b,E,w,...P){const N=g.currentPosition();if(N.offset+=w,N.column+=w,n){const k=t?Rc(E,N):null,R=Li(b,k,{domain:HT,args:P});n(R)}}function o(g,b,E,w,...P){const N=g.currentPosition();if(N.offset+=w,N.column+=w,r){const k=t?Rc(E,N):null;r($T(b,k,P))}}function i(g,b,E){const w={type:g};return t&&(w.start=b,w.end=b,w.loc={start:E,end:E}),w}function a(g,b,E,w){t&&(g.end=b,g.loc&&(g.loc.end=E))}function l(g,b){const E=g.context(),w=i(3,E.offset,E.startLoc);return w.value=b,a(w,g.currentOffset(),g.currentPosition()),w}function c(g,b){const E=g.context(),{lastOffset:w,lastStartLoc:P}=E,N=i(5,w,P);return N.index=parseInt(b,10),g.nextToken(),a(N,g.currentOffset(),g.currentPosition()),N}function d(g,b,E){const w=g.context(),{lastOffset:P,lastStartLoc:N}=w,k=i(4,P,N);return k.key=b,E===!0&&(k.modulo=!0),g.nextToken(),a(k,g.currentOffset(),g.currentPosition()),k}function m(g,b){const E=g.context(),{lastOffset:w,lastStartLoc:P}=E,N=i(9,w,P);return N.value=b.replace(UT,jT),g.nextToken(),a(N,g.currentOffset(),g.currentPosition()),N}function f(g){const b=g.nextToken(),E=g.context(),{lastOffset:w,lastStartLoc:P}=E,N=i(8,w,P);return b.type!==12?(s(g,Le.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),N.value="",a(N,w,P),{nextConsumeToken:b,node:N}):(b.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,gr(b)),N.value=b.value||"",a(N,g.currentOffset(),g.currentPosition()),{node:N})}function p(g,b){const E=g.context(),w=i(7,E.offset,E.startLoc);return w.value=b,a(w,g.currentOffset(),g.currentPosition()),w}function h(g){const b=g.context(),E=i(6,b.offset,b.startLoc);let w=g.nextToken();if(w.type===9){const P=f(g);E.modifier=P.node,w=P.nextConsumeToken||g.nextToken()}switch(w.type!==10&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(w)),w=g.nextToken(),w.type===2&&(w=g.nextToken()),w.type){case 11:w.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(w)),E.key=p(g,w.value||"");break;case 5:w.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(w)),E.key=d(g,w.value||"");break;case 6:w.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(w)),E.key=c(g,w.value||"");break;case 7:w.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(w)),E.key=m(g,w.value||"");break;default:{s(g,Le.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const P=g.context(),N=i(7,P.offset,P.startLoc);return N.value="",a(N,P.offset,P.startLoc),E.key=N,a(E,P.offset,P.startLoc),{nextConsumeToken:w,node:E}}}return a(E,g.currentOffset(),g.currentPosition()),{node:E}}function _(g){const b=g.context(),E=b.currentType===1?g.currentOffset():b.offset,w=b.currentType===1?b.endLoc:b.startLoc,P=i(2,E,w);P.items=[];let N=null,k=null;do{const M=N||g.nextToken();switch(N=null,M.type){case 0:M.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(M)),P.items.push(l(g,M.value||""));break;case 6:M.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(M)),P.items.push(c(g,M.value||""));break;case 4:k=!0;break;case 5:M.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(M)),P.items.push(d(g,M.value||"",!!k)),k&&(o(g,op.USE_MODULO_SYNTAX,b.lastStartLoc,0,gr(M)),k=null);break;case 7:M.value==null&&s(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gr(M)),P.items.push(m(g,M.value||""));break;case 8:{const H=h(g);P.items.push(H.node),N=H.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const R=b.currentType===1?b.lastOffset:g.currentOffset(),B=b.currentType===1?b.lastEndLoc:g.currentPosition();return a(P,R,B),P}function v(g,b,E,w){const P=g.context();let N=w.items.length===0;const k=i(1,b,E);k.cases=[],k.cases.push(w);do{const R=_(g);N||(N=R.items.length===0),k.cases.push(R)}while(P.currentType!==14);return N&&s(g,Le.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(k,g.currentOffset(),g.currentPosition()),k}function C(g){const b=g.context(),{offset:E,startLoc:w}=b,P=_(g);return b.currentType===14?P:v(g,E,w,P)}function S(g){const b=VT(g,Pb({},e)),E=b.context(),w=i(0,E.offset,E.startLoc);return t&&w.loc&&(w.loc.source=g),w.body=C(b),e.onCacheKey&&(w.cacheKey=e.onCacheKey(g)),E.currentType!==14&&s(b,Le.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,g[E.offset]||""),a(w,b.currentOffset(),b.currentPosition()),w}return{parse:S}}function gr(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function qT(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function h_(e,t){for(let n=0;n<e.length;n++)ip(e[n],t)}function ip(e,t){switch(e.type){case 1:h_(e.cases,t),t.helper("plural");break;case 2:h_(e.items,t);break;case 6:{ip(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function WT(e,t={}){const n=qT(e);n.helper("normalize"),e.body&&ip(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function GT(e){const t=e.body;return t.type===2?__(t):t.cases.forEach(n=>__(n)),e}function __(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Lb(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const KT="minifier";function Jo(e){switch(e.t=e.type,e.type){case 0:{const t=e;Jo(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Jo(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Jo(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Jo(t.key),t.k=t.key,delete t.key,t.modifier&&(Jo(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Li(Le.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:KT,args:[e.type]})}delete e.type}const XT="parser";function YT(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,o=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};o&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(_,v){i.code+=_}function c(_,v=!0){const C=v?r:"";l(s?C+" ".repeat(_):C)}function d(_=!0){const v=++i.indentLevel;_&&c(v)}function m(_=!0){const v=--i.indentLevel;_&&c(v)}function f(){c(i.indentLevel)}return{context:a,push:l,indent:d,deindent:m,newline:f,helper:_=>`_${_}`,needIndent:()=>i.needIndent}}function ZT(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),yi(e,t.key),t.modifier?(e.push(", "),yi(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function JT(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(yi(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function QT(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(yi(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function e2(e,t){t.body?yi(e,t.body):e.push("null")}function yi(e,t){const{helper:n}=e;switch(t.type){case 0:e2(e,t);break;case 1:QT(e,t);break;case 2:JT(e,t);break;case 6:ZT(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Li(Le.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:XT,args:[t.type]})}}const t2=(e,t={})=>{const n=f_(t.mode)?t.mode:"normal",r=f_(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=YT(e,{filename:r,breakLineCode:s,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),i.length>0&&(a.push(`const { ${Lb(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),a.newline()),a.push("return "),yi(a,e),a.deindent(o),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function n2(e,t={}){const n=Pb({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=BT(n).parse(e);return r?(o&&GT(a),s&&Jo(a),{ast:a,code:""}):(WT(a,n),t2(a,n))}/*!
* core-base v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function r2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sp().__INTLIFY_PROD_DEVTOOLS__=!1)}const eo=[];eo[0]={w:[0],i:[3,0],"[":[4],o:[7]};eo[1]={w:[1],".":[2],"[":[4],o:[7]};eo[2]={w:[2],i:[3,0],0:[3,0]};eo[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};eo[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};eo[5]={"'":[4,0],o:8,l:[5,0]};eo[6]={'"':[4,0],o:8,l:[6,0]};const s2=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function o2(e){return s2.test(e)}function i2(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 a2(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 l2(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:o2(t)?i2(t):"*"+t}function c2(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,c,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),s++},f[3]=()=>{if(s>0)s--,r=4,f[0]();else{if(s=0,i===void 0||(i=l2(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=a2(o),m=eo[r],c=m[l]||m.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const g_=new Map;function u2(e,t){return ct(e)?e[t]:null}function d2(e,t){if(!ct(e))return null;let n=g_.get(t);if(n||(n=c2(t),n&&g_.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0||Mt(s))return null;s=i,o++}return s}const m2=e=>e,f2=e=>"",p2="text",h2=e=>e.length===0?"":wT(e),_2=ET;function y_(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function g2(e){const t=Gt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Gt(e.named.count)||Gt(e.named.n))?Gt(e.named.count)?e.named.count:Gt(e.named.n)?e.named.n:t:t}function y2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function v2(e={}){const t=e.locale,n=g2(e),r=ct(e.pluralRules)&&Ee(t)&&Mt(e.pluralRules[t])?e.pluralRules[t]:y_,s=ct(e.pluralRules)&&Ee(t)&&Mt(e.pluralRules[t])?y_:void 0,o=C=>C[r(n,C.length,s)],i=e.list||[],a=C=>i[C],l=e.named||yt();Gt(e.pluralIndex)&&y2(n,l);const c=C=>l[C];function d(C){const S=Mt(e.messages)?e.messages(C):ct(e.messages)?e.messages[C]:!1;return S||(e.parent?e.parent.message(C):f2)}const m=C=>e.modifiers?e.modifiers[C]:m2,f=st(e.processor)&&Mt(e.processor.normalize)?e.processor.normalize:h2,p=st(e.processor)&&Mt(e.processor.interpolate)?e.processor.interpolate:_2,h=st(e.processor)&&Ee(e.processor.type)?e.processor.type:p2,v={list:a,named:c,plural:o,linked:(C,...S)=>{const[g,b]=S;let E="text",w="";S.length===1?ct(g)?(w=g.modifier||w,E=g.type||E):Ee(g)&&(w=g||w):S.length===2&&(Ee(g)&&(w=g||w),Ee(b)&&(E=b||E));const P=d(C)(v),N=E==="vnode"&&Jt(P)&&w?P[0]:P;return w?m(w)(N,E):N},message:d,type:h,interpolate:p,normalize:f,values:vn(yt(),i,l)};return v}let Da=null;function b2(e){Da=e}function z2(e,t,n){Da&&Da.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const C2=S2("function:translate");function S2(e){return t=>Da&&Da.emit(e,t)}const E2=op.__EXTEND_POINT__,so=Lu(E2),w2={FALLBACK_TO_TRANSLATE:so(),CANNOT_FORMAT_NUMBER:so(),FALLBACK_TO_NUMBER_FORMAT:so(),CANNOT_FORMAT_DATE:so(),FALLBACK_TO_DATE_FORMAT:so(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:so(),__EXTEND_POINT__:so()},Rb=Le.__EXTEND_POINT__,oo=Lu(Rb),jr={INVALID_ARGUMENT:Rb,INVALID_DATE_ARGUMENT:oo(),INVALID_ISO_DATE_ARGUMENT:oo(),NOT_SUPPORT_NON_STRING_MESSAGE:oo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:oo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:oo(),NOT_SUPPORT_LOCALE_TYPE:oo(),__EXTEND_POINT__:oo()};function is(e){return Li(e,null,void 0)}function ap(e,t){return t.locale!=null?v_(t.locale):v_(e.locale)}let Rd;function v_(e){if(Ee(e))return e;if(Mt(e)){if(e.resolvedOnce&&Rd!=null)return Rd;if(e.constructor.name==="Function"){const t=e();if(ST(t))throw is(jr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Rd=t}else throw is(jr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw is(jr.NOT_SUPPORT_LOCALE_TYPE)}function k2(e,t,n){return[...new Set([n,...Jt(t)?t:ct(t)?Object.keys(t):Ee(t)?[t]:[n]])]}function Db(e,t,n){const r=Ee(n)?n:Dc,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Jt(i);)i=b_(o,i,t);const a=Jt(t)||!st(t)?t:t.default?t.default:null;i=Ee(a)?[a]:a,Jt(i)&&b_(o,i,!1),s.__localeChainCache.set(r,o)}return o}function b_(e,t,n){let r=!0;for(let s=0;s<t.length&&Nt(r);s++){const o=t[s];Ee(o)&&(r=x2(e,t[s],n))}return r}function x2(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=T2(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function T2(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Jt(n)||st(n))&&n[s]&&(r=n[s])}return r}const A2="9.14.2",Ru=-1,Dc="en-US",z_="",C_=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function O2(){return{upper:(e,t)=>t==="text"&&Ee(e)?e.toUpperCase():t==="vnode"&&ct(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ee(e)?e.toLowerCase():t==="vnode"&&ct(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ee(e)?C_(e):t==="vnode"&&ct(e)&&"__v_isVNode"in e?C_(e.children):e}}let Mb;function $2(e){Mb=e}let Fb;function N2(e){Fb=e}let Vb;function I2(e){Vb=e}let Hb=null;const P2=e=>{Hb=e},L2=()=>Hb;let Ub=null;const S_=e=>{Ub=e},R2=()=>Ub;let E_=0;function D2(e={}){const t=Mt(e.onWarn)?e.onWarn:kT,n=Ee(e.version)?e.version:A2,r=Ee(e.locale)||Mt(e.locale)?e.locale:Dc,s=Mt(r)?Dc:r,o=Jt(e.fallbackLocale)||st(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=st(e.messages)?e.messages:Dd(s),a=st(e.datetimeFormats)?e.datetimeFormats:Dd(s),l=st(e.numberFormats)?e.numberFormats:Dd(s),c=vn(yt(),e.modifiers,O2()),d=e.pluralRules||yt(),m=Mt(e.missing)?e.missing:null,f=Nt(e.missingWarn)||Lc(e.missingWarn)?e.missingWarn:!0,p=Nt(e.fallbackWarn)||Lc(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,v=Mt(e.postTranslation)?e.postTranslation:null,C=st(e.processor)?e.processor:null,S=Nt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,b=Mt(e.messageCompiler)?e.messageCompiler:Mb,E=Mt(e.messageResolver)?e.messageResolver:Fb||u2,w=Mt(e.localeFallbacker)?e.localeFallbacker:Vb||k2,P=ct(e.fallbackContext)?e.fallbackContext:void 0,N=e,k=ct(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,R=ct(N.__numberFormatters)?N.__numberFormatters:new Map,B=ct(N.__meta)?N.__meta:{};E_++;const M={version:n,cid:E_,locale:r,fallbackLocale:o,messages:i,modifiers:c,pluralRules:d,missing:m,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:v,processor:C,warnHtmlMessage:S,escapeParameter:g,messageCompiler:b,messageResolver:E,localeFallbacker:w,fallbackContext:P,onWarn:t,__meta:B};return M.datetimeFormats=a,M.numberFormats=l,M.__datetimeFormatters=k,M.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&z2(M,n,B),M}const Dd=e=>({[e]:yt()});function lp(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return Ee(a)?a:t}else return t}function Wi(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function M2(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function F2(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(M2(e,t[r]))return!0;return!1}function Md(e){return n=>V2(n,e)}function V2(e,t){const n=U2(t);if(n==null)throw Ma(0);if(cp(n)===1){const o=B2(n);return e.plural(o.reduce((i,a)=>[...i,w_(e,a)],[]))}else return w_(e,n)}const H2=["b","body"];function U2(e){return to(e,H2)}const j2=["c","cases"];function B2(e){return to(e,j2,[])}function w_(e,t){const n=W2(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=K2(t).reduce((s,o)=>[...s,Km(e,o)],[]);return e.normalize(r)}}const q2=["s","static"];function W2(e){return to(e,q2)}const G2=["i","items"];function K2(e){return to(e,G2,[])}function Km(e,t){const n=cp(t);switch(n){case 3:return Tl(t,n);case 9:return Tl(t,n);case 4:{const r=t;if(wr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(wr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Ma(n)}case 5:{const r=t;if(wr(r,"i")&&Gt(r.i))return e.interpolate(e.list(r.i));if(wr(r,"index")&&Gt(r.index))return e.interpolate(e.list(r.index));throw Ma(n)}case 6:{const r=t,s=J2(r),o=eA(r);return e.linked(Km(e,o),s?Km(e,s):void 0,e.type)}case 7:return Tl(t,n);case 8:return Tl(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const X2=["t","type"];function cp(e){return to(e,X2)}const Y2=["v","value"];function Tl(e,t){const n=to(e,Y2);if(n)return n;throw Ma(t)}const Z2=["m","modifier"];function J2(e){return to(e,Z2)}const Q2=["k","key"];function eA(e){const t=to(e,Q2);if(t)return t;throw Ma(6)}function to(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(wr(e,s)&&e[s]!=null)return e[s]}return n}function Ma(e){return new Error(`unhandled node type: ${e}`)}const tA=e=>e;let Al=yt();function vi(e){return ct(e)&&cp(e)===0&&(wr(e,"b")||wr(e,"body"))}function nA(e,t={}){let n=!1;const r=t.onError||IT;return t.onError=s=>{n=!0,r(s)},{...n2(e,t),detectError:n}}function rA(e,t){if(Ee(e)){Nt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||tA)(e),s=Al[r];if(s)return s;const{ast:o,detectError:i}=nA(e,{...t,location:!1,jit:!0}),a=Md(o);return i?a:Al[r]=a}else{const n=e.cacheKey;if(n){const r=Al[n];return r||(Al[n]=Md(e))}else return Md(e)}}const k_=()=>"",sr=e=>Mt(e);function x_(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,c]=Xm(...t),d=Nt(c.missingWarn)?c.missingWarn:e.missingWarn,m=Nt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Nt(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ee(c.default)||Nt(c.default)?Nt(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",_=n||h!=="",v=ap(e,c);f&&sA(c);let[C,S,g]=p?[l,v,a[v]||yt()]:jb(e,l,v,i,m,d),b=C,E=l;if(!p&&!(Ee(b)||vi(b)||sr(b))&&_&&(b=h,E=b),!p&&(!(Ee(b)||vi(b)||sr(b))||!Ee(S)))return s?Ru:l;let w=!1;const P=()=>{w=!0},N=sr(b)?b:Bb(e,l,S,b,E,P);if(w)return b;const k=aA(e,S,g,c),R=v2(k),B=oA(e,N,R),M=r?r(B,l):B;if(__INTLIFY_PROD_DEVTOOLS__){const H={timestamp:Date.now(),key:Ee(l)?l:sr(b)?b.key:"",locale:S||(sr(b)?b.locale:""),format:Ee(b)?b:sr(b)?b.source:"",message:M};H.meta=vn({},e.__meta,L2()||{}),C2(H)}return M}function sA(e){Jt(e.list)?e.list=e.list.map(t=>Ee(t)?m_(t):t):ct(e.named)&&Object.keys(e.named).forEach(t=>{Ee(e.named[t])&&(e.named[t]=m_(e.named[t]))})}function jb(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,d=c(e,r,n);let m=yt(),f,p=null;const h="translate";for(let _=0;_<d.length&&(f=d[_],m=i[f]||yt(),(p=l(m,t))===null&&(p=m[t]),!(Ee(p)||vi(p)||sr(p)));_++)if(!F2(f,d)){const v=lp(e,t,f,o,h);v!==t&&(p=v)}return[p,f,m]}function Bb(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(sr(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=i(r,iA(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function oA(e,t,n){return t(n)}function Xm(...e){const[t,n,r]=e,s=yt();if(!Ee(t)&&!Gt(t)&&!sr(t)&&!vi(t))throw is(jr.INVALID_ARGUMENT);const o=Gt(t)?String(t):(sr(t),t);return Gt(n)?s.plural=n:Ee(n)?s.default=n:st(n)&&!Pu(n)?s.named=n:Jt(n)&&(s.list=n),Gt(r)?s.plural=r:Ee(r)?s.default=r:st(r)&&vn(s,r),[o,s]}function iA(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>yT(t,n,i)}}function aA(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,f={locale:t,modifiers:s,pluralRules:o,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=jb(d,p,t,a,l,c);h=i(_,p)}if(Ee(h)||vi(h)){let _=!1;const C=Bb(e,p,t,h,p,()=>{_=!0});return _?k_:C}else return sr(h)?h:k_}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Gt(r.plural)&&(f.pluralIndex=r.plural),f}function T_(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,c,d,m]=Ym(...t),f=Nt(d.missingWarn)?d.missingWarn:e.missingWarn;Nt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=ap(e,d),_=i(e,s,h);if(!Ee(l)||l==="")return new Intl.DateTimeFormat(h,m).format(c);let v={},C,S=null;const g="datetime format";for(let w=0;w<_.length&&(C=_[w],v=n[C]||{},S=v[l],!st(S));w++)lp(e,l,C,f,g);if(!st(S)||!Ee(C))return r?Ru:l;let b=`${C}__${l}`;Pu(m)||(b=`${b}__${JSON.stringify(m)}`);let E=a.get(b);return E||(E=new Intl.DateTimeFormat(C,vn({},S,m)),a.set(b,E)),p?E.formatToParts(c):E.format(c)}const qb=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ym(...e){const[t,n,r,s]=e,o=yt();let i=yt(),a;if(Ee(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw is(jr.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw is(jr.INVALID_ISO_DATE_ARGUMENT)}}else if(bT(t)){if(isNaN(t.getTime()))throw is(jr.INVALID_DATE_ARGUMENT);a=t}else if(Gt(t))a=t;else throw is(jr.INVALID_ARGUMENT);return Ee(n)?o.key=n:st(n)&&Object.keys(n).forEach(l=>{qb.includes(l)?i[l]=n[l]:o[l]=n[l]}),Ee(r)?o.locale=r:st(r)&&(i=r),st(s)&&(i=s),[o.key||"",a,o,i]}function A_(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function O_(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,c,d,m]=Zm(...t),f=Nt(d.missingWarn)?d.missingWarn:e.missingWarn;Nt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=ap(e,d),_=i(e,s,h);if(!Ee(l)||l==="")return new Intl.NumberFormat(h,m).format(c);let v={},C,S=null;const g="number format";for(let w=0;w<_.length&&(C=_[w],v=n[C]||{},S=v[l],!st(S));w++)lp(e,l,C,f,g);if(!st(S)||!Ee(C))return r?Ru:l;let b=`${C}__${l}`;Pu(m)||(b=`${b}__${JSON.stringify(m)}`);let E=a.get(b);return E||(E=new Intl.NumberFormat(C,vn({},S,m)),a.set(b,E)),p?E.formatToParts(c):E.format(c)}const Wb=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Zm(...e){const[t,n,r,s]=e,o=yt();let i=yt();if(!Gt(t))throw is(jr.INVALID_ARGUMENT);const a=t;return Ee(n)?o.key=n:st(n)&&Object.keys(n).forEach(l=>{Wb.includes(l)?i[l]=n[l]:o[l]=n[l]}),Ee(r)?o.locale=r:st(r)&&(i=r),st(s)&&(i=s),[o.key||"",a,o,i]}function $_(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}r2();/*!
* vue-i18n v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const lA="9.14.2";function cA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sp().__INTLIFY_PROD_DEVTOOLS__=!1)}const uA=w2.__EXTEND_POINT__,Zr=Lu(uA);Zr(),Zr(),Zr(),Zr(),Zr(),Zr(),Zr(),Zr(),Zr();const Gb=jr.__EXTEND_POINT__,Nn=Lu(Gb),fr={UNEXPECTED_RETURN_TYPE:Gb,INVALID_ARGUMENT:Nn(),MUST_BE_CALL_SETUP_TOP:Nn(),NOT_INSTALLED:Nn(),NOT_AVAILABLE_IN_LEGACY_MODE:Nn(),REQUIRED_VALUE:Nn(),INVALID_VALUE:Nn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Nn(),NOT_INSTALLED_WITH_PROVIDE:Nn(),UNEXPECTED_ERROR:Nn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Nn(),BRIDGE_SUPPORT_VUE_2_ONLY:Nn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Nn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Nn(),__EXTEND_POINT__:Nn()};function Tr(e,...t){return Li(e,null,void 0)}const Jm=Qs("__translateVNode"),Qm=Qs("__datetimeParts"),ef=Qs("__numberParts"),dA=Qs("__setPluralRules"),mA=Qs("__injectWithOption"),tf=Qs("__dispose");function Fa(e){if(!ct(e))return e;for(const t in e)if(wr(e,t))if(!t.includes("."))ct(e[t])&&Fa(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]in s||(s[n[i]]=yt()),!ct(s[n[i]])){o=!0;break}s=s[n[i]]}o||(s[n[r]]=e[t],delete e[t]),ct(s[n[r]])&&Fa(s[n[r]])}return e}function Kb(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=st(n)?n:Jt(r)?yt():{[e]:yt()};if(Jt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||yt(),tc(c,i[l])):tc(c,i)}else Ee(a)&&tc(JSON.parse(a),i)}),s==null&&o)for(const a in i)wr(i,a)&&Fa(i[a]);return i}function Xb(e){return e.type}function fA(e,t,n){let r=ct(t.messages)?t.messages:yt();"__i18nGlobal"in n&&(r=Kb(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ct(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ct(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function N_(e){return z(ls,null,e,0)}const I_="__INTLIFY_META__",P_=()=>[],pA=()=>!1;let L_=0;function R_(e){return(t,n,r,s)=>e(n,r,On()||void 0,s)}const hA=()=>{const e=On();let t=null;return e&&(t=Xb(e)[I_])?{[I_]:t}:null};function Yb(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=Pc?ar:gu,a=!!e.translateExistCompatible;let l=Nt(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&l?n.locale.value:Ee(e.locale)?e.locale:Dc),d=i(n&&l?n.fallbackLocale.value:Ee(e.fallbackLocale)||Jt(e.fallbackLocale)||st(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),m=i(Kb(c.value,e)),f=i(st(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),p=i(st(e.numberFormats)?e.numberFormats:{[c.value]:{}});let h=n?n.missingWarn:Nt(e.missingWarn)||Lc(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:Nt(e.fallbackWarn)||Lc(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Nt(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,S=Mt(e.missing)?e.missing:null,g=Mt(e.missing)?R_(e.missing):null,b=Mt(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:Nt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const P=n?n.modifiers:st(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,k;k=(()=>{s&&S_(null);const j={version:lA,locale:c.value,fallbackLocale:d.value,messages:m.value,modifiers:P,pluralRules:N,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:_,fallbackFormat:C,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:E,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};j.datetimeFormats=f.value,j.numberFormats=p.value,j.__datetimeFormatters=st(k)?k.__datetimeFormatters:void 0,j.__numberFormatters=st(k)?k.__numberFormatters:void 0;const Z=D2(j);return s&&S_(Z),Z})(),Wi(k,c.value,d.value);function B(){return[c.value,d.value,m.value,f.value,p.value]}const M=en({get:()=>c.value,set:j=>{c.value=j,k.locale=c.value}}),H=en({get:()=>d.value,set:j=>{d.value=j,k.fallbackLocale=d.value,Wi(k,c.value,j)}}),X=en(()=>m.value),ae=en(()=>f.value),G=en(()=>p.value);function te(){return Mt(b)?b:null}function le(j){b=j,k.postTranslation=j}function Ae(){return S}function Qe(j){j!==null&&(g=R_(j)),S=j,k.missing=g}const De=(j,Z,we,V,U,K)=>{B();let re;try{__INTLIFY_PROD_DEVTOOLS__,s||(k.fallbackContext=n?R2():void 0),re=j(k)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(k.fallbackContext=void 0)}if(we!=="translate exists"&&Gt(re)&&re===Ru||we==="translate exists"&&!re){const[_e,Te]=Z();return n&&v?V(n):U(_e)}else{if(K(re))return re;throw Tr(fr.UNEXPECTED_RETURN_TYPE)}};function je(...j){return De(Z=>Reflect.apply(x_,null,[Z,...j]),()=>Xm(...j),"translate",Z=>Reflect.apply(Z.t,Z,[...j]),Z=>Z,Z=>Ee(Z))}function ft(...j){const[Z,we,V]=j;if(V&&!ct(V))throw Tr(fr.INVALID_ARGUMENT);return je(Z,we,vn({resolvedMessage:!0},V||{}))}function pt(...j){return De(Z=>Reflect.apply(T_,null,[Z,...j]),()=>Ym(...j),"datetime format",Z=>Reflect.apply(Z.d,Z,[...j]),()=>z_,Z=>Ee(Z))}function gt(...j){return De(Z=>Reflect.apply(O_,null,[Z,...j]),()=>Zm(...j),"number format",Z=>Reflect.apply(Z.n,Z,[...j]),()=>z_,Z=>Ee(Z))}function Ge(j){return j.map(Z=>Ee(Z)||Gt(Z)||Nt(Z)?N_(String(Z)):Z)}const fe={normalize:Ge,interpolate:j=>j,type:"vnode"};function de(...j){return De(Z=>{let we;const V=Z;try{V.processor=fe,we=Reflect.apply(x_,null,[V,...j])}finally{V.processor=null}return we},()=>Xm(...j),"translate",Z=>Z[Jm](...j),Z=>[N_(Z)],Z=>Jt(Z))}function ye(...j){return De(Z=>Reflect.apply(O_,null,[Z,...j]),()=>Zm(...j),"number format",Z=>Z[ef](...j),P_,Z=>Ee(Z)||Jt(Z))}function Be(...j){return De(Z=>Reflect.apply(T_,null,[Z,...j]),()=>Ym(...j),"datetime format",Z=>Z[Qm](...j),P_,Z=>Ee(Z)||Jt(Z))}function Xe(j){N=j,k.pluralRules=N}function O(j,Z){return De(()=>{if(!j)return!1;const we=Ee(Z)?Z:c.value,V=ne(we),U=k.messageResolver(V,j);return a?U!=null:vi(U)||sr(U)||Ee(U)},()=>[j],"translate exists",we=>Reflect.apply(we.te,we,[j,Z]),pA,we=>Nt(we))}function I(j){let Z=null;const we=Db(k,d.value,c.value);for(let V=0;V<we.length;V++){const U=m.value[we[V]]||{},K=k.messageResolver(U,j);if(K!=null){Z=K;break}}return Z}function q(j){const Z=I(j);return Z??(n?n.tm(j)||{}:{})}function ne(j){return m.value[j]||{}}function J(j,Z){if(o){const we={[j]:Z};for(const V in we)wr(we,V)&&Fa(we[V]);Z=we[j]}m.value[j]=Z,k.messages=m.value}function ie(j,Z){m.value[j]=m.value[j]||{};const we={[j]:Z};if(o)for(const V in we)wr(we,V)&&Fa(we[V]);Z=we[j],tc(Z,m.value[j]),k.messages=m.value}function pe(j){return f.value[j]||{}}function T(j,Z){f.value[j]=Z,k.datetimeFormats=f.value,A_(k,j,Z)}function A(j,Z){f.value[j]=vn(f.value[j]||{},Z),k.datetimeFormats=f.value,A_(k,j,Z)}function F(j){return p.value[j]||{}}function se(j,Z){p.value[j]=Z,k.numberFormats=p.value,$_(k,j,Z)}function ce(j,Z){p.value[j]=vn(p.value[j]||{},Z),k.numberFormats=p.value,$_(k,j,Z)}L_++,n&&Pc&&(Zn(n.locale,j=>{l&&(c.value=j,k.locale=j,Wi(k,c.value,d.value))}),Zn(n.fallbackLocale,j=>{l&&(d.value=j,k.fallbackLocale=j,Wi(k,c.value,d.value))}));const oe={id:L_,locale:M,fallbackLocale:H,get inheritLocale(){return l},set inheritLocale(j){l=j,j&&n&&(c.value=n.locale.value,d.value=n.fallbackLocale.value,Wi(k,c.value,d.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:X,get modifiers(){return P},get pluralRules(){return N||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(j){h=j,k.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(j){_=j,k.fallbackWarn=_},get fallbackRoot(){return v},set fallbackRoot(j){v=j},get fallbackFormat(){return C},set fallbackFormat(j){C=j,k.fallbackFormat=C},get warnHtmlMessage(){return E},set warnHtmlMessage(j){E=j,k.warnHtmlMessage=j},get escapeParameter(){return w},set escapeParameter(j){w=j,k.escapeParameter=j},t:je,getLocaleMessage:ne,setLocaleMessage:J,mergeLocaleMessage:ie,getPostTranslationHandler:te,setPostTranslationHandler:le,getMissingHandler:Ae,setMissingHandler:Qe,[dA]:Xe};return oe.datetimeFormats=ae,oe.numberFormats=G,oe.rt=ft,oe.te=O,oe.tm=q,oe.d=pt,oe.n=gt,oe.getDateTimeFormat=pe,oe.setDateTimeFormat=T,oe.mergeDateTimeFormat=A,oe.getNumberFormat=F,oe.setNumberFormat=se,oe.mergeNumberFormat=ce,oe[mA]=r,oe[Jm]=de,oe[Qm]=Be,oe[ef]=ye,oe}const up={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function _A({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===be?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},yt())}function Zb(e){return be}const gA=gs({name:"i18n-t",props:vn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Gt(e)||!isNaN(e)}},up),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||dp({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(m=>m!=="_"),i=yt();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ee(e.plural)?+e.plural:e.plural);const a=_A(t,o),l=s[Jm](e.keypath,a,i),c=vn(yt(),r),d=Ee(e.tag)||ct(e.tag)?e.tag:Zb();return Ur(d,c,l)}}}),D_=gA;function yA(e){return Jt(e)&&!Ee(e[0])}function Jb(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a=yt();e.locale&&(i.locale=e.locale),Ee(e.format)?i.key=e.format:ct(e.format)&&(Ee(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?vn(yt(),f,{[p]:e.format[p]}):f,yt()));const l=r(e.value,i,a);let c=[i.key];Jt(l)?c=l.map((f,p)=>{const h=s[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return yA(_)&&(_[0].key=`${f.type}-${p}`),_}):Ee(l)&&(c=[l]);const d=vn(yt(),o),m=Ee(e.tag)||ct(e.tag)?e.tag:Zb();return Ur(m,d,c)}}const vA=gs({name:"i18n-n",props:vn({value:{type:Number,required:!0},format:{type:[String,Object]}},up),setup(e,t){const n=e.i18n||dp({useScope:e.scope,__useComponent:!0});return Jb(e,t,Wb,(...r)=>n[ef](...r))}}),M_=vA,bA=gs({name:"i18n-d",props:vn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},up),setup(e,t){const n=e.i18n||dp({useScope:e.scope,__useComponent:!0});return Jb(e,t,qb,(...r)=>n[Qm](...r))}}),F_=bA;function zA(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function CA(e){const t=i=>{const{instance:a,modifiers:l,value:c}=i;if(!a||!a.$)throw Tr(fr.UNEXPECTED_ERROR);const d=zA(e,a.$),m=V_(c);return[Reflect.apply(d.t,d,[...H_(m)]),d]};return{created:(i,a)=>{const[l,c]=t(a);Pc&&e.global===c&&(i.__i18nWatcher=Zn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Pc&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=V_(a);i.textContent=Reflect.apply(l.t,l,[...H_(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function V_(e){if(Ee(e))return{path:e};if(st(e)){if(!("path"in e))throw Tr(fr.REQUIRED_VALUE,"path");return e}else throw Tr(fr.INVALID_VALUE)}function H_(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return Ee(n)&&(i.locale=n),Gt(s)&&(i.plural=s),Gt(o)&&(i.plural=o),[t,a,i]}function SA(e,t,...n){const r=st(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Nt(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":D_.name,"I18nT"].forEach(i=>e.component(i,D_)),[M_.name,"I18nN"].forEach(i=>e.component(i,M_)),[F_.name,"I18nD"].forEach(i=>e.component(i,F_))),e.directive("t",CA(t))}const EA=Qs("global-vue-i18n");function wA(e={},t){const n=Nt(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,i]=kA(e),a=Qs("");function l(m){return s.get(m)||null}function c(m,f){s.set(m,f)}function d(m){s.delete(m)}{const m={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,m),st(p[0])){const v=p[0];m.__composerExtend=v.__composerExtend,m.__vueI18nExtend=v.__vueI18nExtend}let h=null;n&&(h=PA(f,m.global)),SA(f,m,...p);const _=f.unmount;f.unmount=()=>{h&&h(),m.dispose(),_()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:l,__setInstance:c,__deleteInstance:d};return m}}function dp(e={}){const t=On();if(t==null)throw Tr(fr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Tr(fr.NOT_INSTALLED);const n=xA(t),r=AA(n),s=Xb(t),o=TA(e,s);if(o==="global")return fA(r,e,s),r;if(o==="parent"){let l=OA(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=vn({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=Yb(l),i.__composerExtend&&(a[tf]=i.__composerExtend(a)),NA(i,t,a),i.__setInstance(t,a)}return a}function kA(e,t,n){const r=uu();{const s=r.run(()=>Yb(e));if(s==null)throw Tr(fr.UNEXPECTED_ERROR);return[r,s]}}function xA(e){{const t=lr(e.isCE?EA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Tr(e.isCE?fr.NOT_INSTALLED_WITH_PROVIDE:fr.UNEXPECTED_ERROR);return t}}function TA(e,t){return Pu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function AA(e){return e.mode==="composition"?e.global:e.global.__composer}function OA(e,t,n=!1){let r=null;const s=t.root;let o=$A(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function $A(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function NA(e,t,n){Ni(()=>{},t),el(()=>{const r=n;e.__deleteInstance(t);const s=r[tf];s&&(s(),delete r[tf])},t)}const IA=["locale","fallbackLocale","availableLocales"],U_=["t","rt","d","n","tm","te"];function PA(e,t){const n=Object.create(null);return IA.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Tr(fr.UNEXPECTED_ERROR);const i=Ot(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,U_.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Tr(fr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,U_.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}cA();$2(rA);N2(d2);I2(Db);if(__INTLIFY_PROD_DEVTOOLS__){const e=sp();e.__INTLIFY__=!0,b2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Fd=e=>e&&typeof e=="object"&&!Array.isArray(e),nf=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Fd(e)&&Fd(n))for(const r in n)Fd(n[r])?(e[r]||Object.assign(e,{[r]:{}}),nf(e[r],n[r])):Object.assign(e,{[r]:n[r]});return nf(e,...t)},LA=nf({},{de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite…"])},title:e=>{const{normalize:t}=e;return t(["Podcast hinzufügen"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gelöschten und veränderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["Vereinfachtes Chinesisch (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Traditionelles Chinesisch (繁體中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten löschen "])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track kann nicht gespielt werden"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", Beschränkungsgrund: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Hörbuch"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["Über"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"])},stream:e=>{const{normalize:t}=e;return t(["HTTP-stream"])},volume:e=>{const{normalize:t}=e;return t(["Lautstärke"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},settings:e=>{const{normalize:t}=e;return t(["Einstellungen"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Oberfläche erstellt mit ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," und ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterstützung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},more:e=>{const{normalize:t}=e;return t(["mehr"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Gesamte Spielzeit"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["vor ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Neu eingelesen"])},uptime:e=>{const{normalize:t}=e;return t(["Laufzeit"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Künstler Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Künstler Erscheinungsdatum"])},title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])},"recently-released":e=>{const{normalize:t}=e;return t(["Kürzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Inhalt"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Künstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Künstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["Künstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbücher"])])},title:e=>{const{normalize:t}=e;return t(["Hörbücher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Autor"]),t([n(r("count"))," Autor"]),t([n(r("count"))," Autoren"])])},title:e=>{const{normalize:t}=e;return t(["Autoren"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Autoren"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponisten"])])},title:e=>{const{normalize:t}=e;return t(["Komponisten"])}},files:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Dateien"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Kürzlich gespielt"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Verlauf"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Tracks durch Auswählen aus der Bibliothek anfügen"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlisten"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Podcast"]),t([n(r("count"))," Podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Alle abgespielten markieren"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Neue Episoden"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Station"]),t([n(r("count"))," Station"]),t([n(r("count"))," Stationen"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Bereitgestellte Artwork von Radiostationen ignorieren"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell läuft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten für die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell läuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterstützung für Last.fm erstellt."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet für "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für OwnTone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausgänge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Ordner"])},plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf löschen"])},pause:e=>{const{normalize:t}=e;return t(["Wiedergabe anhalten"])},play:e=>{const{normalize:t}=e;return t(["Wiedergeben"])},repeat:e=>{const{normalize:t}=e;return t(["Alle Tracks wiederholen"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Tracks einmal lesen"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Aktuellen Track wiederholen"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Rückwärts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorwärts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zufällig wiedergeben"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Tracks in Reihenfolge wiedergeben"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Zum vorherigen Track springen"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Zum nächsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Liedtexte anzeigen/verbergen"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Anfrage gescheitert (Status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Warteschlange zu Playlist ",n(r("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])},undefined:e=>{const{normalize:t}=e;return t(["Unbestimmt"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}}},{en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add stream"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Update library"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["Simplified Chinese (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Traditional Chinese (繁體中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", restriction reason: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Audiobook"])},music:e=>{const{normalize:t}=e;return t(["Music"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["About"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Web interface built with ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," and ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiled with support for ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},more:e=>{const{normalize:t}=e;return t(["more"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Total playtime"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Update"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," ago"])},updated:e=>{const{normalize:t}=e;return t(["Updated"])},uptime:e=>{const{normalize:t}=e;return t(["Uptime"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artist Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artist Release date"])},title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides the content only appearing in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide the content from Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," artist"]),t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobooks"])])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," author"]),t([n(r("count"))," author"]),t([n(r("count"))," authors"])])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," composer"]),t([n(r("count"))," composer"]),t([n(r("count"))," composers"])])},title:e=>{const{normalize:t}=e;return t(["Composers"])}},files:{play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Files"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["History"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlists"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Mark All Played"])},"new-episodes":e=>{const{normalize:t}=e;return t(["New Episodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Update"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Add stream"])},clear:e=>{const{normalize:t}=e;return t(["Clear"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Ignore artwork provided by radio stations"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Folder"])},plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Toggle lyrics"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Request failed (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Queue saved to playlist ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track appended to the queue"]),t([n(r("count"))," tracks appended to the queue"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])},undefined:e=>{const{normalize:t}=e;return t(["Undefined"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}}},{fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["Lajout dun podcast inclut la création dune liste de lecture RSS, qui permettra à OwnTone de gérer labonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file dattente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajoutés, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])},"zh-CN":e=>{const{normalize:t}=e;return t(["Chinois simplifié (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Chinois traditionnel (繁體中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas être lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", raison de la restriction : ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Livre audio"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["À propos"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison dun problème réseau"])},stream:e=>{const{normalize:t}=e;return t(["Flux HTTP"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},settings:e=>{const{normalize:t}=e;return t(["Réglages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Interface utilisateur construite avec ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," et ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compilé avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},more:e=>{const{normalize:t}=e;return t(["plus"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Durée totale de lecture"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["il y a ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis à jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes napparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artiste Nom"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artiste Date de sortie"])},title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties récentes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque le contenu qui napparaît que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer le contenu de Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),t([n(r("count"))," auteurs"])])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeurs"])])},title:e=>{const{normalize:t}=e;return t(["Compositeurs"])}},files:{play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Fichiers"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Historique"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Ajoutez des pistes en parcourant votre bibliothèque"])},live:e=>{const{normalize:t}=e;return t(["En direct"])},title:e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux épisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer lhistorique"])},queue:e=>{const{normalize:t}=e;return t(["File dattente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs dillustrations suivants :"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustrations dans la liste dalbums"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Ignorer les illustrations fournies par les stations de radio"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN quelle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage denceinte et vérification dappareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous sélectionnez plus déléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre dalbums affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Létiquette de genre de la piste actuelle est comparée en vérifiant si lun des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont létiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom dutilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom dutilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session nexpire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["Loption Last.fm nest pas présente."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["Loption Spotify nest pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["Laccès à lAPI de Spotify permet lanalyse de votre bibliothèque Spotify. Les champs dapplication requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser laccès à lAPI"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez laccès à lAPI de Spotify"])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau laccès à lAPI pour accorder à OwnTone les droits daccès supplémentaires suivants :"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom dutilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Listes de lecture en vedette"])},"new-releases":e=>{const{normalize:t}=e;return t(["Nouvelle sorties"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la piste"]),t(["Afficher les ",n(r("count"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Dossier"])},plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer lhistorique"])},pause:e=>{const{normalize:t}=e;return t(["Mettre la lecture en pause"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},repeat:e=>{const{normalize:t}=e;return t(["Répéter toutes les pistes"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Lire les pistes une fois"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Répéter la piste en cours"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Reculer dans la piste"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Avancer dans la piste"])},shuffle:e=>{const{normalize:t}=e;return t(["Lire les pistes aléatoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans lordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer à la piste précédente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer à la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arrêter la lecture"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Voir/Cacher les paroles"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à lenregistrement du réglage)"])},saved:e=>{const{normalize:t}=e;return t([" (réglage enregistré)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec de connexion au serveur"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La requête a échoué (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La file dattente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste ajoutée à la file dattente"]),t([n(r("count"))," pistes ajoutées à la file dattente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Aujourdhui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])},undefined:e=>{const{normalize:t}=e;return t(["Indéfini"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stéréo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," canal"]),t([n(r("count"))," canaux"])])}}}},{"zh-CN":{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["链接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["流"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["添加一个可生成播放列表的播客RSS链接这将允许OwnTone管理订阅"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["处理中…"])},title:e=>{const{normalize:t}=e;return t(["添加播客"])}},stream:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["加载中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["添加流"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},artist:e=>{const{normalize:t}=e;return t(["专辑艺人"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名称"])},save:e=>{const{normalize:t}=e;return t(["保存"])},saving:e=>{const{normalize:t}=e;return t(["保存中…"])},title:e=>{const{normalize:t}=e;return t(["保存播放清单到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遥控配对"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对码"])},title:e=>{const{normalize:t}=e;return t(["请求遥控配对"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉丝数"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["评论"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["标记为最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有内容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["仅更新RSS订阅内容"])},info:e=>{const{normalize:t}=e;return t(["扫描新的、删除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["仅更新本地资料库"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地资料库…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新扫描未修改文件的元数据"])},rescan:e=>{const{normalize:t}=e;return t(["重新扫描"])},spotify:e=>{const{normalize:t}=e;return t(["仅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["更新资料库"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德语 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英语 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法语 (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["简体中文"])},"zh-TW":e=>{const{normalize:t}=e;return t(["繁體中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客吗?"])},"info-2":e=>{const{normalize:t}=e;return t(["这也将移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目无法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([",被限制原因:",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["专辑"])},audiobook:e=>{const{normalize:t}=e;return t(["有声读物"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},podcast:e=>{const{normalize:t}=e;return t(["播客"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["关于"])},albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP流错误流载入失败或者由于网络原因无法载入"])},stream:e=>{const{normalize:t}=e;return t(["HTTP流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},settings:e=>{const{normalize:t}=e;return t(["设置"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["更新资料库"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面贡献者包括 ",n(r("bulma")),"",n(r("mdi")),"",n(r("vuejs")),"",n(r("axios"))," 和 ",n(r("others"))])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["编译支持来自于 ",n(r("options"))])},library:e=>{const{normalize:t}=e;return t(["资料库"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["总播放时长"])},tracks:e=>{const{normalize:t}=e;return t(["曲目总数"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新于"])},uptime:e=>{const{normalize:t}=e;return t(["运行时长"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的专辑"])},title:e=>{const{normalize:t}=e;return t(["专辑"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["艺人 名称"])},"artist-date":e=>{const{normalize:t}=e;return t(["艺人 发行日期"])},title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近发行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏只出现在Spotify库中的内容"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的内容"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位艺人"]),t([n(r("count"))," 位艺人"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的艺人"])},title:e=>{const{normalize:t}=e;return t(["艺人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个有声读物"]),t([n(r("count"))," 个有声读物"])])},title:e=>{const{normalize:t}=e;return t(["有声读物"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},genres:e=>{const{normalize:t}=e;return t(["流派"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近添加"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},history:e=>{const{normalize:t}=e;return t(["历史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["浏览资料库添加曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清单是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["添加"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个播客"]),t([n(r("count"))," 个播客"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部标记为已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新单集"])},title:e=>{const{normalize:t}=e;return t(["播客"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["添加流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},edit:e=>{const{normalize:t}=e;return t(["编辑"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隐藏历史"])},title:e=>{const{normalize:t}=e;return t(["清单"])},save:e=>{const{normalize:t}=e;return t(["保存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个电台"]),t([n(r("count"))," 个电台"])])},title:e=>{const{normalize:t}=e;return t(["广播电台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表达式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前缀,则可以通过智能播放列表查询语言 ",n(r("help"))," 进行搜索"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["资料库"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中也可以通过广播电台在线提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您还可以从以下素材提供者获取封面:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["忽略广播电台提供的作品"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["没有活跃的配对请求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对代码"])},"pairing-request":e=>{const{normalize:t}=e;return t(["远程配对请求来自于 "])},pairing:e=>{const{normalize:t}=e;return t(["遥控配对"])},send:e=>{const{normalize:t}=e;return t(["发送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["扬声器配对和设备验证"])},"verification-code":e=>{const{normalize:t}=e;return t(["验证码"])},verify:e=>{const{normalize:t}=e;return t(["验证"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},language:e=>{const{normalize:t}=e;return t(["语言"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["选择顶部导航栏菜单项"])},"navigation-items":e=>{const{normalize:t}=e;return t(["导航条"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”页面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近添加”页面上显示的专辑数量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近添加”页面"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗号分隔流派,作曲家会在“正在播放的页面”上显示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始终显示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["仅显示列出的流派的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果启用,当前播放曲目的作曲家将显示在“正在播放页面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["显示作曲家"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”页面显示文件路径"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用户名和密码登录以启用记录功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自Last.fm的官方支持"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登录为 "])},requirements:e=>{const{normalize:t}=e;return t(["您必须拥有 Spotify付费帐户"])},scopes:e=>{const{normalize:t}=e;return t(["访问 Spotify Web API 可以扫描您的 Spotify库。所需范围是"])},user:e=>{const{normalize:t}=e;return t(["授予访问权限"])},authorize:e=>{const{normalize:t}=e;return t(["授权 Web API 访问"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},reauthorize:e=>{const{normalize:t}=e;return t(["请重新授权 Web API 访问权限,以授予 OwnTone 以下附加访问权限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密码"])},username:e=>{const{normalize:t}=e;return t(["用户名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概览"])},"online-services":e=>{const{normalize:t}=e;return t(["在线服务"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遥控和输出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新发行"])},"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["文件夹"])},plain:e=>{const{normalize:t}=e;return t(["简单"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除历史"])},pause:e=>{const{normalize:t}=e;return t(["暂停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重复播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目仅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重复当前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在当前曲目后退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在当前曲目前进"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按顺序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["显示/隐藏歌词"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (设置保存错误)"])},saved:e=>{const{normalize:t}=e;return t([" (设置已保存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["无法连接到 OwnTone 服务器"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["请求失败 (状态:",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清单以添加到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["已附加到队列的 ",n(r("count"))," 只曲目"]),t(["已附加到队列的 ",n(r("count"))," 只曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清单是空的"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])},undefined:e=>{const{normalize:t}=e;return t(["未定义"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["单声道"])},stereo:e=>{const{normalize:t}=e;return t(["立体声"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}},{"zh-TW":{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["鏈接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["串流"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["新增"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["新增一個可生成播放列表的Podcast RSS鏈接這將允許OwnTone管理訂閱"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["處理中…"])},title:e=>{const{normalize:t}=e;return t(["新增Podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["新增"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["載入中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["新增串流"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"added-on":e=>{const{normalize:t}=e;return t(["新增時間"])},artist:e=>{const{normalize:t}=e;return t(["專輯藝人"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["標記為已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除Podcast"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])},type:e=>{const{normalize:t}=e;return t(["類型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"added-on":e=>{const{normalize:t}=e;return t(["新增時間"])},albums:e=>{const{normalize:t}=e;return t(["張專輯"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])},type:e=>{const{normalize:t}=e;return t(["類型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},albums:e=>{const{normalize:t}=e;return t(["張專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},albums:e=>{const{normalize:t}=e;return t(["張專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])},type:e=>{const{normalize:t}=e;return t(["類型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名稱"])},save:e=>{const{normalize:t}=e;return t(["儲存"])},saving:e=>{const{normalize:t}=e;return t(["儲存中…"])},title:e=>{const{normalize:t}=e;return t(["儲存播放清單到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},album:e=>{const{normalize:t}=e;return t(["專輯"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["作曲"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},genre:e=>{const{normalize:t}=e;return t(["音樂類型"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["品質"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["專輯"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["藝人"])},type:e=>{const{normalize:t}=e;return t(["類型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遙控配對"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配對碼"])},title:e=>{const{normalize:t}=e;return t(["請求遙控配對"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])},type:e=>{const{normalize:t}=e;return t(["類型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉絲數"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},album:e=>{const{normalize:t}=e;return t(["專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"added-on":e=>{const{normalize:t}=e;return t(["新增時間"])},"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},album:e=>{const{normalize:t}=e;return t(["專輯"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["評論"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},genre:e=>{const{normalize:t}=e;return t(["音樂類型"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["標記為最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["標記為已播放"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["品質"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["評級"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["專輯"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["藝人"])},type:e=>{const{normalize:t}=e;return t(["類型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有內容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["僅更新RSS訂閱內容"])},info:e=>{const{normalize:t}=e;return t(["掃描新的、刪除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["僅更新本地資料庫"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地資料庫…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新掃描未修改文件的中繼資料"])},rescan:e=>{const{normalize:t}=e;return t(["重新掃描"])},spotify:e=>{const{normalize:t}=e;return t(["僅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["更新資料庫"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德語 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英語 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法語 (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["簡體中文"])},"zh-TW":e=>{const{normalize:t}=e;return t(["繁體中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["從資料庫中永久移除該Podcast嗎"])},"info-2":e=>{const{normalize:t}=e;return t(["這也將移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除Podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目無法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([",被限制原因:",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["專輯"])},audiobook:e=>{const{normalize:t}=e;return t(["有聲書"])},music:e=>{const{normalize:t}=e;return t(["音樂"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["關於"])},albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP串流錯誤串流載入失敗或者由於網絡原因無法載入"])},stream:e=>{const{normalize:t}=e;return t(["HTTP串流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},music:e=>{const{normalize:t}=e;return t(["音樂"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcast"])},radio:e=>{const{normalize:t}=e;return t(["電台"])},search:e=>{const{normalize:t}=e;return t(["搜尋"])},settings:e=>{const{normalize:t}=e;return t(["設定"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["更新資料庫"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面貢獻者包括 ",n(r("bulma")),"",n(r("mdi")),"",n(r("vuejs")),"",n(r("axios"))," 和 ",n(r("others"))])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["編譯支持來自於 ",n(r("options"))])},library:e=>{const{normalize:t}=e;return t(["資料庫"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["總播放時長"])},tracks:e=>{const{normalize:t}=e;return t(["曲目總數"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新於"])},uptime:e=>{const{normalize:t}=e;return t(["運行時長"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},filter:e=>{const{normalize:t}=e;return t(["篩選"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果啓用,將隱藏僅在播放列表出現的單曲和專輯"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隱藏單曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果啓用將隱藏僅在Spotify資料庫出現的專輯"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隱藏來自Spotify的專輯"])},title:e=>{const{normalize:t}=e;return t(["專輯"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["藝人 名稱"])},"artist-date":e=>{const{normalize:t}=e;return t(["藝人 發行日期"])},title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近新增"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近發行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},filter:e=>{const{normalize:t}=e;return t(["篩選"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果啓用將隱藏只出現在Spotify庫中的內容"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隱藏來自Spotify的內容"])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},rating:e=>{const{normalize:t}=e;return t(["評級"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位藝人"]),t([n(r("count"))," 位藝人"])])},filter:e=>{const{normalize:t}=e;return t(["篩選"])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近新增"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果啓用,將隱藏僅在播放列表出現的單曲和專輯"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隱藏單曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果啓用將隱藏僅在Spotify資料庫出現的專輯"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隱藏來自Spotify的藝人"])},title:e=>{const{normalize:t}=e;return t(["藝人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 個有聲書"]),t([n(r("count"))," 個有聲書"])])},title:e=>{const{normalize:t}=e;return t(["有聲書"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},rating:e=>{const{normalize:t}=e;return t(["評級"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},rating:e=>{const{normalize:t}=e;return t(["評級"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 個音樂類型"]),t([n(r("count"))," 個音樂類型"])])},title:e=>{const{normalize:t}=e;return t(["音樂類型"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["顯示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近新增"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},history:e=>{const{normalize:t}=e;return t(["歷史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["瀏覽資料庫新增曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清單是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 個播放列表"]),t([n(r("count"))," 個播放列表"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["從資料庫中永久移除該Podcast"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["這也將移除該PodcastRSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除Podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["新增"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 個Podcast"]),t([n(r("count"))," 個Podcast"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部標記為已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新單集"])},title:e=>{const{normalize:t}=e;return t(["Podcast"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["新增串流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},edit:e=>{const{normalize:t}=e;return t(["編輯"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隱藏歷史"])},title:e=>{const{normalize:t}=e;return t(["清單"])},save:e=>{const{normalize:t}=e;return t(["儲存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 個電台"]),t([n(r("count"))," 個電台"])])},title:e=>{const{normalize:t}=e;return t(["電台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表達式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前綴,則可以通過智能播放列表查詢語言 ",n(r("help"))," 進行搜尋"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到結果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜尋"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcast"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示專輯"]),t(["顯示所有 ",n(r("count"))," 個專輯"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示藝人"]),t(["顯示所有 ",n(r("count"))," 位藝人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示有聲書"]),t(["顯示所有 ",n(r("count"))," 本有聲書"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示作曲家"]),t(["顯示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示播放列表"]),t(["顯示所有 ",n(r("count"))," 個播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示Podcast"]),t(["顯示所有 ",n(r("count"))," 個Podcast"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示曲目"]),t(["顯示所有 ",n(r("count"))," 首曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["資料庫"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面這些封面可以作為單獨的圖像文件放置在庫中或嵌入到媒體文件中也可以通過電台在線提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您還可以從以下素材提供者獲取封面:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在專輯列表中顯示封面藝術作品"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["忽略電台提供的作品"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["沒有活躍的配對請求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配對代碼"])},"pairing-request":e=>{const{normalize:t}=e;return t(["遠程配對請求來自於 "])},pairing:e=>{const{normalize:t}=e;return t(["遙控配對"])},send:e=>{const{normalize:t}=e;return t(["發送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["揚聲器配對和設備驗證"])},"verification-code":e=>{const{normalize:t}=e;return t(["驗證碼"])},verify:e=>{const{normalize:t}=e;return t(["驗證"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},language:e=>{const{normalize:t}=e;return t(["語言"])},music:e=>{const{normalize:t}=e;return t(["音樂"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您選擇的項目多於屏幕上可以顯示的項目,則側邊欄菜單將會消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["選擇頂部導航欄菜單項"])},"navigation-items":e=>{const{normalize:t}=e;return t(["導航條"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”頁面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcast"])},radio:e=>{const{normalize:t}=e;return t(["電台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近新增”頁面上顯示的專輯數量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近新增”頁面"])},search:e=>{const{normalize:t}=e;return t(["搜尋"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗號分隔音樂類型,作曲家會在“正在播放的頁面”上顯示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始終顯示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["僅顯示列出的音樂類型的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果啓用,當前播放曲目的作曲家將顯示在“正在播放頁面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["顯示作曲家"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”頁面顯示文件路徑"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用戶名和密碼登入以啓用記錄功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不會存儲您的 Last.fm 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone並無Last.fm的官方支持"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone並無 Spotify 官方的支持,也未安裝 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登入為 "])},requirements:e=>{const{normalize:t}=e;return t(["您必須擁有 Spotify付費帳戶"])},scopes:e=>{const{normalize:t}=e;return t(["訪問 Spotify Web API 可以掃描您的 Spotify庫。所需範圍是"])},user:e=>{const{normalize:t}=e;return t(["授予訪問權限"])},authorize:e=>{const{normalize:t}=e;return t(["授權 Web API 訪問"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予對 Spotify Web API 的訪問權限"])},reauthorize:e=>{const{normalize:t}=e;return t(["請重新授權 Web API 訪問權限,以授予 OwnTone 以下附加訪問權限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密碼"])},username:e=>{const{normalize:t}=e;return t(["用戶名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概覽"])},"online-services":e=>{const{normalize:t}=e;return t(["在線服務"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遙控和輸出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新發行"])},"show-more":e=>{const{normalize:t}=e;return t(["顯示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到結果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜尋"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示專輯"]),t(["顯示所有 ",n(r("count"))," 個專輯"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示藝人"]),t(["顯示所有 ",n(r("count"))," 位藝人"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示播放列表"]),t(["顯示所有 ",n(r("count"))," 個播放列表"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["顯示曲目"]),t(["顯示所有 ",n(r("count"))," 首曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["檔案夾"])},plain:e=>{const{normalize:t}=e;return t(["簡單"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除歷史"])},pause:e=>{const{normalize:t}=e;return t(["暫停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重復播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目僅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重復當前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在當前曲目後退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在當前曲目前進"])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按順序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["顯示/隱藏歌詞"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (設定儲存錯誤)"])},saved:e=>{const{normalize:t}=e;return t([" (設定已儲存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["無法連接到 OwnTone 伺服器"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["請求失敗 (狀態:",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清單以新增到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["已附加到隊列的 ",n(r("count"))," 首曲目"]),t(["已附加到隊列的 ",n(r("count"))," 首曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清單是空的"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])},undefined:e=>{const{normalize:t}=e;return t(["未定義"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["單聲道"])},stereo:e=>{const{normalize:t}=e;return t(["立體聲"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}}),Du=wA({fallbackLocale:"en",fallbackWarn:!1,locale:navigator.language,messages:LA,missingWarn:!1}),Hr=_r("NotificationsStore",{state:()=>({list:[],next_id:1}),actions:{add(e){const t={id:this.next_id++,text:e.text,timeout:e.timeout,topic:e.topic,type:e.type};if(t.topic){const n=this.list.findIndex(r=>r.topic===t.topic);if(n>=0){this.list.splice(n,1,t);return}}this.list.push(t),e.timeout>0&&setTimeout(()=>{this.remove(t)},e.timeout)},remove(e){const t=this.list.indexOf(e);t!==-1&&this.list.splice(t,1)}}}),er=_r("PlayerStore",{state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0})}),Ar=_r("QueueStore",{state:()=>({count:0,items:[],version:0}),getters:{current(e){const t=er();return e.items.find(n=>n.id===t.item_id)??{}}}}),{t:Qo}=Du.global;me.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&Hr().add({text:Qo("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const W={config(){return me.get("./api/config")},lastfm(){return me.get("./api/lastfm")},lastfm_login(e){return me.post("./api/lastfm-login",e)},lastfm_logout(){return me.get("./api/lastfm-logout")},library_add(e){return me.post("./api/library/add",null,{params:{url:e}})},library_album(e){return me.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return me.put(`./api/library/albums/${e}/tracks`,null,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return me.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e){return me.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return me.get(`./api/library/artists/${e}`)},library_artist_albums(e){return me.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return me.get("./api/search",{params:t})},library_artists(e){return me.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return me.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return me.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return me.get("./api/search",{params:t})},library_composers(e){return me.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return me.get(`./api/library/count?expression=${e}`)},library_files(e){return me.get("./api/library/files",{params:{directory:e}})},library_genre(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"genres"};return me.get("./api/search",{params:n})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return me.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return me.get("./api/search",{params:n})},library_genres(e){const t={expression:`media_kind is ${e}`,type:"genres"};return me.get("./api/search",{params:t})},library_playlist(e){return me.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return me.delete(`./api/library/playlists/${e}`,null)},library_playlist_folder(e=0){return me.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return me.get(`./api/library/playlists/${e}/tracks`)},library_podcast_episodes(e){const t={expression:`media_kind is podcast and songalbumid is "${e}" ORDER BY date_released DESC`,type:"tracks"};return me.get("./api/search",{params:t})},library_podcasts_new_episodes(){const e={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return me.get("./api/search",{params:e})},library_radio_streams(){const e={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return me.get("./api/search",{params:e})},library_rescan(e){return me.put("./api/rescan",null,{params:{scan_kind:e}})},library_stats(){return me.get("./api/library")},library_track(e){return me.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return me.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return me.put(`./api/library/tracks/${e}`,null,{params:t})},library_update(e){return me.put("./api/update",null,{params:{scan_kind:e}})},output_toggle(e){return me.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return me.put(`./api/outputs/${e}`,t)},outputs(){return me.get("./api/outputs")},pairing(){return me.get("./api/pairing")},pairing_kickoff(e){return me.post("./api/pairing",e)},player_consume(e){return me.put(`./api/player/consume?state=${e}`)},player_next(){return me.put("./api/player/next")},player_output_volume(e,t){return me.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return me.put("./api/player/pause")},player_play(e={}){return me.put("./api/player/play",null,{params:e})},player_play_expression(e,t,n){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:t};return me.post("./api/queue/items/add",null,{params:r})},player_play_uri(e,t,n){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:t,uris:e};return me.post("./api/queue/items/add",null,{params:r})},player_previous(){return me.put("./api/player/previous")},player_repeat(e){return me.put(`./api/player/repeat?state=${e}`)},player_seek(e){return me.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return me.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return me.put(`./api/player/shuffle?state=${e}`)},player_status(){return me.get("./api/player")},player_stop(){return me.put("./api/player/stop")},player_volume(e){return me.put(`./api/player/volume?volume=${e}`)},queue(){return me.get("./api/queue")},queue_add(e){return me.post(`./api/queue/items/add?uris=${e}`).then(t=>(Hr().add({text:Qo("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;const{current:n}=Ar();return n!=null&&n.id&&(t=n.position+1),me.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(r=>(Hr().add({text:Qo("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_clear(){return me.put("./api/queue/clear")},queue_expression_add(e){return me.post("./api/queue/items/add",null,{params:{expression:e}}).then(t=>(Hr().add({text:Qo("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_expression_add_next(e){const t={};t.expression=e,t.position=0;const{current:n}=Ar();return n!=null&&n.id&&(t.position=n.position+1),me.post("./api/queue/items/add",null,{params:t}).then(r=>(Hr().add({text:Qo("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_move(e,t){return me.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return me.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return me.post("./api/queue/save",null,{params:{name:e}}).then(t=>(Hr().add({text:Qo("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return me.get("./api/search",{params:e})},settings(){return me.get("./api/settings")},settings_update(e,t){return me.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return me.get("./api/spotify")},spotify_logout(){return me.get("./api/spotify-logout")}},ue=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},RA={name:"ModalDialogRemotePairing",props:{show:Boolean},emits:["close"],setup(){return{remoteStore:ep()}},data(){return{pairing_req:{pin:""}}},computed:{pairing(){return this.remoteStore.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{kickoff_pairing(){W.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},DA={key:0,class:"modal is-active"},MA={class:"modal-content"},FA={class:"card"},VA={class:"card-content"},HA=["textContent"],UA=["textContent"],jA={class:"field"},BA={class:"control"},qA=["placeholder"],WA={class:"card-footer is-clipped"},GA=["textContent"],KA=["textContent"];function XA(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",DA,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",MA,[u("div",FA,[u("div",VA,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.remote-pairing.title"))},null,8,HA),u("form",{onSubmit:t[2]||(t[2]=wt((...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a),["prevent"]))},[u("label",{class:"label",textContent:y(o.pairing.remote)},null,8,UA),u("div",jA,[u("div",BA,[Ct(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,qA),[[Un,s.pairing_req.pin]])])])],32)]),u("footer",WA,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[z(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.cancel"))},null,8,GA)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a))},[z(i,{class:"icon",name:"cellphone",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.pair"))},null,8,KA)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const YA=ue(RA,[["render",XA]]),ZA={name:"ModalDialog",props:{close_action:{default:"",type:String},delete_action:{default:"",type:String},ok_action:{default:"",type:String},show:Boolean,title:{required:!0,type:String}},emits:["delete","close","ok"]},JA={key:0,class:"modal is-active"},QA={class:"modal-content"},eO={class:"card"},tO={class:"card-content"},nO=["textContent"],rO={class:"card-footer is-clipped"},sO=["textContent"],oO=["textContent"],iO=["textContent"];function aO(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",JA,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",QA,[u("div",eO,[u("div",tO,[n.title?(x(),L("p",{key:0,class:"title is-4",textContent:y(n.title)},null,8,nO)):ee("",!0),At(e.$slots,"modal-content")]),u("footer",rO,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[z(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(n.close_action)},null,8,sO)]),n.delete_action?(x(),L("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[z(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:y(n.delete_action)},null,8,oO)])):ee("",!0),n.ok_action?(x(),L("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[z(i,{class:"icon",name:"check",size:"16"}),u("span",{class:"is-size-7",textContent:y(n.ok_action)},null,8,iO)])):ee("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):ee("",!0)]),_:3})}const mp=ue(ZA,[["render",aO]]),Mu=_r("LibraryStore",{state:()=>({albums:0,artists:0,db_playtime:0,songs:0,rss:{},started_at:"01",updated_at:"01",update_dialog_scan_kind:"",updating:!1})}),Ht=_r("ServicesStore",{state:()=>({lastfm:{},spotify:{}})}),lO={name:"ModalDialogUpdate",components:{ModalDialog:mp},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:Mu(),servicesStore:Ht()}},data(){return{rescan_metadata:!1}},computed:{library(){return this.libraryStore.$state},rss(){return this.libraryStore.rss},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},update_dialog_scan_kind:{get(){return this.library.update_dialog_scan_kind},set(e){this.library.update_dialog_scan_kind=e}}},methods:{close(){this.update_dialog_scan_kind="",this.$emit("close")},update_library(){this.rescan_metadata?W.library_rescan(this.update_dialog_scan_kind):W.library_update(this.update_dialog_scan_kind)}}},cO={key:0},uO=["textContent"],dO={key:0,class:"field"},mO={class:"control"},fO={class:"select is-small"},pO=["textContent"],hO=["textContent"],_O=["textContent"],gO=["textContent"],yO={class:"field"},vO=["textContent"],bO={key:1},zO=["textContent"];function CO(e,t,n,r,s,o){const i=$("modal-dialog");return x(),ze(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:o.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:o.update_library,onClose:t[2]||(t[2]=a=>o.close())},{"modal-content":D(()=>[o.library.updating?(x(),L("div",bO,[u("p",{class:"mb-3",textContent:y(e.$t("dialog.update.progress"))},null,8,zO)])):(x(),L("div",cO,[u("p",{class:"mb-3",textContent:y(e.$t("dialog.update.info"))},null,8,uO),o.spotify_enabled||o.rss.tracks>0?(x(),L("div",dO,[u("div",mO,[u("div",fO,[Ct(u("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>o.update_dialog_scan_kind=a)},[u("option",{value:"",textContent:y(e.$t("dialog.update.all"))},null,8,pO),u("option",{value:"files",textContent:y(e.$t("dialog.update.local"))},null,8,hO),o.spotify_enabled?(x(),L("option",{key:0,value:"spotify",textContent:y(e.$t("dialog.update.spotify"))},null,8,_O)):ee("",!0),o.rss.tracks>0?(x(),L("option",{key:1,value:"rss",textContent:y(e.$t("dialog.update.feeds"))},null,8,gO)):ee("",!0)],512),[[Qf,o.update_dialog_scan_kind]])])])])):ee("",!0),u("div",yO,[Ct(u("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=a=>s.rescan_metadata=a),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[mr,s.rescan_metadata]]),u("label",{for:"rescan",textContent:y(e.$t("dialog.update.rescan-metadata"))},null,8,vO)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const SO=ue(lO,[["render",CO]]),EO={name:"ControlSlider",props:{cursor:{default:"",type:String},disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},wO=["value","disabled","max"];function kO(e,t,n,r,s,o){return x(),L("input",{value:n.value,disabled:n.disabled,class:Ce(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:_s({"--ratio":o.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,wO)}const fp=ue(EO,[["render",kO]]),Bn=_r("UIStore",{state:()=>({albums_sort:1,artist_albums_sort:1,artist_tracks_sort:1,artists_sort:1,composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,show_burger_menu:!1,show_only_next_items:!1,show_player_menu:!1,show_update_dialog:!1})}),xO={name:"NavbarItemLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:Bn()}},computed:{href(){return this.$router.resolve(this.to).href}},methods:{open(){this.uiStore.show_burger_menu&&(this.uiStore.show_burger_menu=!1),this.uiStore.show_player_menu&&(this.uiStore.show_player_menu=!1),this.$router.push(this.to)}}},TO=["href"];function AO(e,t,n,r,s,o){return x(),L("a",{class:"navbar-item",href:o.href,onClick:t[0]||(t[0]=wt((...i)=>o.open&&o.open(...i),["stop","prevent"]))},[At(e.$slots,"default")],8,TO)}const Qb=ue(xO,[["render",AO]]);var OO="M11,14C12,14 13.05,14.16 14.2,14.44C13.39,15.31 13,16.33 13,17.5C13,18.39 13.25,19.23 13.78,20H3V18C3,16.81 3.91,15.85 5.74,15.12C7.57,14.38 9.33,14 11,14M11,12C9.92,12 9,11.61 8.18,10.83C7.38,10.05 7,9.11 7,8C7,6.92 7.38,6 8.18,5.18C9,4.38 9.92,4 11,4C12.11,4 13.05,4.38 13.83,5.18C14.61,6 15,6.92 15,8C15,9.11 14.61,10.05 13.83,10.83C13.05,11.61 12.11,12 11,12M18.5,10H20L22,10V12H20V17.5A2.5,2.5 0 0,1 17.5,20A2.5,2.5 0 0,1 15,17.5A2.5,2.5 0 0,1 17.5,15C17.86,15 18.19,15.07 18.5,15.21V10Z",$O="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12,16.5C9.5,16.5 7.5,14.5 7.5,12C7.5,9.5 9.5,7.5 12,7.5C14.5,7.5 16.5,9.5 16.5,12C16.5,14.5 14.5,16.5 12,16.5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",NO="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",IO="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",PO="M19 2L14 6.5V17.5L19 13V2M6.5 5C4.55 5 2.45 5.4 1 6.5V21.16C1 21.41 1.25 21.66 1.5 21.66C1.6 21.66 1.65 21.59 1.75 21.59C3.1 20.94 5.05 20.5 6.5 20.5C8.45 20.5 10.55 20.9 12 22C13.35 21.15 15.8 20.5 17.5 20.5C19.15 20.5 20.85 20.81 22.25 21.56C22.35 21.61 22.4 21.59 22.5 21.59C22.75 21.59 23 21.34 23 21.09V6.5C22.4 6.05 21.75 5.75 21 5.5V19C19.9 18.65 18.7 18.5 17.5 18.5C15.8 18.5 13.35 19.15 12 20V6.5C10.55 5.4 8.45 5 6.5 5Z",LO="M12 21.5C10.65 20.65 8.2 20 6.5 20C4.85 20 3.15 20.3 1.75 21.05C1.65 21.1 1.6 21.1 1.5 21.1C1.25 21.1 1 20.85 1 20.6V6C1.6 5.55 2.25 5.25 3 5C4.11 4.65 5.33 4.5 6.5 4.5C8.45 4.5 10.55 4.9 12 6C13.45 4.9 15.55 4.5 17.5 4.5C18.67 4.5 19.89 4.65 21 5C21.75 5.25 22.4 5.55 23 6V20.6C23 20.85 22.75 21.1 22.5 21.1C22.4 21.1 22.35 21.1 22.25 21.05C20.85 20.3 19.15 20 17.5 20C15.8 20 13.35 20.65 12 21.5M12 8V19.5C13.35 18.65 15.8 18 17.5 18C18.7 18 19.9 18.15 21 18.5V7C19.9 6.65 18.7 6.5 17.5 6.5C15.8 6.5 13.35 7.15 12 8M13 11.5C14.11 10.82 15.6 10.5 17.5 10.5C18.41 10.5 19.26 10.59 20 10.78V9.23C19.13 9.08 18.29 9 17.5 9C15.73 9 14.23 9.28 13 9.84V11.5M17.5 11.67C15.79 11.67 14.29 11.93 13 12.46V14.15C14.11 13.5 15.6 13.16 17.5 13.16C18.54 13.16 19.38 13.24 20 13.4V11.9C19.13 11.74 18.29 11.67 17.5 11.67M20 14.57C19.13 14.41 18.29 14.33 17.5 14.33C15.67 14.33 14.17 14.6 13 15.13V16.82C14.11 16.16 15.6 15.83 17.5 15.83C18.54 15.83 19.38 15.91 20 16.07V14.57Z",RO="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",DO="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M18 12C18 8.7 15.3 6 12 6S6 8.7 6 12C6 14.2 7.2 16.1 9 17.2L10 15.5C8.8 14.8 8 13.5 8 12.1C8 9.9 9.8 8.1 12 8.1S16 9.9 16 12.1C16 13.6 15.2 14.9 14 15.5L15 17.2C16.8 16.2 18 14.2 18 12M12 2C6.5 2 2 6.5 2 12C2 15.7 4 18.9 7 20.6L8 18.9C5.6 17.5 4 14.9 4 12C4 7.6 7.6 4 12 4S20 7.6 20 12C20 15 18.4 17.5 16 18.9L17 20.6C20 18.9 22 15.7 22 12C22 6.5 17.5 2 12 2Z",Fu="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",MO="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z",FO="M6,22H18L12,16M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H7V17H3V5H21V17H17V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z",VO="M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z",HO="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",UO="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",jO="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",BO="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",qO="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z",WO="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",GO="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",KO="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",XO="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",YO="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",ZO="M11.5,3C6.85,3 2.92,6.03 1.53,10.22L3.9,11C4.95,7.81 7.96,5.5 11.5,5.5C13.46,5.5 15.23,6.22 16.62,7.38L14,10H21V3L18.4,5.6C16.55,4 14.15,3 11.5,3M19,14V20C19,21.11 18.11,22 17,22H15A2,2 0 0,1 13,20V14A2,2 0 0,1 15,12H17C18.11,12 19,12.9 19,14M15,14V20H17V14H15M11,20C11,21.11 10.1,22 9,22H5V20H9V18H7V16H9V14H5V12H9A2,2 0 0,1 11,14V15.5A1.5,1.5 0 0,1 9.5,17A1.5,1.5 0 0,1 11,18.5V20Z",JO="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,13H11V18A2,2 0 0,1 9,20A2,2 0 0,1 7,18A2,2 0 0,1 9,16C9.4,16 9.7,16.1 10,16.3V11H13V13M13,9V3.5L18.5,9H13Z",QO="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",e$="M17.66 11.2C17.43 10.9 17.15 10.64 16.89 10.38C16.22 9.78 15.46 9.35 14.82 8.72C13.33 7.26 13 4.85 13.95 3C13 3.23 12.17 3.75 11.46 4.32C8.87 6.4 7.85 10.07 9.07 13.22C9.11 13.32 9.15 13.42 9.15 13.55C9.15 13.77 9 13.97 8.8 14.05C8.57 14.15 8.33 14.09 8.14 13.93C8.08 13.88 8.04 13.83 8 13.76C6.87 12.33 6.69 10.28 7.45 8.64C5.78 10 4.87 12.3 5 14.47C5.06 14.97 5.12 15.47 5.29 15.97C5.43 16.57 5.7 17.17 6 17.7C7.08 19.43 8.95 20.67 10.96 20.92C13.1 21.19 15.39 20.8 17.03 19.32C18.86 17.66 19.5 15 18.56 12.72L18.43 12.46C18.22 12 17.66 11.2 17.66 11.2M14.5 17.5C14.22 17.74 13.76 18 13.4 18.1C12.28 18.5 11.16 17.94 10.5 17.28C11.69 17 12.4 16.12 12.61 15.23C12.78 14.43 12.46 13.77 12.33 13C12.21 12.26 12.23 11.63 12.5 10.94C12.69 11.32 12.89 11.7 13.13 12C13.9 13 15.11 13.44 15.37 14.8C15.41 14.94 15.43 15.08 15.43 15.23C15.46 16.05 15.1 16.95 14.5 17.5H14.5Z",t$="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z",n$="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z",r$="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3",s$="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",o$="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",i$="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",a$="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",l$="M21,3V15.5A3.5,3.5 0 0,1 17.5,19A3.5,3.5 0 0,1 14,15.5A3.5,3.5 0 0,1 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L9,8.6V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V6L21,3Z",c$="M4,6H2V20A2,2 0 0,0 4,22H18V20H4M18,7H15V12.5A2.5,2.5 0 0,1 12.5,15A2.5,2.5 0 0,1 10,12.5A2.5,2.5 0 0,1 12.5,10C13.07,10 13.58,10.19 14,10.5V5H18M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2Z",u$="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",d$="M14,19H18V5H14M6,19H10V5H6V19Z",m$="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",f$="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",p$="M8,5.14V19.14L19,12.14L8,5.14Z",h$="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",_$="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",g$="M20,6A2,2 0 0,1 22,8V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V8C2,7.15 2.53,6.42 3.28,6.13L15.71,1L16.47,2.83L8.83,6H20M20,8H4V12H16V10H18V12H20V8M7,14A3,3 0 0,0 4,17A3,3 0 0,0 7,20A3,3 0 0,0 10,17A3,3 0 0,0 7,14Z",y$="M12,10A2,2 0 0,1 14,12C14,12.5 13.82,12.94 13.53,13.29L16.7,22H14.57L12,14.93L9.43,22H7.3L10.47,13.29C10.18,12.94 10,12.5 10,12A2,2 0 0,1 12,10M12,8A4,4 0 0,0 8,12C8,12.5 8.1,13 8.28,13.46L7.4,15.86C6.53,14.81 6,13.47 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12C18,13.47 17.47,14.81 16.6,15.86L15.72,13.46C15.9,13 16,12.5 16,12A4,4 0 0,0 12,8M12,4A8,8 0 0,0 4,12C4,14.36 5,16.5 6.64,17.94L5.92,19.94C3.54,18.11 2,15.23 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12C22,15.23 20.46,18.11 18.08,19.94L17.36,17.94C19,16.5 20,14.36 20,12A8,8 0 0,0 12,4Z",v$="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",b$="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",z$="M2,5.27L3.28,4L20,20.72L18.73,22L15.73,19H7V22L3,18L7,14V17H13.73L7,10.27V11H5V8.27L2,5.27M17,13H19V17.18L17,15.18V13M17,5V2L21,6L17,10V7H8.82L6.82,5H17Z",C$="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",S$="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",E$="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",w$="M15,20A1,1 0 0,0 16,19V4H8A1,1 0 0,0 7,5V16H5V5A3,3 0 0,1 8,2H19A3,3 0 0,1 22,5V6H20V5A1,1 0 0,0 19,4A1,1 0 0,0 18,5V9L18,19A3,3 0 0,1 15,22H5A3,3 0 0,1 2,19V18H13A2,2 0 0,0 15,20M9,6H14V8H9V6M9,10H14V12H9V10M9,14H14V16H9V14Z",k$="M13.8 22H5C3.3 22 2 20.7 2 19V18H13.1C13 18.3 13 18.7 13 19C13 20.1 13.3 21.1 13.8 22M13.8 16H5V5C5 3.3 6.3 2 8 2H19C20.7 2 22 3.3 22 5V6H20V5C20 4.4 19.6 4 19 4S18 4.4 18 5V13.1C16.2 13.4 14.7 14.5 13.8 16M8 8H15V6H8V8M8 12H14V10H8V12M17 16V22L22 19L17 16Z",x$="M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z",T$="M14.83,13.41L13.42,14.82L16.55,17.95L14.5,20H20V14.5L17.96,16.54L14.83,13.41M14.5,4L16.54,6.04L4,18.59L5.41,20L17.96,7.46L20,9.5V4M10.59,9.17L5.41,4L4,5.41L9.17,10.58L10.59,9.17Z",A$="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",O$="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",$$="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",N$="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z",I$="M17.9,10.9C14.7,9 9.35,8.8 6.3,9.75C5.8,9.9 5.3,9.6 5.15,9.15C5,8.65 5.3,8.15 5.75,8C9.3,6.95 15.15,7.15 18.85,9.35C19.3,9.6 19.45,10.2 19.2,10.65C18.95,11 18.35,11.15 17.9,10.9M17.8,13.7C17.55,14.05 17.1,14.2 16.75,13.95C14.05,12.3 9.95,11.8 6.8,12.8C6.4,12.9 5.95,12.7 5.85,12.3C5.75,11.9 5.95,11.45 6.35,11.35C10,10.25 14.5,10.8 17.6,12.7C17.9,12.85 18.05,13.35 17.8,13.7M16.6,16.45C16.4,16.75 16.05,16.85 15.75,16.65C13.4,15.2 10.45,14.9 6.95,15.7C6.6,15.8 6.3,15.55 6.2,15.25C6.1,14.9 6.35,14.6 6.65,14.5C10.45,13.65 13.75,14 16.35,15.6C16.7,15.75 16.75,16.15 16.6,16.45M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",P$="M18,18H6V6H18V18Z",L$="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",R$="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",D$="M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";const M$={name:"NavbarItemOutput",components:{ControlSlider:fp},props:{output:{required:!0,type:Object}},data(){return{cursor:Fu,volume:this.output.selected?this.output.volume:0}},computed:{type_class(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{change_volume(){W.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};W.output_update(this.output.id,e)}}},F$={class:"navbar-item"},V$={class:"level is-mobile"},H$={class:"level-left is-flex-grow-1"},U$={class:"level-item is-flex-grow-0"},j$={class:"level-item"},B$={class:"is-flex-grow-1"},q$=["textContent"];function W$(e,t,n,r,s,o){const i=$("mdicon"),a=$("control-slider");return x(),L("div",F$,[u("div",V$,[u("div",H$,[u("div",U$,[u("a",{class:Ce(["button is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>o.set_enabled&&o.set_enabled(...l))},[z(i,{class:"icon",name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),u("div",j$,[u("div",B$,[u("p",{class:Ce(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:y(n.output.name)},null,10,q$),z(a,{value:s.volume,"onUpdate:value":t[1]||(t[1]=l=>s.volume=l),disabled:!n.output.selected,max:100,cursor:s.cursor,onChange:o.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const G$=ue(M$,[["render",W$]]),K$={name:"PlayerButtonConsume",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:er()}},computed:{is_consume(){return this.playerStore.consume}},methods:{toggle_consume_mode(){W.player_consume(!this.is_consume)}}};function X$(e,t,n,r,s,o){const i=$("mdicon");return x(),L("a",{class:Ce({"is-info":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[z(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const Y$=ue(K$,[["render",X$]]),Vu=_r("LyricsStore",{state:()=>({content:[],pane:!1})}),Z$={name:"PlayerButtonLyrics",props:{icon_size:{default:16,type:Number}},setup(){return{lyricsStore:Vu()}},computed:{icon_name(){return this.is_active?"script-text-play":"script-text-outline"},is_active(){return this.lyricsStore.pane}},methods:{toggle_lyrics(){this.lyricsStore.pane=!this.lyricsStore.pane}}};function J$(e,t,n,r,s,o){const i=$("mdicon");return x(),L("a",{class:Ce({"is-info":o.is_active}),onClick:t[0]||(t[0]=(...a)=>o.toggle_lyrics&&o.toggle_lyrics(...a))},[z(i,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const Q$=ue(Z$,[["render",J$]]),eN={name:"PlayerButtonNext",props:{icon_size:{default:16,type:Number}},computed:{disabled(){var e;return((e=Ar())==null?void 0:e.count)<=0}},methods:{play_next(){this.disabled||W.player_next()}}},tN=["disabled"];function nN(e,t,n,r,s,o){const i=$("mdicon");return x(),L("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[z(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,tN)}const rN=ue(eN,[["render",nN]]),sN={name:"PlayerButtonPlayPause",props:{icon_size:{default:16,type:Number},show_disabled_message:Boolean},setup(){return{notificationsStore:Hr(),playerStore:er(),queueStore:Ar()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0},icon_name(){if(this.is_playing){if(this.is_pause_allowed)return"pause"}else return"play";return"stop"},is_pause_allowed(){const{current:e}=this.queueStore;return e&&e.data_kind!=="pipe"},is_playing(){return this.playerStore.state==="play"}},methods:{toggle_play_pause(){if(this.disabled){this.show_disabled_message&&this.notificationsStore.add({text:this.$t("server.empty-queue"),timeout:2e3,topic:"connection",type:"info"});return}this.is_playing&&this.is_pause_allowed?W.player_pause():this.is_playing&&!this.is_pause_allowed?W.player_stop():W.player_play()}}},oN=["disabled"];function iN(e,t,n,r,s,o){const i=$("mdicon");return x(),L("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.toggle_play_pause&&o.toggle_play_pause(...a))},[z(i,{name:o.icon_name,size:n.icon_size,title:e.$t(`player.button.${o.icon_name}`)},null,8,["name","size","title"])],8,oN)}const aN=ue(sN,[["render",iN]]),lN={name:"PlayerButtonPrevious",props:{icon_size:{default:16,type:Number}},setup(){return{queueStore:Ar()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{play_previous(){this.disabled||W.player_previous()}}},cN=["disabled"];function uN(e,t,n,r,s,o){const i=$("mdicon");return x(),L("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[z(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,cN)}const dN=ue(lN,[["render",uN]]),mN={name:"PlayerButtonRepeat",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:er()}},computed:{icon_name(){return this.is_repeat_all?"repeat":this.is_repeat_single?"repeat-once":"repeat-off"},is_repeat_all(){return this.playerStore.repeat==="all"},is_repeat_off(){return!this.is_repeat_all&&!this.is_repeat_single},is_repeat_single(){return this.playerStore.repeat==="single"}},methods:{toggle_repeat_mode(){this.is_repeat_all?W.player_repeat("single"):this.is_repeat_single?W.player_repeat("off"):W.player_repeat("all")}}};function fN(e,t,n,r,s,o){const i=$("mdicon");return x(),L("a",{class:Ce({"is-info":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[z(i,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t(`player.button.${o.icon_name}`)},null,8,["name","size","title"])],2)}const pN=ue(mN,[["render",fN]]),hN={name:"PlayerButtonSeekBack",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},setup(){return{playerStore:er(),queueStore:Ar()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0||this.is_stopped||this.current.data_kind==="pipe"},is_stopped(){return this.player.state==="stop"},current(){return this.queueStore.current},player(){return this.playerStore},visible(){return["podcast","audiobook"].includes(this.current.media_kind)}},methods:{seek(){this.disabled||W.player_seek(this.seek_ms*-1)}}},_N=["disabled"];function gN(e,t,n,r,s,o){const i=$("mdicon");return o.visible?(x(),L("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[z(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,_N)):ee("",!0)}const yN=ue(hN,[["render",gN]]),vN={name:"PlayerButtonSeekForward",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},setup(){return{playerStore:er(),queueStore:Ar()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0||this.is_stopped||this.current.data_kind==="pipe"},is_stopped(){return this.player.state==="stop"},current(){return this.queueStore.current},player(){return this.playerStore},visible(){return["podcast","audiobook"].includes(this.current.media_kind)}},methods:{seek(){this.disabled||W.player_seek(this.seek_ms)}}},bN=["disabled"];function zN(e,t,n,r,s,o){const i=$("mdicon");return o.visible?(x(),L("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[z(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,bN)):ee("",!0)}const CN=ue(vN,[["render",zN]]),SN={name:"PlayerButtonShuffle",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:er()}},computed:{icon_name(){return this.is_shuffle?"shuffle":"shuffle-disabled"},is_shuffle(){return this.playerStore.shuffle}},methods:{toggle_shuffle_mode(){W.player_shuffle(!this.is_shuffle)}}};function EN(e,t,n,r,s,o){const i=$("mdicon");return x(),L("a",{class:Ce({"is-info":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[z(i,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t(`player.button.${o.icon_name}`)},null,8,["name","size","title"])],2)}const wN=ue(SN,[["render",EN]]),Gi={audio:new Audio,context:null,play(e){this.stop(),this.context.resume().then(()=>{this.audio.src=`${String(e||"")}?x=${Date.now()}`,this.audio.crossOrigin="anonymous",this.audio.load()})},setVolume(e){this.audio&&(this.audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},setup(){return this.context=new(window.AudioContext||window.webkitAudioContext),this.context.createMediaElementSource(this.audio).connect(this.context.destination),this.audio.addEventListener("canplaythrough",()=>{this.audio.play()}),this.audio.addEventListener("canplay",()=>{this.audio.play()}),this.audio},stop(){try{this.audio.pause()}catch{}try{this.audio.stop()}catch{}try{this.audio.close()}catch{}}},pp=_r("OutputsStore",{state:()=>({outputs:[]})}),kN={name:"NavbarBottom",components:{ControlSlider:fp,NavbarItemLink:Qb,NavbarItemOutput:G$,PlayerButtonConsume:Y$,PlayerButtonLyrics:Q$,PlayerButtonNext:rN,PlayerButtonPlayPause:aN,PlayerButtonPrevious:dN,PlayerButtonRepeat:pN,PlayerButtonSeekBack:yN,PlayerButtonSeekForward:CN,PlayerButtonShuffle:wN},setup(){return{notificationsStore:Hr(),outputsStore:pp(),playerStore:er(),queueStore:Ar(),uiStore:Bn()}},data(){return{cursor:Fu,loading:!1,old_volume:0,playing:!1,show_desktop_outputs_menu:!1,show_outputs_menu:!1,stream_volume:10}},computed:{is_now_playing_page(){return this.$route.name==="now-playing"},current(){return this.queueStore.current},outputs(){return this.outputsStore.outputs},player(){return this.playerStore},show_player_menu:{get(){return this.uiStore.show_player_menu},set(e){this.uiStore.show_player_menu=e}}},watch:{"playerStore.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{change_stream_volume(){Gi.setVolume(this.stream_volume/100)},change_volume(){W.player_volume(this.player.volume)},closeAudio(){Gi.stop(),this.playing=!1},on_click_outside_outputs(){this.show_outputs_menu=!1},playChannel(){this.playing||(this.loading=!0,Gi.play("/stream.mp3"),Gi.setVolume(this.stream_volume/100))},setupAudio(){const e=Gi.setup();e.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",()=>{this.closeAudio(),this.notificationsStore.add({text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},togglePlay(){this.loading||(this.playing&&this.closeAudio(),this.playChannel())},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()}}},xN={class:"navbar-dropdown is-right fd-width-auto"},TN={class:"navbar-item"},AN={class:"level is-mobile"},ON={class:"level-left is-flex-grow-1"},$N={class:"level-item is-flex-grow-0"},NN={class:"level-item"},IN=["textContent"],PN={class:"navbar-item"},LN={class:"level is-mobile"},RN={class:"level-left is-flex-grow-1"},DN={class:"level-item is-flex-grow-0"},MN={class:"level-item"},FN={class:"is-flex-grow-1"},VN=["textContent"],HN={href:"stream.mp3",class:"heading ml-2",target:"_blank"},UN={class:"navbar-item is-justify-content-center"},jN={class:"buttons has-addons"},BN={class:"navbar-brand is-flex-grow-1"},qN={class:"fd-is-text-clipped"},WN=["textContent"],GN=["textContent"],KN=["textContent"],XN={class:"navbar-item"},YN={class:"buttons has-addons is-centered"},ZN={class:"navbar-item"},JN={class:"level is-mobile"},QN={class:"level-left is-flex-grow-1"},eI={class:"level-item is-flex-grow-0"},tI={class:"level-item"},nI={class:"is-flex-grow-1"},rI=["textContent"],sI={class:"navbar-item mb-5"},oI={class:"level is-mobile"},iI={class:"level-left is-flex-grow-1"},aI={class:"level-item is-flex-grow-0"},lI={class:"level-item"},cI={class:"is-flex-grow-1"},uI=["textContent"],dI={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function mI(e,t,n,r,s,o){const i=$("mdicon"),a=$("control-slider"),l=$("navbar-item-output"),c=$("player-button-repeat"),d=$("player-button-shuffle"),m=$("player-button-consume"),f=$("player-button-lyrics"),p=$("navbar-item-link"),h=$("player-button-previous"),_=$("player-button-seek-back"),v=$("player-button-play-pause"),C=$("player-button-seek-forward"),S=$("player-button-next");return x(),L("nav",{class:Ce(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),role:"navigation","aria-label":"player controls"},[u("div",{class:Ce(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":o.show_player_menu}])},[u("div",xN,[u("div",TN,[u("div",AN,[u("div",ON,[u("div",$N,[u("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...g)=>o.toggle_mute_volume&&o.toggle_mute_volume(...g))},[z(i,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",NN,[u("div",null,[u("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,IN),z(a,{value:o.player.volume,"onUpdate:value":t[1]||(t[1]=g=>o.player.volume=g),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),t[9]||(t[9]=u("hr",{class:"my-3"},null,-1)),(x(!0),L(be,null,Et(o.outputs,g=>(x(),ze(l,{key:g.id,output:g},null,8,["output"]))),128)),t[10]||(t[10]=u("hr",{class:"my-3"},null,-1)),u("div",PN,[u("div",LN,[u("div",RN,[u("div",DN,[u("a",{class:Ce(["button is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[2]||(t[2]=(...g)=>o.togglePlay&&o.togglePlay(...g))},[z(i,{class:"icon",name:"broadcast",size:"18"})],2)]),u("div",MN,[u("div",FN,[u("div",{class:Ce(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,VN),u("a",HN,[z(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),z(a,{value:s.stream_volume,"onUpdate:value":t[3]||(t[3]=g=>s.stream_volume=g),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),t[11]||(t[11]=u("hr",{class:"my-3"},null,-1)),u("div",UN,[u("div",jN,[z(c,{class:"button"}),z(d,{class:"button"}),z(m,{class:"button"}),z(f,{class:"button"})])])])],2),u("div",BN,[z(p,{to:{name:"queue"},class:"mr-auto"},{default:D(()=>[z(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),o.is_now_playing_page?ee("",!0):(x(),ze(p,{key:0,to:{name:"now-playing"},exact:"",class:"is-expanded is-clipped is-size-7"},{default:D(()=>[u("div",qN,[u("strong",{textContent:y(o.current.title)},null,8,WN),t[12]||(t[12]=u("br",null,null,-1)),u("span",{textContent:y(o.current.artist)},null,8,GN),o.current.album?(x(),L("span",{key:0,textContent:y(e.$t("navigation.now-playing",{album:o.current.album}))},null,8,KN)):ee("",!0)])]),_:1})),o.is_now_playing_page?(x(),ze(h,{key:1,class:"navbar-item px-2",icon_size:24})):ee("",!0),o.is_now_playing_page?(x(),ze(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):ee("",!0),z(v,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(x(),ze(C,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):ee("",!0),o.is_now_playing_page?(x(),ze(S,{key:4,class:"navbar-item px-2",icon_size:24})):ee("",!0),u("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=g=>o.show_player_menu=!o.show_player_menu)},[z(i,{class:"icon",name:o.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),u("div",{class:Ce(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[u("div",XN,[u("div",YN,[z(c,{class:"button"}),z(d,{class:"button"}),z(m,{class:"button"}),z(f,{class:"button"})])]),t[13]||(t[13]=u("hr",{class:"my-3"},null,-1)),u("div",ZN,[u("div",JN,[u("div",QN,[u("div",eI,[u("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...g)=>o.toggle_mute_volume&&o.toggle_mute_volume(...g))},[z(i,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",tI,[u("div",nI,[u("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,rI),z(a,{value:o.player.volume,"onUpdate:value":t[6]||(t[6]=g=>o.player.volume=g),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),t[14]||(t[14]=u("hr",{class:"my-3"},null,-1)),(x(!0),L(be,null,Et(o.outputs,g=>(x(),ze(l,{key:g.id,output:g},null,8,["output"]))),128)),t[15]||(t[15]=u("hr",{class:"my-3"},null,-1)),u("div",sI,[u("div",oI,[u("div",iI,[u("div",aI,[u("a",{class:Ce(["button is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[7]||(t[7]=(...g)=>o.togglePlay&&o.togglePlay(...g))},[z(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),u("div",lI,[u("div",cI,[u("div",{class:Ce(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,uI),u("a",dI,[z(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),z(a,{value:s.stream_volume,"onUpdate:value":t[8]||(t[8]=g=>s.stream_volume=g),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])],2)],2)}const fI=ue(kN,[["render",mI]]),hp=_r("SearchStore",{state:()=>({recent_searches:[],search_query:"",search_source:"search-library"}),actions:{add(e){const t=this.recent_searches.indexOf(e);t!==-1&&this.recent_searches.splice(t,1),this.recent_searches.unshift(e),this.recent_searches.length>5&&this.recent_searches.pop()},remove(e){const t=this.recent_searches.indexOf(e);t!==-1&&this.recent_searches.splice(t,1)}}}),Ir=_r("SettingsStore",{state:()=>({categories:[]}),getters:{recently_added_limit:e=>{var t;return((t=e.setting("webinterface","recently_added_limit"))==null?void 0:t.value)??100},show_composer_for_genre:e=>{var t;return((t=e.setting("webinterface","show_composer_for_genre"))==null?void 0:t.value)??null},show_composer_now_playing:e=>{var t;return((t=e.setting("webinterface","show_composer_now_playing"))==null?void 0:t.value)??!1},show_cover_artwork_in_album_lists:e=>{var t;return((t=e.setting("artwork","show_cover_artwork_in_album_lists"))==null?void 0:t.value)??!1},show_filepath_now_playing:e=>{var t;return((t=e.setting("webinterface","show_filepath_now_playing"))==null?void 0:t.value)??!1},show_menu_item_audiobooks:e=>{var t;return((t=e.setting("webinterface","show_menu_item_audiobooks"))==null?void 0:t.value)??!1},show_menu_item_files:e=>{var t;return((t=e.setting("webinterface","show_menu_item_files"))==null?void 0:t.value)??!1},show_menu_item_music:e=>{var t;return((t=e.setting("webinterface","show_menu_item_music"))==null?void 0:t.value)??!1},show_menu_item_playlists:e=>{var t;return((t=e.setting("webinterface","show_menu_item_playlists"))==null?void 0:t.value)??!1},show_menu_item_podcasts:e=>{var t;return((t=e.setting("webinterface","show_menu_item_podcasts"))==null?void 0:t.value)??!1},show_menu_item_radio:e=>{var t;return((t=e.setting("webinterface","show_menu_item_radio"))==null?void 0:t.value)??!1},show_menu_item_search:e=>{var t;return((t=e.setting("webinterface","show_menu_item_search"))==null?void 0:t.value)??!1}},actions:{update(e){const t=this.categories.find(r=>r.name===e.category);if(!t)return;const n=t.options.find(r=>r.name===e.name);n&&(n.value=e.value)},setting(e,t){var n;return((n=this.categories.find(r=>r.name===e))==null?void 0:n.options.find(r=>r.name===t))??{}}}}),pI={name:"NavbarTop",components:{NavbarItemLink:Qb},setup(){return{searchStore:hp(),servicesStore:Ht(),settingsStore:Ir(),uiStore:Bn()}},data(){return{show_settings_menu:!1}},computed:{show_burger_menu:{get(){return this.uiStore.show_burger_menu},set(e){this.uiStore.show_burger_menu=e}},show_update_dialog:{get(){return this.uiStore.show_update_dialog},set(e){this.uiStore.show_update_dialog=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},zindex(){return this.uiStore.show_player_menu?"z-index: 21":""}},watch:{$route(e,t){this.show_settings_menu=!1}},methods:{on_click_outside_settings(){this.show_settings_menu=!this.show_settings_menu},open_update_dialog(){this.show_update_dialog=!0,this.show_settings_menu=!1,this.show_burger_menu=!1}}},hI={class:"navbar-brand"},_I={class:"navbar-end"},gI={class:"navbar-item is-arrowless is-hidden-touch"},yI={class:"navbar-dropdown is-right"},vI=["textContent"],bI=["textContent"],zI=["textContent"],CI=["textContent"],SI=["textContent"],EI=["textContent"],wI=["textContent"],kI=["textContent"],xI=["textContent"],TI=["textContent"],AI=["textContent"],OI=["textContent"];function $I(e,t,n,r,s,o){const i=$("mdicon"),a=$("navbar-item-link");return x(),L("nav",{class:"navbar is-light is-fixed-top",style:_s(o.zindex),role:"navigation","aria-label":"main navigation"},[u("div",hI,[r.settingsStore.show_menu_item_playlists?(x(),ze(a,{key:0,to:{name:"playlists"}},{default:D(()=>[z(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_music?(x(),ze(a,{key:1,to:{name:"music"}},{default:D(()=>[z(i,{class:"icon",name:"music",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_podcasts?(x(),ze(a,{key:2,to:{name:"podcasts"}},{default:D(()=>[z(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_audiobooks?(x(),ze(a,{key:3,to:{name:"audiobooks"}},{default:D(()=>[z(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_radio?(x(),ze(a,{key:4,to:{name:"radio"}},{default:D(()=>[z(i,{class:"icon",name:"radio",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_files?(x(),ze(a,{key:5,to:{name:"files"}},{default:D(()=>[z(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_search?(x(),ze(a,{key:6,to:{name:r.searchStore.search_source}},{default:D(()=>[z(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):ee("",!0),u("div",{class:Ce(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},t[4]||(t[4]=[u("span",null,null,-1),u("span",null,null,-1),u("span",null,null,-1)]),2)]),u("div",{class:Ce(["navbar-menu",{"is-active":o.show_burger_menu}])},[t[6]||(t[6]=u("div",{class:"navbar-start"},null,-1)),u("div",_I,[u("div",{class:Ce(["navbar-item has-dropdown is-hoverable",{"is-active":s.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>o.on_click_outside_settings&&o.on_click_outside_settings(...l))},[u("a",gI,[z(i,{class:"icon",name:"menu",size:"24"})]),u("div",yI,[z(a,{to:{name:"playlists"}},{default:D(()=>[z(i,{class:"icon",name:"music-box-multiple",size:"16"}),u("b",{textContent:y(e.$t("navigation.playlists"))},null,8,vI)]),_:1}),z(a,{to:{name:"music"}},{default:D(()=>[z(i,{class:"icon",name:"music",size:"16"}),u("b",{textContent:y(e.$t("navigation.music"))},null,8,bI)]),_:1}),z(a,{to:{name:"music-artists"}},{default:D(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.artists"))},null,8,zI)]),_:1}),z(a,{to:{name:"music-albums"}},{default:D(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.albums"))},null,8,CI)]),_:1}),z(a,{to:{name:"music-genres"}},{default:D(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.genres"))},null,8,SI)]),_:1}),o.spotify_enabled?(x(),ze(a,{key:0,to:{name:"music-spotify"}},{default:D(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.spotify"))},null,8,EI)]),_:1})):ee("",!0),z(a,{to:{name:"podcasts"}},{default:D(()=>[z(i,{class:"icon",name:"microphone",size:"16"}),u("b",{textContent:y(e.$t("navigation.podcasts"))},null,8,wI)]),_:1}),z(a,{to:{name:"audiobooks"}},{default:D(()=>[z(i,{class:"icon",name:"book-open-variant",size:"16"}),u("b",{textContent:y(e.$t("navigation.audiobooks"))},null,8,kI)]),_:1}),z(a,{to:{name:"radio"}},{default:D(()=>[z(i,{class:"icon",name:"radio",size:"16"}),u("b",{textContent:y(e.$t("navigation.radio"))},null,8,xI)]),_:1}),z(a,{to:{name:"files"}},{default:D(()=>[z(i,{class:"icon",name:"folder-open",size:"16"}),u("b",{textContent:y(e.$t("navigation.files"))},null,8,TI)]),_:1}),z(a,{to:{name:r.searchStore.search_source}},{default:D(()=>[z(i,{class:"icon",name:"magnify",size:"16"}),u("b",{textContent:y(e.$t("navigation.search"))},null,8,AI)]),_:1},8,["to"]),t[5]||(t[5]=u("hr",{class:"my-3"},null,-1)),z(a,{to:{name:"settings-webinterface"}},{default:D(()=>[Kt(y(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=wt(l=>o.open_update_dialog(),["stop","prevent"])),textContent:y(e.$t("navigation.update-library"))},null,8,OI),z(a,{to:{name:"about"}},{default:D(()=>[Kt(y(e.$t("navigation.about")),1)]),_:1})])],2)])],2),Ct(u("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[La,s.show_settings_menu]])],4)}const NI=ue(pI,[["render",$I]]),II={name:"NotificationList",setup(){return{notificationsStore:Hr()}},computed:{notifications(){return this.notificationsStore.list}},methods:{remove(e){this.notificationsStore.remove(e)}}},PI={key:0,class:"notifications"},LI={class:"columns is-centered"},RI={class:"column is-half"},DI=["onClick"],MI=["textContent"];function FI(e,t,n,r,s,o){return o.notifications.length>0?(x(),L("section",PI,[u("div",LI,[u("div",RI,[(x(!0),L(be,null,Et(o.notifications,i=>(x(),L("div",{key:i.id,class:Ce(["notification",i.type?`is-${i.type}`:""])},[u("button",{class:"delete",onClick:a=>o.remove(i)},null,8,DI),u("div",{class:"text",textContent:y(i.text)},null,8,MI)],2))),128))])])])):ee("",!0)}const VI=ue(II,[["render",FI],["__scopeId","data-v-a896a8d3"]]);function Hu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Uu(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var nc={exports:{}},HI=nc.exports,j_;function UI(){return j_||(j_=1,function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(HI,function(){if(!("WebSocket"in window))return;function t(n,r,s){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};s||(s={});for(var i in o)typeof s[i]<"u"?this[i]=s[i]:this[i]=o[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,d=!1,m=document.createElement("div");m.addEventListener("open",function(p){a.onopen(p)}),m.addEventListener("close",function(p){a.onclose(p)}),m.addEventListener("connecting",function(p){a.onconnecting(p)}),m.addEventListener("message",function(p){a.onmessage(p)}),m.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=m.addEventListener.bind(m),this.removeEventListener=m.removeEventListener.bind(m),this.dispatchEvent=m.dispatchEvent.bind(m);function f(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else m.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),d=!0,h.close(),d=!1},a.timeoutInterval);l.onopen=function(v){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var C=f("open");C.isReconnect=p,p=!1,m.dispatchEvent(C)},l.onclose=function(v){if(clearTimeout(S),l=null,c)a.readyState=WebSocket.CLOSED,m.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var C=f("connecting");C.code=v.code,C.reason=v.reason,C.wasClean=v.wasClean,m.dispatchEvent(C),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),m.dispatchEvent(f("close")));var S=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},S>a.maxReconnectInterval?a.maxReconnectInterval:S)}},l.onmessage=function(v){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,v.data);var C=f("message");C.data=v.data,m.dispatchEvent(C)},l.onerror=function(v){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,v),m.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(p=1e3),c=!0,l&&l.close(p,h)},this.refresh=function(){l&&l.close()}}return t.prototype.onopen=function(n){},t.prototype.onclose=function(n){},t.prototype.onconnecting=function(n){},t.prototype.onmessage=function(n){},t.prototype.onerror=function(n){},t.debugAll=!1,t.CONNECTING=WebSocket.CONNECTING,t.OPEN=WebSocket.OPEN,t.CLOSING=WebSocket.CLOSING,t.CLOSED=WebSocket.CLOSED,t})}(nc)),nc.exports}var jI=UI();const BI=Hu(jI),Ao=_r("ConfigurationStore",{state:()=>({buildoptions:[],version:"",websocket_port:0,allow_modifying_stored_playlists:!1,default_playlist_directory:""})}),qI={name:"App",components:{ModalDialogRemotePairing:YA,ModalDialogUpdate:SO,NavbarBottom:fI,NavbarTop:NI,NotificationList:VI},setup(){return{configurationStore:Ao(),libraryStore:Mu(),lyricsStore:Vu(),notificationsStore:Hr(),outputsStore:pp(),playerStore:er(),queueStore:Ar(),remotesStore:ep(),servicesStore:Ht(),settingsStore:Ir(),uiStore:Bn()}},data(){return{pairing_active:!1,reconnect_attempts:0,token_timer_id:0}},computed:{show_burger_menu:{get(){return this.uiStore.show_burger_menu},set(e){this.uiStore.show_burger_menu=e}},show_player_menu:{get(){return this.uiStore.show_player_menu},set(e){this.uiStore.show_player_menu=e}},show_update_dialog:{get(){return this.uiStore.show_update_dialog},set(e){this.uiStore.show_update_dialog=e}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created(){this.connect(),this.$Progress.start(),this.$router.beforeEach((e,t,n)=>{e.meta.show_progress&&!(e.path===t.path&&e.hash)&&(e.meta.progress&&this.$Progress.parseMeta(e.meta.progress),this.$Progress.start()),n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect(){W.config().then(({data:e})=>{this.configurationStore.$state=e,this.uiStore.hide_singles=e.hide_singles,document.title=e.library_name,this.open_websocket(),this.$Progress.finish()}).catch(()=>{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})})},open_websocket(){const e=this.create_websocket(),t=this;e.onopen=()=>{t.reconnect_attempts=0,e.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),t.update_outputs(),t.update_player_status(),t.update_library_stats(),t.update_settings(),t.update_queue(),t.update_spotify(),t.update_lastfm(),t.update_pairing()};let n=!1;const r=()=>{n||(t.update_outputs(),t.update_player_status(),t.update_library_stats(),t.update_settings(),t.update_queue(),t.update_spotify(),t.update_lastfm(),t.update_pairing(),n=!0,setTimeout(()=>{n=!1},500))};window.addEventListener("focus",r),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&r()}),e.onmessage=s=>{const o=JSON.parse(s.data);(o.notify.includes("update")||o.notify.includes("database"))&&t.update_library_stats(),(o.notify.includes("player")||o.notify.includes("options")||o.notify.includes("volume"))&&t.update_player_status(),(o.notify.includes("outputs")||o.notify.includes("volume"))&&t.update_outputs(),o.notify.includes("queue")&&t.update_queue(),o.notify.includes("spotify")&&t.update_spotify(),o.notify.includes("lastfm")&&t.update_lastfm(),o.notify.includes("pairing")&&t.update_pairing()}},create_websocket(){const e=window.location.protocol.replace("http","ws"),t=window.location.hostname,n=this.configurationStore.websocket_port||`${window.location.port}/ws`,r=`${e}${t}:${n}`;return new BI(r,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},update_is_clipped(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")},update_lastfm(){W.lastfm().then(({data:e})=>{this.servicesStore.lastfm=e})},update_library_stats(){W.library_stats().then(({data:e})=>{this.libraryStore.$state=e}),W.library_count("scan_kind is rss").then(({data:e})=>{this.libraryStore.rss=e})},update_lyrics(){const e=this.queueStore.current;e!=null&&e.track_id?W.library_track(e.track_id).then(({data:t})=>{this.lyricsStore.lyrics=t.lyrics}):this.lyricsStore.$reset()},update_outputs(){W.outputs().then(({data:e})=>{this.outputsStore.outputs=e.outputs})},update_pairing(){W.pairing().then(({data:e})=>{this.remotesStore.$state=e,this.pairing_active=e.active})},update_player_status(){W.player_status().then(({data:e})=>{this.playerStore.$state=e,this.update_lyrics()})},update_queue(){W.queue().then(({data:e})=>{this.queueStore.$state=e,this.update_lyrics()})},update_settings(){W.settings().then(({data:e})=>{this.settingsStore.$state=e})},update_spotify(){W.spotify().then(({data:e})=>{this.servicesStore.spotify=e,this.token_timer_id>0&&(window.clearTimeout(this.token_timer_id),this.token_timer_id=0),e.webapi_token_expires_in>0&&e.webapi_token&&(this.token_timer_id=window.setTimeout(this.update_spotify,1e3*e.webapi_token_expires_in))})}},template:"<App/>"},WI={id:"app"};function GI(e,t,n,r,s,o){const i=$("navbar-top"),a=$("vue-progress-bar"),l=$("router-view"),c=$("modal-dialog-remote-pairing"),d=$("modal-dialog-update"),m=$("notification-list"),f=$("navbar-bottom");return x(),L("div",WI,[z(i),z(a,{class:"has-background-info"}),z(l,null,{default:D(({Component:p})=>[(x(),ze(Su(p)))]),_:1}),z(c,{show:s.pairing_active,onClose:t[0]||(t[0]=p=>s.pairing_active=!1)},null,8,["show"]),z(d,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),Ct(z(m,null,null,512),[[La,!o.show_burger_menu]]),z(f),Ct(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[La,o.show_burger_menu||o.show_player_menu]])])}const KI=ue(qI,[["render",GI]]),ez=function(){return document.ontouchstart!==null?"click":"touchstart"},Mc="__vue_click_away__",tz=function(e,t,n){nz(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[Mc]=function(i){if((!e||!e.contains(i.target))&&s&&o&&typeof s=="function")return s.call(r,i)},document.addEventListener(ez(),e[Mc],!1)},nz=function(e){document.removeEventListener(ez(),e[Mc],!1),delete e[Mc]},XI=function(e,t,n){t.value!==t.oldValue&&tz(e,t,n)},YI={install:function(e){e.directive("click-away",ZI)}},ZI={mounted:tz,updated:XI,unmounted:nz};var Mr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Mr||{});const JI=typeof window<"u"&&window!==null,QI=rP(),eP=Object.prototype.propertyIsEnumerable,B_=Object.getOwnPropertySymbols;function ha(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function tP(e){return typeof e=="object"?e===null:typeof e!="function"}function nP(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function rP(){return JI&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function sP(e,...t){if(!ha(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof B_!="function")return e;for(const n of t){const r=B_(n);for(const s of r)eP.call(n,s)&&(e[s]=n[s])}return e}function rz(e,...t){let n=0;for(tP(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(ha(t[n])){for(const r of Object.keys(t[n]))nP(r)&&(ha(e[r])&&ha(t[n][r])?rz(e[r],t[n][r]):e[r]=t[n][r]);sP(e,t[n])}return e}const q_="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",oP="",iP={rootMargin:"0px",threshold:0},Uo="data-lazy-timeout-id";class aP{constructor(t){this.options={loading:q_,error:oP,observerOptions:iP,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){rz(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:s,error:o,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Mr.LOADING,i,t),t.setAttribute("src",s||q_),QI||(this.loadImages(t,r,o,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,o,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:s,lifecycle:o,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,s,o,i)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,s){this._setImageSrc(t,n,r,s)}_setImageSrc(t,n,r,s){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Mr.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(Mr.ERROR,s,t),(o=this._realObserver(t))==null||o.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,s,o){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{o&&o>0?this._delayedIntersectionCallback(t,c,o,n,r,s):this._intersectionCallback(t,c,n,r,s)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,s,o){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,s,o))}_delayedIntersectionCallback(t,n,r,s,o,i){if(n.isIntersecting){if(n.target.hasAttribute(Uo))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,s,o,i),n.target.removeAttribute(Uo)},r);n.target.setAttribute(Uo,String(a))}else n.target.hasAttribute(Uo)&&(clearTimeout(Number(n.target.getAttribute(Uo))),n.target.removeAttribute(Uo))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,s=this.options.error,o=this.options.lifecycle,i=this.options.delay;return ha(t)&&(n=t.src,r=t.loading||this.options.loading,s=t.error||this.options.error,o=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:s,lifecycle:o,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Mr.LOADING:r==null||r.setAttribute("lazy",Mr.LOADING),n!=null&&n.loading&&n.loading(r);break;case Mr.LOADED:r==null||r.setAttribute("lazy",Mr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Mr.ERROR:r==null||r.setAttribute("lazy",Mr.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}_logger(t,...n){let r=console.error;switch(this.options.logLevel){case"error":r=console.error;break;case"warn":r=console.warn;break;case"info":r=console.info;break;case"debug":r=console.debug;break}r(t,n)}}const lP={install(e,t){const n=new aP(t);e.config.globalProperties.$Lazyload=n,e.provide("Lazyload",n),e.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var Vd={exports:{}},Hd={exports:{}},Ud={};/**
* @vue/compiler-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const bi=Symbol(""),di=Symbol(""),ju=Symbol(""),Va=Symbol(""),_p=Symbol(""),Gs=Symbol(""),gp=Symbol(""),yp=Symbol(""),Bu=Symbol(""),qu=Symbol(""),Ri=Symbol(""),Wu=Symbol(""),vp=Symbol(""),Gu=Symbol(""),Ku=Symbol(""),Xu=Symbol(""),Yu=Symbol(""),Zu=Symbol(""),Ju=Symbol(""),bp=Symbol(""),zp=Symbol(""),ol=Symbol(""),Ha=Symbol(""),Qu=Symbol(""),ed=Symbol(""),zi=Symbol(""),Di=Symbol(""),td=Symbol(""),Fc=Symbol(""),sz=Symbol(""),Vc=Symbol(""),Ua=Symbol(""),oz=Symbol(""),iz=Symbol(""),nd=Symbol(""),az=Symbol(""),lz=Symbol(""),rd=Symbol(""),Cp=Symbol(""),Oo={[bi]:"Fragment",[di]:"Teleport",[ju]:"Suspense",[Va]:"KeepAlive",[_p]:"BaseTransition",[Gs]:"openBlock",[gp]:"createBlock",[yp]:"createElementBlock",[Bu]:"createVNode",[qu]:"createElementVNode",[Ri]:"createCommentVNode",[Wu]:"createTextVNode",[vp]:"createStaticVNode",[Gu]:"resolveComponent",[Ku]:"resolveDynamicComponent",[Xu]:"resolveDirective",[Yu]:"resolveFilter",[Zu]:"withDirectives",[Ju]:"renderList",[bp]:"renderSlot",[zp]:"createSlots",[ol]:"toDisplayString",[Ha]:"mergeProps",[Qu]:"normalizeClass",[ed]:"normalizeStyle",[zi]:"normalizeProps",[Di]:"guardReactiveProps",[td]:"toHandlers",[Fc]:"camelize",[sz]:"capitalize",[Vc]:"toHandlerKey",[Ua]:"setBlockTracking",[oz]:"pushScopeId",[iz]:"popScopeId",[nd]:"withCtx",[az]:"unref",[lz]:"isRef",[rd]:"withMemo",[Cp]:"isMemoSame"};function cz(e){Object.getOwnPropertySymbols(e).forEach(t=>{Oo[t]=e[t]})}const cP={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},uP={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},dP={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},mP={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Qt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function uz(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Qt}}function Ci(e,t,n,r,s,o,i,a=!1,l=!1,c=!1,d=Qt){return e&&(a?(e.helper(Gs),e.helper(Io(e.inSSR,c))):e.helper(No(e.inSSR,c)),i&&e.helper(Zu)),{type:13,tag:t,props:n,children:r,patchFlag:s,dynamicProps:o,directives:i,isBlock:a,disableTracking:l,isComponent:c,loc:d}}function js(e,t=Qt){return{type:17,loc:t,elements:e}}function Kn(e,t=Qt){return{type:15,loc:t,properties:e}}function Vt(e,t){return{type:16,loc:Qt,key:Re(e)?Ue(e,!0):e,value:t}}function Ue(e,t=!1,n=Qt,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function fP(e,t){return{type:5,loc:t,content:Re(e)?Ue(e,!1,t):e}}function ur(e,t=Qt){return{type:8,loc:t,children:e}}function qt(e,t=[],n=Qt){return{type:14,loc:n,callee:e,arguments:t}}function $o(e,t=void 0,n=!1,r=!1,s=Qt){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:s}}function Hc(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Qt}}function dz(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Qt}}function mz(e){return{type:21,body:e,loc:Qt}}function pP(e){return{type:22,elements:e,loc:Qt}}function hP(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Qt}}function _P(e,t){return{type:24,left:e,right:t,loc:Qt}}function gP(e){return{type:25,expressions:e,loc:Qt}}function yP(e){return{type:26,returns:e,loc:Qt}}function No(e,t){return e||t?Bu:qu}function Io(e,t){return e||t?gp:yp}function sd(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(No(r,e.isComponent)),t(Gs),t(Io(r,e.isComponent)))}const W_=new Uint8Array([123,123]),G_=new Uint8Array([125,125]);function K_(e){return e>=97&&e<=122||e>=65&&e<=90}function Gn(e){return e===32||e===10||e===9||e===12||e===13}function Ss(e){return e===47||e===62||Gn(e)}function Uc(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const an={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class vP{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=W_,this.delimiterClose=G_,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=W_,this.delimiterClose=G_}getPos(t){let n=1,r=t+1;for(let s=this.newlines.length-1;s>=0;s--){const o=this.newlines[s];if(t>o){n=s+2,r=t-o;break}}return{column:r,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ss(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Gn(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===an.TitleEnd||this.currentSequence===an.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===an.Cdata[this.sequenceIndex]?++this.sequenceIndex===an.Cdata.length&&(this.state=28,this.currentSequence=an.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===an.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):K_(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Ss(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Ss(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(Uc("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Gn(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=K_(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Gn(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Gn(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Gn(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Ss(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Ss(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Ss(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Ss(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Ss(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Gn(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Gn(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Gn(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=an.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===an.ScriptEnd[3]?this.startSpecial(an.ScriptEnd,4):t===an.StyleEnd[3]?this.startSpecial(an.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===an.TitleEnd[3]?this.startSpecial(an.TitleEnd,4):t===an.TextareaEnd[3]?this.startSpecial(an.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===an.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const bP={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},zP={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function rf(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Eo(e,t){const n=rf("MODE",t),r=rf(e,t);return n===3?r===!0:r!==!1}function Si(e,t,n,...r){return Eo(e,t)}function CP(e,t,n,...r){if(rf(e,t)==="suppress-warning")return;const{message:o,link:i}=zP[e],a=`(deprecation ${e}) ${typeof o=="function"?o(...r):o}${i?`
Details: ${i}`:""}`,l=new SyntaxError(a);l.code=e,n&&(l.loc=n),t.onWarn(l)}function Sp(e){throw e}function fz(e){}function St(e,t,n,r){const s=`https://vuejs.org/error-reference/#compiler-${e}`,o=new SyntaxError(String(s));return o.code=e,o.loc=t,o}const SP={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},EP={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function wP(e,t,n=!1,r=[],s=Object.create(null)){}function kP(e,t,n){return!1}function xP(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){const r=t[n];if(r.type==="AssignmentExpression")return!0;if(r.type!=="ObjectProperty"&&!r.type.endsWith("Pattern"))break}}return!1}function TP(e){let t=e.length;for(;t--;){const n=e[t];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function AP(e,t){for(const n of e.params)for(const r of os(n))t(r)}function OP(e,t){for(const n of e.body)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const r of n.declarations)for(const s of os(r.id))t(s)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;t(n.id)}else $P(n)&&NP(n,!0,t)}function $P(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function NP(e,t,n){const r=e.type==="ForStatement"?e.init:e.left;if(r&&r.type==="VariableDeclaration"&&(r.kind==="var"&&t))for(const s of r.declarations)for(const o of os(s.id))n(o)}function os(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;n.type==="MemberExpression";)n=n.object;t.push(n);break;case"ObjectPattern":for(const r of e.properties)r.type==="RestElement"?os(r.argument,t):os(r.value,t);break;case"ArrayPattern":e.elements.forEach(r=>{r&&os(r,t)});break;case"RestElement":os(e.argument,t);break;case"AssignmentPattern":os(e.left,t);break}return t}const IP=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),pz=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,PP=(e,t)=>pz(t)&&t.key===e,hz=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function _z(e){return hz.includes(e.type)?_z(e.expression):e}const xn=e=>e.type===4&&e.isStatic;function Ep(e){switch(e){case"Teleport":case"teleport":return di;case"Suspense":case"suspense":return ju;case"KeepAlive":case"keep-alive":return Va;case"BaseTransition":case"base-transition":return _p}}const LP=/^\d|[^\$\w\xA0-\uFFFF]/,il=e=>!LP.test(e),RP=/[A-Za-z_$\xA0-\uFFFF]/,DP=/[\.\?\w$\xA0-\uFFFF]/,MP=/\s+[.[]\s*|\s*[.[]\s+/g,gz=e=>e.type===4?e.content:e.loc.source,yz=e=>{const t=gz(e).trim().replace(MP,a=>a.trim());let n=0,r=[],s=0,o=0,i=null;for(let a=0;a<t.length;a++){const l=t.charAt(a);switch(n){case 0:if(l==="[")r.push(n),n=1,s++;else if(l==="(")r.push(n),n=2,o++;else if(!(a===0?RP:DP).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(r.push(n),n=3,i=l):l==="["?s++:l==="]"&&(--s||(n=r.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")r.push(n),n=3,i=l;else if(l==="(")o++;else if(l===")"){if(a===t.length-1)return!1;--o||(n=r.pop())}break;case 3:l===i&&(n=r.pop(),i=null);break}}return!s&&!o},FP=tn,wp=yz,VP=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,vz=e=>VP.test(gz(e)),HP=tn,bz=vz;function UP(e,t,n=t.length){return zz({offset:e.offset,line:e.line,column:e.column},t,n)}function zz(e,t,n=t.length){let r=0,s=-1;for(let o=0;o<n;o++)t.charCodeAt(o)===10&&(r++,s=o);return e.offset+=n,e.line+=r,e.column=s===-1?e.column+n:n-s,e}function jP(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function kn(e,t,n=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(s.type===7&&(n||s.exp)&&(Re(t)?s.name===t:t.test(s.name)))return s}}function al(e,t,n=!1,r=!1){for(let s=0;s<e.props.length;s++){const o=e.props[s];if(o.type===6){if(n)continue;if(o.name===t&&(o.value||r))return o}else if(o.name==="bind"&&(o.exp||r)&&Vs(o.arg,t))return o}}function Vs(e,t){return!!(e&&xn(e)&&e.content===t)}function Cz(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function rc(e){return e.type===5||e.type===2}function kp(e){return e.type===7&&e.name==="slot"}function Ei(e){return e.type===1&&e.tagType===3}function ja(e){return e.type===1&&e.tagType===2}const BP=new Set([zi,Di]);function Sz(e,t=[]){if(e&&!Re(e)&&e.type===14){const n=e.callee;if(!Re(n)&&BP.has(n))return Sz(e.arguments[0],t.concat(e))}return[e,t]}function Ba(e,t,n){let r,s=e.type===13?e.props:e.arguments[2],o=[],i;if(s&&!Re(s)&&s.type===14){const a=Sz(s);s=a[0],o=a[1],i=o[o.length-1]}if(s==null||Re(s))r=Kn([t]);else if(s.type===14){const a=s.arguments[0];!Re(a)&&a.type===15?X_(t,a)||a.properties.unshift(t):s.callee===td?r=qt(n.helper(Ha),[Kn([t]),s]):s.arguments.unshift(Kn([t])),!r&&(r=s)}else s.type===15?(X_(t,s)||s.properties.unshift(t),r=s):(r=qt(n.helper(Ha),[Kn([t]),s]),i&&i.callee===Di&&(i=o[o.length-2]));e.type===13?i?i.arguments[0]=r:e.props=r:i?i.arguments[0]=r:e.arguments[2]=r}function X_(e,t){let n=!1;if(e.key.type===4){const r=e.key.content;n=t.properties.some(s=>s.key.type===4&&s.key.content===r)}return n}function wi(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function Cr(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const r=e.props[n];if(r.type===7&&(Cr(r.arg,t)||Cr(r.exp,t)))return!0}return e.children.some(n=>Cr(n,t));case 11:return Cr(e.source,t)?!0:e.children.some(n=>Cr(n,t));case 9:return e.branches.some(n=>Cr(n,t));case 10:return Cr(e.condition,t)?!0:e.children.some(n=>Cr(n,t));case 4:return!e.isStatic&&il(e.content)&&!!t[e.content];case 8:return e.children.some(n=>mt(n)&&Cr(n,t));case 5:case 12:return Cr(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Ez(e){return e.type===14&&e.callee===rd?e.arguments[1].returns:e}const wz=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,kz={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:ri,isPreTag:ri,isIgnoreNewlineTag:ri,isCustomElement:ri,onError:Sp,onWarn:fz,comments:!1,prefixIdentifiers:!1};let dt=kz,qa=null,cs="",cn=null,rt=null,Ln="",es=-1,uo=-1,xp=0,Ps=!1,sf=null;const xt=[],Ft=new vP(xt,{onerr:Jr,ontext(e,t){Ol(on(e,t),e,t)},ontextentity(e,t,n){Ol(e,t,n)},oninterpolation(e,t){if(Ps)return Ol(on(e,t),e,t);let n=e+Ft.delimiterOpen.length,r=t-Ft.delimiterClose.length;for(;Gn(cs.charCodeAt(n));)n++;for(;Gn(cs.charCodeAt(r-1));)r--;let s=on(n,r);s.includes("&")&&(s=dt.decodeEntities(s,!1)),of({type:5,content:oc(s,!1,Ut(n,r)),loc:Ut(e,t)})},onopentagname(e,t){const n=on(e,t);cn={type:1,tag:n,ns:dt.getNamespace(n,xt[0],dt.ns),tagType:0,props:[],children:[],loc:Ut(e-1,t),codegenNode:void 0}},onopentagend(e){Z_(e)},onclosetag(e,t){const n=on(e,t);if(!dt.isVoidTag(n)){let r=!1;for(let s=0;s<xt.length;s++)if(xt[s].tag.toLowerCase()===n.toLowerCase()){r=!0,s>0&&Jr(24,xt[0].loc.start.offset);for(let i=0;i<=s;i++){const a=xt.shift();sc(a,t,i<s)}break}r||Jr(23,xz(e,60))}},onselfclosingtag(e){const t=cn.tag;cn.isSelfClosing=!0,Z_(e),xt[0]&&xt[0].tag===t&&sc(xt.shift(),e)},onattribname(e,t){rt={type:6,name:on(e,t),nameLoc:Ut(e,t),value:void 0,loc:Ut(e)}},ondirname(e,t){const n=on(e,t),r=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Ps&&r===""&&Jr(26,e),Ps||r==="")rt={type:6,name:n,nameLoc:Ut(e,t),value:void 0,loc:Ut(e)};else if(rt={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Ue("prop")]:[],loc:Ut(e)},r==="pre"){Ps=Ft.inVPre=!0,sf=cn;const s=cn.props;for(let o=0;o<s.length;o++)s[o].type===7&&(s[o]=tL(s[o]))}},ondirarg(e,t){if(e===t)return;const n=on(e,t);if(Ps)rt.name+=n,po(rt.nameLoc,t);else{const r=n[0]!=="[";rt.arg=oc(r?n:n.slice(1,-1),r,Ut(e,t),r?3:0)}},ondirmodifier(e,t){const n=on(e,t);if(Ps)rt.name+="."+n,po(rt.nameLoc,t);else if(rt.name==="slot"){const r=rt.arg;r&&(r.content+="."+n,po(r.loc,t))}else{const r=Ue(n,!0,Ut(e,t));rt.modifiers.push(r)}},onattribdata(e,t){Ln+=on(e,t),es<0&&(es=e),uo=t},onattribentity(e,t,n){Ln+=e,es<0&&(es=t),uo=n},onattribnameend(e){const t=rt.loc.start.offset,n=on(t,e);rt.type===7&&(rt.rawName=n),cn.props.some(r=>(r.type===7?r.rawName:r.name)===n)&&Jr(2,t)},onattribend(e,t){if(cn&&rt){if(po(rt.loc,t),e!==0)if(Ln.includes("&")&&(Ln=dt.decodeEntities(Ln,!0)),rt.type===6)rt.name==="class"&&(Ln=Az(Ln).trim()),e===1&&!Ln&&Jr(13,t),rt.value={type:2,content:Ln,loc:e===1?Ut(es,uo):Ut(es-1,uo+1)},Ft.inSFCRoot&&cn.tag==="template"&&rt.name==="lang"&&Ln&&Ln!=="html"&&Ft.enterRCDATA(Uc("</template"),0);else{let n=0;rt.exp=oc(Ln,!1,Ut(es,uo),0,n),rt.name==="for"&&(rt.forParseResult=WP(rt.exp));let r=-1;rt.name==="bind"&&(r=rt.modifiers.findIndex(s=>s.content==="sync"))>-1&&Si("COMPILER_V_BIND_SYNC",dt,rt.loc,rt.rawName)&&(rt.name="model",rt.modifiers.splice(r,1))}(rt.type!==7||rt.name!=="pre")&&cn.props.push(rt)}Ln="",es=uo=-1},oncomment(e,t){dt.comments&&of({type:3,content:on(e,t),loc:Ut(e-4,t+3)})},onend(){const e=cs.length;for(let t=0;t<xt.length;t++)sc(xt[t],e-1),Jr(24,xt[t].loc.start.offset)},oncdata(e,t){xt[0].ns!==0?Ol(on(e,t),e,t):Jr(1,e-9)},onprocessinginstruction(e){(xt[0]?xt[0].ns:dt.ns)===0&&Jr(21,e-1)}}),Y_=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,qP=/^\(|\)$/g;function WP(e){const t=e.loc,n=e.content,r=n.match(wz);if(!r)return;const[,s,o]=r,i=(m,f,p=!1)=>{const h=t.start.offset+f,_=h+m.length;return oc(m,!1,Ut(h,_),0,p?1:0)},a={source:i(o.trim(),n.indexOf(o,s.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=s.trim().replace(qP,"").trim();const c=s.indexOf(l),d=l.match(Y_);if(d){l=l.replace(Y_,"").trim();const m=d[1].trim();let f;if(m&&(f=n.indexOf(m,c+l.length),a.key=i(m,f,!0)),d[2]){const p=d[2].trim();p&&(a.index=i(p,n.indexOf(p,a.key?f+m.length:c+l.length),!0))}}return l&&(a.value=i(l,c,!0)),a}function on(e,t){return cs.slice(e,t)}function Z_(e){Ft.inSFCRoot&&(cn.innerLoc=Ut(e+1,e+1)),of(cn);const{tag:t,ns:n}=cn;n===0&&dt.isPreTag(t)&&xp++,dt.isVoidTag(t)?sc(cn,e):(xt.unshift(cn),(n===1||n===2)&&(Ft.inXML=!0)),cn=null}function Ol(e,t,n){{const o=xt[0]&&xt[0].tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=dt.decodeEntities(e,!1))}const r=xt[0]||qa,s=r.children[r.children.length-1];s&&s.type===2?(s.content+=e,po(s.loc,n)):r.children.push({type:2,content:e,loc:Ut(t,n)})}function sc(e,t,n=!1){n?po(e.loc,xz(t,60)):po(e.loc,GP(t,62)+1),Ft.inSFCRoot&&(e.children.length?e.innerLoc.end=Je({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Je({},e.innerLoc.start),e.innerLoc.source=on(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:s,children:o}=e;if(Ps||(r==="slot"?e.tagType=2:J_(e)?e.tagType=3:XP(e)&&(e.tagType=1)),Ft.inRCDATA||(e.children=Tz(o)),s===0&&dt.isIgnoreNewlineTag(r)){const i=o[0];i&&i.type===2&&(i.content=i.content.replace(/^\r?\n/,""))}s===0&&dt.isPreTag(r)&&xp--,sf===e&&(Ps=Ft.inVPre=!1,sf=null),Ft.inXML&&(xt[0]?xt[0].ns:dt.ns)===0&&(Ft.inXML=!1);{const i=e.props;if(!Ft.inSFCRoot&&Eo("COMPILER_NATIVE_TEMPLATE",dt)&&e.tag==="template"&&!J_(e)){const l=xt[0]||qa,c=l.children.indexOf(e);l.children.splice(c,1,...e.children)}const a=i.find(l=>l.type===6&&l.name==="inline-template");a&&Si("COMPILER_INLINE_TEMPLATE",dt,a.loc)&&e.children.length&&(a.value={type:2,content:on(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:a.loc})}}function GP(e,t){let n=e;for(;cs.charCodeAt(n)!==t&&n<cs.length-1;)n++;return n}function xz(e,t){let n=e;for(;cs.charCodeAt(n)!==t&&n>=0;)n--;return n}const KP=new Set(["if","else","else-if","for","slot"]);function J_({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&KP.has(t[n].name))return!0}return!1}function XP({tag:e,props:t}){if(dt.isCustomElement(e))return!1;if(e==="component"||YP(e.charCodeAt(0))||Ep(e)||dt.isBuiltInComponent&&dt.isBuiltInComponent(e)||dt.isNativeTag&&!dt.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const r=t[n];if(r.type===6){if(r.name==="is"&&r.value){if(r.value.content.startsWith("vue:"))return!0;if(Si("COMPILER_IS_ON_ELEMENT",dt,r.loc))return!0}}else if(r.name==="bind"&&Vs(r.arg,"is")&&Si("COMPILER_IS_ON_ELEMENT",dt,r.loc))return!0}return!1}function YP(e){return e>64&&e<91}const ZP=/\r\n/g;function Tz(e,t){const n=dt.whitespace!=="preserve";let r=!1;for(let s=0;s<e.length;s++){const o=e[s];if(o.type===2)if(xp)o.content=o.content.replace(ZP,`
`);else if(JP(o.content)){const i=e[s-1]&&e[s-1].type,a=e[s+1]&&e[s+1].type;!i||!a||n&&(i===3&&(a===3||a===1)||i===1&&(a===3||a===1&&QP(o.content)))?(r=!0,e[s]=null):o.content=" "}else n&&(o.content=Az(o.content))}return r?e.filter(Boolean):e}function JP(e){for(let t=0;t<e.length;t++)if(!Gn(e.charCodeAt(t)))return!1;return!0}function QP(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Az(e){let t="",n=!1;for(let r=0;r<e.length;r++)Gn(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function of(e){(xt[0]||qa).children.push(e)}function Ut(e,t){return{start:Ft.getPos(e),end:t==null?t:Ft.getPos(t),source:t==null?t:on(e,t)}}function eL(e){return Ut(e.start.offset,e.end.offset)}function po(e,t){e.end=Ft.getPos(t),e.source=on(e.start.offset,t)}function tL(e){const t={type:6,name:e.rawName,nameLoc:Ut(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function oc(e,t=!1,n,r=0,s=0){return Ue(e,t,n,r)}function Jr(e,t,n){dt.onError(St(e,Ut(t,t)))}function nL(){Ft.reset(),cn=null,rt=null,Ln="",es=-1,uo=-1,xt.length=0}function Tp(e,t){if(nL(),cs=e,dt=Je({},kz),t){let s;for(s in t)t[s]!=null&&(dt[s]=t[s])}Ft.mode=dt.parseMode==="html"?1:dt.parseMode==="sfc"?2:0,Ft.inXML=dt.ns===1||dt.ns===2;const n=t&&t.delimiters;n&&(Ft.delimiterOpen=Uc(n[0]),Ft.delimiterClose=Uc(n[1]));const r=qa=uz([],e);return Ft.parse(cs),r.loc=Ut(0,e.length),r.children=Tz(r.children),qa=null,r}function rL(e,t){ic(e,void 0,t,Oz(e,e.children[0]))}function Oz(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!ja(t)}function ic(e,t,n,r=!1,s=!1){const{children:o}=e,i=[];for(let d=0;d<o.length;d++){const m=o[d];if(m.type===1&&m.tagType===0){const f=r?0:Vn(m,n);if(f>0){if(f>=2){m.codegenNode.patchFlag=-1,i.push(m);continue}}else{const p=m.codegenNode;if(p.type===13){const h=p.patchFlag;if((h===void 0||h===512||h===1)&&Nz(m,n)>=2){const _=Iz(m);_&&(p.props=n.hoist(_))}p.dynamicProps&&(p.dynamicProps=n.hoist(p.dynamicProps))}}}else if(m.type===12&&(r?0:Vn(m,n))>=2){i.push(m);continue}if(m.type===1){const f=m.tagType===1;f&&n.scopes.vSlot++,ic(m,e,n,!1,s),f&&n.scopes.vSlot--}else if(m.type===11)ic(m,e,n,m.children.length===1,!0);else if(m.type===9)for(let f=0;f<m.branches.length;f++)ic(m.branches[f],e,n,m.branches[f].children.length===1,s)}let a=!1;if(i.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&ve(e.codegenNode.children))e.codegenNode.children=l(js(e.codegenNode.children)),a=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ve(e.codegenNode.children)&&e.codegenNode.children.type===15){const d=c(e.codegenNode,"default");d&&(d.returns=l(js(d.returns)),a=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!ve(t.codegenNode.children)&&t.codegenNode.children.type===15){const d=kn(e,"slot",!0),m=d&&d.arg&&c(t.codegenNode,d.arg);m&&(m.returns=l(js(m.returns)),a=!0)}}if(!a)for(const d of i)d.codegenNode=n.cache(d.codegenNode);function l(d){const m=n.cache(d);return s&&n.hmr&&(m.needArraySpread=!0),m}function c(d,m){if(d.children&&!ve(d.children)&&d.children.type===15){const f=d.children.properties.find(p=>p.key===m||p.key.content===m);return f&&f.value}}i.length&&n.transformHoist&&n.transformHoist(o,n,e)}function Vn(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const r=n.get(e);if(r!==void 0)return r;const s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(s.patchFlag===void 0){let i=3;const a=Nz(e,t);if(a===0)return n.set(e,0),0;a<i&&(i=a);for(let l=0;l<e.children.length;l++){const c=Vn(e.children[l],t);if(c===0)return n.set(e,0),0;c<i&&(i=c)}if(i>1)for(let l=0;l<e.props.length;l++){const c=e.props[l];if(c.type===7&&c.name==="bind"&&c.exp){const d=Vn(c.exp,t);if(d===0)return n.set(e,0),0;d<i&&(i=d)}}if(s.isBlock){for(let l=0;l<e.props.length;l++)if(e.props[l].type===7)return n.set(e,0),0;t.removeHelper(Gs),t.removeHelper(Io(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(No(t.inSSR,s.isComponent))}return n.set(e,i),i}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Vn(e.content,t);case 4:return e.constType;case 8:let o=3;for(let i=0;i<e.children.length;i++){const a=e.children[i];if(Re(a)||An(a))continue;const l=Vn(a,t);if(l===0)return 0;l<o&&(o=l)}return o;case 20:return 2;default:return 0}}const sL=new Set([Qu,ed,zi,Di]);function $z(e,t){if(e.type===14&&!Re(e.callee)&&sL.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Vn(n,t);if(n.type===14)return $z(n,t)}return 0}function Nz(e,t){let n=3;const r=Iz(e);if(r&&r.type===15){const{properties:s}=r;for(let o=0;o<s.length;o++){const{key:i,value:a}=s[o],l=Vn(i,t);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=Vn(a,t):a.type===14?c=$z(a,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function Iz(e){const t=e.codegenNode;if(t.type===13)return t.props}function Pz(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:s=!1,cacheHandlers:o=!1,nodeTransforms:i=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=tn,isCustomElement:d=tn,expressionPlugins:m=[],scopeId:f=null,slotted:p=!0,ssr:h=!1,inSSR:_=!1,ssrCssVars:v="",bindingMetadata:C=Ze,inline:S=!1,isTS:g=!1,onError:b=Sp,onWarn:E=fz,compatConfig:w}){const P=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),N={filename:t,selfName:P&&Ys(zt(P[1])),prefixIdentifiers:n,hoistStatic:r,hmr:s,cacheHandlers:o,nodeTransforms:i,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:d,expressionPlugins:m,scopeId:f,slotted:p,ssr:h,inSSR:_,ssrCssVars:v,bindingMetadata:C,inline:S,isTS:g,onError:b,onWarn:E,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(k){const R=N.helpers.get(k)||0;return N.helpers.set(k,R+1),k},removeHelper(k){const R=N.helpers.get(k);if(R){const B=R-1;B?N.helpers.set(k,B):N.helpers.delete(k)}},helperString(k){return`_${Oo[N.helper(k)]}`},replaceNode(k){N.parent.children[N.childIndex]=N.currentNode=k},removeNode(k){const R=N.parent.children,B=k?R.indexOf(k):N.currentNode?N.childIndex:-1;!k||k===N.currentNode?(N.currentNode=null,N.onNodeRemoved()):N.childIndex>B&&(N.childIndex--,N.onNodeRemoved()),N.parent.children.splice(B,1)},onNodeRemoved:tn,addIdentifiers(k){},removeIdentifiers(k){},hoist(k){Re(k)&&(k=Ue(k)),N.hoists.push(k);const R=Ue(`_hoisted_${N.hoists.length}`,!1,k.loc,2);return R.hoisted=k,R},cache(k,R=!1,B=!1){const M=dz(N.cached.length,k,R,B);return N.cached.push(M),M}};return N.filters=new Set,N}function Lz(e,t){const n=Pz(e,t);ll(e,n),t.hoistStatic&&rL(e,n),t.ssr||oL(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function oL(e,t){const{helper:n}=t,{children:r}=e;if(r.length===1){const s=r[0];if(Oz(e,s)&&s.codegenNode){const o=s.codegenNode;o.type===13&&sd(o,t),e.codegenNode=o}else e.codegenNode=s}else if(r.length>1){let s=64;e.codegenNode=Ci(t,n(bi),void 0,e.children,s,void 0,void 0,!0,void 0,!1)}}function iL(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const s=e.children[n];Re(s)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,ll(s,t))}}function ll(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let o=0;o<n.length;o++){const i=n[o](e,t);if(i&&(ve(i)?r.push(...i):r.push(i)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Ri);break;case 5:t.ssr||t.helper(ol);break;case 9:for(let o=0;o<e.branches.length;o++)ll(e.branches[o],t);break;case 10:case 11:case 1:case 0:iL(e,t);break}t.currentNode=e;let s=r.length;for(;s--;)r[s]()}function Ap(e,t){const n=Re(e)?r=>r===e:r=>e.test(r);return(r,s)=>{if(r.type===1){const{props:o}=r;if(r.tagType===3&&o.some(kp))return;const i=[];for(let a=0;a<o.length;a++){const l=o[a];if(l.type===7&&n(l.name)){o.splice(a,1),a--;const c=t(r,l,s);c&&i.push(c)}}return i}}}const od="/*@__PURE__*/",Rz=e=>`${Oo[e]}: _${Oo[e]}`;function aL(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:r=!1,filename:s="template.vue.html",scopeId:o=null,optimizeImports:i=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:d=!1,isTS:m=!1,inSSR:f=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:s,scopeId:o,optimizeImports:i,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:d,isTS:m,inSSR:f,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(_){return`_${Oo[_]}`},push(_,v=-2,C){p.code+=_},indent(){h(++p.indentLevel)},deindent(_=!1){_?--p.indentLevel:h(--p.indentLevel)},newline(){h(p.indentLevel)}};function h(_){p.push(`
`+" ".repeat(_),0)}return p}function Dz(e,t={}){const n=aL(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:s,prefixIdentifiers:o,indent:i,deindent:a,newline:l,scopeId:c,ssr:d}=n,m=Array.from(e.helpers),f=m.length>0,p=!o&&r!=="module";lL(e,n);const _=d?"ssrRender":"render",C=(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${_}(${C}) {`),i(),p&&(s("with (_ctx) {"),i(),f&&(s(`const { ${m.map(Rz).join(", ")} } = _Vue
`,-1),l())),e.components.length&&(jd(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(jd(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),jd(e.filters,"filter",n),l()),e.temps>0){s("let ");for(let S=0;S<e.temps;S++)s(`${S>0?", ":""}_temp${S}`)}return(e.components.length||e.directives.length||e.temps)&&(s(`
`,0),l()),d||s("return "),e.codegenNode?bn(e.codegenNode,n):s("null"),p&&(a(),s("}")),a(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function lL(e,t){const{ssr:n,prefixIdentifiers:r,push:s,newline:o,runtimeModuleName:i,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a,d=Array.from(e.helpers);if(d.length>0&&(s(`const _Vue = ${c}
`,-1),e.hoists.length)){const m=[Bu,qu,Ri,Wu,vp].filter(f=>d.includes(f)).map(Rz).join(", ");s(`const { ${m} } = _Vue
`,-1)}cL(e.hoists,t),o(),s("return ")}function jd(e,t,{helper:n,push:r,newline:s,isTS:o}){const i=n(t==="filter"?Yu:t==="component"?Gu:Xu);for(let a=0;a<e.length;a++){let l=e[a];const c=l.endsWith("__self");c&&(l=l.slice(0,-6)),r(`const ${wi(l,t)} = ${i}(${JSON.stringify(l)}${c?", true":""})${o?"!":""}`),a<e.length-1&&s()}}function cL(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let s=0;s<e.length;s++){const o=e[s];o&&(n(`const _hoisted_${s+1} = `),bn(o,t),r())}t.pure=!1}function Op(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),cl(e,t,n),n&&t.deindent(),t.push("]")}function cl(e,t,n=!1,r=!0){const{push:s,newline:o}=t;for(let i=0;i<e.length;i++){const a=e[i];Re(a)?s(a,-3):ve(a)?Op(a,t):bn(a,t),i<e.length-1&&(n?(r&&s(","),o()):r&&s(", "))}}function bn(e,t){if(Re(e)){t.push(e,-3);return}if(An(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:bn(e.codegenNode,t);break;case 2:uL(e,t);break;case 4:Mz(e,t);break;case 5:dL(e,t);break;case 12:bn(e.codegenNode,t);break;case 8:Fz(e,t);break;case 3:fL(e,t);break;case 13:pL(e,t);break;case 14:_L(e,t);break;case 15:gL(e,t);break;case 17:yL(e,t);break;case 18:vL(e,t);break;case 19:bL(e,t);break;case 20:zL(e,t);break;case 21:cl(e.body,t,!0,!1);break}}function uL(e,t){t.push(JSON.stringify(e.content),-3,e)}function Mz(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function dL(e,t){const{push:n,helper:r,pure:s}=t;s&&n(od),n(`${r(ol)}(`),bn(e.content,t),n(")")}function Fz(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];Re(r)?t.push(r,-3):bn(r,t)}}function mL(e,t){const{push:n}=t;if(e.type===8)n("["),Fz(e,t),n("]");else if(e.isStatic){const r=il(e.content)?e.content:JSON.stringify(e.content);n(r,-2,e)}else n(`[${e.content}]`,-3,e)}function fL(e,t){const{push:n,helper:r,pure:s}=t;s&&n(od),n(`${r(Ri)}(${JSON.stringify(e.content)})`,-3,e)}function pL(e,t){const{push:n,helper:r,pure:s}=t,{tag:o,props:i,children:a,patchFlag:l,dynamicProps:c,directives:d,isBlock:m,disableTracking:f,isComponent:p}=e;let h;l&&(h=String(l)),d&&n(r(Zu)+"("),m&&n(`(${r(Gs)}(${f?"true":""}), `),s&&n(od);const _=m?Io(t.inSSR,p):No(t.inSSR,p);n(r(_)+"(",-2,e),cl(hL([o,i,a,h,c]),t),n(")"),m&&n(")"),d&&(n(", "),bn(d,t),n(")"))}function hL(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function _L(e,t){const{push:n,helper:r,pure:s}=t,o=Re(e.callee)?e.callee:r(e.callee);s&&n(od),n(o+"(",-2,e),cl(e.arguments,t),n(")")}function gL(e,t){const{push:n,indent:r,deindent:s,newline:o}=t,{properties:i}=e;if(!i.length){n("{}",-2,e);return}const a=i.length>1||!1;n(a?"{":"{ "),a&&r();for(let l=0;l<i.length;l++){const{key:c,value:d}=i[l];mL(c,t),n(": "),bn(d,t),l<i.length-1&&(n(","),o())}a&&s(),n(a?"}":" }")}function yL(e,t){Op(e.elements,t)}function vL(e,t){const{push:n,indent:r,deindent:s}=t,{params:o,returns:i,body:a,newline:l,isSlot:c}=e;c&&n(`_${Oo[nd]}(`),n("(",-2,e),ve(o)?cl(o,t):o&&bn(o,t),n(") => "),(l||a)&&(n("{"),r()),i?(l&&n("return "),ve(i)?Op(i,t):bn(i,t)):a&&bn(a,t),(l||a)&&(s(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function bL(e,t){const{test:n,consequent:r,alternate:s,newline:o}=e,{push:i,indent:a,deindent:l,newline:c}=t;if(n.type===4){const m=!il(n.content);m&&i("("),Mz(n,t),m&&i(")")}else i("("),bn(n,t),i(")");o&&a(),t.indentLevel++,o||i(" "),i("? "),bn(r,t),t.indentLevel--,o&&c(),o||i(" "),i(": ");const d=s.type===19;d||t.indentLevel++,bn(s,t),d||t.indentLevel--,o&&l(!0)}function zL(e,t){const{push:n,helper:r,indent:s,deindent:o,newline:i}=t,{needPauseTracking:a,needArraySpread:l}=e;l&&n("[...("),n(`_cache[${e.index}] || (`),a&&(s(),n(`${r(Ua)}(-1`),e.inVOnce&&n(", true"),n("),"),i(),n("(")),n(`_cache[${e.index}] = `),bn(e.value,t),a&&(n(`).cacheIndex = ${e.index},`),i(),n(`${r(Ua)}(1),`),i(),n(`_cache[${e.index}]`),o()),n(")"),l&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const CL=(e,t)=>{if(e.type===5)e.content=ac(e.content,t);else if(e.type===1){const n=kn(e,"memo");for(let r=0;r<e.props.length;r++){const s=e.props[r];if(s.type===7&&s.name!=="for"){const o=s.exp,i=s.arg;o&&o.type===4&&!(s.name==="on"&&i)&&!(n&&i&&i.type===4&&i.content==="key")&&(s.exp=ac(o,t,s.name==="slot")),i&&i.type===4&&!i.isStatic&&(s.arg=ac(i,t))}}}};function ac(e,t,n=!1,r=!1,s=Object.create(t.identifiers)){return e}function Vz(e){return Re(e)?e:e.type===4?e.content:e.children.map(Vz).join("")}const SL=Ap(/^(if|else|else-if)$/,(e,t,n)=>Hz(e,t,n,(r,s,o)=>{const i=n.parent.children;let a=i.indexOf(r),l=0;for(;a-->=0;){const c=i[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(o)r.codegenNode=eg(s,l,n);else{const c=EL(r.codegenNode);c.alternate=eg(s,l+r.branches.length-1,n)}}}));function Hz(e,t,n,r){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(St(28,t.loc)),t.exp=Ue("true",!1,s)}if(t.name==="if"){const s=Q_(e,t),o={type:9,loc:eL(e.loc),branches:[s]};if(n.replaceNode(o),r)return r(o,s,!0)}else{const s=n.parent.children;let o=s.indexOf(e);for(;o-->=-1;){const i=s[o];if(i&&i.type===3){n.removeNode(i);continue}if(i&&i.type===2&&!i.content.trim().length){n.removeNode(i);continue}if(i&&i.type===9){t.name==="else-if"&&i.branches[i.branches.length-1].condition===void 0&&n.onError(St(30,e.loc)),n.removeNode();const a=Q_(e,t);i.branches.push(a);const l=r&&r(i,a,!1);ll(a,n),l&&l(),n.currentNode=null}else n.onError(St(30,e.loc));break}}}function Q_(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!kn(e,"for")?e.children:[e],userKey:al(e,"key"),isTemplateIf:n}}function eg(e,t,n){return e.condition?Hc(e.condition,tg(e,t,n),qt(n.helper(Ri),['""',"true"])):tg(e,t,n)}function tg(e,t,n){const{helper:r}=n,s=Vt("key",Ue(`${t}`,!1,Qt,2)),{children:o}=e,i=o[0];if(o.length!==1||i.type!==1)if(o.length===1&&i.type===11){const l=i.codegenNode;return Ba(l,s,n),l}else return Ci(n,r(bi),Kn([s]),o,64,void 0,void 0,!0,!1,!1,e.loc);else{const l=i.codegenNode,c=Ez(l);return c.type===13&&sd(c,n),Ba(c,s,n),l}}function EL(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Uz=(e,t,n)=>{const{modifiers:r,loc:s}=e,o=e.arg;let{exp:i}=e;if(i&&i.type===4&&!i.content.trim()&&(i=void 0),!i){if(o.type!==4||!o.isStatic)return n.onError(St(52,o.loc)),{props:[Vt(o,Ue("",!0,s))]};jz(e),i=e.exp}return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),r.some(a=>a.content==="camel")&&(o.type===4?o.isStatic?o.content=zt(o.content):o.content=`${n.helperString(Fc)}(${o.content})`:(o.children.unshift(`${n.helperString(Fc)}(`),o.children.push(")"))),n.inSSR||(r.some(a=>a.content==="prop")&&ng(o,"."),r.some(a=>a.content==="attr")&&ng(o,"^")),{props:[Vt(o,i)]}},jz=(e,t)=>{const n=e.arg,r=zt(n.content);e.exp=Ue(r,!1,n.loc)},ng=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},wL=Ap("for",(e,t,n)=>{const{helper:r,removeHelper:s}=n;return Bz(e,t,n,o=>{const i=qt(r(Ju),[o.source]),a=Ei(e),l=kn(e,"memo"),c=al(e,"key",!1,!0);c&&c.type===7&&!c.exp&&jz(c);let m=c&&(c.type===6?c.value?Ue(c.value.content,!0):void 0:c.exp);const f=c&&m?Vt("key",m):null,p=o.source.type===4&&o.source.constType>0,h=p?64:c?128:256;return o.codegenNode=Ci(n,r(bi),void 0,i,h,void 0,void 0,!0,!p,!1,e.loc),()=>{let _;const{children:v}=o,C=v.length!==1||v[0].type!==1,S=ja(e)?e:a&&e.children.length===1&&ja(e.children[0])?e.children[0]:null;if(S?(_=S.codegenNode,a&&f&&Ba(_,f,n)):C?_=Ci(n,r(bi),f?Kn([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(_=v[0].codegenNode,a&&f&&Ba(_,f,n),_.isBlock!==!p&&(_.isBlock?(s(Gs),s(Io(n.inSSR,_.isComponent))):s(No(n.inSSR,_.isComponent))),_.isBlock=!p,_.isBlock?(r(Gs),r(Io(n.inSSR,_.isComponent))):r(No(n.inSSR,_.isComponent))),l){const g=$o(jc(o.parseResult,[Ue("_cached")]));g.body=mz([ur(["const _memo = (",l.exp,")"]),ur(["if (_cached",...m?[" && _cached.key === ",m]:[],` && ${n.helperString(Cp)}(_cached, _memo)) return _cached`]),ur(["const _item = ",_]),Ue("_item.memo = _memo"),Ue("return _item")]),i.arguments.push(g,Ue("_cache"),Ue(String(n.cached.length))),n.cached.push(null)}else i.arguments.push($o(jc(o.parseResult),_,!0))}})});function Bz(e,t,n,r){if(!t.exp){n.onError(St(31,t.loc));return}const s=t.forParseResult;if(!s){n.onError(St(32,t.loc));return}$p(s);const{addIdentifiers:o,removeIdentifiers:i,scopes:a}=n,{source:l,value:c,key:d,index:m}=s,f={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:d,objectIndexAlias:m,parseResult:s,children:Ei(e)?e.children:[e]};n.replaceNode(f),a.vFor++;const p=r&&r(f);return()=>{a.vFor--,p&&p()}}function $p(e,t){e.finalized||(e.finalized=!0)}function jc({value:e,key:t,index:n},r=[]){return kL([e,t,n,...r])}function kL(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,r)=>n||Ue("_".repeat(r+1),!1))}const rg=Ue("undefined",!1),qz=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=kn(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},xL=(e,t)=>{let n;if(Ei(e)&&e.props.some(kp)&&(n=kn(e,"for"))){const r=n.forParseResult;if(r){$p(r);const{value:s,key:o,index:i}=r,{addIdentifiers:a,removeIdentifiers:l}=t;return s&&a(s),o&&a(o),i&&a(i),()=>{s&&l(s),o&&l(o),i&&l(i)}}}},TL=(e,t,n,r)=>$o(e,n,!1,!0,n.length?n[0].loc:r);function Wz(e,t,n=TL){t.helper(nd);const{children:r,loc:s}=e,o=[],i=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=kn(e,"slot",!0);if(l){const{arg:v,exp:C}=l;v&&!xn(v)&&(a=!0),o.push(Vt(v||Ue("default",!0),n(C,void 0,r,s)))}let c=!1,d=!1;const m=[],f=new Set;let p=0;for(let v=0;v<r.length;v++){const C=r[v];let S;if(!Ei(C)||!(S=kn(C,"slot",!0))){C.type!==3&&m.push(C);continue}if(l){t.onError(St(37,S.loc));break}c=!0;const{children:g,loc:b}=C,{arg:E=Ue("default",!0),exp:w,loc:P}=S;let N;xn(E)?N=E?E.content:"default":a=!0;const k=kn(C,"for"),R=n(w,k,g,b);let B,M;if(B=kn(C,"if"))a=!0,i.push(Hc(B.exp,$l(E,R,p++),rg));else if(M=kn(C,/^else(-if)?$/,!0)){let H=v,X;for(;H--&&(X=r[H],X.type===3););if(X&&Ei(X)&&kn(X,/^(else-)?if$/)){let ae=i[i.length-1];for(;ae.alternate.type===19;)ae=ae.alternate;ae.alternate=M.exp?Hc(M.exp,$l(E,R,p++),rg):$l(E,R,p++)}else t.onError(St(30,M.loc))}else if(k){a=!0;const H=k.forParseResult;H?($p(H),i.push(qt(t.helper(Ju),[H.source,$o(jc(H),$l(E,R),!0)]))):t.onError(St(32,k.loc))}else{if(N){if(f.has(N)){t.onError(St(38,P));continue}f.add(N),N==="default"&&(d=!0)}o.push(Vt(E,R))}}if(!l){const v=(C,S)=>{const g=n(C,void 0,S,s);return t.compatConfig&&(g.isNonScopedSlot=!0),Vt("default",g)};c?m.length&&m.some(C=>Gz(C))&&(d?t.onError(St(39,m[0].loc)):o.push(v(void 0,m))):o.push(v(void 0,r))}const h=a?2:lc(e.children)?3:1;let _=Kn(o.concat(Vt("_",Ue(h+"",!1))),s);return i.length&&(_=qt(t.helper(zp),[_,js(i)])),{slots:_,hasDynamicSlots:a}}function $l(e,t,n){const r=[Vt("name",e),Vt("fn",t)];return n!=null&&r.push(Vt("key",Ue(String(n),!0))),Kn(r)}function lc(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||lc(n.children))return!0;break;case 9:if(lc(n.branches))return!0;break;case 10:case 11:if(lc(n.children))return!0;break}}return!1}function Gz(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():Gz(e.content)}const Kz=new WeakMap,Xz=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:s}=e,o=e.tagType===1;let i=o?Yz(e,t):`"${r}"`;const a=mt(i)&&i.callee===Ku;let l,c,d=0,m,f,p,h=a||i===di||i===ju||!o&&(r==="svg"||r==="foreignObject"||r==="math");if(s.length>0){const _=Np(e,t,void 0,o,a);l=_.props,d=_.patchFlag,f=_.dynamicPropNames;const v=_.directives;p=v&&v.length?js(v.map(C=>Zz(C,t))):void 0,_.shouldUseBlock&&(h=!0)}if(e.children.length>0)if(i===Va&&(h=!0,d|=1024),o&&i!==di&&i!==Va){const{slots:v,hasDynamicSlots:C}=Wz(e,t);c=v,C&&(d|=1024)}else if(e.children.length===1&&i!==di){const v=e.children[0],C=v.type,S=C===5||C===8;S&&Vn(v,t)===0&&(d|=1),S||C===2?c=v:c=e.children}else c=e.children;f&&f.length&&(m=OL(f)),e.codegenNode=Ci(t,i,l,c,d===0?void 0:d,m,p,!!h,!1,o,e.loc)};function Yz(e,t,n=!1){let{tag:r}=e;const s=af(r),o=al(e,"is",!1,!0);if(o)if(s||Eo("COMPILER_IS_ON_ELEMENT",t)){let a;if(o.type===6?a=o.value&&Ue(o.value.content,!0):(a=o.exp,a||(a=Ue("is",!1,o.arg.loc))),a)return qt(t.helper(Ku),[a])}else o.type===6&&o.value.content.startsWith("vue:")&&(r=o.value.content.slice(4));const i=Ep(r)||t.isBuiltInComponent(r);return i?(n||t.helper(i),i):(t.helper(Gu),t.components.add(r),wi(r,"component"))}function Np(e,t,n=e.props,r,s,o=!1){const{tag:i,loc:a,children:l}=e;let c=[];const d=[],m=[],f=l.length>0;let p=!1,h=0,_=!1,v=!1,C=!1,S=!1,g=!1,b=!1;const E=[],w=R=>{c.length&&(d.push(Kn(sg(c),a)),c=[]),R&&d.push(R)},P=()=>{t.scopes.vFor>0&&c.push(Vt(Ue("ref_for",!0),Ue("true")))},N=({key:R,value:B})=>{if(xn(R)){const M=R.content,H=Ks(M);if(H&&(!r||s)&&M.toLowerCase()!=="onclick"&&M!=="onUpdate:modelValue"&&!as(M)&&(S=!0),H&&as(M)&&(b=!0),H&&B.type===14&&(B=B.arguments[0]),B.type===20||(B.type===4||B.type===8)&&Vn(B,t)>0)return;M==="ref"?_=!0:M==="class"?v=!0:M==="style"?C=!0:M!=="key"&&!E.includes(M)&&E.push(M),r&&(M==="class"||M==="style")&&!E.includes(M)&&E.push(M)}else g=!0};for(let R=0;R<n.length;R++){const B=n[R];if(B.type===6){const{loc:M,name:H,nameLoc:X,value:ae}=B;let G=!0;if(H==="ref"&&(_=!0,P()),H==="is"&&(af(i)||ae&&ae.content.startsWith("vue:")||Eo("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Vt(Ue(H,!0,X),Ue(ae?ae.content:"",G,ae?ae.loc:M)))}else{const{name:M,arg:H,exp:X,loc:ae,modifiers:G}=B,te=M==="bind",le=M==="on";if(M==="slot"){r||t.onError(St(40,ae));continue}if(M==="once"||M==="memo"||M==="is"||te&&Vs(H,"is")&&(af(i)||Eo("COMPILER_IS_ON_ELEMENT",t))||le&&o)continue;if((te&&Vs(H,"key")||le&&f&&Vs(H,"vue:before-update"))&&(p=!0),te&&Vs(H,"ref")&&P(),!H&&(te||le)){if(g=!0,X)if(te){if(P(),w(),Eo("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(X);continue}d.push(X)}else w({type:14,loc:ae,callee:t.helper(td),arguments:r?[X]:[X,"true"]});else t.onError(St(te?34:35,ae));continue}te&&G.some(Qe=>Qe.content==="prop")&&(h|=32);const Ae=t.directiveTransforms[M];if(Ae){const{props:Qe,needRuntime:De}=Ae(B,e,t);!o&&Qe.forEach(N),le&&H&&!xn(H)?w(Kn(Qe,a)):c.push(...Qe),De&&(m.push(B),An(De)&&Kz.set(B,De))}else Zy(M)||(m.push(B),f&&(p=!0))}}let k;if(d.length?(w(),d.length>1?k=qt(t.helper(Ha),d,a):k=d[0]):c.length&&(k=Kn(sg(c),a)),g?h|=16:(v&&!r&&(h|=2),C&&!r&&(h|=4),E.length&&(h|=8),S&&(h|=32)),!p&&(h===0||h===32)&&(_||b||m.length>0)&&(h|=512),!t.inSSR&&k)switch(k.type){case 15:let R=-1,B=-1,M=!1;for(let ae=0;ae<k.properties.length;ae++){const G=k.properties[ae].key;xn(G)?G.content==="class"?R=ae:G.content==="style"&&(B=ae):G.isHandlerKey||(M=!0)}const H=k.properties[R],X=k.properties[B];M?k=qt(t.helper(zi),[k]):(H&&!xn(H.value)&&(H.value=qt(t.helper(Qu),[H.value])),X&&(C||X.value.type===4&&X.value.content.trim()[0]==="["||X.value.type===17)&&(X.value=qt(t.helper(ed),[X.value])));break;case 14:break;default:k=qt(t.helper(zi),[qt(t.helper(Di),[k])]);break}return{props:k,directives:m,patchFlag:h,dynamicPropNames:E,shouldUseBlock:p}}function sg(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const s=e[r];if(s.key.type===8||!s.key.isStatic){n.push(s);continue}const o=s.key.content,i=t.get(o);i?(o==="style"||o==="class"||Ks(o))&&AL(i,s):(t.set(o,s),n.push(s))}return n}function AL(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=js([e.value,t.value],e.loc)}function Zz(e,t){const n=[],r=Kz.get(e);r?n.push(t.helperString(r)):(t.helper(Xu),t.directives.add(e.name),n.push(wi(e.name,"directive")));const{loc:s}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const o=Ue("true",!1,s);n.push(Kn(e.modifiers.map(i=>Vt(i,o)),s))}return js(n,e.loc)}function OL(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}function af(e){return e==="component"||e==="Component"}const $L=(e,t)=>{if(ja(e)){const{children:n,loc:r}=e,{slotName:s,slotProps:o}=Jz(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let a=2;o&&(i[2]=o,a=3),n.length&&(i[3]=$o([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),i.splice(a),e.codegenNode=qt(t.helper(bp),i,r)}};function Jz(e,t){let n='"default"',r;const s=[];for(let o=0;o<e.props.length;o++){const i=e.props[o];if(i.type===6)i.value&&(i.name==="name"?n=JSON.stringify(i.value.content):(i.name=zt(i.name),s.push(i)));else if(i.name==="bind"&&Vs(i.arg,"name")){if(i.exp)n=i.exp;else if(i.arg&&i.arg.type===4){const a=zt(i.arg.content);n=i.exp=Ue(a,!1,i.arg.loc)}}else i.name==="bind"&&i.arg&&xn(i.arg)&&(i.arg.content=zt(i.arg.content)),s.push(i)}if(s.length>0){const{props:o,directives:i}=Np(e,t,s,!1,!1);r=o,i.length&&t.onError(St(36,i[0].loc))}return{slotName:n,slotProps:r}}const Ip=(e,t,n,r)=>{const{loc:s,modifiers:o,arg:i}=e;!e.exp&&!o.length&&n.onError(St(35,s));let a;if(i.type===4)if(i.isStatic){let m=i.content;m.startsWith("vue:")&&(m=`vnode-${m.slice(4)}`);const f=t.tagType!==0||m.startsWith("vnode")||!/[A-Z]/.test(m)?yo(zt(m)):`on:${m}`;a=Ue(f,!0,i.loc)}else a=ur([`${n.helperString(Vc)}(`,i,")"]);else a=i,a.children.unshift(`${n.helperString(Vc)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const m=wp(l),f=!(m||bz(l)),p=l.content.includes(";");(f||c&&m)&&(l=ur([`${f?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let d={props:[Vt(a,l||Ue("() => {}",!1,s))]};return r&&(d=r(d)),c&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach(m=>m.key.isHandlerKey=!0),d},NL=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let r,s=!1;for(let o=0;o<n.length;o++){const i=n[o];if(rc(i)){s=!0;for(let a=o+1;a<n.length;a++){const l=n[a];if(rc(l))r||(r=n[o]=ur([i],i.loc)),r.children.push(" + ",l),n.splice(a,1),a--;else{r=void 0;break}}}}if(!(!s||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(o=>o.type===7&&!t.directiveTransforms[o.name])&&e.tag!=="template")))for(let o=0;o<n.length;o++){const i=n[o];if(rc(i)||i.type===8){const a=[];(i.type!==2||i.content!==" ")&&a.push(i),!t.ssr&&Vn(i,t)===0&&a.push("1"),n[o]={type:12,content:i,loc:i.loc,codegenNode:qt(t.helper(Wu),a)}}}}},og=new WeakSet,IL=(e,t)=>{if(e.type===1&&kn(e,"once",!0))return og.has(e)||t.inVOnce||t.inSSR?void 0:(og.add(e),t.inVOnce=!0,t.helper(Ua),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},Pp=(e,t,n)=>{const{exp:r,arg:s}=e;if(!r)return n.onError(St(41,e.loc)),Nl();const o=r.loc.source.trim(),i=r.type===4?r.content:o,a=n.bindingMetadata[o];if(a==="props"||a==="props-aliased")return n.onError(St(44,r.loc)),Nl();if(!i.trim()||!wp(r))return n.onError(St(42,r.loc)),Nl();const l=s||Ue("modelValue",!0),c=s?xn(s)?`onUpdate:${zt(s.content)}`:ur(['"onUpdate:" + ',s]):"onUpdate:modelValue";let d;const m=n.isTS?"($event: any)":"$event";d=ur([`${m} => ((`,r,") = $event)"]);const f=[Vt(l,e.exp),Vt(c,d)];if(e.modifiers.length&&t.tagType===1){const p=e.modifiers.map(_=>_.content).map(_=>(il(_)?_:JSON.stringify(_))+": true").join(", "),h=s?xn(s)?`${s.content}Modifiers`:ur([s,' + "Modifiers"']):"modelModifiers";f.push(Vt(h,Ue(`{ ${p} }`,!1,e.loc,2)))}return Nl(f)};function Nl(e=[]){return{props:e}}const PL=/[\w).+\-_$\]]/,LL=(e,t)=>{Eo("COMPILER_FILTERS",t)&&(e.type===5?Bc(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Bc(n.exp,t)}))};function Bc(e,t){if(e.type===4)ig(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];typeof r=="object"&&(r.type===4?ig(r,t):r.type===8?Bc(e,t):r.type===5&&Bc(r.content,t))}}function ig(e,t){const n=e.content;let r=!1,s=!1,o=!1,i=!1,a=0,l=0,c=0,d=0,m,f,p,h,_=[];for(p=0;p<n.length;p++)if(f=m,m=n.charCodeAt(p),r)m===39&&f!==92&&(r=!1);else if(s)m===34&&f!==92&&(s=!1);else if(o)m===96&&f!==92&&(o=!1);else if(i)m===47&&f!==92&&(i=!1);else if(m===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!a&&!l&&!c)h===void 0?(d=p+1,h=n.slice(0,p).trim()):v();else{switch(m){case 34:s=!0;break;case 39:r=!0;break;case 96:o=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(m===47){let C=p-1,S;for(;C>=0&&(S=n.charAt(C),S===" ");C--);(!S||!PL.test(S))&&(i=!0)}}h===void 0?h=n.slice(0,p).trim():d!==0&&v();function v(){_.push(n.slice(d,p).trim()),d=p+1}if(_.length){for(p=0;p<_.length;p++)h=RL(h,_[p],t);e.content=h,e.ast=void 0}}function RL(e,t,n){n.helper(Yu);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${wi(t,"filter")}(${e})`;{const s=t.slice(0,r),o=t.slice(r+1);return n.filters.add(s),`${wi(s,"filter")}(${e}${o!==")"?","+o:o}`}}const ag=new WeakSet,DL=(e,t)=>{if(e.type===1){const n=kn(e,"memo");return!n||ag.has(e)?void 0:(ag.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&sd(r,t),e.codegenNode=qt(t.helper(rd),[n.exp,$o(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function Qz(e){return[[IL,SL,DL,wL,LL,$L,Xz,qz,NL],{on:Ip,bind:Uz,model:Pp}]}function e0(e,t={}){const n=t.onError||Sp,r=t.mode==="module";t.prefixIdentifiers===!0?n(St(47)):r&&n(St(48));const s=!1;t.cacheHandlers&&n(St(49)),t.scopeId&&!r&&n(St(50));const o=Je({},t,{prefixIdentifiers:s}),i=Re(e)?Tp(e,o):e,[a,l]=Qz();return Lz(i,Je({},o,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:Je({},l,t.directiveTransforms||{})})),Dz(i,o)}const ML={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},t0=()=>({props:[]});/**
* @vue/compiler-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Lp=Symbol(""),Rp=Symbol(""),Dp=Symbol(""),Mp=Symbol(""),qc=Symbol(""),Fp=Symbol(""),Vp=Symbol(""),Hp=Symbol(""),Up=Symbol(""),jp=Symbol("");cz({[Lp]:"vModelRadio",[Rp]:"vModelCheckbox",[Dp]:"vModelText",[Mp]:"vModelSelect",[qc]:"vModelDynamic",[Fp]:"withModifiers",[Vp]:"withKeys",[Hp]:"vShow",[Up]:"Transition",[jp]:"TransitionGroup"});let jo;function FL(e,t=!1){return jo||(jo=document.createElement("div")),t?(jo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,jo.children[0].getAttribute("foo")):(jo.innerHTML=e,jo.textContent)}const Bp={parseMode:"html",isVoidTag:n1,isNativeTag:e=>Qy(e)||e1(e)||t1(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:FL,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Up;if(e==="TransitionGroup"||e==="transition-group")return jp},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else t&&r===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r}},n0=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ue("style",!0,t.loc),exp:VL(t.value.content,t.loc),modifiers:[],loc:t.loc})})},VL=(e,t)=>{const n=Tf(e);return Ue(JSON.stringify(n),!1,t,3)};function us(e,t){return St(e,t)}const HL={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},UL={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},jL=(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(us(53,s)),t.children.length&&(n.onError(us(54,s)),t.children.length=0),{props:[Vt(Ue("innerHTML",!0,s),r||Ue("",!0))]}},BL=(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(us(55,s)),t.children.length&&(n.onError(us(56,s)),t.children.length=0),{props:[Vt(Ue("textContent",!0),r?Vn(r,n)>0?r:qt(n.helperString(ol),[r],s):Ue("",!0))]}},qL=(e,t,n)=>{const r=Pp(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(us(58,e.arg.loc));const{tag:s}=t,o=n.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||o){let i=Dp,a=!1;if(s==="input"||o){const l=al(t,"type");if(l){if(l.type===7)i=qc;else if(l.value)switch(l.value.content){case"radio":i=Lp;break;case"checkbox":i=Rp;break;case"file":a=!0,n.onError(us(59,e.loc));break}}else Cz(t)&&(i=qc)}else s==="select"&&(i=Mp);a||(r.needRuntime=n.helper(i))}else n.onError(us(57,e.loc));return r.props=r.props.filter(i=>!(i.key.type===4&&i.key.content==="modelValue")),r},WL=nn("passive,once,capture"),GL=nn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),KL=nn("left,right"),r0=nn("onkeyup,onkeydown,onkeypress"),XL=(e,t,n,r)=>{const s=[],o=[],i=[];for(let a=0;a<t.length;a++){const l=t[a].content;l==="native"&&Si("COMPILER_V_ON_NATIVE",n)||WL(l)?i.push(l):KL(l)?xn(e)?r0(e.content.toLowerCase())?s.push(l):o.push(l):(s.push(l),o.push(l)):GL(l)?o.push(l):s.push(l)}return{keyModifiers:s,nonKeyModifiers:o,eventOptionModifiers:i}},lg=(e,t)=>xn(e)&&e.content.toLowerCase()==="onclick"?Ue(t,!0):e.type!==4?ur(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,YL=(e,t,n)=>Ip(e,t,n,r=>{const{modifiers:s}=e;if(!s.length)return r;let{key:o,value:i}=r.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=XL(o,s,n,e.loc);if(l.includes("right")&&(o=lg(o,"onContextmenu")),l.includes("middle")&&(o=lg(o,"onMouseup")),l.length&&(i=qt(n.helper(Fp),[i,JSON.stringify(l)])),a.length&&(!xn(o)||r0(o.content.toLowerCase()))&&(i=qt(n.helper(Vp),[i,JSON.stringify(a)])),c.length){const d=c.map(Ys).join("");o=xn(o)?Ue(`${o.content}${d}`,!0):ur(["(",o,`) + "${d}"`])}return{props:[Vt(o,i)]}}),ZL=(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(us(61,s)),{props:[],needRuntime:n.helper(Hp)}},JL=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},s0=[n0],o0={cloak:t0,html:jL,text:BL,model:qL,on:YL,show:ZL};function QL(e,t={}){return e0(e,Je({},Bp,t,{nodeTransforms:[JL,...s0,...t.nodeTransforms||[]],directiveTransforms:Je({},o0,t.directiveTransforms||{}),transformHoist:null}))}function eR(e,t={}){return Tp(e,Je({},Bp,t))}const tR=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:_p,BindingTypes:ML,CAMELIZE:Fc,CAPITALIZE:sz,CREATE_BLOCK:gp,CREATE_COMMENT:Ri,CREATE_ELEMENT_BLOCK:yp,CREATE_ELEMENT_VNODE:qu,CREATE_SLOTS:zp,CREATE_STATIC:vp,CREATE_TEXT:Wu,CREATE_VNODE:Bu,CompilerDeprecationTypes:bP,ConstantTypes:mP,DOMDirectiveTransforms:o0,DOMErrorCodes:HL,DOMErrorMessages:UL,DOMNodeTransforms:s0,ElementTypes:dP,ErrorCodes:SP,FRAGMENT:bi,GUARD_REACTIVE_PROPS:Di,IS_MEMO_SAME:Cp,IS_REF:lz,KEEP_ALIVE:Va,MERGE_PROPS:Ha,NORMALIZE_CLASS:Qu,NORMALIZE_PROPS:zi,NORMALIZE_STYLE:ed,Namespaces:cP,NodeTypes:uP,OPEN_BLOCK:Gs,POP_SCOPE_ID:iz,PUSH_SCOPE_ID:oz,RENDER_LIST:Ju,RENDER_SLOT:bp,RESOLVE_COMPONENT:Gu,RESOLVE_DIRECTIVE:Xu,RESOLVE_DYNAMIC_COMPONENT:Ku,RESOLVE_FILTER:Yu,SET_BLOCK_TRACKING:Ua,SUSPENSE:ju,TELEPORT:di,TO_DISPLAY_STRING:ol,TO_HANDLERS:td,TO_HANDLER_KEY:Vc,TRANSITION:Up,TRANSITION_GROUP:jp,TS_NODE_TYPES:hz,UNREF:az,V_MODEL_CHECKBOX:Rp,V_MODEL_DYNAMIC:qc,V_MODEL_RADIO:Lp,V_MODEL_SELECT:Mp,V_MODEL_TEXT:Dp,V_ON_WITH_KEYS:Vp,V_ON_WITH_MODIFIERS:Fp,V_SHOW:Hp,WITH_CTX:nd,WITH_DIRECTIVES:Zu,WITH_MEMO:rd,advancePositionWithClone:UP,advancePositionWithMutation:zz,assert:jP,baseCompile:e0,baseParse:Tp,buildDirectiveArgs:Zz,buildProps:Np,buildSlots:Wz,checkCompatEnabled:Si,compile:QL,convertToBlock:sd,createArrayExpression:js,createAssignmentExpression:_P,createBlockStatement:mz,createCacheExpression:dz,createCallExpression:qt,createCompilerError:St,createCompoundExpression:ur,createConditionalExpression:Hc,createDOMCompilerError:us,createForLoopParams:jc,createFunctionExpression:$o,createIfStatement:hP,createInterpolation:fP,createObjectExpression:Kn,createObjectProperty:Vt,createReturnStatement:yP,createRoot:uz,createSequenceExpression:gP,createSimpleExpression:Ue,createStructuralDirectiveTransform:Ap,createTemplateLiteral:pP,createTransformContext:Pz,createVNodeCall:Ci,errorMessages:EP,extractIdentifiers:os,findDir:kn,findProp:al,forAliasRE:wz,generate:Dz,generateCodeFrame:Jy,getBaseTransformPreset:Qz,getConstantType:Vn,getMemoedVNodeCall:Ez,getVNodeBlockHelper:Io,getVNodeHelper:No,hasDynamicKeyVBind:Cz,hasScopeRef:Cr,helperNameMap:Oo,injectProp:Ba,isCoreComponent:Ep,isFnExpression:bz,isFnExpressionBrowser:vz,isFnExpressionNode:HP,isFunctionType:IP,isInDestructureAssignment:xP,isInNewExpression:TP,isMemberExpression:wp,isMemberExpressionBrowser:yz,isMemberExpressionNode:FP,isReferencedIdentifier:kP,isSimpleIdentifier:il,isSlotOutlet:ja,isStaticArgOf:Vs,isStaticExp:xn,isStaticProperty:pz,isStaticPropertyKey:PP,isTemplateNode:Ei,isText:rc,isVSlot:kp,locStub:Qt,noopDirectiveTransform:t0,parse:eR,parserOptions:Bp,processExpression:ac,processFor:Bz,processIf:Hz,processSlotOutlet:Jz,registerRuntimeHelpers:cz,resolveComponentType:Yz,stringifyExpression:Vz,toValidAssetId:wi,trackSlotScopes:qz,trackVForSlotScopes:xL,transform:Lz,transformBind:Uz,transformElement:Xz,transformExpression:CL,transformModel:Pp,transformOn:Ip,transformStyle:n0,traverseNode:ll,unwrapTSNode:_z,walkBlockDeclarations:OP,walkFunctionParams:AP,walkIdentifiers:wP,warnDeprecation:CP},Symbol.toStringTag,{value:"Module"})),nR=Uu(tR),rR=Uu(Lk),sR=Uu(wS);/**
* vue v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/var cg;function oR(){return cg||(cg=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=nR,n=rR,r=sR;function s(l){var c=Object.create(null);if(l)for(var d in l)c[d]=l[d];return c.default=l,Object.freeze(c)}var o=s(n);const i=Object.create(null);function a(l,c){if(!r.isString(l))if(l.nodeType)l=l.innerHTML;else return r.NOOP;const d=r.genCacheKey(l,c),m=i[d];if(m)return m;if(l[0]==="#"){const _=document.querySelector(l);l=_?_.innerHTML:""}const f=r.extend({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},c);!f.isCustomElement&&typeof customElements<"u"&&(f.isCustomElement=_=>!!customElements.get(_));const{code:p}=t.compile(l,f),h=new Function("Vue",p)(o);return h._rc=!0,i[d]=h}n.registerRuntimeCompiler(a),e.compile=a,Object.keys(n).forEach(function(l){l!=="default"&&!Object.prototype.hasOwnProperty.call(e,l)&&(e[l]=n[l])})}(Ud)),Ud}var ug;function i0(){return ug||(ug=1,Hd.exports=oR()),Hd.exports}var dg;function iR(){return dg||(dg=1,function(e){e.exports=function(t){var n={};function r(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(s,o,i){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:i})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(o&1&&(s=r(s)),o&8||o&4&&typeof s=="object"&&s&&s.__esModule)return s;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var a in s)r.d(i,a,(function(l){return s[l]}).bind(null,a));return i},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var s,o,i;(function(a,l){o=[],s=l,i=typeof s=="function"?s.apply(n,o):s,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(b){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,m=c.exec(b.stack)||d.exec(b.stack),f=m&&m[1]||!1,p=m&&m[2]||!1,h=document.location.href.replace(document.location.hash,""),_,v,C,S=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,v=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=_.replace(v,"$1").trim());for(var g=0;g<S.length;g++)if(S[g].readyState==="interactive"||S[g].src===f||f===h&&S[g].innerHTML&&S[g].innerHTML.trim()===C)return S[g];return null}}return a})},"8bbf":function(t,n){t.exports=i0()},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var s=window.document.currentScript;{var o=r("8875");s=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var i=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,v,C,S,g){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:C.finalStyle},null,4)}var c=typeof window<"u",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=c?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},v=Object(a.computed)(function(){var C=_.options,S=!!C.show,g=C.location,b={"z-index":999999,"background-color":C.canSuccess?C.color:C.failedColor,opacity:C.show?1:0,position:C.position};return g==="top"||g==="bottom"?(g==="top"?b.top="0px":b.bottom="0px",C.inverse?b.right="0px":b.left="0px",b.width=_.percent+"%",b.height=C.thickness,b.transition=(S?"width "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity):(g==="left"||g==="right")&&(g==="left"?b.left="0px":b.right="0px",C.inverse?b.top="0px":b.bottom="0px",b.height=_.percent+"%",b.width=C.thickness,b.transition=(S?"height "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity),b});return{progress:_,finalStyle:v}}};d.render=l;var m=d;function f(h,_){for(var v=1,C,S;v<arguments.length;++v){S=arguments[v];for(C in S)Object.prototype.hasOwnProperty.call(S,C)&&(h[C]=S[C])}return h}var p={install:function(_,v){var C={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},S=f(C,v),g=Object(a.reactive)({percent:0,options:S});_.provide("RADON_LOADING_BAR",g);var b={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(w){var P=this;w||(w=3e3),g.percent=0,g.options.show=!0,g.options.canSuccess=!0,this.state.cut=1e4/Math.floor(w),clearInterval(this.state.timer),this.state.timer=setInterval(function(){P.increase(P.state.cut*Math.random()),g.percent>95&&g.options.autoFinish&&P.finish()},100)},set:function(w){g.options.show=!0,g.options.canSuccess=!0,g.percent=Math.floor(w)},get:function(){return Math.floor(g.percent)},increase:function(w){g.percent=Math.min(99,g.percent+Math.floor(w))},decrease:function(w){g.percent=g.percent-Math.floor(w)},hide:function(){var w=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){g.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){g.percent=0},100),g.options.autoRevert&&setTimeout(function(){w.revert()},300)})},g.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){g.percent=100,this.hide()},fail:function(){g.options.canSuccess=!1,g.percent=100,this.hide()},setFailColor:function(w){g.options.failedColor=w},setColor:function(w){g.options.color=w},setLocation:function(w){g.options.location=w},setTransition:function(w){g.options.transition=w},tempFailColor:function(w){this.state.tFailColor=g.options.failedColor,g.options.failedColor=w},tempColor:function(w){this.state.tColor=g.options.color,g.options.color=w},tempLocation:function(w){this.state.tLocation=g.options.location,g.options.location=w},tempTransition:function(w){this.state.tTransition=g.options.transition,g.options.transition=w},revertColor:function(){g.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){g.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){g.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){g.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){g.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(w){for(var P in w.func){var N=w.func[P];switch(N.call){case"color":switch(N.modifier){case"set":this.setColor(N.argument);break;case"temp":this.tempColor(N.argument);break}break;case"fail":switch(N.modifier){case"set":this.setFailColor(N.argument);break;case"temp":this.tempFailColor(N.argument);break}break;case"location":switch(N.modifier){case"set":this.setLocation(N.argument);break;case"temp":this.tempLocation(N.argument);break}break;case"transition":switch(N.modifier){case"set":this.setTransition(N.argument);break;case"temp":this.tempTransition(N.argument);break}break}}}};_.component("vue-progress-bar",m),_.config.globalProperties.$Progress=b}};n.default=p}})}(Vd)),Vd.exports}var aR=iR();const lR=Hu(aR);class Do extends Error{}class cR extends Do{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class uR extends Do{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class dR extends Do{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ai extends Do{}class a0 extends Do{constructor(t){super(`Invalid unit ${t}`)}}class un extends Do{}class Es extends Do{constructor(){super("Zone is an abstract class")}}const ge="numeric",Or="short",Qn="long",Wc={year:ge,month:ge,day:ge},l0={year:ge,month:Or,day:ge},mR={year:ge,month:Or,day:ge,weekday:Or},c0={year:ge,month:Qn,day:ge},u0={year:ge,month:Qn,day:ge,weekday:Qn},d0={hour:ge,minute:ge},m0={hour:ge,minute:ge,second:ge},f0={hour:ge,minute:ge,second:ge,timeZoneName:Or},p0={hour:ge,minute:ge,second:ge,timeZoneName:Qn},h0={hour:ge,minute:ge,hourCycle:"h23"},_0={hour:ge,minute:ge,second:ge,hourCycle:"h23"},g0={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:Or},y0={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:Qn},v0={year:ge,month:ge,day:ge,hour:ge,minute:ge},b0={year:ge,month:ge,day:ge,hour:ge,minute:ge,second:ge},z0={year:ge,month:Or,day:ge,hour:ge,minute:ge},C0={year:ge,month:Or,day:ge,hour:ge,minute:ge,second:ge},fR={year:ge,month:Or,day:ge,weekday:Or,hour:ge,minute:ge},S0={year:ge,month:Qn,day:ge,hour:ge,minute:ge,timeZoneName:Or},E0={year:ge,month:Qn,day:ge,hour:ge,minute:ge,second:ge,timeZoneName:Or},w0={year:ge,month:Qn,day:ge,weekday:Qn,hour:ge,minute:ge,timeZoneName:Qn},k0={year:ge,month:Qn,day:ge,weekday:Qn,hour:ge,minute:ge,second:ge,timeZoneName:Qn};class ul{get type(){throw new Es}get name(){throw new Es}get ianaName(){return this.name}get isUniversal(){throw new Es}offsetName(t,n){throw new Es}formatOffset(t,n){throw new Es}offset(t){throw new Es}equals(t){throw new Es}get isValid(){throw new Es}}let Bd=null;class id extends ul{static get instance(){return Bd===null&&(Bd=new id),Bd}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return L0(t,n,r)}formatOffset(t,n){return _a(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let cc={};function pR(e){return cc[e]||(cc[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),cc[e]}const hR={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function _R(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,o,i,a,l,c,d]=r;return[i,s,o,a,l,c,d]}function gR(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:i}=n[s],a=hR[o];o==="era"?r[a]=i:Me(a)||(r[a]=parseInt(i,10))}return r}let Il={};class hs extends ul{static create(t){return Il[t]||(Il[t]=new hs(t)),Il[t]}static resetCache(){Il={},cc={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=hs.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return L0(t,n,r,this.name)}formatOffset(t,n){return _a(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=pR(this.name);let[s,o,i,a,l,c,d]=r.formatToParts?gR(r,n):_R(r,n);a==="BC"&&(s=-Math.abs(s)+1);const f=ld({year:s,month:o,day:i,hour:l===24?0:l,minute:c,second:d,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(f-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let mg={};function yR(e,t={}){const n=JSON.stringify([e,t]);let r=mg[n];return r||(r=new Intl.ListFormat(e,t),mg[n]=r),r}let lf={};function cf(e,t={}){const n=JSON.stringify([e,t]);let r=lf[n];return r||(r=new Intl.DateTimeFormat(e,t),lf[n]=r),r}let uf={};function vR(e,t={}){const n=JSON.stringify([e,t]);let r=uf[n];return r||(r=new Intl.NumberFormat(e,t),uf[n]=r),r}let df={};function bR(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let o=df[s];return o||(o=new Intl.RelativeTimeFormat(e,t),df[s]=o),o}let ta=null;function zR(){return ta||(ta=new Intl.DateTimeFormat().resolvedOptions().locale,ta)}let fg={};function CR(e){let t=fg[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,fg[e]=t}return t}function SR(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,s;try{r=cf(e).resolvedOptions(),s=e}catch{const l=e.substring(0,n);r=cf(l).resolvedOptions(),s=l}const{numberingSystem:o,calendar:i}=r;return[s,o,i]}}function ER(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function wR(e){const t=[];for(let n=1;n<=12;n++){const r=Oe.utc(2009,n,1);t.push(e(r))}return t}function kR(e){const t=[];for(let n=1;n<=7;n++){const r=Oe.utc(2016,11,13+n);t.push(e(r))}return t}function Pl(e,t,n,r){const s=e.listingMode();return s==="error"?null:s==="en"?n(t):r(t)}function xR(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class TR{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...i}=r;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=vR(t,a)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):Xp(t,3);return Bt(n,this.padTo)}}}class AR{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&hs.create(a).valid?(s=a,this.dt=t):(s="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=cf(n,o)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class OR{constructor(t,n,r){this.opts={style:"long",...r},!n&&I0()&&(this.rtf=bR(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):QR(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const $R={firstDay:1,minimalDays:4,weekend:[6,7]};class _t{static fromOpts(t){return _t.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,s,o=!1){const i=t||Rt.defaultLocale,a=i||(o?"en-US":zR()),l=n||Rt.defaultNumberingSystem,c=r||Rt.defaultOutputCalendar,d=mf(s)||Rt.defaultWeekSettings;return new _t(a,l,c,d,i)}static resetCache(){ta=null,lf={},uf={},df={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return _t.create(t,n,r,s)}constructor(t,n,r,s,o){const[i,a,l]=SR(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=s,this.intl=ER(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=xR(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:_t.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,mf(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Pl(this,t,M0,()=>{const r=n?{month:t,day:"numeric"}:{month:t},s=n?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=wR(o=>this.extract(o,r,"month"))),this.monthsCache[s][t]})}weekdays(t,n=!1){return Pl(this,t,H0,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=n?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=kR(o=>this.extract(o,r,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Pl(this,void 0,()=>U0,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Oe.utc(2016,11,13,9),Oe.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Pl(this,t,j0,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Oe.utc(-40,1,1),Oe.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const s=this.dtFormatter(t,n),o=s.formatToParts(),i=o.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new TR(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new AR(t,this.intl,n)}relFormatter(t={}){return new OR(this.intl,this.isEnglish(),t)}listFormatter(t={}){return yR(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:P0()?CR(this.locale):$R}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let qd=null;class Tn extends ul{static get utcInstance(){return qd===null&&(qd=new Tn(0)),qd}static instance(t){return t===0?Tn.utcInstance:new Tn(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Tn(cd(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${_a(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${_a(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return _a(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class NR extends ul{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Ms(e,t){if(Me(e)||e===null)return t;if(e instanceof ul)return e;if(MR(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?id.instance:n==="utc"||n==="gmt"?Tn.utcInstance:Tn.parseSpecifier(n)||hs.create(e)}else return Bs(e)?Tn.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new NR(e)}const qp={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},pg={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},IR=qp.hanidec.replace(/[\[|\]]/g,"").split("");function PR(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(qp.hanidec)!==-1)t+=IR.indexOf(e[n]);else for(const s in pg){const[o,i]=pg[s];r>=o&&r<=i&&(t+=r-o)}}return parseInt(t,10)}else return t}let ei={};function LR(){ei={}}function yr({numberingSystem:e},t=""){const n=e||"latn";return ei[n]||(ei[n]={}),ei[n][t]||(ei[n][t]=new RegExp(`${qp[n]}${t}`)),ei[n][t]}let hg=()=>Date.now(),_g="system",gg=null,yg=null,vg=null,bg=60,zg,Cg=null;class Rt{static get now(){return hg}static set now(t){hg=t}static set defaultZone(t){_g=t}static get defaultZone(){return Ms(_g,id.instance)}static get defaultLocale(){return gg}static set defaultLocale(t){gg=t}static get defaultNumberingSystem(){return yg}static set defaultNumberingSystem(t){yg=t}static get defaultOutputCalendar(){return vg}static set defaultOutputCalendar(t){vg=t}static get defaultWeekSettings(){return Cg}static set defaultWeekSettings(t){Cg=mf(t)}static get twoDigitCutoffYear(){return bg}static set twoDigitCutoffYear(t){bg=t%100}static get throwOnInvalid(){return zg}static set throwOnInvalid(t){zg=t}static resetCaches(){_t.resetCache(),hs.resetCache(),Oe.resetCache(),LR()}}class kr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const x0=[0,31,59,90,120,151,181,212,243,273,304,334],T0=[0,31,60,91,121,152,182,213,244,274,305,335];function or(e,t){return new kr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Wp(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function A0(e,t,n){return n+(dl(e)?T0:x0)[t-1]}function O0(e,t){const n=dl(e)?T0:x0,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function Gp(e,t){return(e-t+7)%7+1}function Gc(e,t=4,n=1){const{year:r,month:s,day:o}=e,i=A0(r,s,o),a=Gp(Wp(r,s,o),n);let l=Math.floor((i-a+14-t)/7),c;return l<1?(c=r-1,l=Wa(c,t,n)):l>Wa(r,t,n)?(c=r+1,l=1):c=r,{weekYear:c,weekNumber:l,weekday:a,...ud(e)}}function Sg(e,t=4,n=1){const{weekYear:r,weekNumber:s,weekday:o}=e,i=Gp(Wp(r,1,t),n),a=mi(r);let l=s*7+o-i-7+t,c;l<1?(c=r-1,l+=mi(c)):l>a?(c=r+1,l-=mi(r)):c=r;const{month:d,day:m}=O0(c,l);return{year:c,month:d,day:m,...ud(e)}}function Wd(e){const{year:t,month:n,day:r}=e,s=A0(t,n,r);return{year:t,ordinal:s,...ud(e)}}function Eg(e){const{year:t,ordinal:n}=e,{month:r,day:s}=O0(t,n);return{year:t,month:r,day:s,...ud(e)}}function wg(e,t){if(!Me(e.localWeekday)||!Me(e.localWeekNumber)||!Me(e.localWeekYear)){if(!Me(e.weekday)||!Me(e.weekNumber)||!Me(e.weekYear))throw new ai("Cannot mix locale-based week fields with ISO-based week fields");return Me(e.localWeekday)||(e.weekday=e.localWeekday),Me(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Me(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function RR(e,t=4,n=1){const r=ad(e.weekYear),s=ir(e.weekNumber,1,Wa(e.weekYear,t,n)),o=ir(e.weekday,1,7);return r?s?o?!1:or("weekday",e.weekday):or("week",e.weekNumber):or("weekYear",e.weekYear)}function DR(e){const t=ad(e.year),n=ir(e.ordinal,1,mi(e.year));return t?n?!1:or("ordinal",e.ordinal):or("year",e.year)}function $0(e){const t=ad(e.year),n=ir(e.month,1,12),r=ir(e.day,1,Kc(e.year,e.month));return t?n?r?!1:or("day",e.day):or("month",e.month):or("year",e.year)}function N0(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=ir(t,0,23)||t===24&&n===0&&r===0&&s===0,i=ir(n,0,59),a=ir(r,0,59),l=ir(s,0,999);return o?i?a?l?!1:or("millisecond",s):or("second",r):or("minute",n):or("hour",t)}function Me(e){return typeof e>"u"}function Bs(e){return typeof e=="number"}function ad(e){return typeof e=="number"&&e%1===0}function MR(e){return typeof e=="string"}function FR(e){return Object.prototype.toString.call(e)==="[object Date]"}function I0(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function P0(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function VR(e){return Array.isArray(e)?e:[e]}function kg(e,t,n){if(e.length!==0)return e.reduce((r,s)=>{const o=[t(s),s];return r&&n(r[0],o[0])===r[0]?r:o},null)[1]}function HR(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function ki(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function mf(e){if(e==null)return null;if(typeof e!="object")throw new un("Week settings must be an object");if(!ir(e.firstDay,1,7)||!ir(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!ir(t,1,7)))throw new un("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function ir(e,t,n){return ad(e)&&e>=t&&e<=n}function UR(e,t){return e-t*Math.floor(e/t)}function Bt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Ls(e){if(!(Me(e)||e===null||e===""))return parseInt(e,10)}function io(e){if(!(Me(e)||e===null||e===""))return parseFloat(e)}function Kp(e){if(!(Me(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Xp(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function dl(e){return e%4===0&&(e%100!==0||e%400===0)}function mi(e){return dl(e)?366:365}function Kc(e,t){const n=UR(t-1,12)+1,r=e+(t-n)/12;return n===2?dl(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ld(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function xg(e,t,n){return-Gp(Wp(e,1,t),n)+t-1}function Wa(e,t=4,n=1){const r=xg(e,t,n),s=xg(e+1,t,n);return(mi(e)-r+s)/7}function ff(e){return e>99?e:e>Rt.twoDigitCutoffYear?1900+e:2e3+e}function L0(e,t,n,r=null){const s=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);const i={timeZoneName:t,...o},a=new Intl.DateTimeFormat(n,i).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function cd(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function R0(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new un(`Invalid unit value ${e}`);return t}function Xc(e,t){const n={};for(const r in e)if(ki(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=R0(s)}return n}function _a(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${Bt(n,2)}:${Bt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Bt(n,2)}${Bt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function ud(e){return HR(e,["hour","minute","second","millisecond"])}const jR=["January","February","March","April","May","June","July","August","September","October","November","December"],D0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],BR=["J","F","M","A","M","J","J","A","S","O","N","D"];function M0(e){switch(e){case"narrow":return[...BR];case"short":return[...D0];case"long":return[...jR];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const F0=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],V0=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],qR=["M","T","W","T","F","S","S"];function H0(e){switch(e){case"narrow":return[...qR];case"short":return[...V0];case"long":return[...F0];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const U0=["AM","PM"],WR=["Before Christ","Anno Domini"],GR=["BC","AD"],KR=["B","A"];function j0(e){switch(e){case"narrow":return[...KR];case"short":return[...GR];case"long":return[...WR];default:return null}}function XR(e){return U0[e.hour<12?0:1]}function YR(e,t){return H0(t)[e.weekday-1]}function ZR(e,t){return M0(t)[e.month-1]}function JR(e,t){return j0(t)[e.year<0?0:1]}function QR(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const m=e==="days";switch(t){case 1:return m?"tomorrow":`next ${s[e][0]}`;case-1:return m?"yesterday":`last ${s[e][0]}`;case 0:return m?"today":`this ${s[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=s[e],d=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function Tg(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const eD={D:Wc,DD:l0,DDD:c0,DDDD:u0,t:d0,tt:m0,ttt:f0,tttt:p0,T:h0,TT:_0,TTT:g0,TTTT:y0,f:v0,ff:z0,fff:S0,ffff:w0,F:b0,FF:C0,FFF:E0,FFFF:k0};class _n{static create(t,n={}){return new _n(t,n)}static parseFormat(t){let n=null,r="",s=!1;const o=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||a===n?r+=a:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(t){return eD[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Bt(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?XR(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?ZR(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?YR(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=_n.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},m=p=>r?JR(t,p):o({era:p},"era"),f=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return s?o({day:"numeric"},"day"):this.num(t.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(t.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(t.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(t.year,6);case"G":return m("short");case"GG":return m("long");case"GGGGG":return m("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return Tg(_n.parseFormat(n),f)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=l=>c=>{const d=r(c);return d?this.num(l.get(d),c.length):c},o=_n.parseFormat(n),i=o.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return Tg(o,s(a))}}const B0=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Mi(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Fi(...e){return t=>e.reduce(([n,r,s],o)=>{const[i,a,l]=o(t,s);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function Vi(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const s=n.exec(e);if(s)return r(s)}return[null,null]}function q0(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Ls(t[n+s]);return[r,null,n+s]}}const W0=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,tD=`(?:${W0.source}?(?:\\[(${B0.source})\\])?)?`,Yp=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,G0=RegExp(`${Yp.source}${tD}`),Zp=RegExp(`(?:T${G0.source})?`),nD=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,rD=/(\d{4})-?W(\d\d)(?:-?(\d))?/,sD=/(\d{4})-?(\d{3})/,oD=q0("weekYear","weekNumber","weekDay"),iD=q0("year","ordinal"),aD=/(\d{4})-(\d\d)-(\d\d)/,K0=RegExp(`${Yp.source} ?(?:${W0.source}|(${B0.source}))?`),lD=RegExp(`(?: ${K0.source})?`);function fi(e,t,n){const r=e[t];return Me(r)?n:Ls(r)}function cD(e,t){return[{year:fi(e,t),month:fi(e,t+1,1),day:fi(e,t+2,1)},null,t+3]}function Hi(e,t){return[{hours:fi(e,t,0),minutes:fi(e,t+1,0),seconds:fi(e,t+2,0),milliseconds:Kp(e[t+3])},null,t+4]}function ml(e,t){const n=!e[t]&&!e[t+1],r=cd(e[t+1],e[t+2]),s=n?null:Tn.instance(r);return[{},s,t+3]}function fl(e,t){const n=e[t]?hs.create(e[t]):null;return[{},n,t+1]}const uD=RegExp(`^T?${Yp.source}$`),dD=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function mD(e){const[t,n,r,s,o,i,a,l,c]=e,d=t[0]==="-",m=l&&l[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:f(io(n)),months:f(io(r)),weeks:f(io(s)),days:f(io(o)),hours:f(io(i)),minutes:f(io(a)),seconds:f(io(l),l==="-0"),milliseconds:f(Kp(c),m)}]}const fD={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Jp(e,t,n,r,s,o,i){const a={year:t.length===2?ff(Ls(t)):Ls(t),month:D0.indexOf(n)+1,day:Ls(r),hour:Ls(s),minute:Ls(o)};return i&&(a.second=Ls(i)),e&&(a.weekday=e.length>3?F0.indexOf(e)+1:V0.indexOf(e)+1),a}const pD=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function hD(e){const[,t,n,r,s,o,i,a,l,c,d,m]=e,f=Jp(t,s,r,n,o,i,a);let p;return l?p=fD[l]:c?p=0:p=cd(d,m),[f,new Tn(p)]}function _D(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const gD=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,yD=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,vD=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ag(e){const[,t,n,r,s,o,i,a]=e;return[Jp(t,s,r,n,o,i,a),Tn.utcInstance]}function bD(e){const[,t,n,r,s,o,i,a]=e;return[Jp(t,a,n,r,s,o,i),Tn.utcInstance]}const zD=Mi(nD,Zp),CD=Mi(rD,Zp),SD=Mi(sD,Zp),ED=Mi(G0),X0=Fi(cD,Hi,ml,fl),wD=Fi(oD,Hi,ml,fl),kD=Fi(iD,Hi,ml,fl),xD=Fi(Hi,ml,fl);function TD(e){return Vi(e,[zD,X0],[CD,wD],[SD,kD],[ED,xD])}function AD(e){return Vi(_D(e),[pD,hD])}function OD(e){return Vi(e,[gD,Ag],[yD,Ag],[vD,bD])}function $D(e){return Vi(e,[dD,mD])}const ND=Fi(Hi);function ID(e){return Vi(e,[uD,ND])}const PD=Mi(aD,lD),LD=Mi(K0),RD=Fi(Hi,ml,fl);function DD(e){return Vi(e,[PD,X0],[LD,RD])}const Og="Invalid Duration",Y0={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},MD={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Y0},nr=146097/400,Bo=146097/4800,FD={years:{quarters:4,months:12,weeks:nr/7,days:nr,hours:nr*24,minutes:nr*24*60,seconds:nr*24*60*60,milliseconds:nr*24*60*60*1e3},quarters:{months:3,weeks:nr/28,days:nr/4,hours:nr*24/4,minutes:nr*24*60/4,seconds:nr*24*60*60/4,milliseconds:nr*24*60*60*1e3/4},months:{weeks:Bo/7,days:Bo,hours:Bo*24,minutes:Bo*24*60,seconds:Bo*24*60*60,milliseconds:Bo*24*60*60*1e3},...Y0},ho=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],VD=ho.slice(0).reverse();function ws(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Ye(r)}function Z0(e,t){let n=t.milliseconds??0;for(const r of VD.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function $g(e,t){const n=Z0(e,t)<0?-1:1;ho.reduceRight((r,s)=>{if(Me(t[s]))return r;if(r){const o=t[r]*n,i=e[s][r],a=Math.floor(o/i);t[s]+=a*n,t[r]-=a*i*n}return s},null),ho.reduce((r,s)=>{if(Me(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}function HD(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Ye{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?FD:MD;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||_t.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return Ye.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new un(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Ye({values:Xc(t,Ye.normalizeUnit),loc:_t.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(Bs(t))return Ye.fromMillis(t);if(Ye.isDuration(t))return t;if(typeof t=="object")return Ye.fromObject(t);throw new un(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=$D(t);return r?Ye.fromObject(r,n):Ye.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=ID(t);return r?Ye.fromObject(r,n):Ye.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new un("need to specify a reason the Duration is invalid");const r=t instanceof kr?t:new kr(t,n);if(Rt.throwOnInvalid)throw new dR(r);return new Ye({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new a0(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?_n.create(this.loc,r).formatDurationFromString(this,t):Og}toHuman(t={}){if(!this.isValid)return Og;const n=ho.map(r=>{const s=this.values[r];return Me(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(s)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Xp(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},Oe.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Z0(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Ye.fromDurationLike(t),r={};for(const s of ho)(ki(n.values,s)||ki(this.values,s))&&(r[s]=n.get(s)+this.get(s));return ws(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Ye.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=R0(t(this.values[r],r));return ws(this,{values:n},!0)}get(t){return this[Ye.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Xc(t,Ye.normalizeUnit)};return ws(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:s,conversionAccuracy:r};return ws(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return $g(this.matrix,t),ws(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=HD(this.normalize().shiftToAll().toObject());return ws(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Ye.normalizeUnit(i));const n={},r={},s=this.toObject();let o;for(const i of ho)if(t.indexOf(i)>=0){o=i;let a=0;for(const c in r)a+=this.matrix[c][i]*r[c],r[c]=0;Bs(s[i])&&(a+=s[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else Bs(s[i])&&(r[i]=s[i]);for(const i in r)r[i]!==0&&(n[o]+=i===o?r[i]:r[i]/this.matrix[o][i]);return $g(this.matrix,n),ws(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return ws(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of ho)if(!n(this.values[r],t.values[r]))return!1;return!0}}const qo="Invalid Interval";function UD(e,t){return!e||!e.isValid?Lt.invalid("missing or invalid start"):!t||!t.isValid?Lt.invalid("missing or invalid end"):t<e?Lt.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class Lt{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new un("need to specify a reason the Interval is invalid");const r=t instanceof kr?t:new kr(t,n);if(Rt.throwOnInvalid)throw new uR(r);return new Lt({invalid:r})}static fromDateTimes(t,n){const r=Ki(t),s=Ki(n),o=UD(r,s);return o??new Lt({start:r,end:s})}static after(t,n){const r=Ye.fromDurationLike(n),s=Ki(t);return Lt.fromDateTimes(s,s.plus(r))}static before(t,n){const r=Ye.fromDurationLike(n),s=Ki(t);return Lt.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,i;try{o=Oe.fromISO(r,n),i=o.isValid}catch{i=!1}let a,l;try{a=Oe.fromISO(s,n),l=a.isValid}catch{l=!1}if(i&&l)return Lt.fromDateTimes(o,a);if(i){const c=Ye.fromISO(s,n);if(c.isValid)return Lt.after(o,c)}else if(l){const c=Ye.fromISO(r,n);if(c.isValid)return Lt.before(a,c)}}return Lt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(t,n),Math.floor(s.diff(r,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?Lt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Ki).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),r=[];let{s}=this,o=0;for(;s<this.e;){const i=n[o]||this.e,a=+i>+this.e?this.e:i;r.push(Lt.fromDateTimes(s,a)),s=a,o+=1}return r}splitBy(t){const n=Ye.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,o;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*s));o=+a>+this.e?this.e:a,i.push(Lt.fromDateTimes(r,o)),r=o,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:Lt.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return Lt.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((s,o)=>s.s-o.s).reduce(([s,o],i)=>o?o.overlaps(i)||o.abutsStart(i)?[s,o.union(i)]:[s.concat([o]),i]:[s,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const s=[],o=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...o),a=i.sort((l,c)=>l.time-c.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&s.push(Lt.fromDateTimes(n,l.time)),n=null);return Lt.merge(s)}difference(...t){return Lt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:qo}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=Wc,n={}){return this.isValid?_n.create(this.s.loc.clone(n),t).formatInterval(this):qo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:qo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:qo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:qo}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:qo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ye.invalid(this.invalidReason)}mapEndpoints(t){return Lt.fromDateTimes(t(this.s),t(this.e))}}class Ll{static hasDST(t=Rt.defaultZone){const n=Oe.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return hs.isValidZone(t)}static normalizeZone(t){return Ms(t,Rt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||_t.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||_t.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||_t.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||_t.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||_t.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||_t.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||_t.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return _t.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return _t.create(n,null,"gregory").eras(t)}static features(){return{relative:I0(),localeWeek:P0()}}}function Ng(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Ye.fromMillis(r).as("days"))}function jD(e,t,n){const r=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const d=Ng(l,c);return(d-d%7)/7}],["days",Ng]],s={},o=e;let i,a;for(const[l,c]of r)n.indexOf(l)>=0&&(i=l,s[l]=c(e,t),a=o.plus(s),a>t?(s[l]--,e=o.plus(s),e>t&&(a=e,s[l]--,e=o.plus(s))):e=a);return[e,s,a,i]}function BD(e,t,n,r){let[s,o,i,a]=jD(e,t,n);const l=t-s,c=n.filter(m=>["hours","minutes","seconds","milliseconds"].indexOf(m)>=0);c.length===0&&(i<t&&(i=s.plus({[a]:1})),i!==s&&(o[a]=(o[a]||0)+l/(i-s)));const d=Ye.fromObject(o,r);return c.length>0?Ye.fromMillis(l,r).shiftTo(...c).plus(d):d}const qD="missing Intl.DateTimeFormat.formatToParts support";function ut(e,t=n=>n){return{regex:e,deser:([n])=>t(PR(n))}}const WD=" ",J0=`[ ${WD}]`,Q0=new RegExp(J0,"g");function GD(e){return e.replace(/\./g,"\\.?").replace(Q0,J0)}function Ig(e){return e.replace(/\./g,"").replace(Q0," ").toLowerCase()}function vr(e,t){return e===null?null:{regex:RegExp(e.map(GD).join("|")),deser:([n])=>e.findIndex(r=>Ig(n)===Ig(r))+t}}function Pg(e,t){return{regex:e,deser:([,n,r])=>cd(n,r),groups:t}}function Rl(e){return{regex:e,deser:([t])=>t}}function KD(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function XD(e,t){const n=yr(t),r=yr(t,"{2}"),s=yr(t,"{3}"),o=yr(t,"{4}"),i=yr(t,"{6}"),a=yr(t,"{1,2}"),l=yr(t,"{1,3}"),c=yr(t,"{1,6}"),d=yr(t,"{1,9}"),m=yr(t,"{2,4}"),f=yr(t,"{4,6}"),p=v=>({regex:RegExp(KD(v.val)),deser:([C])=>C,literal:!0}),_=(v=>{if(e.literal)return p(v);switch(v.val){case"G":return vr(t.eras("short"),0);case"GG":return vr(t.eras("long"),0);case"y":return ut(c);case"yy":return ut(m,ff);case"yyyy":return ut(o);case"yyyyy":return ut(f);case"yyyyyy":return ut(i);case"M":return ut(a);case"MM":return ut(r);case"MMM":return vr(t.months("short",!0),1);case"MMMM":return vr(t.months("long",!0),1);case"L":return ut(a);case"LL":return ut(r);case"LLL":return vr(t.months("short",!1),1);case"LLLL":return vr(t.months("long",!1),1);case"d":return ut(a);case"dd":return ut(r);case"o":return ut(l);case"ooo":return ut(s);case"HH":return ut(r);case"H":return ut(a);case"hh":return ut(r);case"h":return ut(a);case"mm":return ut(r);case"m":return ut(a);case"q":return ut(a);case"qq":return ut(r);case"s":return ut(a);case"ss":return ut(r);case"S":return ut(l);case"SSS":return ut(s);case"u":return Rl(d);case"uu":return Rl(a);case"uuu":return ut(n);case"a":return vr(t.meridiems(),0);case"kkkk":return ut(o);case"kk":return ut(m,ff);case"W":return ut(a);case"WW":return ut(r);case"E":case"c":return ut(n);case"EEE":return vr(t.weekdays("short",!1),1);case"EEEE":return vr(t.weekdays("long",!1),1);case"ccc":return vr(t.weekdays("short",!0),1);case"cccc":return vr(t.weekdays("long",!0),1);case"Z":case"ZZ":return Pg(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Pg(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return Rl(/[a-z_+-/]{1,256}?/i);case" ":return Rl(/[^\S\n\r]/);default:return p(v)}})(e)||{invalidReason:qD};return _.token=e,_}const YD={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function ZD(e,t,n){const{type:r,value:s}=e;if(r==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const o=t[r];let i=r;r==="hour"&&(t.hour12!=null?i=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?i="hour12":i="hour24":i=n.hour12?"hour12":"hour24");let a=YD[i];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function JD(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function QD(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const i in n)if(ki(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(r.slice(o,o+l))),o+=l}return[r,s]}else return[r,{}]}function e8(e){const t=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return Me(e.z)||(n=hs.create(e.z)),Me(e.Z)||(n||(n=new Tn(e.Z)),r=e.Z),Me(e.q)||(e.M=(e.q-1)*3+1),Me(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Me(e.u)||(e.S=Kp(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,r]}let Gd=null;function t8(){return Gd||(Gd=Oe.fromMillis(1555555555555)),Gd}function n8(e,t){if(e.literal)return e;const n=_n.macroTokenToFormatOpts(e.val),r=rC(n,t);return r==null||r.includes(void 0)?e:r}function eC(e,t){return Array.prototype.concat(...e.map(n=>n8(n,t)))}class tC{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=eC(_n.parseFormat(n),t),this.units=this.tokens.map(r=>XD(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,s]=JD(this.units);this.regex=RegExp(r,"i"),this.handlers=s}}explainFromTokens(t){if(this.isValid){const[n,r]=QD(t,this.regex,this.handlers),[s,o,i]=r?e8(r):[null,null,void 0];if(ki(r,"a")&&ki(r,"H"))throw new ai("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:r,result:s,zone:o,specificOffset:i}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function nC(e,t,n){return new tC(e,n).explainFromTokens(t)}function r8(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:i}=nC(e,t,n);return[r,s,o,i]}function rC(e,t){if(!e)return null;const r=_n.create(t,e).dtFormatter(t8()),s=r.formatToParts(),o=r.resolvedOptions();return s.map(i=>ZD(i,e,o))}const Kd="Invalid DateTime",s8=864e13;function na(e){return new kr("unsupported zone",`the zone "${e.name}" is not supported`)}function Xd(e){return e.weekData===null&&(e.weekData=Gc(e.c)),e.weekData}function Yd(e){return e.localWeekData===null&&(e.localWeekData=Gc(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function ao(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Oe({...n,...t,old:n})}function sC(e,t,n){let r=e-t*60*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=(s-t)*60*1e3;const o=n.offset(r);return s===o?[r,s]:[e-Math.min(s,o)*60*1e3,Math.max(s,o)]}function Dl(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function uc(e,t,n){return sC(ld(e),t,n)}function Lg(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:r,month:s,day:Math.min(e.c.day,Kc(r,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Ye.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=ld(o);let[l,c]=sC(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function Wo(e,t,n,r,s,o){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,c=Oe.fromObject(e,{...n,zone:l,specificOffset:o});return i?c:c.setZone(a)}else return Oe.invalid(new kr("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Ml(e,t,n=!0){return e.isValid?_n.create(_t.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Zd(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Bt(e.c.year,n?6:4),t?(r+="-",r+=Bt(e.c.month),r+="-",r+=Bt(e.c.day)):(r+=Bt(e.c.month),r+=Bt(e.c.day)),r}function Rg(e,t,n,r,s,o){let i=Bt(e.c.hour);return t?(i+=":",i+=Bt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=Bt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=Bt(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Bt(e.c.millisecond,3))),s&&(e.isOffsetFixed&&e.offset===0&&!o?i+="Z":e.o<0?(i+="-",i+=Bt(Math.trunc(-e.o/60)),i+=":",i+=Bt(Math.trunc(-e.o%60))):(i+="+",i+=Bt(Math.trunc(e.o/60)),i+=":",i+=Bt(Math.trunc(e.o%60)))),o&&(i+="["+e.zone.ianaName+"]"),i}const oC={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},o8={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},i8={ordinal:1,hour:0,minute:0,second:0,millisecond:0},iC=["year","month","day","hour","minute","second","millisecond"],a8=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],l8=["year","ordinal","hour","minute","second","millisecond"];function c8(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new a0(e);return t}function Dg(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return c8(e)}}function u8(e){return mc[e]||(dc===void 0&&(dc=Rt.now()),mc[e]=e.offset(dc)),mc[e]}function Mg(e,t){const n=Ms(t.zone,Rt.defaultZone);if(!n.isValid)return Oe.invalid(na(n));const r=_t.fromObject(t);let s,o;if(Me(e.year))s=Rt.now();else{for(const l of iC)Me(e[l])&&(e[l]=oC[l]);const i=$0(e)||N0(e);if(i)return Oe.invalid(i);const a=u8(n);[s,o]=uc(e,a,n)}return new Oe({ts:s,zone:n,loc:r,o})}function Fg(e,t,n){const r=Me(n.round)?!0:n.round,s=(i,a)=>(i=Xp(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),o=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return s(o(n.unit),n.unit);for(const i of n.units){const a=o(i);if(Math.abs(a)>=1)return s(a,i)}return s(e>t?-0:0,n.units[n.units.length-1])}function Vg(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}let dc,mc={};class Oe{constructor(t){const n=t.zone||Rt.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new kr("invalid input"):null)||(n.isValid?null:na(n));this.ts=Me(t.ts)?Rt.now():t.ts;let s=null,o=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[s,o]=[t.old.c,t.old.o];else{const a=Bs(t.o)&&!t.old?t.o:n.offset(this.ts);s=Dl(this.ts,a),r=Number.isNaN(s.year)?new kr("invalid input"):null,s=r?null:s,o=r?null:a}this._zone=n,this.loc=t.loc||_t.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Oe({})}static local(){const[t,n]=Vg(arguments),[r,s,o,i,a,l,c]=n;return Mg({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=Vg(arguments),[r,s,o,i,a,l,c]=n;return t.zone=Tn.utcInstance,Mg({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=FR(t)?t.valueOf():NaN;if(Number.isNaN(r))return Oe.invalid("invalid input");const s=Ms(n.zone,Rt.defaultZone);return s.isValid?new Oe({ts:r,zone:s,loc:_t.fromObject(n)}):Oe.invalid(na(s))}static fromMillis(t,n={}){if(Bs(t))return t<-864e13||t>s8?Oe.invalid("Timestamp out of range"):new Oe({ts:t,zone:Ms(n.zone,Rt.defaultZone),loc:_t.fromObject(n)});throw new un(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(Bs(t))return new Oe({ts:t*1e3,zone:Ms(n.zone,Rt.defaultZone),loc:_t.fromObject(n)});throw new un("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Ms(n.zone,Rt.defaultZone);if(!r.isValid)return Oe.invalid(na(r));const s=_t.fromObject(n),o=Xc(t,Dg),{minDaysInFirstWeek:i,startOfWeek:a}=wg(o,s),l=Rt.now(),c=Me(n.specificOffset)?r.offset(l):n.specificOffset,d=!Me(o.ordinal),m=!Me(o.year),f=!Me(o.month)||!Me(o.day),p=m||f,h=o.weekYear||o.weekNumber;if((p||d)&&h)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&d)throw new ai("Can't mix ordinal dates with month/day");const _=h||o.weekday&&!p;let v,C,S=Dl(l,c);_?(v=a8,C=o8,S=Gc(S,i,a)):d?(v=l8,C=i8,S=Wd(S)):(v=iC,C=oC);let g=!1;for(const R of v){const B=o[R];Me(B)?g?o[R]=C[R]:o[R]=S[R]:g=!0}const b=_?RR(o,i,a):d?DR(o):$0(o),E=b||N0(o);if(E)return Oe.invalid(E);const w=_?Sg(o,i,a):d?Eg(o):o,[P,N]=uc(w,c,r),k=new Oe({ts:P,zone:r,o:N,loc:s});return o.weekday&&p&&t.weekday!==k.weekday?Oe.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${k.toISO()}`):k.isValid?k:Oe.invalid(k.invalid)}static fromISO(t,n={}){const[r,s]=TD(t);return Wo(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=AD(t);return Wo(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=OD(t);return Wo(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Me(t)||Me(n))throw new un("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,i=_t.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[a,l,c,d]=r8(i,t,n);return d?Oe.invalid(d):Wo(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Oe.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=DD(t);return Wo(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new un("need to specify a reason the DateTime is invalid");const r=t instanceof kr?t:new kr(t,n);if(Rt.throwOnInvalid)throw new cR(r);return new Oe({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=rC(t,_t.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(t,n={}){return eC(_n.parseFormat(t),_t.fromObject(n)).map(s=>s.val).join("")}static resetCache(){dc=void 0,mc={}}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xd(this).weekYear:NaN}get weekNumber(){return this.isValid?Xd(this).weekNumber:NaN}get weekday(){return this.isValid?Xd(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Yd(this).weekday:NaN}get localWeekNumber(){return this.isValid?Yd(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Yd(this).weekYear:NaN}get ordinal(){return this.isValid?Wd(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ll.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ll.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ll.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ll.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,r=ld(this.c),s=this.zone.offset(r-t),o=this.zone.offset(r+t),i=this.zone.offset(r-s*n),a=this.zone.offset(r-o*n);if(i===a)return[this];const l=r-i*n,c=r-a*n,d=Dl(l,i),m=Dl(c,a);return d.hour===m.hour&&d.minute===m.minute&&d.second===m.second&&d.millisecond===m.millisecond?[ao(this,{ts:l}),ao(this,{ts:c})]:[this]}get isInLeapYear(){return dl(this.year)}get daysInMonth(){return Kc(this.year,this.month)}get daysInYear(){return this.isValid?mi(this.year):NaN}get weeksInWeekYear(){return this.isValid?Wa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Wa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=_n.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(t=0,n={}){return this.setZone(Tn.instance(t),n)}toLocal(){return this.setZone(Rt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Ms(t,Rt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let s=this.ts;if(n||r){const o=t.offset(this.ts),i=this.toObject();[s]=uc(i,o,t)}return ao(this,{ts:s,zone:t})}else return Oe.invalid(na(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return ao(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Xc(t,Dg),{minDaysInFirstWeek:r,startOfWeek:s}=wg(n,this.loc),o=!Me(n.weekYear)||!Me(n.weekNumber)||!Me(n.weekday),i=!Me(n.ordinal),a=!Me(n.year),l=!Me(n.month)||!Me(n.day),c=a||l,d=n.weekYear||n.weekNumber;if((c||i)&&d)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new ai("Can't mix ordinal dates with month/day");let m;o?m=Sg({...Gc(this.c,r,s),...n},r,s):Me(n.ordinal)?(m={...this.toObject(),...n},Me(n.day)&&(m.day=Math.min(Kc(m.year,m.month),m.day))):m=Eg({...Wd(this.c),...n});const[f,p]=uc(m,this.o,this.zone);return ao(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=Ye.fromDurationLike(t);return ao(this,Lg(this,n))}minus(t){if(!this.isValid)return this;const n=Ye.fromDurationLike(t).negate();return ao(this,Lg(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=Ye.normalizeUnit(t);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const o=this.loc.getStartOfWeek(),{weekday:i}=this;i<o&&(r.weekNumber=this.weekNumber-1),r.weekday=o}else r.weekday=1;if(s==="quarters"){const o=Math.ceil(this.month/3);r.month=(o-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?_n.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Kd}toLocaleString(t=Wc,n={}){return this.isValid?_n.create(this.loc.clone(n),t).formatDateTime(this):Kd}toLocaleParts(t={}){return this.isValid?_n.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=Zd(this,i);return a+="T",a+=Rg(this,i,n,r,s,o),a}toISODate({format:t="extended"}={}){return this.isValid?Zd(this,t==="extended"):null}toISOWeekDate(){return Ml(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:i="extended"}={}){return this.isValid?(s?"T":"")+Rg(this,i==="extended",n,t,r,o):null}toRFC2822(){return Ml(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ml(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Zd(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||t)&&(r&&(s+=" "),n?s+="z":t&&(s+="ZZ")),Ml(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Kd}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return Ye.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=VR(n).map(Ye.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=BD(a,l,o,s);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Oe.now(),t,n)}until(t){return this.isValid?Lt.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const s=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n,r)<=s&&s<=o.endOf(n,r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||Oe.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(s=t.unit,o=void 0),Fg(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?Fg(t.base||Oe.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Oe.isDateTime))throw new un("min requires all arguments be DateTimes");return kg(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Oe.isDateTime))throw new un("max requires all arguments be DateTimes");return kg(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,i=_t.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return nC(i,t,n)}static fromStringExplain(t,n,r={}){return Oe.fromFormatExplain(t,n,r)}static buildFormatParser(t,n={}){const{locale:r=null,numberingSystem:s=null}=n,o=_t.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new tC(o,t)}static fromFormatParser(t,n,r={}){if(Me(t)||Me(n))throw new un("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,i=_t.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!i.equals(n.locale))throw new un(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${n.locale}`);const{result:a,zone:l,specificOffset:c,invalidReason:d}=n.explainFromTokens(t);return d?Oe.invalid(d):Wo(a,l,r,`format ${n.format}`,t,c)}static get DATE_SHORT(){return Wc}static get DATE_MED(){return l0}static get DATE_MED_WITH_WEEKDAY(){return mR}static get DATE_FULL(){return c0}static get DATE_HUGE(){return u0}static get TIME_SIMPLE(){return d0}static get TIME_WITH_SECONDS(){return m0}static get TIME_WITH_SHORT_OFFSET(){return f0}static get TIME_WITH_LONG_OFFSET(){return p0}static get TIME_24_SIMPLE(){return h0}static get TIME_24_WITH_SECONDS(){return _0}static get TIME_24_WITH_SHORT_OFFSET(){return g0}static get TIME_24_WITH_LONG_OFFSET(){return y0}static get DATETIME_SHORT(){return v0}static get DATETIME_SHORT_WITH_SECONDS(){return b0}static get DATETIME_MED(){return z0}static get DATETIME_MED_WITH_SECONDS(){return C0}static get DATETIME_MED_WITH_WEEKDAY(){return fR}static get DATETIME_FULL(){return S0}static get DATETIME_FULL_WITH_SECONDS(){return E0}static get DATETIME_HUGE(){return w0}static get DATETIME_HUGE_WITH_SECONDS(){return k0}}function Ki(e){if(Oe.isDateTime(e))return e;if(e&&e.valueOf&&Bs(e.valueOf()))return Oe.fromJSDate(e);if(e&&typeof e=="object")return Oe.fromObject(e);throw new un(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Jd,locale:Qd}=Du.global,d8={channels(e){return e===1?Jd("filter.mono"):e===2?Jd("filter.stereo"):e?Jd("filter.channels",{value:e}):""},cursor(e,t=20){const r=t/2;return`url("data:image/svg+xml,%3Csvg width='${t}' height='${t}' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${e}'/%3E%3C/svg%3E") ${r} ${r}, auto`},date(e){return Oe.fromISO(e).setLocale(Qd.value).toLocaleString(Oe.DATE_FULL)},datetime(e){return Oe.fromISO(e).setLocale(Qd.value).toLocaleString(Oe.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Ye.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Ye.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Ye.fromObject({minutes:t}).shiftTo("minutes").toHuman()},durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return Ye.fromMillis(e).toFormat(t)},number(e){return e.toLocaleString(Qd.value)},timeFromNow(e){const t=Oe.now().diff(Oe.fromISO(e));return this.durationInDays(t.as("milliseconds"))}},m8={mdiAccountMusic:OO,mdiAlbum:$O,mdiArrowCollapseDown:IO,mdiBookOpenPageVariant:PO,mdiBookOpenVariant:LO,mdiBookshelf:RO,mdiBroadcast:DO,mdiCancel:Fu,mdiCast:MO,mdiCastVariant:FO,mdiCellphone:VO,mdiCheck:HO,mdiChevronDown:UO,mdiChevronLeft:jO,mdiChevronUp:BO,mdiContentSave:qO,mdiDelete:WO,mdiDeleteEmpty:GO,mdiDotsHorizontal:KO,mdiDotsVertical:XO,mdiDragHorizontal:YO,mdiFastForward30:ZO,mdiFileMusic:JO,mdiFileOutline:QO,mdiFire:e$,mdiFolder:t$,mdiFolderOpen:n$,mdiHistory:r$,mdiLoading:s$,mdiMagnify:o$,mdiMenu:i$,mdiMicrophone:a$,mdiMusic:l$,mdiMusicBoxMultiple:c$,mdiOpenInNew:u$,mdiPause:d$,mdiPencil:m$,mdiPipe:f$,mdiPlay:p$,mdiPlaylistPlay:h$,mdiPlaylistPlus:_$,mdiRadio:g$,mdiRadioTower:y$,mdiRefresh:v$,mdiRepeat:b$,mdiRepeatOff:z$,mdiRepeatOnce:C$,mdiRewind10:S$,mdiRss:E$,mdiScriptTextOutline:w$,mdiScriptTextPlay:k$,mdiServer:x$,mdiShuffle:T$,mdiShuffleDisabled:A$,mdiSkipBackward:O$,mdiSkipForward:$$,mdiSpeaker:N$,mdiSpotify:I$,mdiStop:P$,mdiVolumeHigh:L$,mdiVolumeOff:R$,mdiWeb:D$},f8={title:[String],spin:[Boolean],width:[Number,String],height:[Number,String],ariaLabel:[String],staticClass:[String],class:[String],name:{type:String,required:!0,default:"alert"},size:{type:[Number,String],default:24},viewBox:{type:String,default:"0 0 24 24"},xmlns:{type:String,default:"http://www.w3.org/2000/svg"},role:{type:String,default:"img"},spin:{type:Boolean,default:!1}},p8=e=>e.charAt(0).toUpperCase()+e.slice(1),h8=e=>e.split("-").map(p8).join(""),_8=(e,t,n)=>{const r=e[`mdi${h8(t.name)}`]||NO,s={role:t.role,"aria-label":t.ariaLabel,...n},o={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:s,svgAttrs:o,pathAttrs:{d:r}}},g8=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),y8=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:f8,...t,render:e(r)})}}),v8=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=_8(e,this,this.$attrs);return Ur("span",{...n,class:g8(this,this)},[Ur("svg",r,[this.title?Ur("title",[this.title]):void 0,Ur("path",s)])])},b8=y8(v8);/*!
* vue-router v4.5.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const ti=typeof document<"u";function aC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function z8(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&aC(e.default)}const ht=Object.assign;function em(e,t){const n={};for(const r in t){const s=t[r];n[r]=$r(s)?s.map(e):e(s)}return n}const ga=()=>{},$r=Array.isArray,lC=/#/g,C8=/&/g,S8=/\//g,E8=/=/g,w8=/\?/g,cC=/\+/g,k8=/%5B/g,x8=/%5D/g,uC=/%5E/g,T8=/%60/g,dC=/%7B/g,A8=/%7C/g,mC=/%7D/g,O8=/%20/g;function Qp(e){return encodeURI(""+e).replace(A8,"|").replace(k8,"[").replace(x8,"]")}function $8(e){return Qp(e).replace(dC,"{").replace(mC,"}").replace(uC,"^")}function pf(e){return Qp(e).replace(cC,"%2B").replace(O8,"+").replace(lC,"%23").replace(C8,"%26").replace(T8,"`").replace(dC,"{").replace(mC,"}").replace(uC,"^")}function N8(e){return pf(e).replace(E8,"%3D")}function I8(e){return Qp(e).replace(lC,"%23").replace(w8,"%3F")}function P8(e){return e==null?"":I8(e).replace(S8,"%2F")}function Ga(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const L8=/\/$/,R8=e=>e.replace(L8,"");function tm(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=V8(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Ga(i)}}function D8(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function M8(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&xi(t.matched[r],n.matched[s])&&fC(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!F8(e[n],t[n]))return!1;return!0}function F8(e,t){return $r(e)?Ug(e,t):$r(t)?Ug(t,e):e===t}function Ug(e,t){return $r(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function V8(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const ks={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ka;(function(e){e.pop="pop",e.push="push"})(Ka||(Ka={}));var ya;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ya||(ya={}));function H8(e){if(!e)if(ti){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 U8=/^[^#]+#/;function j8(e,t){return e.replace(U8,"#")+t}function B8(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 dd=()=>({left:window.scrollX,top:window.scrollY});function q8(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=B8(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jg(e,t){return(history.state?history.state.position-t:-1)+e}const hf=new Map;function W8(e,t){hf.set(e,t)}function G8(e){const t=hf.get(e);return hf.delete(e),t}let K8=()=>location.protocol+"//"+location.host;function pC(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Hg(l,"")}return Hg(n,e)+r+s}function X8(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const p=pC(e,location),h=n.value,_=t.value;let v=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}v=_?f.position-_.position:0}else r(p);s.forEach(C=>{C(n.value,h,{delta:v,type:Ka.pop,direction:v?v>0?ya.forward:ya.back:ya.unknown})})};function l(){i=n.value}function c(f){s.push(f);const p=()=>{const h=s.indexOf(f);h>-1&&s.splice(h,1)};return o.push(p),p}function d(){const{history:f}=window;f.state&&f.replaceState(ht({},f.state,{scroll:dd()}),"")}function m(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:m}}function Bg(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?dd():null}}function Y8(e){const{history:t,location:n}=window,r={value:pC(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const m=e.indexOf("#"),f=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:K8()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),s.value=c}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function i(l,c){const d=ht({},t.state,Bg(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,c){const d=ht({},s.value,t.state,{forward:l,scroll:dd()});o(d.current,d,!0);const m=ht({},Bg(r.value,l,null),{position:d.position+1},c);o(l,m,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Z8(e){e=H8(e);const t=Y8(e),n=X8(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ht({location:"",base:e,go:r,createHref:j8.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function J8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Z8(e)}function Q8(e){return typeof e=="string"||e&&typeof e=="object"}function hC(e){return typeof e=="string"||typeof e=="symbol"}const _C=Symbol("");var qg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qg||(qg={}));function Ti(e,t){return ht(new Error,{type:e,[_C]:!0},t)}function Qr(e,t){return e instanceof Error&&_C in e&&(t==null||!!(e.type&t))}const Wg="[^/]+?",eM={sensitive:!1,strict:!1,start:!0,end:!0},tM=/[.+*?^${}()[\]/\\]/g;function nM(e,t){const n=ht({},eM,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let m=0;m<c.length;m++){const f=c[m];let p=40+(n.sensitive?.25:0);if(f.type===0)m||(s+="/"),s+=f.value.replace(tM,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:v,regexp:C}=f;o.push({name:h,repeatable:_,optional:v});const S=C||Wg;if(S!==Wg){p+=10;try{new RegExp(`(${S})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${h}" (${S}): `+b.message)}}let g=_?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;m||(g=v&&c.length<2?`(?:/${g})`:"/"+g),v&&(g+="?"),s+=g,p+=20,v&&(p+=-8),_&&(p+=-20),S===".*"&&(p+=-50)}d.push(p)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const d=c.match(i),m={};if(!d)return null;for(let f=1;f<d.length;f++){const p=d[f]||"",h=o[f-1];m[h.name]=p&&h.repeatable?p.split("/"):p}return m}function l(c){let d="",m=!1;for(const f of e){(!m||!d.endsWith("/"))&&(d+="/"),m=!1;for(const p of f)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:v}=p,C=h in c?c[h]:"";if($r(C)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const S=$r(C)?C.join("/"):C;if(!S)if(v)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);d+=S}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function rM(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function gC(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=rM(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Gg(r))return 1;if(Gg(s))return-1}return s.length-r.length}function Gg(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const sM={type:0,value:""},oM=/[a-zA-Z0-9_]/;function iM(e){if(!e)return[[]];if(e==="/")return[[sM]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",d="";function m(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&m(),i()):l===":"?(m(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:oM.test(l)?f():(m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),m(),i(),s}function aM(e,t,n){const r=nM(iM(e.path),n),s=ht(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function lM(e,t){const n=[],r=new Map;t=Zg({strict:!1,end:!0,sensitive:!1},t);function s(m){return r.get(m)}function o(m,f,p){const h=!p,_=Xg(m);_.aliasOf=p&&p.record;const v=Zg(t,m),C=[_];if("alias"in m){const b=typeof m.alias=="string"?[m.alias]:m.alias;for(const E of b)C.push(Xg(ht({},_,{components:p?p.record.components:_.components,path:E,aliasOf:p?p.record:_})))}let S,g;for(const b of C){const{path:E}=b;if(f&&E[0]!=="/"){const w=f.record.path,P=w[w.length-1]==="/"?"":"/";b.path=f.record.path+(E&&P+E)}if(S=aM(b,f,v),p?p.alias.push(S):(g=g||S,g!==S&&g.alias.push(S),h&&m.name&&!Yg(S)&&i(m.name)),yC(S)&&l(S),_.children){const w=_.children;for(let P=0;P<w.length;P++)o(w[P],S,p&&p.children[P])}p=p||S}return g?()=>{i(g)}:ga}function i(m){if(hC(m)){const f=r.get(m);f&&(r.delete(m),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(m);f>-1&&(n.splice(f,1),m.record.name&&r.delete(m.record.name),m.children.forEach(i),m.alias.forEach(i))}}function a(){return n}function l(m){const f=dM(m,n);n.splice(f,0,m),m.record.name&&!Yg(m)&&r.set(m.record.name,m)}function c(m,f){let p,h={},_,v;if("name"in m&&m.name){if(p=r.get(m.name),!p)throw Ti(1,{location:m});v=p.record.name,h=ht(Kg(f.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),m.params&&Kg(m.params,p.keys.map(g=>g.name))),_=p.stringify(h)}else if(m.path!=null)_=m.path,p=n.find(g=>g.re.test(_)),p&&(h=p.parse(_),v=p.record.name);else{if(p=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!p)throw Ti(1,{location:m,currentLocation:f});v=p.record.name,h=ht({},f.params,m.params),_=p.stringify(h)}const C=[];let S=p;for(;S;)C.unshift(S.record),S=S.parent;return{name:v,path:_,params:h,matched:C,meta:uM(C)}}e.forEach(m=>o(m));function d(){n.length=0,r.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:d,getRoutes:a,getRecordMatcher:s}}function Kg(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Xg(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:cM(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function cM(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Yg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function uM(e){return e.reduce((t,n)=>ht(t,n.meta),{})}function Zg(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function dM(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;gC(e,t[o])<0?r=o:n=o+1}const s=mM(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function mM(e){let t=e;for(;t=t.parent;)if(yC(t)&&gC(e,t)===0)return t}function yC({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function fM(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(cC," "),i=o.indexOf("="),a=Ga(i<0?o:o.slice(0,i)),l=i<0?null:Ga(o.slice(i+1));if(a in t){let c=t[a];$r(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Jg(e){let t="";for(let n in e){const r=e[n];if(n=N8(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}($r(r)?r.map(o=>o&&pf(o)):[r&&pf(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function pM(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=$r(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const hM=Symbol(""),Qg=Symbol(""),eh=Symbol(""),vC=Symbol(""),_f=Symbol("");function Xi(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Rs(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(Ti(4,{from:n,to:t})):f instanceof Error?l(f):Q8(f)?l(Ti(2,{from:t,to:f})):(i&&r.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),a())},d=o(()=>e.call(r&&r.instances[s],t,n,c));let m=Promise.resolve(d);e.length<3&&(m=m.then(c)),m.catch(f=>l(f))})}function nm(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(aC(l)){const d=(l.__vccOpts||l)[t];d&&o.push(Rs(d,n,r,i,a,s))}else{let c=l();o.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const m=z8(d)?d.default:d;i.mods[a]=d,i.components[a]=m;const p=(m.__vccOpts||m)[t];return p&&Rs(p,n,r,i,a,s)()}))}}return o}function ey(e){const t=lr(eh),n=lr(vC),r=en(()=>{const l=Fn(e.to);return t.resolve(l)}),s=en(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],m=n.matched;if(!d||!m.length)return-1;const f=m.findIndex(xi.bind(null,d));if(f>-1)return f;const p=ty(l[c-2]);return c>1&&ty(d)===p&&m[m.length-1].path!==p?m.findIndex(xi.bind(null,l[c-2])):f}),o=en(()=>s.value>-1&&bM(n.params,r.value.params)),i=en(()=>s.value>-1&&s.value===n.matched.length-1&&fC(n.params,r.value.params));function a(l={}){if(vM(l)){const c=t[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(ga);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:en(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function _M(e){return e.length===1?e[0]:e}const gM=gs({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ey,setup(e,{slots:t}){const n=Oi(ey(e)),{options:r}=lr(eh),s=en(()=>({[ny(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ny(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&_M(t.default(n));return e.custom?o:Ur("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),yM=gM;function vM(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function bM(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!$r(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function ty(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ny=(e,t,n)=>e??t??n,zM=gs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lr(_f),s=en(()=>e.route||r.value),o=lr(Qg,0),i=en(()=>{let c=Fn(o);const{matched:d}=s.value;let m;for(;(m=d[c])&&!m.components;)c++;return c}),a=en(()=>s.value.matched[i.value]);da(Qg,en(()=>i.value+1)),da(hM,a),da(_f,s);const l=ar();return Zn(()=>[l.value,a.value,e.name],([c,d,m],[f,p,h])=>{d&&(d.instances[m]=c,p&&p!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!xi(d,p)||!f)&&(d.enterCallbacks[m]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,m=a.value,f=m&&m.components[d];if(!f)return ry(n.default,{Component:f,route:c});const p=m.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=Ur(f,ht({},h,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(m.instances[d]=null)},ref:l}));return ry(n.default,{Component:v,route:c})||v}}});function ry(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const CM=zM;function SM(e){const t=lM(e.routes,e),n=e.parseQuery||fM,r=e.stringifyQuery||Jg,s=e.history,o=Xi(),i=Xi(),a=Xi(),l=gu(ks);let c=ks;ti&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=em.bind(null,Y=>""+Y),m=em.bind(null,P8),f=em.bind(null,Ga);function p(Y,fe){let de,ye;return hC(Y)?(de=t.getRecordMatcher(Y),ye=fe):ye=Y,t.addRoute(ye,de)}function h(Y){const fe=t.getRecordMatcher(Y);fe&&t.removeRoute(fe)}function _(){return t.getRoutes().map(Y=>Y.record)}function v(Y){return!!t.getRecordMatcher(Y)}function C(Y,fe){if(fe=ht({},fe||l.value),typeof Y=="string"){const I=tm(n,Y,fe.path),q=t.resolve({path:I.path},fe),ne=s.createHref(I.fullPath);return ht(I,q,{params:f(q.params),hash:Ga(I.hash),redirectedFrom:void 0,href:ne})}let de;if(Y.path!=null)de=ht({},Y,{path:tm(n,Y.path,fe.path).path});else{const I=ht({},Y.params);for(const q in I)I[q]==null&&delete I[q];de=ht({},Y,{params:m(I)}),fe.params=m(fe.params)}const ye=t.resolve(de,fe),Be=Y.hash||"";ye.params=d(f(ye.params));const Xe=D8(r,ht({},Y,{hash:$8(Be),path:ye.path})),O=s.createHref(Xe);return ht({fullPath:Xe,hash:Be,query:r===Jg?pM(Y.query):Y.query||{}},ye,{redirectedFrom:void 0,href:O})}function S(Y){return typeof Y=="string"?tm(n,Y,l.value.path):ht({},Y)}function g(Y,fe){if(c!==Y)return Ti(8,{from:fe,to:Y})}function b(Y){return P(Y)}function E(Y){return b(ht(S(Y),{replace:!0}))}function w(Y){const fe=Y.matched[Y.matched.length-1];if(fe&&fe.redirect){const{redirect:de}=fe;let ye=typeof de=="function"?de(Y):de;return typeof ye=="string"&&(ye=ye.includes("?")||ye.includes("#")?ye=S(ye):{path:ye},ye.params={}),ht({query:Y.query,hash:Y.hash,params:ye.path!=null?{}:Y.params},ye)}}function P(Y,fe){const de=c=C(Y),ye=l.value,Be=Y.state,Xe=Y.force,O=Y.replace===!0,I=w(de);if(I)return P(ht(S(I),{state:typeof I=="object"?ht({},Be,I.state):Be,force:Xe,replace:O}),fe||de);const q=de;q.redirectedFrom=fe;let ne;return!Xe&&M8(r,ye,de)&&(ne=Ti(16,{to:q,from:ye}),De(ye,ye,!0,!1)),(ne?Promise.resolve(ne):R(q,ye)).catch(J=>Qr(J)?Qr(J,2)?J:Qe(J):le(J,q,ye)).then(J=>{if(J){if(Qr(J,2))return P(ht({replace:O},S(J.to),{state:typeof J.to=="object"?ht({},Be,J.to.state):Be,force:Xe}),fe||q)}else J=M(q,ye,!0,O,Be);return B(q,ye,J),J})}function N(Y,fe){const de=g(Y,fe);return de?Promise.reject(de):Promise.resolve()}function k(Y){const fe=pt.values().next().value;return fe&&typeof fe.runWithContext=="function"?fe.runWithContext(Y):Y()}function R(Y,fe){let de;const[ye,Be,Xe]=EM(Y,fe);de=nm(ye.reverse(),"beforeRouteLeave",Y,fe);for(const I of ye)I.leaveGuards.forEach(q=>{de.push(Rs(q,Y,fe))});const O=N.bind(null,Y,fe);return de.push(O),Ge(de).then(()=>{de=[];for(const I of o.list())de.push(Rs(I,Y,fe));return de.push(O),Ge(de)}).then(()=>{de=nm(Be,"beforeRouteUpdate",Y,fe);for(const I of Be)I.updateGuards.forEach(q=>{de.push(Rs(q,Y,fe))});return de.push(O),Ge(de)}).then(()=>{de=[];for(const I of Xe)if(I.beforeEnter)if($r(I.beforeEnter))for(const q of I.beforeEnter)de.push(Rs(q,Y,fe));else de.push(Rs(I.beforeEnter,Y,fe));return de.push(O),Ge(de)}).then(()=>(Y.matched.forEach(I=>I.enterCallbacks={}),de=nm(Xe,"beforeRouteEnter",Y,fe,k),de.push(O),Ge(de))).then(()=>{de=[];for(const I of i.list())de.push(Rs(I,Y,fe));return de.push(O),Ge(de)}).catch(I=>Qr(I,8)?I:Promise.reject(I))}function B(Y,fe,de){a.list().forEach(ye=>k(()=>ye(Y,fe,de)))}function M(Y,fe,de,ye,Be){const Xe=g(Y,fe);if(Xe)return Xe;const O=fe===ks,I=ti?history.state:{};de&&(ye||O?s.replace(Y.fullPath,ht({scroll:O&&I&&I.scroll},Be)):s.push(Y.fullPath,Be)),l.value=Y,De(Y,fe,de,O),Qe()}let H;function X(){H||(H=s.listen((Y,fe,de)=>{if(!gt.listening)return;const ye=C(Y),Be=w(ye);if(Be){P(ht(Be,{replace:!0,force:!0}),ye).catch(ga);return}c=ye;const Xe=l.value;ti&&W8(jg(Xe.fullPath,de.delta),dd()),R(ye,Xe).catch(O=>Qr(O,12)?O:Qr(O,2)?(P(ht(S(O.to),{force:!0}),ye).then(I=>{Qr(I,20)&&!de.delta&&de.type===Ka.pop&&s.go(-1,!1)}).catch(ga),Promise.reject()):(de.delta&&s.go(-de.delta,!1),le(O,ye,Xe))).then(O=>{O=O||M(ye,Xe,!1),O&&(de.delta&&!Qr(O,8)?s.go(-de.delta,!1):de.type===Ka.pop&&Qr(O,20)&&s.go(-1,!1)),B(ye,Xe,O)}).catch(ga)}))}let ae=Xi(),G=Xi(),te;function le(Y,fe,de){Qe(Y);const ye=G.list();return ye.length?ye.forEach(Be=>Be(Y,fe,de)):console.error(Y),Promise.reject(Y)}function Ae(){return te&&l.value!==ks?Promise.resolve():new Promise((Y,fe)=>{ae.add([Y,fe])})}function Qe(Y){return te||(te=!Y,X(),ae.list().forEach(([fe,de])=>Y?de(Y):fe()),ae.reset()),Y}function De(Y,fe,de,ye){const{scrollBehavior:Be}=e;if(!ti||!Be)return Promise.resolve();const Xe=!de&&G8(jg(Y.fullPath,0))||(ye||!de)&&history.state&&history.state.scroll||null;return Ro().then(()=>Be(Y,fe,Xe)).then(O=>O&&q8(O)).catch(O=>le(O,Y,fe))}const je=Y=>s.go(Y);let ft;const pt=new Set,gt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:_,resolve:C,options:e,push:b,replace:E,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:G.add,isReady:Ae,install(Y){const fe=this;Y.component("RouterLink",yM),Y.component("RouterView",CM),Y.config.globalProperties.$router=fe,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),ti&&!ft&&l.value===ks&&(ft=!0,b(s.location).catch(Be=>{}));const de={};for(const Be in ks)Object.defineProperty(de,Be,{get:()=>l.value[Be],enumerable:!0});Y.provide(eh,fe),Y.provide(vC,Lf(de)),Y.provide(_f,l);const ye=Y.unmount;pt.add(Y),Y.unmount=function(){pt.delete(Y),pt.size<1&&(c=ks,H&&H(),H=null,l.value=ks,ft=!1,te=!1),ye()}}};function Ge(Y){return Y.reduce((fe,de)=>fe.then(()=>k(de)),Promise.resolve())}return gt}function EM(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>xi(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>xi(c,l))||s.push(l))}return[n,r,s]}const wM={name:"PageAbout",setup(){return{configurationStore:Ao(),libraryStore:Mu(),uiStore:Bn()}},computed:{configuration(){return this.configurationStore.$state},library(){return this.libraryStore.$state}},methods:{showUpdateDialog(){this.uiStore.show_update_dialog=!0}}},kM={class:"section"},xM={class:"container"},TM={class:"columns is-centered"},AM={class:"column is-four-fifths has-text-centered-mobile"},OM=["textContent"],$M={class:"section"},NM={class:"container"},IM={class:"columns is-centered"},PM={class:"column is-four-fifths"},LM={class:"content"},RM={class:"level is-mobile"},DM={class:"level-left"},MM={class:"level-item"},FM=["textContent"],VM={class:"level-right"},HM={key:0},UM=["textContent"],jM={key:1},BM=["textContent"],qM={class:"table"},WM=["textContent"],GM=["textContent"],KM=["textContent"],XM=["textContent"],YM=["textContent"],ZM=["textContent"],JM=["textContent"],QM=["textContent"],e4=["textContent"],t4={class:"has-text-right"},n4=["textContent"],r4=["textContent"],s4=["textContent"],o4={class:"has-text-right"},i4=["textContent"],a4=["textContent"],l4={class:"section"},c4={class:"container"},u4={class:"columns is-centered"},d4={class:"column is-four-fifths"},m4={class:"content has-text-centered-mobile"},f4=["textContent"],p4=["textContent"],h4=["textContent"];function _4(e,t,n,r,s,o){const i=$("i18n-t");return x(),L("div",null,[u("section",kM,[u("div",xM,[u("div",TM,[u("div",AM,[u("h1",{class:"title is-4",textContent:y(o.configuration.library_name)},null,8,OM)])])])]),u("section",$M,[u("div",NM,[u("div",IM,[u("div",PM,[u("div",LM,[u("nav",RM,[u("div",DM,[u("div",MM,[u("p",{class:"title is-5",textContent:y(e.$t("page.about.library"))},null,8,FM)])]),u("div",VM,[o.library.updating?(x(),L("div",HM,[u("a",{class:"button is-small is-loading",textContent:y(e.$t("page.about.update"))},null,8,UM)])):(x(),L("div",jM,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>o.showUpdateDialog()),textContent:y(e.$t("page.about.update"))},null,8,BM)]))])]),u("table",qM,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.artists"))},null,8,WM),u("td",{class:"has-text-right",textContent:y(e.$filters.number(o.library.artists))},null,8,GM)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.albums"))},null,8,KM),u("td",{class:"has-text-right",textContent:y(e.$filters.number(o.library.albums))},null,8,XM)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.tracks"))},null,8,YM),u("td",{class:"has-text-right",textContent:y(e.$filters.number(o.library.songs))},null,8,ZM)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.total-playtime"))},null,8,JM),u("td",{class:"has-text-right",textContent:y(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,QM)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.updated"))},null,8,e4),u("td",t4,[u("span",{textContent:y(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,n4),t[1]||(t[1]=Kt(" (")),u("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(o.library.updated_at))},null,8,r4),t[2]||(t[2]=Kt(") "))])]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.uptime"))},null,8,s4),u("td",o4,[u("span",{textContent:y(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,i4),t[3]||(t[3]=Kt(" (")),u("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(o.library.started_at))},null,8,a4),t[4]||(t[4]=Kt(") "))])])])])])])])])]),u("section",l4,[u("div",c4,[u("div",u4,[u("div",d4,[u("div",m4,[u("p",{class:"is-size-7",textContent:y(e.$t("page.about.version",{version:o.configuration.version}))},null,8,f4),u("p",{class:"is-size-7",textContent:y(e.$t("page.about.compiled-with",{options:o.configuration.buildoptions.join(", ")}))},null,8,p4),z(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:D(()=>t[5]||(t[5]=[u("a",{href:"https://bulma.io"},"Bulma",-1)])),mdi:D(()=>t[6]||(t[6]=[u("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])),vuejs:D(()=>t[7]||(t[7]=[u("a",{href:"https://vuejs.org/"},"Vue.js",-1)])),axios:D(()=>t[8]||(t[8]=[u("a",{href:"https://github.com/axios/axios"},"axios",-1)])),others:D(()=>[u("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:y(e.$t("page.about.more"))},null,8,h4)]),_:1})])])])])])])}const g4=ue(wM,[["render",_4]]),y4={},v4={class:"hero is-light is-bold"},b4={class:"hero-body"},z4={class:"container"},C4={class:"columns is-centered"},S4={class:"column is-four-fifths"},E4={class:"columns is-flex-direction-row-reverse"},w4={class:"column fd-has-cover"},k4={class:"column m-auto is-three-fifths has-text-centered-mobile"},x4={class:"section pt-0"},T4={class:"container"},A4={class:"columns is-centered"},O4={class:"column is-four-fifths"};function $4(e,t){return x(),L(be,null,[u("section",v4,[u("div",b4,[u("div",z4,[u("div",C4,[u("div",S4,[u("div",E4,[u("div",w4,[At(e.$slots,"heading-right")]),u("div",k4,[At(e.$slots,"heading-left")])])])])])])]),u("section",x4,[u("div",T4,[u("div",A4,[u("div",O4,[At(e.$slots,"content"),At(e.$slots,"footer")])])])])],64)}const md=ue(y4,[["render",$4]]),N4=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},I4=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,P4=e=>{const t=N4(e.alternate),n=`<svg xmlns="http://www.w3.org/2000/svg"
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}"
font-size="${e.size/3}" fill="${I4(t)>.5?"#000000":"#FFFFFF"}">
${e.caption}
</text>
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},L4={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 P4({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function R4(e,t,n,r,s,o){const i=Bf("lazy");return x(),L("figure",null,[Ct(u("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:s.lifecycle}]])])}const vs=ue(L4,[["render",R4]]),{t:Fl,locale:D4}=Du.global,bC="NO_INDEX",M4=(e,t)=>e-t,F4=(e,t)=>e.localeCompare(t,D4.value),V4=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),H4=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(s,o)=>F4(s[t],o[t])*r;case Number:return(s,o)=>M4(s[t],o[t])*r;case Date:return(s,o)=>V4(s[t],o[t])*r;default:return()=>0}}),U4=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},j4=e=>{},B4=[{difference:NaN,text:()=>Fl("grouped-list.undefined")},{difference:864e5,text:()=>Fl("grouped-list.today")},{difference:6048e5,text:()=>Fl("grouped-list.last-week")},{difference:2592e6,text:()=>Fl("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],q4=e=>{var r;const t=new Date(e),n=new Date-t;return(r=B4.find(s=>isNaN(n)||n<s.difference))==null?void 0:r.text(t)},W4=({field:e,type:t}={})=>{switch(t){case String:return n=>U4(n[e]);case Number:return n=>n[e];case Date:return n=>q4(n[e]);case"Digits":return n=>j4(n[e]);default:return()=>bC}};class xe{constructor({items:t=[],total:n=0,offset:r=0,limit:s=-1}={},o={}){this.items=t,this.total=n,this.offset=r,this.limit=s,this.count=t.length,this.indices=[],this.group(o)}group({criteria:t=[],filters:n=[],index:r}={}){const s=this.items.filter(l=>n.every(c=>c(l)));this.count=s.length;const o=H4(t),i=s.sort((l,c)=>o.reduce((d,m)=>d||m(l,c),0)),a=W4(r);return this.itemsGrouped=i.reduce((l,c)=>{const d=a(c);return l.set(d,[...l.get(d)||[],c]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==bC&&(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 rm={exports:{}},sy;function G4(){return sy||(sy=1,function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(s!==null){var _=s.defer();f(function(v){_.resolve(v)},function(v){_.reject(v)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new o(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var v in _)_.hasOwnProperty(v)&&(p[v]=_[v])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var v=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(v)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},c=function(f,p){var h=new XMLHttpRequest,_=function(v,C){function S(w){v&&v(w),p&&p(null,w)}function g(){C&&C(h),p&&p(h,null)}var b=f.type||"GET";if(h.open(b,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var w=null;try{w=h.responseText?JSON.parse(h.responseText):""}catch(P){console.error(P)}h.status>=200&&h.status<300?S(w):g()}},b==="GET")h.send(null);else{var E=null;f.postData&&(f.contentType==="image/jpeg"?(E=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(E=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(E)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var v={},C=null;typeof p=="object"?(v=p,C=h):typeof p=="function"&&(C=p);var S=f.type||"GET";return S!=="GET"&&f.postData&&!_?f.postData=a(f.postData,v):f.params=a(f.params,v),c(f,C)},m=function(){};return m.prototype={constructor:t},m.prototype.getGeneric=function(f,p){var h={url:f};return d(h,p)},m.prototype.getMe=function(f,p){var h={url:n+"/me"};return d(h,f,p)},m.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return d(h,f,p)},m.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return d(h,f,p)},m.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return d(h,f,p)},m.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return d(h,f,p)},m.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return d(h,f,p)},m.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.followPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return d(_,p,h)},m.prototype.unfollowUsers=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.unfollowArtists=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.unfollowPlaylist=function(f,p){var h={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return d(h,p)},m.prototype.isFollowingUsers=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.isFollowingArtists=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.areFollowingPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},m.prototype.getFollowedArtists=function(f,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,f,p)},m.prototype.getUser=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)};return d(_,p,h)},m.prototype.getUserPlaylists=function(f,p,h){var _;return typeof f=="string"?_={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=f),d(_,p,h)},m.prototype.getPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f};return d(_,p,h)},m.prototype.getPlaylistTracks=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks"};return d(_,p,h)},m.prototype.getPlaylistCoverImage=function(f,p){var h={url:n+"/playlists/"+f+"/images"};return d(h,p)},m.prototype.createPlaylist=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return d(_,p,h)},m.prototype.changePlaylistDetails=function(f,p,h){var _={url:n+"/playlists/"+f,type:"PUT",postData:p};return d(_,p,h)},m.prototype.addTracksToPlaylist=function(f,p,h,_){var v={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return d(v,h,_,!0)},m.prototype.replaceTracksInPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},m.prototype.reorderTracksInPlaylist=function(f,p,h,_,v){var C={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(C,_,v)},m.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(C){return typeof C=="string"?{uri:C}:C}),v={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(v,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var v=p.map(function(S){return typeof S=="string"?{uri:S}:S}),C={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:v,snapshot_id:h}};return d(C,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var v={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(v,{},_)},m.prototype.uploadCustomPlaylistCoverImage=function(f,p,h){var _={url:n+"/playlists/"+f+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},m.prototype.getAlbum=function(f,p,h){var _={url:n+"/albums/"+f};return d(_,p,h)},m.prototype.getAlbumTracks=function(f,p,h){var _={url:n+"/albums/"+f+"/tracks"};return d(_,p,h)},m.prototype.getAlbums=function(f,p,h){var _={url:n+"/albums/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getTrack=function(f,p,h){var _={};return _.url=n+"/tracks/"+f,d(_,p,h)},m.prototype.getTracks=function(f,p,h){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtist=function(f,p,h){var _={url:n+"/artists/"+f};return d(_,p,h)},m.prototype.getArtists=function(f,p,h){var _={url:n+"/artists/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtistAlbums=function(f,p,h){var _={url:n+"/artists/"+f+"/albums"};return d(_,p,h)},m.prototype.getArtistTopTracks=function(f,p,h,_){var v={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return d(v,h,_)},m.prototype.getArtistRelatedArtists=function(f,p,h){var _={url:n+"/artists/"+f+"/related-artists"};return d(_,p,h)},m.prototype.getFeaturedPlaylists=function(f,p){var h={url:n+"/browse/featured-playlists"};return d(h,f,p)},m.prototype.getNewReleases=function(f,p){var h={url:n+"/browse/new-releases"};return d(h,f,p)},m.prototype.getCategories=function(f,p){var h={url:n+"/browse/categories"};return d(h,f,p)},m.prototype.getCategory=function(f,p,h){var _={url:n+"/browse/categories/"+f};return d(_,p,h)},m.prototype.getCategoryPlaylists=function(f,p,h){var _={url:n+"/browse/categories/"+f+"/playlists"};return d(_,p,h)},m.prototype.search=function(f,p,h,_){var v={url:n+"/search/",params:{q:f,type:p.join(",")}};return d(v,h,_)},m.prototype.searchAlbums=function(f,p,h){return this.search(f,["album"],p,h)},m.prototype.searchArtists=function(f,p,h){return this.search(f,["artist"],p,h)},m.prototype.searchTracks=function(f,p,h){return this.search(f,["track"],p,h)},m.prototype.searchPlaylists=function(f,p,h){return this.search(f,["playlist"],p,h)},m.prototype.searchShows=function(f,p,h){return this.search(f,["show"],p,h)},m.prototype.searchEpisodes=function(f,p,h){return this.search(f,["episode"],p,h)},m.prototype.getAudioFeaturesForTrack=function(f,p){var h={};return h.url=n+"/audio-features/"+f,d(h,{},p)},m.prototype.getAudioFeaturesForTracks=function(f,p){var h={url:n+"/audio-features",params:{ids:f}};return d(h,{},p)},m.prototype.getAudioAnalysisForTrack=function(f,p){var h={};return h.url=n+"/audio-analysis/"+f,d(h,{},p)},m.prototype.getRecommendations=function(f,p){var h={url:n+"/recommendations"};return d(h,f,p)},m.prototype.getAvailableGenreSeeds=function(f){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},f)},m.prototype.getMyDevices=function(f){var p={url:n+"/me/player/devices"};return d(p,{},f)},m.prototype.getMyCurrentPlaybackState=function(f,p){var h={url:n+"/me/player"};return d(h,f,p)},m.prototype.getMyCurrentPlayingTrack=function(f,p){var h={url:n+"/me/player/currently-playing"};return d(h,f,p)},m.prototype.transferMyPlayback=function(f,p,h){var _=p||{};_.device_ids=f;var v={type:"PUT",url:n+"/me/player",postData:_};return d(v,p,h)},m.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(S){S in f&&(_[S]=f[S])});var v={type:"PUT",url:n+"/me/player/play",params:h,postData:_},C=typeof f=="function"?f:{};return d(v,C,p)},m.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},v={type:"POST",url:n+"/me/player/queue",params:_};return d(v,p,h)},m.prototype.pause=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,f,p)},m.prototype.skipToNext=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,f,p)},m.prototype.skipToPrevious=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,f,p)},m.prototype.seek=function(f,p,h){p=p||{};var _={position_ms:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/seek",params:_};return d(v,p,h)},m.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/repeat",params:_};return d(v,p,h)},m.prototype.setVolume=function(f,p,h){p=p||{};var _={volume_percent:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/volume",params:_};return d(v,p,h)},m.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(v,p,h)},m.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,d(_,p,h)},m.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return d(h,f,p)},m.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return d(_,p,h)},m.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,d(_,p,h)},m.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getAccessToken=function(){return r},m.prototype.setAccessToken=function(f){r=f},m.prototype.setPromiseImplementation=function(f){var p=!1;try{var h=new f(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)s=f;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t}(rm)),rm.exports}var K4=G4();const Pr=Hu(K4),X4={name:"ModalDialogTrack",props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],setup(){return{servicesStore:Ht()}},data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"){const e=new Pr;e.setAccessToken(this.servicesStore.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:{mark_new(){W.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){W.library_track_update(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open_album(){this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"?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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},Y4={key:0,class:"modal is-active"},Z4={class:"modal-content"},J4={class:"card"},Q4={class:"card-content"},e3=["textContent"],t3=["textContent"],n3={key:0,class:"buttons"},r3=["textContent"],s3=["textContent"],o3={class:"content is-small"},i3={key:0},a3=["textContent"],l3=["textContent"],c3={key:1},u3=["textContent"],d3=["textContent"],m3={key:2},f3=["textContent"],p3=["textContent"],h3={key:3},_3=["textContent"],g3=["textContent"],y3={key:4},v3=["textContent"],b3=["textContent"],z3={key:5},C3=["textContent"],S3=["textContent"],E3={key:6},w3=["textContent"],k3=["textContent"],x3={key:7},T3=["textContent"],A3=["textContent"],O3=["textContent"],$3=["textContent"],N3=["textContent"],I3={class:"title is-6"},P3=["textContent"],L3={key:8},R3=["textContent"],D3={class:"title is-6"},M3=["textContent"],F3=["textContent"],V3=["textContent"],H3=["textContent"],U3=["textContent"],j3=["textContent"],B3=["textContent"],q3=["textContent"],W3={key:9},G3=["textContent"],K3=["textContent"],X3={class:"card-footer"},Y3=["textContent"],Z3=["textContent"],J3=["textContent"];function Q3(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",Y4,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Z4,[u("div",J4,[u("div",Q4,[u("p",{class:"title is-4",textContent:y(n.item.title)},null,8,e3),u("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,t3),n.item.media_kind==="podcast"?(x(),L("div",n3,[n.item.play_count>0?(x(),L("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>o.mark_new&&o.mark_new(...a)),textContent:y(e.$t("dialog.track.mark-as-new"))},null,8,r3)):ee("",!0),n.item.play_count===0?(x(),L("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>o.mark_played&&o.mark_played(...a)),textContent:y(e.$t("dialog.track.mark-as-played"))},null,8,s3)):ee("",!0)])):ee("",!0),u("div",o3,[n.item.album?(x(),L("p",i3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.album"))},null,8,a3),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:y(n.item.album)},null,8,l3)])):ee("",!0),n.item.album_artist&&n.item.media_kind!=="audiobook"?(x(),L("p",c3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.album-artist"))},null,8,u3),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,d3)])):ee("",!0),n.item.composer?(x(),L("p",m3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.composer"))},null,8,f3),u("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,p3)])):ee("",!0),n.item.date_released?(x(),L("p",h3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.release-date"))},null,8,_3),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,g3)])):n.item.year?(x(),L("p",y3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.year"))},null,8,v3),u("span",{class:"title is-6",textContent:y(n.item.year)},null,8,b3)])):ee("",!0),n.item.genre?(x(),L("p",z3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.genre"))},null,8,C3),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:y(n.item.genre)},null,8,S3)])):ee("",!0),n.item.disc_number?(x(),L("p",E3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.position"))},null,8,w3),u("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,k3)])):ee("",!0),n.item.length_ms?(x(),L("p",x3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.duration"))},null,8,T3),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,A3)])):ee("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.path"))},null,8,O3),u("span",{class:"title is-6",textContent:y(n.item.path)},null,8,$3)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.type"))},null,8,N3),u("span",I3,[u("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,P3)])]),n.item.samplerate?(x(),L("p",L3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.quality"))},null,8,R3),u("span",D3,[u("span",{textContent:y(n.item.type)},null,8,M3),n.item.samplerate?(x(),L("span",{key:0,textContent:y(e.$t("dialog.track.samplerate",{rate:n.item.samplerate}))},null,8,F3)):ee("",!0),n.item.channels?(x(),L("span",{key:1,textContent:y(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,V3)):ee("",!0),n.item.bitrate?(x(),L("span",{key:2,textContent:y(e.$t("dialog.track.bitrate",{rate:n.item.bitrate}))},null,8,H3)):ee("",!0)])])):ee("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.added-on"))},null,8,U3),u("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,j3)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.rating"))},null,8,B3),u("span",{class:"title is-6",textContent:y(e.$t("dialog.track.rating-value",{rating:Math.floor(n.item.rating/10)}))},null,8,q3)]),n.item.comment?(x(),L("p",W3,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.comment"))},null,8,G3),u("span",{class:"title is-6",textContent:y(n.item.comment)},null,8,K3)])):ee("",!0)])]),u("footer",X3,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add"))},null,8,Y3)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add-next"))},null,8,Z3)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.play"))},null,8,J3)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const e6=ue(X4,[["render",Q3]]),t6={name:"ListTracks",components:{ModalDialogTrack:e6},props:{expression:{default:"",type:String},items:{required:!0,type:Object},show_icon:Boolean,show_progress:Boolean,uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){this.uris?W.player_play_uri(this.uris,!1,this.items.items.indexOf(e)):this.expression?W.player_play_expression(this.expression,!1,this.items.items.indexOf(e)):W.player_play_uri(e.uri,!1)}}},n6={key:0,class:"mt-6 mb-5 py-2"},r6=["id","textContent"],s6=["onClick"],o6={key:0,class:"media-left is-clickable"},i6={class:"media-content is-clickable is-clipped"},a6=["textContent"],l6=["textContent"],c6=["textContent"],u6=["max","value"],d6={class:"media-right"},m6=["onClick"];function f6(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-track");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>(x(),L(be,{key:l.itemId},[l.isItem?(x(),L("div",{key:1,class:Ce(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:c=>o.play(l.item)},[n.show_icon?(x(),L("figure",o6,[z(i,{class:"icon",name:"file-outline",size:"16"})])):ee("",!0),u("div",i6,[u("h1",{class:Ce(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:y(l.item.title)},null,10,a6),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(l.item.artist)},null,8,l6),u("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.item.album)},null,8,c6),n.show_progress&&l.item.seek_ms>0?(x(),L("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,u6)):ee("",!0)]),u("div",d6,[u("a",{onClick:wt(c=>o.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,m6)])],10,s6)):(x(),L("div",n6,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,r6)]))],64))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["item","show"])]))],64)}const jn=ue(t6,[["render",f6],["__scopeId","data-v-84498238"]]),p6={name:"ModalDialogAlbum",components:{CoverArtwork:vs},props:{item:{required:!0,type:Object},media_kind:{default:"",type:String},show:Boolean},emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{media_kind_resolved(){return this.media_kind||this.item.media_kind}},methods:{mark_played(){W.library_album_track_update(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.id}}):this.$router.push({name:"music-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},play(){this.$emit("close"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},h6={key:0,class:"modal is-active"},_6={class:"modal-content"},g6={class:"card"},y6={class:"card-content"},v6={class:"title is-4"},b6=["textContent"],z6={key:0,class:"buttons"},C6=["textContent"],S6=["textContent"],E6={class:"content is-small"},w6={key:0},k6=["textContent"],x6=["textContent"],T6={key:1},A6=["textContent"],O6=["textContent"],$6={key:2},N6=["textContent"],I6=["textContent"],P6=["textContent"],L6=["textContent"],R6=["textContent"],D6=["textContent"],M6=["textContent"],F6=["textContent"],V6=["textContent"],H6=["textContent"],U6={class:"card-footer"},j6=["textContent"],B6=["textContent"],q6=["textContent"];function W6(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",h6,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",_6,[u("div",g6,[u("div",y6,[z(i,{url:n.item.artwork_url,artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["url","artist","album"]),u("p",v6,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open&&o.open(...l)),textContent:y(n.item.name)},null,8,b6)]),o.media_kind_resolved==="podcast"?(x(),L("div",z6,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>o.mark_played&&o.mark_played(...l)),textContent:y(e.$t("dialog.album.mark-as-played"))},null,8,C6),n.item.data_kind==="url"?(x(),L("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:y(e.$t("dialog.album.remove-podcast"))},null,8,S6)):ee("",!0)])):ee("",!0),u("div",E6,[n.item.artist?(x(),L("p",w6,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.artist"))},null,8,k6),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:y(n.item.artist)},null,8,x6)])):ee("",!0),n.item.date_released?(x(),L("p",T6,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.release-date"))},null,8,A6),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,O6)])):n.item.year?(x(),L("p",$6,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.year"))},null,8,N6),u("span",{class:"title is-6",textContent:y(n.item.year)},null,8,I6)])):ee("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.tracks"))},null,8,P6),u("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,L6)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.duration"))},null,8,R6),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,D6)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.type"))},null,8,M6),u("span",{class:"title is-6",textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,F6)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.added-on"))},null,8,V6),u("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,H6)])])]),u("footer",U6,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[z(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add"))},null,8,j6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[z(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add-next"))},null,8,B6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[z(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.play"))},null,8,q6)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):ee("",!0)]),_:1})}const fd=ue(p6,[["render",W6]]),oy={load(e){return Promise.all([W.library_album(e.params.id),W.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new xe(t[1].data,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),e.tracks.indices.length<2&&e.tracks.group()}},G6={name:"PageAlbum",components:{ContentWithHero:md,CoverArtwork:vs,ListTracks:jn,ModalDialogAlbum:fd},beforeRouteEnter(e,t,n){oy.load(e).then(r=>{n(s=>oy.set(s,r))})},data(){return{album:{},show_details_modal:!1,tracks:new xe}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){W.player_play_uri(this.album.uri,!0)}}},K6=["textContent"],X6={class:"subtitle is-6 has-text-link"},Y6=["textContent"],Z6={class:"buttons fd-is-centered-mobile mt-5"},J6=["textContent"],Q6=["textContent"];function e5(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),c=$("modal-dialog-album"),d=$("content-with-hero");return x(),L("div",null,[z(d,null,{"heading-left":D(()=>[u("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,K6),u("h2",X6,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:y(s.album.artist)},null,8,Y6)]),u("div",Z6,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.album.shuffle"))},null,8,J6)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":D(()=>[z(a,{url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.album.track-count",{count:s.album.track_count}))},null,8,Q6),z(l,{items:s.tracks,uris:s.album.uri},null,8,["items","uris"]),z(c,{item:s.album,show:s.show_details_modal,onClose:t[4]||(t[4]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const t5=ue(G6,[["render",e5]]),n5={name:"ModalDialogTrackSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},r5={key:0,class:"modal is-active"},s5={class:"modal-content"},o5={class:"card"},i5={class:"card-content"},a5=["textContent"],l5=["textContent"],c5={class:"content is-small"},u5=["textContent"],d5=["textContent"],m5=["textContent"],f5=["textContent"],p5=["textContent"],h5=["textContent"],_5=["textContent"],g5=["textContent"],y5=["textContent"],v5=["textContent"],b5=["textContent"],z5=["textContent"],C5={class:"card-footer"},S5=["textContent"],E5=["textContent"],w5=["textContent"];function k5(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",r5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",s5,[u("div",o5,[u("div",i5,[u("p",{class:"title is-4",textContent:y(n.item.name)},null,8,a5),u("p",{class:"subtitle",textContent:y(n.item.artists[0].name)},null,8,l5),u("div",c5,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album"))},null,8,u5),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:y(n.item.album.name)},null,8,d5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album-artist"))},null,8,m5),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:y(n.item.artists[0].name)},null,8,f5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.release-date"))},null,8,p5),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.album.release_date))},null,8,h5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.position"))},null,8,_5),u("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,g5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.duration"))},null,8,y5),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.duration_ms))},null,8,v5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.path"))},null,8,b5),u("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,z5)])])]),u("footer",C5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add"))},null,8,S5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add-next"))},null,8,E5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.play"))},null,8,w5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const x5=ue(n5,[["render",k5]]),T5={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:x5},props:{context_uri:{default:"",type:String},items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){e.is_playable&&W.player_play_uri(this.context_uri||e.uri,!1,e.position||0)}}},A5=["onClick"],O5=["textContent"],$5=["textContent"],N5=["textContent"],I5={key:0,class:"subtitle is-7"},P5=["textContent"],L5=["textContent"],R5={class:"media-right"},D5=["onClick"];function M5(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-track-spotify");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>{var c;return x(),L("div",{key:l.id,class:"media is-align-items-center"},[u("div",{class:Ce(["media-content is-clipped",{"is-clickable":l.is_playable,"fd-is-not-allowed":!l.is_playable}]),onClick:d=>o.play(l)},[u("h1",{class:Ce(["title is-6",{"has-text-grey-light":!l.is_playable}]),textContent:y(l.name)},null,10,O5),u("h2",{class:Ce(["subtitle is-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:y(l.artists[0].name)},null,10,$5),u("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.album.name)},null,8,N5),l.is_playable?ee("",!0):(x(),L("h2",I5,[t[1]||(t[1]=Kt(" (")),u("span",{textContent:y(e.$t("list.spotify.not-playable-track"))},null,8,P5),(c=l.restrictions)!=null&&c.reason?(x(),L("span",{key:0,textContent:y(e.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,L5)):ee("",!0),t[2]||(t[2]=Kt(") "))]))],10,A5),u("div",R5,[u("a",{onClick:wt(d=>o.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,D5)])])}),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Yc=ue(T5,[["render",M5]]),F5={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:vs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{artwork_visible:!1}},methods:{artwork_error(){this.artwork_visible=!1},artwork_loaded(){this.artwork_visible=!0},artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""},open(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},V5={key:0,class:"modal is-active"},H5={class:"modal-content"},U5={class:"card"},j5={class:"card-content"},B5={class:"title is-4"},q5=["textContent"],W5={class:"content is-small"},G5=["textContent"],K5=["textContent"],X5=["textContent"],Y5=["textContent"],Z5=["textContent"],J5=["textContent"],Q5={class:"card-footer"},eF=["textContent"],tF=["textContent"],nF=["textContent"];function rF(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",V5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",H5,[u("div",U5,[u("div",j5,[z(i,{url:o.artwork_url(n.item),artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:o.artwork_loaded,onError:o.artwork_error},null,8,["url","artist","album","onLoad","onError"]),u("p",B5,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open&&o.open(...l)),textContent:y(n.item.name)},null,8,q5)]),u("div",W5,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.album-artist"))},null,8,G5),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:y(n.item.artists[0].name)},null,8,K5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.release-date"))},null,8,X5),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.release_date))},null,8,Y5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.type"))},null,8,Z5),u("span",{class:"title is-6",textContent:y(n.item.album_type)},null,8,J5)])])]),u("footer",Q5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>o.queue_add&&o.queue_add(...l))},[z(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add"))},null,8,eF)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[z(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add-next"))},null,8,tF)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.play&&o.play(...l))},[z(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.play"))},null,8,nF)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):ee("",!0)]),_:1})}const zC=ue(F5,[["render",rF]]),iy={load(e){const t=new Pr;return t.setAccessToken(Ht().spotify.webapi_token),t.getAlbum(e.params.id,{market:Ht().spotify.webapi_country})},set(e,t){e.album=t}},sF={name:"PageAlbumSpotify",components:{ContentWithHero:md,CoverArtwork:vs,ListTracksSpotify:Yc,ModalDialogAlbumSpotify:zC},beforeRouteEnter(e,t,n){iy.load(e).then(r=>{n(s=>iy.set(s,r))})},setup(){return{servicesStore:Ht()}},data(){return{album:{artists:[{}],tracks:{}},show_details_modal:!1}},computed:{tracks(){const{album:e}=this;return e.tracks.total?e.tracks.items.map(t=>({...t,album:e})):{}}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},play(){this.show_details_modal=!1,W.player_play_uri(this.album.uri,!0)}}},oF=["textContent"],iF={class:"subtitle is-6 has-text-link"},aF=["textContent"],lF={class:"buttons fd-is-centered-mobile mt-5"},cF=["textContent"],uF=["textContent"];function dF(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks-spotify"),c=$("modal-dialog-album-spotify"),d=$("content-with-hero");return x(),L("div",null,[z(d,null,{"heading-left":D(()=>[u("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,oF),u("h2",iF,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:y(s.album.artists[0].name)},null,8,aF)]),u("div",lF,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.spotify.album.shuffle"))},null,8,cF)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":D(()=>[z(a,{url:o.artwork_url(s.album),artist:s.album.artists[0].name,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,uF),z(l,{items:o.tracks,context_uri:s.album.uri},null,8,["items","context_uri"]),z(c,{item:s.album,show:s.show_details_modal,onClose:t[4]||(t[4]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const mF=ue(sF,[["render",dF]]),fF={name:"ContentWithHeading",data(){return{options_visible:!1}},computed:{icon_name(){return this.options_visible?"chevron-up":"chevron-down"},position(){return{hash:this.options_visible?"#top":"#app",query:this.$route.query}}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options))},methods:{onElementObserved(e){e.forEach(({isIntersecting:t})=>{this.options_visible=t})},visibilityChanged(e){this.options_visible=e}}},pF={class:"section"},hF={class:"container"},_F={class:"columns is-centered"},gF={class:"column is-four-fifths"},yF={key:0},vF={ref:"options",style:{height:"1px"}},bF={class:"buttons is-centered mt-4 mb-2"},zF={id:"top",class:"level is-clipped"},CF={class:"level-left is-flex-shrink-1"},SF={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},EF={class:"level-right has-text-centered-mobile"},wF={class:"mt-4"};function kF(e,t,n,r,s,o){const i=$("mdicon"),a=$("router-link");return x(),L("section",pF,[u("div",hF,[u("div",_F,[u("div",gF,[e.$slots.options?(x(),L("section",yF,[u("div",vF,null,512),At(e.$slots,"options"),u("nav",bF,[z(a,{class:"button is-small is-white",to:o.position},{default:D(()=>[z(i,{class:"icon is-small",name:o.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):ee("",!0),u("div",{class:Ce({"is-full-height":e.$slots.options})},[u("nav",zF,[u("div",CF,[u("div",SF,[u("div",null,[At(e.$slots,"heading-left")])])]),u("div",EF,[At(e.$slots,"heading-right")])]),At(e.$slots,"content"),u("div",wF,[At(e.$slots,"footer")])],2)])])])])}const ot=ue(fF,[["render",kF]]),xF={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.value)}}},methods:{deactivate(){this.active=!1},select(e){this.active=!1,this.$emit("update:value",e.id)}}},TF={class:"dropdown-trigger"},AF=["textContent"],OF={id:"dropdown",class:"dropdown-menu",role:"menu"},$F={class:"dropdown-content"},NF=["onClick","textContent"];function IF(e,t,n,r,s,o){const i=$("mdicon"),a=Bf("click-away");return Ct((x(),L("div",{class:Ce(["dropdown",{"is-active":s.active}])},[u("div",TF,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>s.active=!s.active)},[u("span",{textContent:y(o.option.name)},null,8,AF),z(i,{class:"icon",name:"chevron-down",size:"16"})])]),u("div",OF,[u("div",$F,[(x(!0),L(be,null,Et(n.options,l=>(x(),L("a",{key:l.id,class:Ce(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>o.select(l),textContent:y(l.name)},null,10,NF))),128))])])],2)),[[a,o.deactivate]])}const Mo=ue(xF,[["render",IF]]),PF={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},LF={class:"buttons is-centered mb-4 fd-is-square"};function RF(e,t,n,r,s,o){const i=$("router-link");return x(),L("section",null,[u("nav",LF,[(x(!0),L(be,null,Et(n.indices,a=>(x(),ze(i,{key:a,class:"button is-small",to:{hash:`#index_${a}`,query:e.$route.query}},{default:D(()=>[Kt(y(a),1)]),_:2},1032,["to"]))),128))])])}const Lr=ue(PF,[["render",RF]]),DF={name:"ListAlbums",components:{CoverArtwork:vs,ModalDialog:mp,ModalDialogAlbum:fd},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:Ir()}},data(){return{rss_playlist_to_remove:{},selected_item:{},show_details_modal:!1,show_remove_podcast_modal:!1}},computed:{media_kind_resolved(){return this.media_kind||this.selected_item.media_kind}},methods:{open(e){this.selected_item=e,this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:e.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:e.id}}):this.$router.push({name:"music-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_remove_podcast_dialog(){W.library_album_tracks(this.selected_item.id,{limit:1}).then(({data:e})=>{W.library_track_playlists(e.items[0].id).then(({data:t})=>{[this.rss_playlist_to_remove]=t.items.filter(n=>n.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed(){this.$emit("play-count-changed")},remove_podcast(){this.show_remove_podcast_modal=!1,W.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},MF={key:0,class:"mt-6 mb-5 py-2"},FF=["id","textContent"],VF=["onClick"],HF={key:0,class:"media-left"},UF={class:"media-content is-clickable is-clipped"},jF=["textContent"],BF=["textContent"],qF=["textContent"],WF={class:"media-right"},GF=["onClick"],KF=["textContent"],XF={class:"is-size-7"},YF=["textContent"],ZF=["textContent"];function JF(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("mdicon"),l=$("modal-dialog-album"),c=$("modal-dialog");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,d=>(x(),L(be,{key:d.itemId},[d.isItem?(x(),L("div",{key:1,class:"media is-align-items-center",onClick:m=>o.open(d.item)},[r.settingsStore.show_cover_artwork_in_album_lists?(x(),L("div",HF,[z(i,{url:d.item.artwork_url,artist:d.item.artist,album:d.item.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])])):ee("",!0),u("div",UF,[u("div",null,[u("h1",{class:"title is-6",textContent:y(d.item.name)},null,8,jF),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(d.item.artist)},null,8,BF),d.item.date_released&&d.item.media_kind==="music"?(x(),L("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:y(e.$filters.date(d.item.date_released))},null,8,qF)):ee("",!0)])]),u("div",WF,[u("a",{onClick:wt(m=>o.open_dialog(d.item),["prevent","stop"])},[z(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,GF)])],8,VF)):(x(),L("div",MF,[u("span",{id:`index_${d.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(d.index)},null,8,FF)]))],64))),128)),(x(),ze(hr,{to:"#app"},[z(l,{item:s.selected_item,media_kind:n.media_kind,show:s.show_details_modal,onClose:t[0]||(t[0]=d=>s.show_details_modal=!1),onRemovePodcast:t[1]||(t[1]=d=>o.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=d=>o.play_count_changed())},null,8,["item","media_kind","show"]),z(c,{close_action:e.$t("page.podcast.cancel"),delete_action:e.$t("page.podcast.remove"),show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onClose:t[3]||(t[3]=d=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":D(()=>[u("p",{textContent:y(e.$t("list.albums.info-1"))},null,8,KF),u("p",XF,[t[4]||(t[4]=Kt(" (")),u("span",{textContent:y(e.$t("list.albums.info-2"))},null,8,YF),u("b",{textContent:y(s.rss_playlist_to_remove.name)},null,8,ZF),t[5]||(t[5]=Kt(") "))])]),_:1},8,["close_action","delete_action","show","title","onDelete"])]))],64)}const Xn=ue(DF,[["render",JF]]),QF={name:"TabsMusic",setup(){return{servicesStore:Ht()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},eV={class:"section fd-tabs-section"},tV={class:"container"},nV={class:"columns is-centered"},rV={class:"column is-four-fifths"},sV={class:"tabs is-centered is-small"},oV=["onClick","onKeypress"],iV=["textContent"],aV=["onClick","onKeypress"],lV=["textContent"],cV=["onClick","onKeypress"],uV=["textContent"],dV=["onClick","onKeypress"],mV=["textContent"],fV=["onClick","onKeypress"],pV=["textContent"],hV=["onClick","onKeypress"],_V=["textContent"];function gV(e,t,n,r,s,o){const i=$("mdicon"),a=$("router-link");return x(),L("section",eV,[u("div",tV,[u("div",nV,[u("div",rV,[u("div",sV,[u("ul",null,[z(a,{to:{name:"music-history"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"history",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.history"))},null,8,iV)],40,oV)],2)]),_:1}),z(a,{to:{name:"music-artists"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.artists"))},null,8,lV)],40,aV)],2)]),_:1}),z(a,{to:{name:"music-albums"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.albums"))},null,8,uV)],40,cV)],2)]),_:1}),z(a,{to:{name:"music-genres"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.genres"))},null,8,mV)],40,dV)],2)]),_:1}),z(a,{to:{name:"music-composers"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.composers"))},null,8,pV)],40,fV)],2)]),_:1}),o.spotify_enabled?(x(),ze(a,{key:0,to:{name:"music-spotify"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.spotify"))},null,8,_V)],40,hV)],2)]),_:1})):ee("",!0)])])])])])])}const Kr=ue(QF,[["render",gV]]),ay={load(e){return W.library_albums("music")},set(e,t){e.albums_list=new xe(t.data)}},yV={name:"PageAlbums",components:{ContentWithHeading:ot,ControlDropdown:Mo,IndexButtonList:Lr,ListAlbums:Xn,TabsMusic:Kr},beforeRouteEnter(e,t,n){ay.load(e).then(r=>{n(s=>ay.set(s,r))})},setup(){return{uiStore:Bn(),servicesStore:Ht()}},data(){return{albums_list:new xe,groupings:[{id:1,name:this.$t("page.albums.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.albums.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("page.albums.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("page.albums.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("page.albums.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_singles:{get(){return this.uiStore.hide_singles},set(e){this.uiStore.hide_singles=e}},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.albums_sort},set(e){this.uiStore.albums_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},vV={class:"fd-page-with-tabs"},bV={class:"columns"},zV={class:"column"},CV=["textContent"],SV={class:"field"},EV={class:"control"},wV=["textContent"],kV=["textContent"],xV={key:0,class:"field"},TV={class:"control"},AV=["textContent"],OV=["textContent"],$V={class:"column"},NV=["textContent"],IV=["textContent"],PV=["textContent"];function LV(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),c=$("list-albums"),d=$("content-with-heading");return x(),L("div",vV,[z(i),z(d,null,{options:D(()=>[z(a,{indices:o.albums.indices},null,8,["indices"]),u("div",bV,[u("div",zV,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.filter"))},null,8,CV),u("div",SV,[u("div",EV,[Ct(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[mr,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:y(e.$t("page.albums.hide-singles"))},null,8,wV)]),u("p",{class:"help",textContent:y(e.$t("page.albums.hide-singles-help"))},null,8,kV)]),o.spotify_enabled?(x(),L("div",xV,[u("div",TV,[Ct(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[mr,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.albums.hide-spotify"))},null,8,AV)]),u("p",{class:"help",textContent:y(e.$t("page.albums.hide-spotify-help"))},null,8,OV)])):ee("",!0)]),u("div",$V,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.sort.title"))},null,8,NV),z(l,{value:o.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=m=>o.selected_grouping_id=m),options:s.groupings},null,8,["value","options"])])])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.albums.title"))},null,8,IV),u("p",{class:"heading",textContent:y(e.$t("page.albums.count",{count:o.albums.count}))},null,8,PV)]),"heading-right":D(()=>t[3]||(t[3]=[])),content:D(()=>[z(c,{items:o.albums},null,8,["items"])]),_:1})])}const RV=ue(yV,[["render",LV]]),DV={name:"ModalDialogArtist",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.item.id}})},play(){this.$emit("close"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},MV={key:0,class:"modal is-active"},FV={class:"modal-content"},VV={class:"card"},HV={class:"card-content"},UV={class:"title is-4"},jV=["textContent"],BV={class:"content is-small"},qV=["textContent"],WV=["textContent"],GV=["textContent"],KV=["textContent"],XV=["textContent"],YV=["textContent"],ZV=["textContent"],JV=["textContent"],QV={class:"card-footer"},e7=["textContent"],t7=["textContent"],n7=["textContent"];function r7(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",MV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",FV,[u("div",VV,[u("div",HV,[u("p",UV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,jV)]),u("div",BV,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.albums"))},null,8,qV),u("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,WV)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.tracks"))},null,8,GV),u("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,KV)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.type"))},null,8,XV),u("span",{class:"title is-6",textContent:y(e.$t(`data.kind.${n.item.data_kind}`))},null,8,YV)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.added-on"))},null,8,ZV),u("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,JV)])])]),u("footer",QV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add"))},null,8,e7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add-next"))},null,8,t7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.play"))},null,8,n7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const pd=ue(DV,[["render",r7]]),ly={load(e){return Promise.all([W.library_artist(e.params.id),W.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new xe(t[1].data)}},s7={name:"PageArtist",components:{ContentWithHeading:ot,ControlDropdown:Mo,ListAlbums:Xn,ModalDialogArtist:pd},beforeRouteEnter(e,t,n){ly.load(e).then(r=>{n(s=>ly.set(s,r))})},setup(){return{servicesStore:Ht(),uiStore:Bn()}},data(){return{albums_list:new xe,artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("page.artist.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}],show_details_modal:!1}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artist_albums_sort},set(e){this.uiStore.artist_albums_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},track_count(){return[...this.albums].reduce((e,t)=>e+(t.isItem?t.item.track_count:0),0)}},methods:{open_tracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){W.player_play_uri(this.albums.items.map(e=>e.uri).join(),!0)}}},o7={class:"columns"},i7={class:"column"},a7=["textContent"],l7={key:0,class:"field"},c7={class:"control"},u7=["textContent"],d7=["textContent"],m7={class:"column"},f7=["textContent"],p7=["textContent"],h7={class:"buttons is-centered"},_7=["textContent"],g7={class:"heading has-text-centered-mobile"},y7=["textContent"],v7=["textContent"];function b7(e,t,n,r,s,o){const i=$("control-dropdown"),a=$("mdicon"),l=$("list-albums"),c=$("modal-dialog-artist"),d=$("content-with-heading");return x(),L("div",null,[z(d,null,{options:D(()=>[u("div",o7,[u("div",i7,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,a7),o.spotify_enabled?(x(),L("div",l7,[u("div",c7,[Ct(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[mr,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,u7)]),u("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,d7)])):ee("",!0)]),u("div",m7,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,f7),z(i,{value:o.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=m=>o.selected_grouping_id=m),options:s.groupings},null,8,["value","options"])])])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,p7)]),"heading-right":D(()=>[u("div",h7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[z(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...m)=>o.play&&o.play(...m))},[z(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,_7)])])]),content:D(()=>[u("p",g7,[u("span",{textContent:y(e.$t("page.artist.album-count",{count:o.albums.count}))},null,8,y7),t[6]||(t[6]=u("span",null," | ",-1)),u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:y(e.$t("page.artist.track-count",{count:o.track_count}))},null,8,v7)]),z(l,{items:o.albums},null,8,["items"]),z(c,{item:s.artist,show:s.show_details_modal,onClose:t[5]||(t[5]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const z7=ue(s7,[["render",b7]]),C7={name:"ListAlbumsSpotify",components:{CoverArtwork:vs,ModalDialogAlbumSpotify:zC},props:{items:{required:!0,type:Object}},setup(){return{settingsStore:Ir()}},data(){return{selected_item:{},show_details_modal:!1}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},S7=["onClick"],E7={key:0,class:"media-left is-clickable"},w7={class:"media-content is-clickable is-clipped"},k7=["textContent"],x7=["textContent"],T7=["textContent"],A7={class:"media-right"},O7=["onClick"];function $7(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("mdicon"),l=$("modal-dialog-album-spotify");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,c=>{var d;return x(),L("div",{key:c.id,class:"media is-align-items-center",onClick:m=>o.open(c)},[r.settingsStore.show_cover_artwork_in_album_lists?(x(),L("div",E7,[z(i,{url:o.artwork_url(c),artist:c.artist,album:c.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])])):ee("",!0),u("div",w7,[u("h1",{class:"title is-6",textContent:y(c.name)},null,8,k7),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y((d=c.artists[0])==null?void 0:d.name)},null,8,x7),u("h2",{class:"subtitle is-7 has-text-grey",textContent:y([c.album_type,e.$filters.date(c.release_date)].join(", "))},null,8,T7)]),u("div",A7,[u("a",{onClick:wt(m=>o.open_dialog(c),["prevent","stop"])},[z(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,O7)])],8,S7)}),128)),(x(),ze(hr,{to:"#app"},[z(l,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=c=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Xa=ue(C7,[["render",$7]]),N7={name:"ModalDialogArtistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.id}})},play(){this.$emit("close"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},I7={key:0,class:"modal is-active"},P7={class:"modal-content"},L7={class:"card"},R7={class:"card-content"},D7={class:"title is-4"},M7=["textContent"],F7={class:"content is-small"},V7=["textContent"],H7=["textContent"],U7=["textContent"],j7=["textContent"],B7={class:"card-footer"},q7=["textContent"],W7=["textContent"],G7=["textContent"];function K7(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",I7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",P7,[u("div",L7,[u("div",R7,[u("p",D7,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,M7)]),u("div",F7,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.popularity"))},null,8,V7),u("span",{class:"title is-6",textContent:y([n.item.popularity,n.item.followers.total].join(" / "))},null,8,H7)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.genres"))},null,8,U7),u("span",{class:"title is-6",textContent:y(n.item.genres.join(", "))},null,8,j7)])])]),u("footer",B7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add"))},null,8,q7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add-next"))},null,8,W7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.play"))},null,8,G7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const CC=ue(N7,[["render",K7]]);function X7(e){return e.scrollHeight}function Y7(e){return e.scrollWidth}function Z7(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function J7(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const Q7=u("div",{class:"loading"},"Loading...",-1),e9=u("div",{class:"no-more"},"No more.",-1),t9=u("div",{class:"no-results"},"No results.",-1),n9=u("div",{class:"error"},"Error.",-1),th=gs({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(e,{emit:t}){const n=e,r=ar();let s=ar("loading"),o=ar(n.isInitial),i=0;function a(){Ro(()=>{var g,b;n.position==="top"?Z7((g=n.container)!=null?g:document.documentElement,i):n.position==="left"&&J7((b=n.container)!=null?b:document.documentElement,i)})}function l(g,b){return g===0?o.value?(d(),"no-results"):(c(),"no-more"):g!==void 0&&b!==void 0&&g<b?(c(),"no-more"):(o.value=!1,a(),v(),"loading")}function c(){o.value=!1,h("no-more"),a()}function d(){o.value=!1,h("no-results"),a()}function m(){o.value=!1,h("error"),a()}function f(){o.value=!0,h("loading"),v()}function p(){h("loading"),v()}function h(g){s.value=g}function _(){r.value&&S.unobserve(r.value)}function v(){r.value&&S.observe(r.value)}function C(){return new IntersectionObserver(([g])=>{var b,E;g.isIntersecting&&(n.position==="top"?i=X7((b=n.container)!=null?b:document.documentElement):n.position==="left"&&(i=Y7((E=n.container)!=null?E:document.documentElement)),_(),n.load({loaded:l,noMore:c,noResults:d,error:m},{isFirstLoad:o.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let S;return typeof IntersectionObserver<"u"&&gv(()=>{S&&_(),S=C(),v()},{flush:"post"}),Zn(()=>n.isInitial,g=>{g&&f()}),Zn(o,g=>{g||t("update:isInitial",!1)}),(g,b)=>(x(),L("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[Fn(s)==="loading"?At(g.$slots,"loading",si(ii({key:0},{isFirstLoad:Fn(o)})),()=>[Q7]):Fn(s)==="no-more"?At(g.$slots,"no-more",si(ii({key:1},{retry:p})),()=>[e9]):Fn(s)==="no-results"?At(g.$slots,"no-results",si(ii({key:2},{retry:p})),()=>[t9]):Fn(s)==="error"?At(g.$slots,"error",si(ii({key:3},{retry:p})),()=>[n9]):ee("",!0)],512))}}),gf=50,cy={load(e){const t=new Pr;return t.setAccessToken(Ht().spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{include_groups:"album,single",limit:gf,market:Ht().spotify.webapi_country,offset:0})])},set(e,t){e.artist=t.shift(),e.albums=[],e.total=0,e.offset=0,e.append_albums(t.shift())}},r9={name:"PageArtistSpotify",components:{ContentWithHeading:ot,ListAlbumsSpotify:Xa,ModalDialogArtistSpotify:CC,VueEternalLoading:th},beforeRouteEnter(e,t,n){cy.load(e).then(r=>{n(s=>cy.set(s,r))})},setup(){return{servicesStore:Ht()}},data(){return{albums:[],artist:{},offset:0,show_details_modal:!1,total:0}},methods:{append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new Pr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:gf,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,gf)})},play(){this.show_album_details_modal=!1,W.player_play_uri(this.artist.uri,!0)}}},s9=["textContent"],o9={class:"buttons is-centered"},i9=["textContent"],a9=["textContent"],l9={class:"columns is-centered"},c9={class:"column has-text-centered"};function u9(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-albums-spotify"),l=$("VueEternalLoading"),c=$("modal-dialog-artist-spotify"),d=$("content-with-heading");return x(),L("div",null,[z(d,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,s9)]),"heading-right":D(()=>[u("div",o9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.spotify.artist.shuffle"))},null,8,i9)])])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,a9),z(a,{items:s.albums},null,8,["items"]),s.offset<s.total?(x(),ze(l,{key:0,load:o.load_next},{loading:D(()=>[u("div",l9,[u("div",c9,[z(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":D(()=>t[3]||(t[3]=[u("br",null,null,-1)])),"no-results":D(()=>t[4]||(t[4]=[u("br",null,null,-1)])),_:1},8,["load"])):ee("",!0),z(c,{item:s.artist,show:s.show_details_modal,onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const d9=ue(r9,[["render",u9]]),uy={load(e){return Promise.all([W.library_artist(e.params.id),W.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new xe(t[1].data.tracks)}},m9={name:"PageArtistTracks",components:{ContentWithHeading:ot,ControlDropdown:Mo,IndexButtonList:Lr,ListTracks:jn,ModalDialogArtist:pd},beforeRouteEnter(e,t,n){uy.load(e).then(r=>{n(s=>uy.set(s,r))})},setup(){return{servicesStore:Ht(),uiStore:Bn()}},data(){return{artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.artist.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new xe}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artist_tracks_sort},set(e){this.uiStore.artist_tracks_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},track_uris(){return this.tracks_list.items.map(e=>e.uri).join()},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.tracks_list.group(e)}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},play(){W.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},f9={class:"columns"},p9={class:"column"},h9=["textContent"],_9={key:0,class:"field"},g9={class:"control"},y9=["textContent"],v9=["textContent"],b9={class:"column"},z9=["textContent"],C9=["textContent"],S9={class:"buttons is-centered"},E9=["textContent"],w9={class:"heading has-text-centered-mobile"},k9=["textContent"],x9=["textContent"];function T9(e,t,n,r,s,o){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-artist"),m=$("content-with-heading");return x(),L("div",null,[z(m,null,{options:D(()=>[z(i,{indices:o.tracks.indices},null,8,["indices"]),u("div",f9,[u("div",p9,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,h9),o.spotify_enabled?(x(),L("div",_9,[u("div",g9,[Ct(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[mr,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,y9)]),u("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,v9)])):ee("",!0)]),u("div",b9,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,z9),z(a,{value:o.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=f=>o.selected_grouping_id=f),options:s.groupings},null,8,["value","options"])])])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,C9)]),"heading-right":D(()=>[u("div",S9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},[z(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>o.play&&o.play(...f))},[z(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,E9)])])]),content:D(()=>[u("p",w9,[u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:y(e.$t("page.artist.album-count",{count:o.album_count}))},null,8,k9),t[6]||(t[6]=u("span",null," | ",-1)),u("span",{textContent:y(e.$t("page.artist.track-count",{count:o.tracks.count}))},null,8,x9)]),z(c,{items:o.tracks,uris:o.track_uris},null,8,["items","uris"]),z(d,{item:s.artist,show:s.show_details_modal,onClose:t[5]||(t[5]=f=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const A9=ue(m9,[["render",T9]]),O9={name:"ListArtists",components:{ModalDialogArtist:pd},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=e;const t=e.media_kind==="audiobook"?"audiobooks-artist":"music-artist";this.$router.push({name:t,params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},$9={key:0,class:"mt-6 mb-5 py-2"},N9={class:"media-content is-clipped"},I9=["id","textContent"],P9=["onClick"],L9={class:"media-content is-clickable is-clipped"},R9=["textContent"],D9={class:"media-right"},M9=["onClick"];function F9(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-artist");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>(x(),L(be,{key:l.itemId},[l.isItem?(x(),L("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open(l.item)},[u("div",L9,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,R9)]),u("div",D9,[u("a",{onClick:wt(c=>o.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,M9)])],8,P9)):(x(),L("div",$9,[u("div",N9,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,I9)])]))],64))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Zc=ue(O9,[["render",F9]]),dy={load(e){return W.library_artists("music")},set(e,t){e.artists_list=new xe(t.data)}},V9={name:"PageArtists",components:{ContentWithHeading:ot,ControlDropdown:Mo,IndexButtonList:Lr,ListArtists:Zc,TabsMusic:Kr},beforeRouteEnter(e,t,n){dy.load(e).then(r=>{n(s=>dy.set(s,r))})},setup(){return{servicesStore:Ht(),uiStore:Bn()}},data(){return{artists_list:new xe,groupings:[{id:1,name:this.$t("page.artists.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.artists.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]}},computed:{artists(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e)},hide_singles:{get(){return this.uiStore.hide_singles},set(e){this.uiStore.hide_singles=e}},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artists_sort},set(e){this.uiStore.artists_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},H9={class:"fd-page-with-tabs"},U9={class:"columns"},j9={class:"column"},B9=["textContent"],q9={class:"field"},W9={class:"control"},G9=["textContent"],K9=["textContent"],X9={key:0,class:"field"},Y9={class:"control"},Z9=["textContent"],J9=["textContent"],Q9={class:"column"},eH=["textContent"],tH=["textContent"],nH=["textContent"];function rH(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),c=$("list-artists"),d=$("content-with-heading");return x(),L("div",H9,[z(i),z(d,null,{options:D(()=>[z(a,{indices:o.artists.indices},null,8,["indices"]),u("div",U9,[u("div",j9,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.filter"))},null,8,B9),u("div",q9,[u("div",W9,[Ct(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[mr,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:y(e.$t("page.artists.hide-singles"))},null,8,G9)]),u("p",{class:"help",textContent:y(e.$t("page.artists.hide-singles-help"))},null,8,K9)]),o.spotify_enabled?(x(),L("div",X9,[u("div",Y9,[Ct(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[mr,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artists.hide-spotify"))},null,8,Z9)]),u("p",{class:"help",textContent:y(e.$t("page.artists.hide-spotify-help"))},null,8,J9)])):ee("",!0)]),u("div",Q9,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.sort.title"))},null,8,eH),z(l,{value:o.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=m=>o.selected_grouping_id=m),options:s.groupings},null,8,["value","options"])])])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.artists.title"))},null,8,tH),u("p",{class:"heading",textContent:y(e.$t("page.artists.count",{count:o.artists.count}))},null,8,nH)]),"heading-right":D(()=>t[3]||(t[3]=[])),content:D(()=>[z(c,{items:o.artists},null,8,["items"])]),_:1})])}const sH=ue(V9,[["render",rH]]),my={load(e){return Promise.all([W.library_album(e.params.id),W.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new xe(t[1].data)}},oH={name:"PageAudiobooksAlbum",components:{ContentWithHero:md,CoverArtwork:vs,ListTracks:jn,ModalDialogAlbum:fd},beforeRouteEnter(e,t,n){my.load(e).then(r=>{n(s=>my.set(s,r))})},data(){return{album:{},show_details_modal:!1,tracks:new xe}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){W.player_play_uri(this.album.uri,!1)}}},iH=["textContent"],aH={class:"subtitle is-6 has-text-link"},lH=["textContent"],cH={class:"buttons fd-is-centered-mobile mt-5"},uH=["textContent"],dH=["textContent"];function mH(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),c=$("modal-dialog-album"),d=$("content-with-hero");return x(),L("div",null,[z(d,null,{"heading-left":D(()=>[u("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,iH),u("h2",aH,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:y(s.album.artist)},null,8,lH)]),u("div",cH,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.audiobooks.album.play"))},null,8,uH)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":D(()=>[z(a,{url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,dH),z(l,{items:s.tracks,show_progress:!0,uris:s.album.uri},null,8,["items","uris"]),z(c,{item:s.album,show:s.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=m=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const fH=ue(oH,[["render",mH]]),pH={name:"TabsAudiobooks"},hH={class:"section fd-tabs-section"},_H={class:"container"},gH={class:"columns is-centered"},yH={class:"column is-four-fifths"},vH={class:"tabs is-centered is-small"},bH=["onClick","onKeypress"],zH=["textContent"],CH=["onClick","onKeypress"],SH=["textContent"],EH=["onClick","onKeypress"],wH=["textContent"];function kH(e,t,n,r,s,o){const i=$("mdicon"),a=$("router-link");return x(),L("section",hH,[u("div",_H,[u("div",gH,[u("div",yH,[u("div",vH,[u("ul",null,[z(a,{to:{name:"audiobooks-artists"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.authors"))},null,8,zH)],40,bH)],2)]),_:1}),z(a,{to:{name:"audiobooks-albums"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,SH)],40,CH)],2)]),_:1}),z(a,{to:{name:"audiobooks-genres"},custom:""},{default:D(({navigate:l,isActive:c})=>[u("li",{class:Ce({"is-active":c})},[u("a",{onClick:l,onKeypress:Mn(l,["enter"])},[z(i,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.genres"))},null,8,wH)],40,EH)],2)]),_:1})])])])])])])}const nh=ue(pH,[["render",kH]]),fy={load(e){return W.library_albums("audiobook")},set(e,t){e.albums=new xe(t.data,{index:{field:"name_sort",type:String}})}},xH={name:"PageAudiobooksAlbums",components:{ContentWithHeading:ot,IndexButtonList:Lr,ListAlbums:Xn,TabsAudiobooks:nh},beforeRouteEnter(e,t,n){fy.load(e).then(r=>{n(s=>fy.set(s,r))})},data(){return{albums:new xe}}},TH={class:"fd-page-with-tabs"},AH=["textContent"],OH=["textContent"];function $H(e,t,n,r,s,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-albums"),c=$("content-with-heading");return x(),L("div",TH,[z(i),z(c,null,{options:D(()=>[z(a,{indices:s.albums.indices},null,8,["indices"])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.albums.title"))},null,8,AH),u("p",{class:"heading",textContent:y(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,OH)]),content:D(()=>[z(l,{items:s.albums},null,8,["items"])]),_:1})])}const NH=ue(xH,[["render",$H]]),py={load(e){return Promise.all([W.library_artist(e.params.id),W.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new xe(t[1].data)}},IH={name:"PageAudiobooksArtist",components:{ContentWithHeading:ot,ListAlbums:Xn,ModalDialogArtist:pd},beforeRouteEnter(e,t,n){py.load(e).then(r=>{n(s=>py.set(s,r))})},data(){return{albums:new xe,artist:{},show_details_modal:!1}},methods:{play(){W.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},PH=["textContent"],LH={class:"buttons is-centered"},RH=["textContent"],DH=["textContent"];function MH(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-artist"),c=$("content-with-heading");return x(),L("div",null,[z(c,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.artist.name)},null,8,PH)]),"heading-right":D(()=>[u("div",LH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.audiobooks.artist.play"))},null,8,RH)])])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.audiobooks.artist.album-count",{count:s.artist.album_count}))},null,8,DH),z(a,{items:s.albums},null,8,["items"]),z(l,{item:s.artist,show:s.show_details_modal,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const FH=ue(IH,[["render",MH]]),hy={load(e){return W.library_artists("audiobook")},set(e,t){e.artists=new xe(t.data,{index:{field:"name_sort",type:String}})}},VH={name:"PageAudiobooksArtists",components:{ContentWithHeading:ot,IndexButtonList:Lr,ListArtists:Zc,TabsAudiobooks:nh},beforeRouteEnter(e,t,n){hy.load(e).then(r=>{n(s=>hy.set(s,r))})},data(){return{artists:new xe}}},HH={class:"fd-page-with-tabs"},UH=["textContent"],jH=["textContent"];function BH(e,t,n,r,s,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-artists"),c=$("content-with-heading");return x(),L("div",HH,[z(i),z(c,null,{options:D(()=>[z(a,{indices:s.artists.indices},null,8,["indices"])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.artists.title"))},null,8,UH),u("p",{class:"heading",textContent:y(e.$t("page.audiobooks.artists.count",{count:s.artists.count}))},null,8,jH)]),"heading-right":D(()=>t[0]||(t[0]=[])),content:D(()=>[z(l,{items:s.artists},null,8,["items"])]),_:1})])}const qH=ue(VH,[["render",BH]]),WH={name:"ModalDialogGenre",props:{item:{required:!0,type:Object},media_kind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{expression(){return`genre is "${this.item.name}" and media_kind is ${this.media_kind}`}},methods:{open(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.name},query:{media_kind:this.media_kind}})},play(){this.$emit("close"),W.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),W.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),W.queue_expression_add_next(this.expression)}}},GH={key:0,class:"modal is-active"},KH={class:"modal-content"},XH={class:"card"},YH={class:"card-content"},ZH={class:"title is-4"},JH=["textContent"],QH={class:"content is-small"},eU=["textContent"],tU=["textContent"],nU=["textContent"],rU=["textContent"],sU=["textContent"],oU=["textContent"],iU={class:"card-footer"},aU=["textContent"],lU=["textContent"],cU=["textContent"];function uU(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",GH,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",KH,[u("div",XH,[u("div",YH,[u("p",ZH,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,JH)]),u("div",QH,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.genre.albums"))},null,8,eU),u("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,tU)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.genre.tracks"))},null,8,nU),u("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,rU)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.genre.duration"))},null,8,sU),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,oU)])])]),u("footer",iU,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add"))},null,8,aU)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add-next"))},null,8,lU)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.play"))},null,8,cU)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const rh=ue(WH,[["render",uU]]),dU={name:"ListGenres",components:{ModalDialogGenre:rh},props:{items:{required:!0,type:Object},media_kind:{required:!0,type:String}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"genre-albums",params:{name:e.name},query:{media_kind:this.media_kind}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},mU={key:0,class:"mt-6 mb-5 py-2"},fU={class:"media-content is-clipped"},pU=["id","textContent"],hU=["onClick"],_U={class:"media-content is-clickable is-clipped"},gU=["textContent"],yU={class:"media-right"},vU=["onClick"];function bU(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-genre");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>(x(),L(be,{key:l.itemId},[l.isItem?(x(),L("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open(l.item)},[u("div",_U,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,gU)]),u("div",yU,[u("a",{onClick:wt(c=>o.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,vU)])],8,hU)):(x(),L("div",mU,[u("div",fU,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,pU)])]))],64))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,media_kind:n.media_kind,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","media_kind","show"])]))],64)}const SC=ue(dU,[["render",bU]]),_y={load(e){return W.library_genres("audiobook")},set(e,t){e.genres=new xe(t.data.genres,{index:{field:"name_sort",type:String}})}},zU={name:"PageAudiobooksGenres",components:{ContentWithHeading:ot,IndexButtonList:Lr,ListGenres:SC,TabsAudiobooks:nh},beforeRouteEnter(e,t,n){_y.load(e).then(r=>{n(s=>_y.set(s,r))})},data(){return{genres:new xe}}},CU={class:"fd-page-with-tabs"},SU=["textContent"],EU=["textContent"];function wU(e,t,n,r,s,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-genres"),c=$("content-with-heading");return x(),L("div",CU,[z(i),z(c,null,{options:D(()=>[z(a,{indices:s.genres.indices},null,8,["indices"])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,SU),u("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:s.genres.total}))},null,8,EU)]),content:D(()=>[z(l,{items:s.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const kU=ue(zU,[["render",wU]]),xU={name:"ModalDialogComposer",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_albums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})},play(){this.$emit("close"),W.player_play_expression(`composer is "${this.item.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),W.queue_expression_add(`composer is "${this.item.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),W.queue_expression_add_next(`composer is "${this.item.name}" and media_kind is music`)}}},TU={key:0,class:"modal is-active"},AU={class:"modal-content"},OU={class:"card"},$U={class:"card-content"},NU={class:"title is-4"},IU=["textContent"],PU=["textContent"],LU=["textContent"],RU=["textContent"],DU=["textContent"],MU=["textContent"],FU=["textContent"],VU={class:"card-footer"},HU=["textContent"],UU=["textContent"],jU=["textContent"];function BU(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",TU,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",AU,[u("div",OU,[u("div",$U,[u("p",NU,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:y(n.item.name)},null,8,IU)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.composer.albums"))},null,8,PU),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:y(n.item.album_count)},null,8,LU)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.composer.tracks"))},null,8,RU),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>o.open_tracks&&o.open_tracks(...a)),textContent:y(n.item.track_count)},null,8,DU)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.composer.duration"))},null,8,MU),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,FU)])]),u("footer",VU,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add"))},null,8,HU)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add-next"))},null,8,UU)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.play"))},null,8,jU)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const sh=ue(xU,[["render",BU]]),gy={load(e){return Promise.all([W.library_composer(e.params.name),W.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums=new xe(t[1].data.albums)}},qU={name:"PageComposerAlbums",components:{ContentWithHeading:ot,ListAlbums:Xn,ModalDialogComposer:sh},beforeRouteEnter(e,t,n){gy.load(e).then(r=>{n(s=>gy.set(s,r))})},data(){return{albums:new xe,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){W.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},WU=["textContent"],GU={class:"buttons is-centered"},KU=["textContent"],XU={class:"heading has-text-centered-mobile"},YU=["textContent"],ZU=["textContent"];function JU(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-composer"),c=$("content-with-heading");return x(),L("div",null,[z(c,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.composer.name)},null,8,WU)]),"heading-right":D(()=>[u("div",GU,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[z(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,KU)])])]),content:D(()=>[u("p",XU,[u("span",{textContent:y(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,YU),t[4]||(t[4]=u("span",null," | ",-1)),u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>o.open_tracks&&o.open_tracks(...d)),textContent:y(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,ZU)]),z(a,{items:s.albums},null,8,["items"]),z(l,{item:s.composer,show:s.show_details_modal,onClose:t[3]||(t[3]=d=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const QU=ue(qU,[["render",JU]]),yy={load(e){return Promise.all([W.library_composer(e.params.name),W.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new xe(t[1].data.tracks)}},ej={name:"PageComposerTracks",components:{ContentWithHeading:ot,ControlDropdown:Mo,IndexButtonList:Lr,ListTracks:jn,ModalDialogComposer:sh},beforeRouteEnter(e,t,n){yy.load(e).then(r=>{n(s=>yy.set(s,r))})},setup(){return{uiStore:Bn()}},data(){return{composer:{},groupings:[{id:1,name:this.$t("page.composer.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.composer.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new xe}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},selected_grouping_id:{get(){return this.uiStore.composer_tracks_sort},set(e){this.uiStore.composer_tracks_sort=e}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},play(){W.player_play_expression(this.expression,!0)}}},tj={class:"columns"},nj={class:"column"},rj=["textContent"],sj=["textContent"],oj={class:"buttons is-centered"},ij=["textContent"],aj={class:"heading has-text-centered-mobile"},lj=["textContent"],cj=["textContent"];function uj(e,t,n,r,s,o){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-composer"),m=$("content-with-heading");return x(),L("div",null,[z(m,null,{options:D(()=>[z(i,{indices:o.tracks.indices},null,8,["indices"]),u("div",tj,[u("div",nj,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,rj),z(a,{value:o.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>o.selected_grouping_id=f),options:s.groupings},null,8,["value","options"])])])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.composer.name)},null,8,sj)]),"heading-right":D(()=>[u("div",oj,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[z(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>o.play&&o.play(...f))},[z(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,ij)])])]),content:D(()=>[u("p",aj,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_albums&&o.open_albums(...f)),textContent:y(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,lj),t[5]||(t[5]=u("span",null," | ",-1)),u("span",{textContent:y(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,cj)]),z(c,{items:o.tracks,expression:o.expression},null,8,["items","expression"]),z(d,{item:s.composer,show:s.show_details_modal,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const dj=ue(ej,[["render",uj]]),mj={name:"ListComposers",components:{ModalDialogComposer:sh},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=e,this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},fj={key:0,class:"mt-6 mb-5 py-2"},pj={class:"media-content is-clipped"},hj=["id","textContent"],_j=["onClick"],gj={class:"media-content is-clickable is-clipped"},yj=["textContent"],vj={class:"media-right"},bj=["onClick"];function zj(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-composer");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>(x(),L(be,{key:l.itemId},[l.isItem?(x(),L("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open(l.item)},[u("div",gj,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,yj)]),u("div",vj,[u("a",{onClick:wt(c=>o.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,bj)])],8,_j)):(x(),L("div",fj,[u("div",pj,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,hj)])]))],64))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const yf=ue(mj,[["render",zj]]),vy={load(e){return W.library_composers("music")},set(e,t){e.composers=new xe(t.data,{index:{field:"name_sort",type:String}})}},Cj={name:"PageComposers",components:{ContentWithHeading:ot,IndexButtonList:Lr,ListComposers:yf,TabsMusic:Kr},beforeRouteEnter(e,t,n){vy.load(e).then(r=>{n(s=>vy.set(s,r))})},data(){return{composers:new xe}}},Sj={class:"fd-page-with-tabs"},Ej=["textContent"],wj=["textContent"];function kj(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-composers"),c=$("content-with-heading");return x(),L("div",Sj,[z(i),z(c,null,{options:D(()=>[z(a,{indices:s.composers.indices},null,8,["indices"])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.composers.title"))},null,8,Ej),u("p",{class:"heading",textContent:y(e.$t("page.composers.count",{count:s.composers.total}))},null,8,wj)]),content:D(()=>[z(l,{items:s.composers},null,8,["items"])]),_:1})])}const xj=ue(Cj,[["render",kj]]),Tj={name:"ModalDialogDirectory",props:{item:{required:!0,type:String},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),W.player_play_expression(`path starts with "${this.item}" order by path asc`,!1)},queue_add(){this.$emit("close"),W.queue_expression_add(`path starts with "${this.item}" order by path asc`)},queue_add_next(){this.$emit("close"),W.queue_expression_add_next(`path starts with "${this.item}" order by path asc`)}}},Aj={key:0,class:"modal is-active"},Oj={class:"modal-content"},$j={class:"card"},Nj={class:"card-content"},Ij=["textContent"],Pj={class:"card-footer"},Lj=["textContent"],Rj=["textContent"],Dj=["textContent"];function Mj(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",Aj,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Oj,[u("div",$j,[u("div",Nj,[u("p",{class:"title is-4",textContent:y(n.item)},null,8,Ij)]),u("footer",Pj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add"))},null,8,Lj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add-next"))},null,8,Rj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.play"))},null,8,Dj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const EC=ue(Tj,[["render",Mj]]),Fj={name:"ListDirectories",components:{ModalDialogDirectory:EC},props:{items:{required:!0,type:Array}},data(){return{selected_item:"",show_details_modal:!1}},computed:{directories(){var n;const e=[];let t="";return(n=this.$route.query)==null||n.directory.split("/").slice(1,-1).forEach((r,s)=>{t=`${t}/${r}`,e.push({index:s,name:r,path:t})}),e}},methods:{open(e){const t={name:"files"};e.index!==0&&(t.query={directory:e.path}),this.$router.push(t)},open_dialog(e){this.selected_item=e.path,this.show_details_modal=!0},open_parent(){this.open(this.directories.slice(-1).pop())}}},Vj={key:0,class:"media is-align-items-center"},Hj={class:"media-content is-clipped"},Uj={class:"breadcrumb"},jj=["onClick"],Bj=["textContent"],qj={class:"media-right"},Wj=["onClick"],Gj={class:"media-left is-clickable"},Kj={class:"media-content is-clickable is-clipped"},Xj=["textContent"],Yj={class:"media-right"},Zj=["onClick"];function Jj(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-directory");return x(),L(be,null,[e.$route.query.directory?(x(),L("div",Vj,[u("figure",{class:"media-left is-clickable",onClick:t[0]||(t[0]=(...l)=>o.open_parent&&o.open_parent(...l))},[z(i,{class:"icon",name:"chevron-left",size:"16"})]),u("div",Hj,[u("nav",Uj,[u("ul",null,[(x(!0),L(be,null,Et(o.directories,l=>(x(),L("li",{key:l.index},[u("a",{onClick:c=>o.open(l)},[u("span",{textContent:y(l.name)},null,8,Bj)],8,jj)]))),128))])])]),u("div",qj,[At(e.$slots,"actions")])])):ee("",!0),(x(!0),L(be,null,Et(n.items,l=>(x(),L("div",{key:l.path,class:"media is-align-items-center",onClick:c=>o.open(l)},[u("figure",Gj,[z(i,{class:"icon",name:"folder",size:"16"})]),u("div",Kj,[u("h1",{class:"title is-6",textContent:y(l.name)},null,8,Xj)]),u("div",Yj,[u("a",{onClick:wt(c=>o.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Zj)])],8,Wj))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[1]||(t[1]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Qj=ue(Fj,[["render",Jj]]),eB={name:"ModalDialogPlaylist",props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist",params:{id:this.item.id}})},play(){this.$emit("close"),W.player_play_uri(this.uris||this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.uris||this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.uris||this.item.uri)}}},tB={key:0,class:"modal is-active"},nB={class:"modal-content"},rB={class:"card"},sB={class:"card-content"},oB={class:"title is-4"},iB=["textContent"],aB={class:"content is-small"},lB=["textContent"],cB=["textContent"],uB=["textContent"],dB=["textContent"],mB={key:0},fB=["textContent"],pB=["textContent"],hB={key:0,class:"card-footer"},_B=["textContent"],gB=["textContent"],yB=["textContent"];function vB(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",tB,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",nB,[u("div",rB,[u("div",sB,[u("p",oB,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,iB)]),u("div",aB,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.playlist.path"))},null,8,lB),u("span",{class:"title is-6",textContent:y(n.item.path)},null,8,cB)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.playlist.type"))},null,8,uB),u("span",{class:"title is-6",textContent:y(e.$t(`playlist.type.${n.item.type}`))},null,8,dB)]),n.item.folder?ee("",!0):(x(),L("p",mB,[u("span",{class:"heading",textContent:y(e.$t("dialog.playlist.tracks"))},null,8,fB),u("span",{class:"title is-6",textContent:y(n.item.item_count)},null,8,pB)]))])]),n.item.folder?ee("",!0):(x(),L("footer",hB,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add"))},null,8,_B)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add-next"))},null,8,gB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.play"))},null,8,yB)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const wC=ue(eB,[["render",vB]]),bB={name:"ListPlaylists",components:{ModalDialogPlaylist:wC},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{icon_name(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"},open(e){e.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:e.id}}):this.$router.push({name:"playlist",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},zB=["onClick"],CB={class:"media-left is-clickable"},SB={class:"media-content is-clickable is-clipped"},EB=["textContent"],wB={class:"media-right"},kB=["onClick"];function xB(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-playlist");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>(x(),L("div",{key:l.itemId,class:"media is-align-items-center",onClick:c=>o.open(l.item)},[u("figure",CB,[z(i,{class:"icon",name:o.icon_name(l.item),size:"16"},null,8,["name"])]),u("div",SB,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,EB)]),u("div",wB,[u("a",{onClick:wt(c=>o.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,kB)])],8,zB))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Jc=ue(bB,[["render",xB]]),Vl={load(e){return e.query.directory?W.library_files(e.query.directory):Promise.resolve()},set(e,t){t?e.directories=t.data.directories.map(n=>e.transform(n.path)):Ao().directories?e.directories=Ao().directories.map(n=>e.transform(n)):W.config().then(n=>{e.directories=n.data.directories.map(r=>e.transform(r))}),e.playlists=new xe(t==null?void 0:t.data.playlists),e.tracks=new xe(t==null?void 0:t.data.tracks)}},TB={name:"PageFiles",components:{ContentWithHeading:ot,ListDirectories:Qj,ListPlaylists:Jc,ListTracks:jn,ModalDialogDirectory:EC},beforeRouteEnter(e,t,n){Vl.load(e).then(r=>{n(s=>Vl.set(s,r))})},beforeRouteUpdate(e,t,n){Vl.load(e).then(r=>{Vl.set(this,r),n()})},setup(){return{configurationStore:Ao()}},data(){return{directories:[],playlists:new xe,show_details_modal:!1,tracks:new xe}},computed:{current(){var e;return((e=this.$route.query)==null?void 0:e.directory)||"/"},name(){var e;return this.current!=="/"?(e=this.current)==null?void 0:e.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},play_expression(){return`path starts with "${this.current}" order by path asc`}},methods:{play(){W.player_play_expression(this.play_expression,!1)},transform(e){return{name:e.slice(e.lastIndexOf("/")+1),path:e}}}},AB=["textContent"],OB={class:"buttons is-centered"},$B=["textContent"];function NB(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-directories"),l=$("list-playlists"),c=$("list-tracks"),d=$("modal-dialog-directory"),m=$("content-with-heading");return x(),L("div",null,[z(m,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(o.name)},null,8,AB)]),"heading-right":D(()=>[u("div",OB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.files.play"))},null,8,$B)])])]),content:D(()=>[z(a,{items:s.directories},null,8,["items"]),z(l,{items:s.playlists},null,8,["items"]),z(c,{expression:o.play_expression,items:s.tracks,show_icon:!0},null,8,["expression","items"]),z(d,{item:o.current,show:s.show_details_modal,onClose:t[2]||(t[2]=f=>s.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const IB=ue(TB,[["render",NB]]),by={load(e){return Promise.all([W.library_genre(e.params.name,e.query.media_kind),W.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.albums=new xe(t[1].data.albums,{index:{field:"name_sort",type:String}})}},PB={name:"PageGenreAlbums",components:{ContentWithHeading:ot,IndexButtonList:Lr,ListAlbums:Xn,ModalDialogGenre:rh},beforeRouteEnter(e,t,n){by.load(e).then(r=>{n(s=>by.set(s,r))})},data(){return{albums:new xe,genre:{},media_kind:this.$route.query.media_kind,show_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){W.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},LB=["textContent"],RB={class:"buttons is-centered"},DB=["textContent"],MB={class:"heading has-text-centered-mobile"},FB=["textContent"],VB=["textContent"];function HB(e,t,n,r,s,o){const i=$("index-button-list"),a=$("mdicon"),l=$("list-albums"),c=$("modal-dialog-genre"),d=$("content-with-heading");return x(),L("div",null,[z(d,null,{options:D(()=>[z(i,{indices:s.albums.indices},null,8,["indices"])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.genre.name)},null,8,LB)]),"heading-right":D(()=>[u("div",RB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_details_modal=!0)},[z(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[z(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,DB)])])]),content:D(()=>[u("p",MB,[u("span",{textContent:y(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,FB),t[4]||(t[4]=u("span",null," | ",-1)),u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:y(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,VB)]),z(l,{items:s.albums},null,8,["items"]),z(c,{item:s.genre,media_kind:s.media_kind,show:s.show_details_modal,onClose:t[3]||(t[3]=m=>s.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const UB=ue(PB,[["render",HB]]),zy={load(e){return Promise.all([W.library_genre(e.params.name,e.query.media_kind),W.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.tracks_list=new xe(t[1].data.tracks)}},jB={name:"PageGenreTracks",components:{ContentWithHeading:ot,ControlDropdown:Mo,IndexButtonList:Lr,ListTracks:jn,ModalDialogGenre:rh},beforeRouteEnter(e,t,n){zy.load(e).then(r=>{n(s=>zy.set(s,r))})},setup(){return{uiStore:Bn()}},data(){return{genre:{},groupings:[{id:1,name:this.$t("page.genre.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.genre.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new xe}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_grouping_id:{get(){return this.uiStore.genre_tracks_sort},set(e){this.uiStore.genre_tracks_sort=e}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){W.player_play_expression(this.expression,!0)}}},BB={class:"columns"},qB={class:"column"},WB=["textContent"],GB=["textContent"],KB={class:"buttons is-centered"},XB=["textContent"],YB={class:"heading has-text-centered-mobile"},ZB=["textContent"],JB=["textContent"];function QB(e,t,n,r,s,o){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-genre"),m=$("content-with-heading");return x(),L("div",null,[z(m,null,{options:D(()=>[z(i,{indices:o.tracks.indices},null,8,["indices"]),u("div",BB,[u("div",qB,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.genre.sort.title"))},null,8,WB),z(a,{value:o.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>o.selected_grouping_id=f),options:s.groupings},null,8,["value","options"])])])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.genre.name)},null,8,GB)]),"heading-right":D(()=>[u("div",KB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[z(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>o.play&&o.play(...f))},[z(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,XB)])])]),content:D(()=>[u("p",YB,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_genre&&o.open_genre(...f)),textContent:y(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,ZB),t[5]||(t[5]=u("span",null," | ",-1)),u("span",{textContent:y(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,JB)]),z(c,{items:o.tracks,expression:o.expression},null,8,["items","expression"]),z(d,{item:s.genre,media_kind:s.media_kind,show:s.show_details_modal,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const eq=ue(jB,[["render",QB]]),Cy={load(e){return W.library_genres("music")},set(e,t){e.genres=new xe(t.data.genres,{index:{field:"name_sort",type:String}})}},tq={name:"PageGenres",components:{ContentWithHeading:ot,IndexButtonList:Lr,ListGenres:SC,TabsMusic:Kr},beforeRouteEnter(e,t,n){Cy.load(e).then(r=>{n(s=>Cy.set(s,r))})},data(){return{genres:new xe}}},nq={class:"fd-page-with-tabs"},rq=["textContent"],sq=["textContent"];function oq(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-genres"),c=$("content-with-heading");return x(),L("div",nq,[z(i),z(c,null,{options:D(()=>[z(a,{indices:s.genres.indices},null,8,["indices"])]),"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,rq),u("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:s.genres.total}))},null,8,sq)]),content:D(()=>[z(l,{items:s.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const iq=ue(tq,[["render",oq]]),Sy={load(e){return Promise.all([W.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),W.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})])},set(e,t){e.albums=new xe(t[0].data.albums),e.tracks=new xe(t[1].data.tracks)}},aq={name:"PageMusic",components:{ContentWithHeading:ot,ListAlbums:Xn,ListTracks:jn,TabsMusic:Kr},beforeRouteEnter(e,t,n){Sy.load(e).then(r=>{n(s=>Sy.set(s,r))})},data(){return{albums:[],tracks:{items:[]},selected_track:{}}}},lq={class:"fd-page-with-tabs"},cq=["textContent"],uq={class:"level"},dq={class:"level-item"},mq=["textContent"],fq={class:"level"},pq={class:"level-item"};function hq(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-albums"),l=$("router-link"),c=$("content-with-heading"),d=$("list-tracks");return x(),L("div",lq,[z(i),z(c,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,cq)]),content:D(()=>[z(a,{items:s.albums},null,8,["items"])]),footer:D(()=>[u("nav",uq,[u("p",dq,[z(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:D(()=>[Kt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),z(c,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,mq)]),content:D(()=>[z(d,{items:s.tracks},null,8,["items"])]),footer:D(()=>[u("nav",fq,[u("p",pq,[z(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:D(()=>[Kt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const _q=ue(aq,[["render",hq]]),Ey={load(e){const t=Ir().recently_added_limit;return W.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t,type:"album"})},set(e,t){e.albums=new xe(t.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},gq={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:ot,ListAlbums:Xn,TabsMusic:Kr},beforeRouteEnter(e,t,n){Ey.load(e).then(r=>{n(s=>Ey.set(s,r))})},setup(){return{settingsStore:Ir()}},data(){return{albums:new xe}}},yq={class:"fd-page-with-tabs"},vq=["textContent"];function bq(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-albums"),l=$("content-with-heading");return x(),L("div",yq,[z(i),z(l,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,vq)]),content:D(()=>[z(a,{items:s.albums},null,8,["items"])]),_:1})])}const zq=ue(gq,[["render",bq]]),wy={load(e){return W.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"})},set(e,t){e.tracks=new xe(t.data.tracks)}},Cq={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:ot,ListTracks:jn,TabsMusic:Kr},beforeRouteEnter(e,t,n){wy.load(e).then(r=>{n(s=>wy.set(s,r))})},data(){return{tracks:{}}}},Sq={class:"fd-page-with-tabs"},Eq=["textContent"];function wq(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-tracks"),l=$("content-with-heading");return x(),L("div",Sq,[z(i),z(l,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,Eq)]),content:D(()=>[z(a,{items:s.tracks},null,8,["items"])]),_:1})])}const kq=ue(Cq,[["render",wq]]),xq={name:"ModalDialogPlaylistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.item.id}})},play(){this.$emit("close"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},Tq={key:0,class:"modal is-active"},Aq={class:"modal-content"},Oq={class:"card"},$q={class:"card-content"},Nq={class:"title is-4"},Iq=["textContent"],Pq={class:"content is-small"},Lq=["textContent"],Rq=["textContent"],Dq=["textContent"],Mq=["textContent"],Fq=["textContent"],Vq=["textContent"],Hq={class:"card-footer"},Uq=["textContent"],jq=["textContent"],Bq=["textContent"];function qq(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",Tq,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Aq,[u("div",Oq,[u("div",$q,[u("p",Nq,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open&&o.open(...a)),textContent:y(n.item.name)},null,8,Iq)]),u("div",Pq,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.owner"))},null,8,Lq),u("span",{class:"title is-6",textContent:y(n.item.owner.display_name)},null,8,Rq)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.tracks"))},null,8,Dq),u("span",{class:"title is-6",textContent:y(n.item.tracks.total)},null,8,Mq)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.path"))},null,8,Fq),u("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,Vq)])])]),u("footer",Hq,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add"))},null,8,Uq)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[z(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add-next"))},null,8,jq)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.play"))},null,8,Bq)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const kC=ue(xq,[["render",qq]]),Wq={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:kC},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"playlist-spotify",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},Gq=["onClick"],Kq=["textContent"],Xq=["textContent"],Yq={class:"media-right"},Zq=["onClick"];function Jq(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-playlist-spotify");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>(x(),L("div",{key:l.id,class:"media is-align-items-center"},[u("div",{class:"media-content is-clickable is-clipped",onClick:c=>o.open(l)},[u("h1",{class:"title is-6",textContent:y(l.name)},null,8,Kq),u("h2",{class:"subtitle is-7",textContent:y(l.owner.display_name)},null,8,Xq)],8,Gq),u("div",Yq,[u("a",{onClick:wt(c=>o.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Zq)])]))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Qc=ue(Wq,[["render",Jq]]),ky={load(e){return W.spotify().then(({data:t})=>{const n=new Pr;return n.setAccessToken(t.webapi_token),Promise.all([n.getNewReleases({country:t.webapi_country,limit:3}),n.getFeaturedPlaylists({country:t.webapi_country,limit:3})])})},set(e,t){e.albums=t[0].albums.items,e.playlists=t[1].playlists.items}},Qq={name:"PageMusicSpotify",components:{ContentWithHeading:ot,ListAlbumsSpotify:Xa,ListPlaylistsSpotify:Qc,TabsMusic:Kr},beforeRouteEnter(e,t,n){ky.load(e).then(r=>{n(s=>ky.set(s,r))})},data(){return{playlists:[],albums:[]}}},eW={class:"fd-page-with-tabs"},tW=["textContent"],nW={class:"level"},rW={class:"level-item"},sW=["textContent"],oW={class:"level"},iW={class:"level-item"};function aW(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-albums-spotify"),l=$("router-link"),c=$("content-with-heading"),d=$("list-playlists-spotify");return x(),L("div",eW,[z(i),z(c,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,tW)]),content:D(()=>[z(a,{items:s.albums},null,8,["items"])]),footer:D(()=>[u("nav",nW,[u("p",rW,[z(l,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:D(()=>[Kt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),z(c,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,sW)]),content:D(()=>[z(d,{items:s.playlists},null,8,["items"])]),footer:D(()=>[u("nav",oW,[u("p",iW,[z(l,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:D(()=>[Kt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const lW=ue(Qq,[["render",aW]]),xy={load(e){return W.spotify().then(({data:t})=>{const n=new Pr;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.playlists=t.playlists.items}},cW={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:ot,ListPlaylistsSpotify:Qc,TabsMusic:Kr},beforeRouteEnter(e,t,n){xy.load(e).then(r=>{n(s=>xy.set(s,r))})},data(){return{playlists:[]}}},uW={class:"fd-page-with-tabs"},dW=["textContent"];function mW(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-playlists-spotify"),l=$("content-with-heading");return x(),L("div",uW,[z(i),z(l,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,dW)]),content:D(()=>[z(a,{items:s.playlists},null,8,["items"])]),_:1})])}const fW=ue(cW,[["render",mW]]),Ty={load(e){return W.spotify().then(({data:t})=>{const n=new Pr;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.albums=t.albums.items}},pW={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:ot,ListAlbumsSpotify:Xa,TabsMusic:Kr},beforeRouteEnter(e,t,n){Ty.load(e).then(r=>{n(s=>Ty.set(s,r))})},data(){return{albums:[]}}},hW={class:"fd-page-with-tabs"},_W=["textContent"];function gW(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-albums-spotify"),l=$("content-with-heading");return x(),L("div",hW,[z(i),z(l,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,_W)]),content:D(()=>[z(a,{items:s.albums},null,8,["items"])]),_:1})])}const yW=ue(pW,[["render",gW]]),vW={name:"LyricsPane",setup(){return{lyricsStore:Vu(),playerStore:er()}},data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.playerStore.state==="play"},lyrics(){const e=this.lyricsStore.content,t=[];if(e.length>0){const n=/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u;e.split(`
`).forEach(r=>{const{text:s,minutes:o,seconds:i,hundredths:a}=n.exec(r).groups;if(s){const l={text:s,time:o*60+Number(i)+ +`.${a||0}`};t.push(l)}}),t.forEach((r,s,o)=>{const i=(o[s+1].time-r.time||3)/r.text.length;let a=0;r.words=r.text.match(/\S+\s*/gu).map(l=>{const c=l.length*i;return a+=c,{duration:c,delay:a,text:l}})})}return t},verse_index(){var e;if(this.lyrics.length&&this.lyrics[0].time){const t=this.playerStore.item_progress_ms/1e3,n=this.lyrics,r=this.playerStore.item_id!==this.lastItemId,s=this.lastIndex>=0&&this.lastIndex<n.length&&n[this.lastIndex].time>t;if((r||s)&&this.reset_scrolling(),this.lastIndex<n.length-1&&n[this.lastIndex+1].time>t||this.lastIndex===n.length-1)return this.lastIndex;if(this.lastIndex<n.length-2&&n[this.lastIndex+2].time>t)return this.lastIndex+1;let o=n.length-1,i=-1,a=0;for(;a<=o;){i=a+o>>1;const l=n[i].time,c=(e=n[i+1])==null?void 0:e.time;if(l<=t&&(c>t||!c))break;l<t?a=i+1:o=i-1}return i}return this.reset_scrolling(),-1}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.playerStore.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.playerStore.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))}}},bW=["textContent"],zW={key:1};function CW(e,t,n,r,s,o){return x(),L("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>s.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>s.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>o.start_scrolling&&o.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>o.start_scrolling&&o.start_scrolling(...i))},[(x(!0),L(be,null,Et(o.lyrics,(i,a)=>(x(),L(be,{key:a},[a===o.verse_index?(x(),L("div",{key:0,class:Ce({"is-highlighted":o.is_playing})},[(x(!0),L(be,null,Et(i.words,l=>(x(),L("span",{key:l,class:"has-text-weight-bold is-size-5"},[u("span",{style:_s({"animation-duration":`${l.delay}s`}),textContent:y(l.text)},null,12,bW)]))),128))],2)):(x(),L("div",zW,y(i.text),1))],64))),128))],544)}const SW=ue(vW,[["render",CW],["__scopeId","data-v-a97a7574"]]),EW={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Ht()}},data(){return{spotify_track:{}}},watch:{item(){var e;if(((e=this.item)==null?void 0:e.data_kind)==="spotify"){const t=new Pr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(n=>{this.spotify_track=n})}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"),W.player_play({item_id:this.item.id})},remove(){this.$emit("close"),W.queue_remove(this.item.id)}}},wW={key:0,class:"modal is-active"},kW={class:"modal-content"},xW={class:"card"},TW={class:"card-content"},AW=["textContent"],OW=["textContent"],$W={class:"content is-small"},NW={key:0},IW=["textContent"],PW=["textContent"],LW={key:1},RW=["textContent"],DW=["textContent"],MW={key:2},FW=["textContent"],VW=["textContent"],HW={key:3},UW=["textContent"],jW=["textContent"],BW={key:4},qW=["textContent"],WW=["textContent"],GW={key:5},KW=["textContent"],XW=["textContent"],YW={key:6},ZW=["textContent"],JW=["textContent"],QW=["textContent"],eG=["textContent"],tG=["textContent"],nG={class:"title is-6"},rG=["textContent"],sG={key:7},oG=["textContent"],iG={class:"title is-6"},aG=["textContent"],lG=["textContent"],cG=["textContent"],uG=["textContent"],dG={class:"card-footer"},mG=["textContent"],fG=["textContent"];function pG(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",wW,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",kW,[u("div",xW,[u("div",TW,[u("p",{class:"title is-4",textContent:y(n.item.title)},null,8,AW),u("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,OW),u("div",$W,[n.item.album?(x(),L("p",NW,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album"))},null,8,IW),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:y(n.item.album)},null,8,PW)])):ee("",!0),n.item.album_artist?(x(),L("p",LW,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album-artist"))},null,8,RW),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,DW)])):ee("",!0),n.item.composer?(x(),L("p",MW,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.composer"))},null,8,FW),u("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,VW)])):ee("",!0),n.item.year?(x(),L("p",HW,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.year"))},null,8,UW),u("span",{class:"title is-6",textContent:y(n.item.year)},null,8,jW)])):ee("",!0),n.item.genre?(x(),L("p",BW,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.genre"))},null,8,qW),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:y(n.item.genre)},null,8,WW)])):ee("",!0),n.item.disc_number?(x(),L("p",GW,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.position"))},null,8,KW),u("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,XW)])):ee("",!0),n.item.length_ms?(x(),L("p",YW,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.duration"))},null,8,ZW),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,JW)])):ee("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.path"))},null,8,QW),u("span",{class:"title is-6",textContent:y(n.item.path)},null,8,eG)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.type"))},null,8,tG),u("span",nG,[u("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,rG)])]),n.item.samplerate?(x(),L("p",sG,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.quality"))},null,8,oG),u("span",iG,[u("span",{textContent:y(n.item.type)},null,8,aG),n.item.samplerate?(x(),L("span",{key:0,textContent:y(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,lG)):ee("",!0),n.item.channels?(x(),L("span",{key:1,textContent:y(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,cG)):ee("",!0),n.item.bitrate?(x(),L("span",{key:2,textContent:y(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,uG)):ee("",!0)])])):ee("",!0)])]),u("footer",dG,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.remove&&o.remove(...a))},[z(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.remove"))},null,8,mG)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.play"))},null,8,fG)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const xC=ue(EW,[["render",pG]]),xs=1e3,hG={name:"PageNowPlaying",components:{ControlSlider:fp,CoverArtwork:vs,LyricsPane:SW,ModalDialogQueueItem:xC},setup(){return{lyricsStore:Vu(),playerStore:er(),queueStore:Ar(),settingsStore:Ir()}},data(){return{INTERVAL:xs,cursor:Fu,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{composer(){if(this.settingsStore.show_composer_now_playing){const e=this.settingsStore.show_composer_for_genre;if(!e||this.track.genre&&e.toLowerCase().split(",").findIndex(t=>this.track.genre.toLowerCase().indexOf(t.trim())>=0)>=0)return this.track.composer}return null},is_live(){return this.track.length_ms===0},track(){return this.queueStore.current},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*xs)},track_progress:{get(){return Math.floor(this.playerStore.item_progress_ms/xs)},set(e){this.playerStore.item_progress_ms=e*xs}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/xs)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)}},watch:{"playerStore.state"(e){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),e==="play"&&(this.interval_id=window.setInterval(this.tick,xs))}},created(){W.player_status().then(({data:e})=>{this.playerStore.$state=e,this.playerStore.state==="play"&&(this.interval_id=window.setInterval(this.tick,xs))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{end_dragging(){this.is_dragged=!1},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},seek(){this.is_live||W.player_seek_to_pos(this.track_progress*xs)},start_dragging(){this.is_dragged=!0},tick(){this.is_dragged||(this.track_progress+=1)}}},_G={class:"hero is-full-height"},gG={key:0,class:"hero-body is-flex is-align-items-center"},yG={class:"container has-text-centered",style:{"max-width":"500px"}},vG={class:"is-flex is-justify-content-space-between"},bG=["textContent"],zG=["textContent"],CG=["textContent"],SG=["textContent"],EG=["textContent"],wG=["textContent"],kG=["textContent"],xG={key:1,class:"hero-body is-flex is-align-items-center"},TG={class:"container has-text-centered"},AG=["textContent"],OG=["textContent"];function $G(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("lyrics-pane"),l=$("control-slider"),c=$("modal-dialog-queue-item");return x(),L("div",_G,[o.track.id>0?(x(),L("div",gG,[u("div",yG,[z(i,{url:o.track.artwork_url,artist:o.track.artist,album:o.track.album,class:Ce(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":r.lyricsStore.pane}]),onClick:t[0]||(t[0]=d=>o.open_dialog(o.track))},null,8,["url","artist","album","class"]),r.lyricsStore.pane?(x(),ze(a,{key:0})):ee("",!0),z(l,{value:o.track_progress,"onUpdate:value":t[1]||(t[1]=d=>o.track_progress=d),class:"mt-5",disabled:o.is_live,max:o.track_progress_max,cursor:s.cursor,onChange:o.seek,onMousedown:o.start_dragging,onMouseup:o.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),u("div",vG,[u("p",{class:"subtitle is-7",textContent:y(o.track_elapsed_time)},null,8,bG),u("p",{class:"subtitle is-7",textContent:y(o.track_total_time)},null,8,zG)]),u("p",{class:"title is-5",textContent:y(o.track.title)},null,8,CG),u("p",{class:"title is-6",textContent:y(o.track.artist)},null,8,SG),o.composer?(x(),L("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:y(o.composer)},null,8,EG)):ee("",!0),o.track.album?(x(),L("p",{key:2,class:"subtitle is-6",textContent:y(o.track.album)},null,8,wG)):ee("",!0),r.settingsStore.show_filepath_now_playing?(x(),L("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:y(o.track.path)},null,8,kG)):ee("",!0)])])):(x(),L("div",xG,[u("div",TG,[u("p",{class:"title is-5",textContent:y(e.$t("page.now-playing.title"))},null,8,AG),u("p",{class:"subtitle",textContent:y(e.$t("page.now-playing.info"))},null,8,OG)])])),z(c,{show:s.show_details_modal,item:s.selected_item,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","item"])])}const NG=ue(hG,[["render",$G]]),Hl={load(e){return Promise.all([W.library_playlist(e.params.id),W.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new xe(t[1].data)}},IG={name:"PagePlaylistFolder",components:{ContentWithHeading:ot,ListPlaylists:Jc},beforeRouteEnter(e,t,n){Hl.load(e).then(r=>{n(s=>Hl.set(s,r))})},beforeRouteUpdate(e,t,n){Hl.load(e).then(r=>{Hl.set(this,r),n()})},setup(){return{configurationStore:Ao()}},data(){return{playlist:{},playlists_list:new xe}},computed:{playlists(){return this.playlists_list.group({filters:[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]})},radio_playlists(){return this.configurationStore.radio_playlists}}},PG=["textContent"],LG=["textContent"];function RG(e,t,n,r,s,o){const i=$("list-playlists"),a=$("content-with-heading");return x(),L("div",null,[z(a,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(s.playlist.id===0?e.$t("page.playlists.title"):s.playlist.name)},null,8,PG),u("p",{class:"heading",textContent:y(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,LG)]),content:D(()=>[z(i,{items:o.playlists},null,8,["items"])]),_:1})])}const DG=ue(IG,[["render",RG]]),Ay={load(e){return Promise.all([W.library_playlist(e.params.id),W.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new xe(t[1].data)}},MG={name:"PagePlaylistTracks",components:{ContentWithHeading:ot,ListTracks:jn,ModalDialogPlaylist:wC},beforeRouteEnter(e,t,n){Ay.load(e).then(r=>{n(s=>Ay.set(s,r))})},data(){return{playlist:{},show_details_modal:!1,tracks:new xe}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join():this.playlist.uri}},methods:{play(){W.player_play_uri(this.uris,!0)}}},FG=["textContent"],VG={class:"buttons is-centered"},HG=["textContent"],UG=["textContent"];function jG(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-tracks"),l=$("modal-dialog-playlist"),c=$("content-with-heading");return x(),L("div",null,[z(c,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(s.playlist.name)},null,8,FG)]),"heading-right":D(()=>[u("div",VG,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[z(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.playlist.shuffle"))},null,8,HG)])])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.playlist.track-count",{count:s.tracks.count}))},null,8,UG),z(a,{items:s.tracks,uris:o.uris},null,8,["items","uris"]),z(l,{item:s.playlist,show:s.show_details_modal,uris:o.uris,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const BG=ue(MG,[["render",jG]]),vf=50,Oy={load(e){const t=new Pr;return t.setAccessToken(Ht().spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:vf,market:Ht().$state.spotify.webapi_country,offset:0})])},set(e,t){e.playlist=t.shift(),e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t.shift())}},qG={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:ot,ListTracksSpotify:Yc,ModalDialogPlaylistSpotify:kC,VueEternalLoading:th},beforeRouteEnter(e,t,n){Oy.load(e).then(r=>{n(s=>Oy.set(s,r))})},setup(){return{servicesStore:Ht()}},data(){return{offset:0,playlist:{tracks:{}},show_playlist_details_modal:!1,total:0,tracks:[]}},methods:{append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const{track:r}=n;r&&(r.is_playable&&(r.position=++t),this.tracks.push(r))}),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new Pr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:vf,market:this.servicesStore.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,vf)})},play(){this.show_details_modal=!1,W.player_play_uri(this.playlist.uri,!0)}}},WG=["textContent"],GG={class:"buttons is-centered"},KG=["textContent"],XG=["textContent"],YG={class:"columns is-centered"},ZG={class:"column has-text-centered"};function JG(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-tracks-spotify"),l=$("VueEternalLoading"),c=$("modal-dialog-playlist-spotify"),d=$("content-with-heading");return x(),L("div",null,[z(d,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(s.playlist.name)},null,8,WG)]),"heading-right":D(()=>[u("div",GG,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_playlist_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.spotify.playlist.shuffle"))},null,8,KG)])])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.playlist.count",{count:s.playlist.tracks.total}))},null,8,XG),z(a,{items:s.tracks,context_uri:s.playlist.uri},null,8,["items","context_uri"]),s.offset<s.total?(x(),ze(l,{key:0,load:o.load_next},{loading:D(()=>[u("div",YG,[u("div",ZG,[z(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":D(()=>t[3]||(t[3]=[u("br",null,null,-1)])),_:1},8,["load"])):ee("",!0),z(c,{item:s.playlist,show:s.show_playlist_details_modal,onClose:t[2]||(t[2]=m=>s.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const QG=ue(qG,[["render",JG]]),$y={load(e){return Promise.all([W.library_album(e.params.id),W.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new xe(t[1].data.tracks)}},eK={name:"PagePodcast",components:{ContentWithHero:md,CoverArtwork:vs,ListTracks:jn,ModalDialog:mp,ModalDialogAlbum:fd},beforeRouteEnter(e,t,n){$y.load(e).then(r=>{n(s=>$y.set(s,r))})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new xe}},methods:{open_remove_podcast_dialog(){W.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{[this.rss_playlist_to_remove]=e.items.filter(t=>t.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},play(){W.player_play_uri(this.album.uri,!1)},reload_tracks(){W.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new xe(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,W.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},tK=["textContent"],nK={class:"buttons fd-is-centered-mobile mt-5"},rK=["textContent"],sK=["textContent"],oK=["textContent"],iK={class:"is-size-7"},aK=["textContent"],lK=["textContent"];function cK(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),c=$("modal-dialog-album"),d=$("modal-dialog"),m=$("content-with-hero");return x(),L("div",null,[z(m,null,{"heading-left":D(()=>[u("h1",{class:"title is-5",textContent:y(s.album.name)},null,8,tK),t[5]||(t[5]=u("h2",{class:"subtitle is-6"},[u("br")],-1)),u("div",nK,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>o.play&&o.play(...f))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.podcast.play"))},null,8,rK)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":D(()=>[z(a,{url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},null,8,["url","artist","album"])]),content:D(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,sK),z(l,{items:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["items","onPlayCountChanged"]),z(c,{item:s.album,show:s.show_details_modal,media_kind:"podcast",onClose:t[3]||(t[3]=f=>s.show_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["item","show","onPlayCountChanged","onRemovePodcast"]),z(d,{show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),close_action:e.$t("page.podcast.cancel"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=f=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":D(()=>[u("p",{textContent:y(e.$t("page.podcast.remove-info-1"))},null,8,oK),u("p",iK,[t[6]||(t[6]=Kt(" (")),u("span",{textContent:y(e.$t("page.podcast.remove-info-2"))},null,8,aK),u("b",{textContent:y(s.rss_playlist_to_remove.name)},null,8,lK),t[7]||(t[7]=Kt(") "))])]),_:1},8,["show","title","close_action","delete_action","onDelete"])]),_:1})])}const uK=ue(eK,[["render",cK]]),dK={name:"ModalDialogAddRss",props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,W.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing}}},mK={key:0,class:"modal is-active"},fK={class:"modal-content"},pK={class:"card-content"},hK=["textContent"],_K={class:"field"},gK={class:"control has-icons-left"},yK=["placeholder","disabled"],vK=["textContent"],bK={key:0,class:"card-footer"},zK={class:"card-footer-item has-text-dark"},CK=["textContent"],SK={key:1,class:"card-footer is-clipped"},EK=["textContent"],wK=["textContent"];function kK(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",mK,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",fK,[u("form",{class:"card",onSubmit:t[5]||(t[5]=wt((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[u("div",pK,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.add.rss.title"))},null,8,hK),u("div",_K,[u("p",gK,[Ct(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:s.loading,onInput:t[2]||(t[2]=(...a)=>o.check_url&&o.check_url(...a))},null,40,yK),[[Un,s.url]]),z(i,{class:"icon is-left",name:"rss",size:"16"})]),u("p",{class:"help",textContent:y(e.$t("dialog.add.rss.help"))},null,8,vK)])]),s.loading?(x(),L("footer",bK,[u("a",zK,[z(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.processing"))},null,8,CK)])])):(x(),L("footer",SK,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[z(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.cancel"))},null,8,EK)]),u("a",{class:Ce([{"is-disabled":s.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.add"))},null,8,wK)],2)]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const xK=ue(dK,[["render",kK]]),Ny={load(e){return Promise.all([W.library_albums("podcast"),W.library_podcasts_new_episodes()])},set(e,t){e.albums=new xe(t[0].data),e.tracks=new xe(t[1].data.tracks)}},TK={name:"PagePodcasts",components:{ContentWithHeading:ot,ListAlbums:Xn,ListTracks:jn,ModalDialogAddRss:xK},beforeRouteEnter(e,t,n){Ny.load(e).then(r=>{n(s=>Ny.set(s,r))})},setup(){return{libraryStore:Mu(),uiStore:Bn()}},data(){return{albums:[],tracks:{items:[]},show_url_modal:!1}},computed:{rss(){return this.libraryStore.rss}},methods:{mark_all_played(){this.tracks.items.forEach(e=>{W.library_track_update(e.id,{play_count:"increment"})}),this.tracks.items={}},open_add_podcast_dialog(){this.show_url_modal=!0},reload_new_episodes(){W.library_podcasts_new_episodes().then(({data:e})=>{this.tracks=new xe(e.tracks)})},reload_podcasts(){W.library_albums("podcast").then(({data:e})=>{this.albums=new xe(e),this.reload_new_episodes()})},update_rss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.show_update_dialog=!0}}},AK=["textContent"],OK={class:"buttons is-centered"},$K=["textContent"],NK=["textContent"],IK=["textContent"],PK={class:"buttons is-centered"},LK=["textContent"],RK=["textContent"];function DK(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-tracks"),l=$("content-with-heading"),c=$("list-albums"),d=$("modal-dialog-add-rss");return x(),L("div",null,[s.tracks.items.length>0?(x(),ze(l,{key:0},{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.new-episodes"))},null,8,AK)]),"heading-right":D(()=>[u("div",OK,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...m)=>o.mark_all_played&&o.mark_all_played(...m))},[z(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:y(e.$t("page.podcasts.mark-all-played"))},null,8,$K)])])]),content:D(()=>[z(a,{items:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):ee("",!0),z(l,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.title"))},null,8,NK),u("p",{class:"heading",textContent:y(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,IK)]),"heading-right":D(()=>[u("div",PK,[o.rss.tracks>0?(x(),L("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...m)=>o.update_rss&&o.update_rss(...m))},[z(i,{class:"icon",name:"refresh",size:"16"}),u("span",{textContent:y(e.$t("page.podcasts.update"))},null,8,LK)])):ee("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...m)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...m))},[z(i,{class:"icon",name:"rss",size:"16"}),u("span",{textContent:y(e.$t("page.podcasts.add"))},null,8,RK)])])]),content:D(()=>[z(c,{items:s.albums,onPlayCountChanged:t[3]||(t[3]=m=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=m=>o.reload_podcasts())},null,8,["items"]),z(d,{show:s.show_url_modal,onClose:t[5]||(t[5]=m=>s.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=m=>o.reload_podcasts())},null,8,["show"])]),_:1})])}const MK=ue(TK,[["render",DK]]),FK={name:"ListItemQueueItem",props:{current_position:{required:!0,type:Number},edit_mode:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number},show_only_next_items:Boolean},setup(){return{playerStore:er()}},computed:{is_next(){return this.current_position<0||this.position>=this.current_position},player(){return this.playerStore}},methods:{play(){W.player_play({item_id:this.item.id})}}},VK={key:0,class:"media is-align-items-center"},HK={key:0,class:"media-left"},UK=["textContent"],jK=["textContent"],BK=["textContent"],qK={class:"media-right"};function WK(e,t,n,r,s,o){const i=$("mdicon");return o.is_next||!n.show_only_next_items?(x(),L("div",VK,[n.edit_mode?(x(),L("div",HK,[z(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):ee("",!0),u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:Ce(["title is-6",{"has-text-primary":n.item.id===o.player.item_id,"has-text-grey-light":!o.is_next}]),textContent:y(n.item.title)},null,10,UK),u("h2",{class:Ce(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===o.player.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.player.item_id}]),textContent:y(n.item.artist)},null,10,jK),u("h2",{class:Ce(["subtitle is-7",{"has-text-primary":n.item.id===o.player.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.player.item_id}]),textContent:y(n.item.album)},null,10,BK)]),u("div",qK,[At(e.$slots,"actions")])])):ee("",!0)}const GK=ue(FK,[["render",WK]]),KK={name:"ModalDialogAddUrlStream",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,W.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},play(){this.loading=!0,W.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},XK={key:0,class:"modal is-active"},YK={class:"modal-content"},ZK={class:"card-content"},JK=["textContent"],QK={class:"field"},eX={class:"control has-icons-left"},tX=["placeholder","disabled"],nX={key:0,class:"card-footer"},rX={class:"card-footer-item has-text-dark"},sX=["textContent"],oX={key:1,class:"card-footer is-clipped"},iX=["textContent"],aX=["textContent"],lX=["textContent"];function cX(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",XK,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",YK,[u("form",{class:"card",onSubmit:t[6]||(t[6]=wt((...a)=>o.play&&o.play(...a),["prevent"]))},[u("div",ZK,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.add.stream.title"))},null,8,JK),u("div",QK,[u("p",eX,[Ct(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading,onInput:t[2]||(t[2]=(...a)=>o.check_url&&o.check_url(...a))},null,40,tX),[[Un,s.url]]),z(i,{class:"icon is-left",name:"web",size:"16"})])])]),s.loading?(x(),L("footer",nX,[u("a",rX,[z(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.loading"))},null,8,sX)])])):(x(),L("footer",oX,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[z(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.cancel"))},null,8,iX)]),u("a",{class:Ce([{"is-disabled":s.disabled},"card-footer-item has-text-dark"]),onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[z(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.add"))},null,8,aX)],2),u("a",{class:Ce([{"is-disabled":s.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[z(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.play"))},null,8,lX)],2)]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const uX=ue(KK,[["render",cX]]),dX={name:"ModalDialogPlaylistSave",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,playlist_name:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{check_name(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},save(){this.loading=!0,W.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1})}}},mX={key:0,class:"modal is-active"},fX={class:"modal-content"},pX={class:"card-content"},hX=["textContent"],_X={class:"field"},gX={class:"control has-icons-left"},yX=["placeholder","disabled"],vX={key:0,class:"card-footer"},bX={class:"card-footer-item has-text-dark"},zX=["textContent"],CX={key:1,class:"card-footer is-clipped"},SX=["textContent"],EX=["textContent"];function wX(e,t,n,r,s,o){const i=$("mdicon");return x(),ze(rn,{name:"fade"},{default:D(()=>[n.show?(x(),L("div",mX,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",fX,[u("form",{class:"card",onSubmit:t[5]||(t[5]=wt((...a)=>o.save&&o.save(...a),["prevent"]))},[u("div",pX,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.playlist.save.title"))},null,8,hX),u("div",_X,[u("p",gX,[Ct(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.playlist_name=a),class:"input is-shadowless",type:"text",pattern:".+",required:"",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:s.loading,onInput:t[2]||(t[2]=(...a)=>o.check_name&&o.check_name(...a))},null,40,yX),[[Un,s.playlist_name]]),z(i,{class:"icon is-left",name:"file-music",size:"16"})])])]),s.loading?(x(),L("footer",vX,[u("a",bX,[z(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.saving"))},null,8,zX)])])):(x(),L("footer",CX,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[z(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.cancel"))},null,8,SX)]),u("a",{class:Ce([{"is-disabled":s.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>o.save&&o.save(...a))},[z(i,{class:"icon",name:"content-save",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.save"))},null,8,EX)],2)]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const kX=ue(dX,[["render",wX]]);var fc={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function Iy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Gr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Iy(Object(n),!0).forEach(function(r){xX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?pc=function(t){return typeof t}:pc=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pc(e)}function xX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(){return pr=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},pr.apply(this,arguments)}function TX(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function AX(e,t){if(e==null)return{};var n=TX(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function OX(e){return $X(e)||NX(e)||IX(e)||PX()}function $X(e){if(Array.isArray(e))return bf(e)}function NX(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IX(e,t){if(e){if(typeof e=="string")return bf(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 bf(e,t)}}function bf(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 PX(){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 LX="1.14.0";function ds(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var bs=ds(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),pl=ds(/Edge/i),Py=ds(/firefox/i),va=ds(/safari/i)&&!ds(/chrome/i)&&!ds(/android/i),TC=ds(/iP(ad|od|hone)/i),RX=ds(/chrome/i)&&ds(/android/i),AC={capture:!1,passive:!1};function et(e,t,n){e.addEventListener(t,n,!bs&&AC)}function Ke(e,t,n){e.removeEventListener(t,n,!bs&&AC)}function eu(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 DX(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Sr(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&eu(e,t):eu(e,t))||r&&e===n)return e;if(e===n)break}while(e=DX(e))}return null}var Ly=/\s+/g;function $t(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Ly," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ly," ")}}function Se(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 wo(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Se(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function OC(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function qr(){var e=document.scrollingElement;return e||document.documentElement}function Tt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,c,d,m;if(e!==window&&e.parentNode&&e!==qr()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,c=o.right,d=o.height,m=o.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!bs))do if(s&&s.getBoundingClientRect&&(Se(s,"transform")!=="none"||n&&Se(s,"position")!=="static")){var f=s.getBoundingClientRect();i-=f.top+parseInt(Se(s,"border-top-width")),a-=f.left+parseInt(Se(s,"border-left-width")),l=i+o.height,c=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=wo(s||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,c=a+m)}return{top:i,left:a,bottom:l,right:c,width:m,height:d}}}function Ry(e,t,n){for(var r=Hs(e,!0),s=Tt(e)[t];r;){var o=Tt(r)[n],i=void 0;if(i=s>=o,!i)return r;if(r===qr())break;r=Hs(r,!1)}return!1}function Ai(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Pe.ghost&&(r||i[o]!==Pe.dragged)&&Sr(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function oh(e,t){for(var n=e.lastElementChild;n&&(n===Pe.ghost||Se(n,"display")==="none"||t&&!eu(n,t));)n=n.previousElementSibling;return n||null}function Dt(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Pe.clone&&(!t||eu(e,t))&&n++;return n}function Dy(e){var t=0,n=0,r=qr();if(e)do{var s=wo(e),o=s.a,i=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function MX(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 Hs(e,t){if(!e||!e.getBoundingClientRect)return qr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=Se(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return qr();if(r||t)return n;r=!0}}while(n=n.parentNode);return qr()}function FX(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function sm(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var ba;function $C(e,t){return function(){if(!ba){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),ba=setTimeout(function(){ba=void 0},t)}}}function VX(){clearTimeout(ba),ba=void 0}function NC(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function ih(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function My(e,t){Se(e,"position","absolute"),Se(e,"top",t.top),Se(e,"left",t.left),Se(e,"width",t.width),Se(e,"height",t.height)}function om(e){Se(e,"position",""),Se(e,"top",""),Se(e,"left",""),Se(e,"width",""),Se(e,"height","")}var gn="Sortable"+new Date().getTime();function HX(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(Se(s,"display")==="none"||s===Pe.ghost)){e.push({target:s,rect:Tt(s)});var o=Gr({},e[e.length-1].rect);if(s.thisAnimationDuration){var i=wo(s,!0);i&&(o.top-=i.f,o.left-=i.e)}s.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(MX(e,{target:r}),1)},animateAll:function(r){var s=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!1,i=0;e.forEach(function(a){var l=0,c=a.target,d=c.fromRect,m=Tt(c),f=c.prevFromRect,p=c.prevToRect,h=a.rect,_=wo(c,!0);_&&(m.top-=_.f,m.left-=_.e),c.toRect=m,c.thisAnimationDuration&&sm(f,m)&&!sm(d,m)&&(h.top-m.top)/(h.left-m.left)===(d.top-m.top)/(d.left-m.left)&&(l=jX(h,f,p,s.options)),sm(m,d)||(c.prevFromRect=d,c.prevToRect=m,l||(l=s.options.animation),s.animate(c,h,m,l)),l&&(o=!0,i=Math.max(i,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),o?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,s,o,i){if(i){Se(r,"transition",""),Se(r,"transform","");var a=wo(this.el),l=a&&a.a,c=a&&a.d,d=(s.left-o.left)/(l||1),m=(s.top-o.top)/(c||1);r.animatingX=!!d,r.animatingY=!!m,Se(r,"transform","translate3d("+d+"px,"+m+"px,0)"),this.forRepaintDummy=UX(r),Se(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Se(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Se(r,"transition",""),Se(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function UX(e){return e.offsetWidth}function jX(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var Go=[],im={initializeByDefault:!0},hl={mount:function(t){for(var n in im)im.hasOwnProperty(n)&&!(n in t)&&(t[n]=im[n]);Go.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Go.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Go.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][o]&&n[i.pluginName][o](Gr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](Gr({sortable:n},r)))})},initializePlugins:function(t,n,r,s){Go.forEach(function(a){var l=a.pluginName;if(!(!t.options[l]&&!a.initializeByDefault)){var c=new a(t,n,t.options);c.sortable=t,c.options=t.options,t[l]=c,pr(r,c.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var i=this.modifyOption(t,o,t.options[o]);typeof i<"u"&&(t.options[o]=i)}},getEventProperties:function(t,n){var r={};return Go.forEach(function(s){typeof s.eventProperties=="function"&&pr(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return Go.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function ra(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,m=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[gn],!!t){var _,v=t.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!bs&&!pl?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=s||n,_.clone=o,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=m,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var S=Gr(Gr({},h),hl.getEventProperties(r,t));for(var g in S)_[g]=S[g];n&&n.dispatchEvent(_),v[C]&&v[C].call(t,_)}}var BX=["evt"],In=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=AX(r,BX);hl.pluginEvent.bind(Pe)(t,n,Gr({dragEl:he,parentEl:It,ghostEl:qe,rootEl:kt,nextEl:mo,lastDownEl:hc,cloneEl:Pt,cloneHidden:Fs,dragStarted:sa,putSortable:sn,activeSortable:Pe.active,originalEvent:s,oldIndex:li,oldDraggableIndex:za,newIndex:Wn,newDraggableIndex:Ds,hideGhostForTarget:RC,unhideGhostForTarget:DC,cloneNowHidden:function(){Fs=!0},cloneNowShown:function(){Fs=!1},dispatchSortableEvent:function(a){Cn({sortable:n,name:a,originalEvent:s})}},o))};function Cn(e){ra(Gr({putSortable:sn,cloneEl:Pt,targetEl:he,rootEl:kt,oldIndex:li,oldDraggableIndex:za,newIndex:Wn,newDraggableIndex:Ds},e))}var he,It,qe,kt,mo,hc,Pt,Fs,li,Wn,za,Ds,Ul,sn,ni=!1,tu=!1,nu=[],lo,br,am,lm,Fy,Vy,sa,Ko,Ca,Sa=!1,jl=!1,_c,ln,cm=[],zf=!1,ru=[],hd=typeof document<"u",Bl=TC,Hy=pl||bs?"cssFloat":"float",qX=hd&&!RX&&!TC&&"draggable"in document.createElement("div"),IC=function(){if(hd){if(bs)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),PC=function(t,n){var r=Se(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=Ai(t,0,n),i=Ai(t,1,n),a=o&&Se(o),l=i&&Se(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Tt(o).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Tt(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=s&&r[Hy]==="none"||i&&r[Hy]==="none"&&c+d>s)?"vertical":"horizontal"},WX=function(t,n,r){var s=r?t.left:t.top,o=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return s===a||o===l||s+i/2===a+c/2},GX=function(t,n){var r;return nu.some(function(s){var o=s[gn].options.emptyInsertThreshold;if(!(!o||oh(s))){var i=Tt(s),a=t>=i.left-o&&t<=i.right+o,l=n>=i.top-o&&n<=i.bottom+o;if(a&&l)return r=s}}),r},LC=function(t){function n(o,i){return function(a,l,c,d){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(o==null&&(i||m))return!0;if(o==null||o===!1)return!1;if(i&&o==="clone")return o;if(typeof o=="function")return n(o(a,l,c,d),i)(a,l,c,d);var f=(i?a:l).options.group.name;return o===!0||typeof o=="string"&&o===f||o.join&&o.indexOf(f)>-1}}var r={},s=t.group;(!s||pc(s)!="object")&&(s={name:s}),r.name=s.name,r.checkPull=n(s.pull,!0),r.checkPut=n(s.put),r.revertClone=s.revertClone,t.group=r},RC=function(){!IC&&qe&&Se(qe,"display","none")},DC=function(){!IC&&qe&&Se(qe,"display","")};hd&&document.addEventListener("click",function(e){if(tu)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),tu=!1,!1},!0);var co=function(t){if(he){t=t.touches?t.touches[0]:t;var n=GX(t.clientX,t.clientY);if(n){var r={};for(var s in t)t.hasOwnProperty(s)&&(r[s]=t[s]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[gn]._onDragOver(r)}}},KX=function(t){he&&he.parentNode[gn]._isOutsideThisEl(t.target)};function Pe(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=pr({},t),e[gn]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return PC(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,a){i.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Pe.supportPointer!==!1&&"PointerEvent"in window&&!va,emptyInsertThreshold:5};hl.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);LC(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:qX,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?et(e,"pointerdown",this._onTapStart):(et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),nu.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),pr(this,HX())}Pe.prototype={constructor:Pe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Ko=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,he):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,s=this.options,o=s.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=s.filter;if(nY(r),!he&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&va&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Sr(l,s.draggable,r,!1),!(l&&l.animated)&&hc!==l)){if(li=Dt(l),za=Dt(l,s.draggable),typeof d=="function"){if(d.call(this,t,l,this)){Cn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),In("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(m){if(m=Sr(c,m.trim(),r,!1),m)return Cn({sortable:n,rootEl:m,name:"filter",targetEl:l,fromEl:r,toEl:r}),In("filter",n,{evt:t}),!0}),d)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!Sr(c,s.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var s=this,o=s.el,i=s.options,a=o.ownerDocument,l;if(r&&!he&&r.parentNode===o){var c=Tt(r);if(kt=o,he=r,It=he.parentNode,mo=he.nextSibling,hc=r,Ul=i.group,Pe.dragged=he,lo={target:he,clientX:(n||t).clientX,clientY:(n||t).clientY},Fy=lo.clientX-c.left,Vy=lo.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,he.style["will-change"]="all",l=function(){if(In("delayEnded",s,{evt:t}),Pe.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!Py&&s.nativeDraggable&&(he.draggable=!0),s._triggerDragStart(t,n),Cn({sortable:s,name:"choose",originalEvent:t}),$t(he,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){OC(he,d.trim(),um)}),et(a,"dragover",co),et(a,"mousemove",co),et(a,"touchmove",co),et(a,"mouseup",s._onDrop),et(a,"touchend",s._onDrop),et(a,"touchcancel",s._onDrop),Py&&this.nativeDraggable&&(this.options.touchStartThreshold=4,he.draggable=!0),In("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(pl||bs))){if(Pe.eventCanceled){this._onDrop();return}et(a,"mouseup",s._disableDelayedDrag),et(a,"touchend",s._disableDelayedDrag),et(a,"touchcancel",s._disableDelayedDrag),et(a,"mousemove",s._delayedDragTouchMoveHandler),et(a,"touchmove",s._delayedDragTouchMoveHandler),i.supportPointer&&et(a,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){he&&um(he),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Ke(t,"mouseup",this._disableDelayedDrag),Ke(t,"touchend",this._disableDelayedDrag),Ke(t,"touchcancel",this._disableDelayedDrag),Ke(t,"mousemove",this._delayedDragTouchMoveHandler),Ke(t,"touchmove",this._delayedDragTouchMoveHandler),Ke(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?et(document,"pointermove",this._onTouchMove):n?et(document,"touchmove",this._onTouchMove):et(document,"mousemove",this._onTouchMove):(et(he,"dragend",this),et(kt,"dragstart",this._onDragStart));try{document.selection?gc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ni=!1,kt&&he){In("dragStarted",this,{evt:n}),this.nativeDraggable&&et(document,"dragover",KX);var r=this.options;!t&&$t(he,r.dragClass,!1),$t(he,r.ghostClass,!0),Pe.active=this,t&&this._appendGhost(),Cn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(br){this._lastX=br.clientX,this._lastY=br.clientY,RC();for(var t=document.elementFromPoint(br.clientX,br.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(br.clientX,br.clientY),t!==n);)n=t;if(he.parentNode[gn]._isOutsideThisEl(t),n)do{if(n[gn]){var r=void 0;if(r=n[gn]._onDragOver({clientX:br.clientX,clientY:br.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);DC()}},_onTouchMove:function(t){if(lo){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=qe&&wo(qe,!0),a=qe&&i&&i.a,l=qe&&i&&i.d,c=Bl&&ln&&Dy(ln),d=(o.clientX-lo.clientX+s.x)/(a||1)+(c?c[0]-cm[0]:0)/(a||1),m=(o.clientY-lo.clientY+s.y)/(l||1)+(c?c[1]-cm[1]:0)/(l||1);if(!Pe.active&&!ni){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(qe){i?(i.e+=d-(am||0),i.f+=m-(lm||0)):i={a:1,b:0,c:0,d:1,e:d,f:m};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");Se(qe,"webkitTransform",f),Se(qe,"mozTransform",f),Se(qe,"msTransform",f),Se(qe,"transform",f),am=d,lm=m,br=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!qe){var t=this.options.fallbackOnBody?document.body:kt,n=Tt(he,!0,Bl,!0,t),r=this.options;if(Bl){for(ln=t;Se(ln,"position")==="static"&&Se(ln,"transform")==="none"&&ln!==document;)ln=ln.parentNode;ln!==document.body&&ln!==document.documentElement?(ln===document&&(ln=qr()),n.top+=ln.scrollTop,n.left+=ln.scrollLeft):ln=qr(),cm=Dy(ln)}qe=he.cloneNode(!0),$t(qe,r.ghostClass,!1),$t(qe,r.fallbackClass,!0),$t(qe,r.dragClass,!0),Se(qe,"transition",""),Se(qe,"transform",""),Se(qe,"box-sizing","border-box"),Se(qe,"margin",0),Se(qe,"top",n.top),Se(qe,"left",n.left),Se(qe,"width",n.width),Se(qe,"height",n.height),Se(qe,"opacity","0.8"),Se(qe,"position",Bl?"absolute":"fixed"),Se(qe,"zIndex","100000"),Se(qe,"pointerEvents","none"),Pe.ghost=qe,t.appendChild(qe),Se(qe,"transform-origin",Fy/parseInt(qe.style.width)*100+"% "+Vy/parseInt(qe.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(In("dragStart",this,{evt:t}),Pe.eventCanceled){this._onDrop();return}In("setupClone",this),Pe.eventCanceled||(Pt=ih(he),Pt.draggable=!1,Pt.style["will-change"]="",this._hideClone(),$t(Pt,this.options.chosenClass,!1),Pe.clone=Pt),r.cloneId=gc(function(){In("clone",r),!Pe.eventCanceled&&(r.options.removeCloneOnHide||kt.insertBefore(Pt,he),r._hideClone(),Cn({sortable:r,name:"clone"}))}),!n&&$t(he,o.dragClass,!0),n?(tu=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Ke(document,"mouseup",r._onDrop),Ke(document,"touchend",r._onDrop),Ke(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,he)),et(document,"drop",r),Se(he,"transform","translateZ(0)")),ni=!0,r._dragStartId=gc(r._dragStarted.bind(r,n,t)),et(document,"selectstart",r),sa=!0,va&&Se(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,s,o,i,a=this.options,l=a.group,c=Pe.active,d=Ul===l,m=a.sort,f=sn||c,p,h=this,_=!1;if(zf)return;function v(le,Ae){In(le,h,Gr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:s,targetRect:o,canSort:m,fromSortable:f,target:r,completed:S,onMove:function(De,je){return ql(kt,n,he,s,De,Tt(De),t,je)},changed:g},Ae))}function C(){v("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function S(le){return v("dragOverCompleted",{insertion:le}),le&&(d?c._hideClone():c._showClone(h),h!==f&&($t(he,sn?sn.options.ghostClass:c.options.ghostClass,!1),$t(he,a.ghostClass,!0)),sn!==h&&h!==Pe.active?sn=h:h===Pe.active&&sn&&(sn=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){v("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===he&&!he.animated||r===n&&!r.animated)&&(Ko=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(he.parentNode[gn]._isOutsideThisEl(t.target),!le&&co(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function g(){Wn=Dt(he),Ds=Dt(he,a.draggable),Cn({sortable:h,name:"change",toEl:n,newIndex:Wn,newDraggableIndex:Ds,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Sr(r,a.draggable,n,!0),v("dragOver"),Pe.eventCanceled)return _;if(he.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return S(!1);if(tu=!1,c&&!a.disabled&&(d?m||(i=It!==kt):sn===this||(this.lastPutMode=Ul.checkPull(this,c,he,t))&&l.checkPut(this,c,he,t))){if(p=this._getDirection(t,r)==="vertical",s=Tt(he),v("dragOverValid"),Pe.eventCanceled)return _;if(i)return It=kt,C(),this._hideClone(),v("revert"),Pe.eventCanceled||(mo?kt.insertBefore(he,mo):kt.appendChild(he)),S(!0);var b=oh(n,a.draggable);if(!b||JX(t,p,this)&&!b.animated){if(b===he)return S(!1);if(b&&n===t.target&&(r=b),r&&(o=Tt(r)),ql(kt,n,he,s,r,o,t,!!r)!==!1)return C(),n.appendChild(he),It=n,g(),S(!0)}else if(b&&ZX(t,p,this)){var E=Ai(n,0,a,!0);if(E===he)return S(!1);if(r=E,o=Tt(r),ql(kt,n,he,s,r,o,t,!1)!==!1)return C(),n.insertBefore(he,E),It=n,g(),S(!0)}else if(r.parentNode===n){o=Tt(r);var w=0,P,N=he.parentNode!==n,k=!WX(he.animated&&he.toRect||s,r.animated&&r.toRect||o,p),R=p?"top":"left",B=Ry(r,"top","top")||Ry(he,"top","top"),M=B?B.scrollTop:void 0;Ko!==r&&(P=o[R],Sa=!1,jl=!k&&a.invertSwap||N),w=QX(t,r,o,p,k?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,jl,Ko===r);var H;if(w!==0){var X=Dt(he);do X-=w,H=It.children[X];while(H&&(Se(H,"display")==="none"||H===qe))}if(w===0||H===r)return S(!1);Ko=r,Ca=w;var ae=r.nextElementSibling,G=!1;G=w===1;var te=ql(kt,n,he,s,r,o,t,G);if(te!==!1)return(te===1||te===-1)&&(G=te===1),zf=!0,setTimeout(YX,30),C(),G&&!ae?n.appendChild(he):r.parentNode.insertBefore(he,G?ae:r),B&&NC(B,0,M-B.scrollTop),It=he.parentNode,P!==void 0&&!jl&&(_c=Math.abs(P-Tt(r)[R])),g(),S(!0)}if(n.contains(he))return S(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ke(document,"mousemove",this._onTouchMove),Ke(document,"touchmove",this._onTouchMove),Ke(document,"pointermove",this._onTouchMove),Ke(document,"dragover",co),Ke(document,"mousemove",co),Ke(document,"touchmove",co)},_offUpEvents:function(){var t=this.el.ownerDocument;Ke(t,"mouseup",this._onDrop),Ke(t,"touchend",this._onDrop),Ke(t,"pointerup",this._onDrop),Ke(t,"touchcancel",this._onDrop),Ke(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(Wn=Dt(he),Ds=Dt(he,r.draggable),In("drop",this,{evt:t}),It=he&&he.parentNode,Wn=Dt(he),Ds=Dt(he,r.draggable),Pe.eventCanceled){this._nulling();return}ni=!1,jl=!1,Sa=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Cf(this.cloneId),Cf(this._dragStartId),this.nativeDraggable&&(Ke(document,"drop",this),Ke(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),va&&Se(document.body,"user-select",""),Se(he,"transform",""),t&&(sa&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),qe&&qe.parentNode&&qe.parentNode.removeChild(qe),(kt===It||sn&&sn.lastPutMode!=="clone")&&Pt&&Pt.parentNode&&Pt.parentNode.removeChild(Pt),he&&(this.nativeDraggable&&Ke(he,"dragend",this),um(he),he.style["will-change"]="",sa&&!ni&&$t(he,sn?sn.options.ghostClass:this.options.ghostClass,!1),$t(he,this.options.chosenClass,!1),Cn({sortable:this,name:"unchoose",toEl:It,newIndex:null,newDraggableIndex:null,originalEvent:t}),kt!==It?(Wn>=0&&(Cn({rootEl:It,name:"add",toEl:It,fromEl:kt,originalEvent:t}),Cn({sortable:this,name:"remove",toEl:It,originalEvent:t}),Cn({rootEl:It,name:"sort",toEl:It,fromEl:kt,originalEvent:t}),Cn({sortable:this,name:"sort",toEl:It,originalEvent:t})),sn&&sn.save()):Wn!==li&&Wn>=0&&(Cn({sortable:this,name:"update",toEl:It,originalEvent:t}),Cn({sortable:this,name:"sort",toEl:It,originalEvent:t})),Pe.active&&((Wn==null||Wn===-1)&&(Wn=li,Ds=za),Cn({sortable:this,name:"end",toEl:It,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){In("nulling",this),kt=he=It=qe=mo=Pt=hc=Fs=lo=br=sa=Wn=Ds=li=za=Ko=Ca=sn=Ul=Pe.dragged=Pe.ghost=Pe.clone=Pe.active=null,ru.forEach(function(t){t.checked=!0}),ru.length=am=lm=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":he&&(this._onDragOver(t),XX(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,s=0,o=r.length,i=this.options;s<o;s++)n=r[s],Sr(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||tY(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,i){var a=s.children[i];Sr(a,this.options.draggable,s,!1)&&(r[o]=a)},this),n&&this.captureAnimationState(),t.forEach(function(o){r[o]&&(s.removeChild(r[o]),s.appendChild(r[o]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Sr(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var s=hl.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&LC(r)},destroy:function(){In("destroy",this);var t=this.el;t[gn]=null,Ke(t,"mousedown",this._onTapStart),Ke(t,"touchstart",this._onTapStart),Ke(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ke(t,"dragover",this),Ke(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),nu.splice(nu.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Fs){if(In("hideClone",this),Pe.eventCanceled)return;Se(Pt,"display","none"),this.options.removeCloneOnHide&&Pt.parentNode&&Pt.parentNode.removeChild(Pt),Fs=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Fs){if(In("showClone",this),Pe.eventCanceled)return;he.parentNode==kt&&!this.options.group.revertClone?kt.insertBefore(Pt,he):mo?kt.insertBefore(Pt,mo):kt.appendChild(Pt),this.options.group.revertClone&&this.animate(he,Pt),Se(Pt,"display",""),Fs=!1}}};function XX(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function ql(e,t,n,r,s,o,i,a){var l,c=e[gn],d=c.options.onMove,m;return window.CustomEvent&&!bs&&!pl?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=s||t,l.relatedRect=o||Tt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(m=d.call(c,l,i)),m}function um(e){e.draggable=!1}function YX(){zf=!1}function ZX(e,t,n){var r=Tt(Ai(n.el,0,n.options,!0)),s=10;return t?e.clientX<r.left-s||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-s||e.clientY<r.bottom&&e.clientX<r.left}function JX(e,t,n){var r=Tt(oh(n.el,n.options.draggable)),s=10;return t?e.clientX>r.right+s||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+s}function QX(e,t,n,r,s,o,i,a){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,d=r?n.top:n.left,m=r?n.bottom:n.right,f=!1;if(!i){if(a&&_c<c*s){if(!Sa&&(Ca===1?l>d+c*o/2:l<m-c*o/2)&&(Sa=!0),Sa)f=!0;else if(Ca===1?l<d+_c:l>m-_c)return-Ca}else if(l>d+c*(1-s)/2&&l<m-c*(1-s)/2)return eY(t)}return f=f||i,f&&(l<d+c*o/2||l>m-c*o/2)?l>d+c/2?1:-1:0}function eY(e){return Dt(he)<Dt(e)?1:-1}function tY(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function nY(e){ru.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&ru.push(r)}}function gc(e){return setTimeout(e,0)}function Cf(e){return clearTimeout(e)}hd&&et(document,"touchmove",function(e){(Pe.active||ni)&&e.cancelable&&e.preventDefault()});Pe.utils={on:et,off:Ke,css:Se,find:OC,is:function(t,n){return!!Sr(t,n,t,!1)},extend:FX,throttle:$C,closest:Sr,toggleClass:$t,clone:ih,index:Dt,nextTick:gc,cancelNextTick:Cf,detectDirection:PC,getChild:Ai};Pe.get=function(e){return e[gn]};Pe.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Pe.utils=Gr(Gr({},Pe.utils),r.utils)),hl.mount(r)})};Pe.create=function(e,t){return new Pe(e,t)};Pe.version=LX;var jt=[],oa,Sf,Ef=!1,dm,mm,su,ia;function rY(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):this.options.supportPointer?et(document,"pointermove",this._handleFallbackAutoScroll):r.touches?et(document,"touchmove",this._handleFallbackAutoScroll):et(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Ke(document,"dragover",this._handleAutoScroll):(Ke(document,"pointermove",this._handleFallbackAutoScroll),Ke(document,"touchmove",this._handleFallbackAutoScroll),Ke(document,"mousemove",this._handleFallbackAutoScroll)),Uy(),yc(),VX()},nulling:function(){su=Sf=oa=Ef=ia=dm=mm=null,jt.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var s=this,o=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(o,i);if(su=n,r||this.options.forceAutoScrollFallback||pl||bs||va){fm(n,this.options,a,r);var l=Hs(a,!0);Ef&&(!ia||o!==dm||i!==mm)&&(ia&&Uy(),ia=setInterval(function(){var c=Hs(document.elementFromPoint(o,i),!0);c!==l&&(l=c,yc()),fm(n,s.options,c,r)},10),dm=o,mm=i)}else{if(!this.options.bubbleScroll||Hs(a,!0)===qr()){yc();return}fm(n,this.options,Hs(a,!1),!1)}}},pr(e,{pluginName:"scroll",initializeByDefault:!0})}function yc(){jt.forEach(function(e){clearInterval(e.pid)}),jt=[]}function Uy(){clearInterval(ia)}var fm=$C(function(e,t,n,r){if(t.scroll){var s=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=qr(),c=!1,d;Sf!==n&&(Sf=n,yc(),oa=t.scroll,d=t.scrollFn,oa===!0&&(oa=Hs(n,!0)));var m=0,f=oa;do{var p=f,h=Tt(p),_=h.top,v=h.bottom,C=h.left,S=h.right,g=h.width,b=h.height,E=void 0,w=void 0,P=p.scrollWidth,N=p.scrollHeight,k=Se(p),R=p.scrollLeft,B=p.scrollTop;p===l?(E=g<P&&(k.overflowX==="auto"||k.overflowX==="scroll"||k.overflowX==="visible"),w=b<N&&(k.overflowY==="auto"||k.overflowY==="scroll"||k.overflowY==="visible")):(E=g<P&&(k.overflowX==="auto"||k.overflowX==="scroll"),w=b<N&&(k.overflowY==="auto"||k.overflowY==="scroll"));var M=E&&(Math.abs(S-s)<=i&&R+g<P)-(Math.abs(C-s)<=i&&!!R),H=w&&(Math.abs(v-o)<=i&&B+b<N)-(Math.abs(_-o)<=i&&!!B);if(!jt[m])for(var X=0;X<=m;X++)jt[X]||(jt[X]={});(jt[m].vx!=M||jt[m].vy!=H||jt[m].el!==p)&&(jt[m].el=p,jt[m].vx=M,jt[m].vy=H,clearInterval(jt[m].pid),(M!=0||H!=0)&&(c=!0,jt[m].pid=setInterval((function(){r&&this.layer===0&&Pe.active._onTouchMove(su);var ae=jt[this.layer].vy?jt[this.layer].vy*a:0,G=jt[this.layer].vx?jt[this.layer].vx*a:0;typeof d=="function"&&d.call(Pe.dragged.parentNode[gn],G,ae,e,su,jt[this.layer].el)!=="continue"||NC(jt[this.layer].el,G,ae)}).bind({layer:m}),24))),m++}while(t.bubbleScroll&&f!==l&&(f=Hs(f,!1)));Ef=c}},30),MC=function(t){var n=t.originalEvent,r=t.putSortable,s=t.dragEl,o=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var c=r||o;a();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,m=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(m)&&(i("spill"),this.onSpill({dragEl:s,putSortable:r}))}};function ah(){}ah.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var s=Ai(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(n,s):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:MC};pr(ah,{pluginName:"revertOnSpill"});function lh(){}lh.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,s=r||this.sortable;s.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),s.animateAll()},drop:MC};pr(lh,{pluginName:"removeOnSpill"});var rr;function sY(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;rr=r},dragOverValid:function(n){var r=n.completed,s=n.target,o=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(i.options.swap){var c=this.sortable.el,d=this.options;if(s&&s!==c){var m=rr;o(s)!==!1?($t(s,d.swapClass,!0),rr=s):rr=null,m&&m!==rr&&$t(m,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,s=n.putSortable,o=n.dragEl,i=s||this.sortable,a=this.options;rr&&$t(rr,a.swapClass,!1),rr&&(a.swap||s&&s.options.swap)&&o!==rr&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),oY(o,rr),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){rr=null}},pr(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rr}}})}function oY(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=Dt(e),o=Dt(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var He=[],qn=[],Yi,zr,Zi=!1,Pn=!1,Xo=!1,vt,Ji,Wl;function iY(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?et(document,"pointerup",this._deselectMultiDrag):(et(document,"mouseup",this._deselectMultiDrag),et(document,"touchend",this._deselectMultiDrag)),et(document,"keydown",this._checkKeyDown),et(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,o){var i="";He.length&&zr===t?He.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=o.textContent,s.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;vt=r},delayEnded:function(){this.isMultiDrag=~He.indexOf(vt)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<He.length;o++)qn.push(ih(He[o])),qn[o].sortableIndex=He[o].sortableIndex,qn[o].draggable=!1,qn[o].style["will-change"]="",$t(qn[o],this.options.selectedClass,!1),He[o]===vt&&$t(qn[o],this.options.chosenClass,!1);r._hideClone(),s()}},clone:function(n){var r=n.sortable,s=n.rootEl,o=n.dispatchSortableEvent,i=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||He.length&&zr===r&&(jy(!0,s),o("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&(jy(!1,s),qn.forEach(function(i){Se(i,"display","")}),r(),Wl=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(qn.forEach(function(i){Se(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),Wl=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&zr&&zr.multiDrag._deselectMultiDrag(),He.forEach(function(r){r.sortableIndex=Dt(r)}),He=He.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),Xo=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){He.forEach(function(i){i!==vt&&Se(i,"position","absolute")});var o=Tt(vt,!1,!0,!0);He.forEach(function(i){i!==vt&&My(i,o)}),Pn=!0,Zi=!0}s.animateAll(function(){Pn=!1,Zi=!1,r.options.animation&&He.forEach(function(i){om(i)}),r.options.sort&&Gl()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;Pn&&~He.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,i=n.dragRect;He.length>1&&(He.forEach(function(a){o.addAnimationState({target:a,rect:Pn?Tt(a):i}),om(a),a.fromRect=i,r.removeAnimationState(a)}),Pn=!1,aY(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(n){var r=n.sortable,s=n.isOwner,o=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(o){if(s&&i._hideClone(),Zi=!1,c.animation&&He.length>1&&(Pn||!s&&!i.options.sort&&!l)){var d=Tt(vt,!1,!0,!0);He.forEach(function(f){f!==vt&&(My(f,d),a.appendChild(f))}),Pn=!0}if(!s)if(Pn||Gl(),He.length>1){var m=Wl;i._showClone(r),i.options.animation&&!Wl&&m&&qn.forEach(function(f){i.addAnimationState({target:f,rect:Ji}),f.fromRect=Ji,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(He.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){Ji=pr({},r);var i=wo(vt,!0);Ji.top-=i.f,Ji.left-=i.e}},dragOverAnimationComplete:function(){Pn&&(Pn=!1,Gl())},drop:function(n){var r=n.originalEvent,s=n.rootEl,o=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(r){var m=this.options,f=o.children;if(!Xo)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),$t(vt,m.selectedClass,!~He.indexOf(vt)),~He.indexOf(vt))He.splice(He.indexOf(vt),1),Yi=null,ra({sortable:i,rootEl:s,name:"deselect",targetEl:vt});else{if(He.push(vt),ra({sortable:i,rootEl:s,name:"select",targetEl:vt}),r.shiftKey&&Yi&&i.el.contains(Yi)){var p=Dt(Yi),h=Dt(vt);if(~p&&~h&&p!==h){var _,v;for(h>p?(v=p,_=h):(v=h,_=p+1);v<_;v++)~He.indexOf(f[v])||($t(f[v],m.selectedClass,!0),He.push(f[v]),ra({sortable:i,rootEl:s,name:"select",targetEl:f[v]}))}}else Yi=vt;zr=d}if(Xo&&this.isMultiDrag){if(Pn=!1,(o[gn].options.sort||o!==s)&&He.length>1){var C=Tt(vt),S=Dt(vt,":not(."+this.options.selectedClass+")");if(!Zi&&m.animation&&(vt.thisAnimationDuration=null),d.captureAnimationState(),!Zi&&(m.animation&&(vt.fromRect=C,He.forEach(function(b){if(b.thisAnimationDuration=null,b!==vt){var E=Pn?Tt(b):C;b.fromRect=E,d.addAnimationState({target:b,rect:E})}})),Gl(),He.forEach(function(b){f[S]?o.insertBefore(b,f[S]):o.appendChild(b),S++}),l===Dt(vt))){var g=!1;He.forEach(function(b){if(b.sortableIndex!==Dt(b)){g=!0;return}}),g&&a("update")}He.forEach(function(b){om(b)}),d.animateAll()}zr=d}(s===o||c&&c.lastPutMode!=="clone")&&qn.forEach(function(b){b.parentNode&&b.parentNode.removeChild(b)})}},nullingGlobal:function(){this.isMultiDrag=Xo=!1,qn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Ke(document,"pointerup",this._deselectMultiDrag),Ke(document,"mouseup",this._deselectMultiDrag),Ke(document,"touchend",this._deselectMultiDrag),Ke(document,"keydown",this._checkKeyDown),Ke(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Xo<"u"&&Xo)&&zr===this.sortable&&!(n&&Sr(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;He.length;){var r=He[0];$t(r,this.options.selectedClass,!1),He.shift(),ra({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},pr(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[gn];!r||!r.options.multiDrag||~He.indexOf(n)||(zr&&zr!==r&&(zr.multiDrag._deselectMultiDrag(),zr=r),$t(n,r.options.selectedClass,!0),He.push(n))},deselect:function(n){var r=n.parentNode[gn],s=He.indexOf(n);!r||!r.options.multiDrag||!~s||($t(n,r.options.selectedClass,!1),He.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return He.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var i;Pn&&o!==vt?i=-1:Pn?i=Dt(o,":not(."+n.options.selectedClass+")"):i=Dt(o),s.push({multiDragElement:o,index:i})}),{items:OX(He),clones:[].concat(qn),oldIndicies:r,newIndicies:s}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function aY(e,t){He.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function jy(e,t){qn.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function Gl(){He.forEach(function(e){e!==vt&&e.parentNode&&e.parentNode.removeChild(e)})}Pe.mount(new rY);Pe.mount(lh,ah);const lY=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:iY,Sortable:Pe,Swap:sY,default:Pe},Symbol.toStringTag,{value:"Module"})),cY=Uu(lY);var uY=fc.exports,By;function dY(){return By||(By=1,function(e,t){(function(r,s){e.exports=s(i0(),cY)})(typeof self<"u"?self:uY,function(n,r){return function(s){var o={};function i(a){if(o[a])return o[a].exports;var l=o[a]={i:a,l:!1,exports:{}};return s[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=s,i.c=o,i.d=function(a,l,c){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var d in a)i.d(c,d,(function(m){return a[m]}).bind(null,d));return c},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(s,o,i){var a=i("b622"),l=a("toStringTag"),c={};c[l]="z",s.exports=String(c)==="[object z]"},"0366":function(s,o,i){var a=i("1c0b");s.exports=function(l,c,d){if(a(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(m){return l.call(c,m)};case 2:return function(m,f){return l.call(c,m,f)};case 3:return function(m,f,p){return l.call(c,m,f,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(s,o,i){var a=i("fc6a"),l=i("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(f){try{return l(f)}catch{return d.slice()}};s.exports.f=function(p){return d&&c.call(p)=="[object Window]"?m(p):l(a(p))}},"06cf":function(s,o,i){var a=i("83ab"),l=i("d1e7"),c=i("5c6c"),d=i("fc6a"),m=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;o.f=a?h:function(v,C){if(v=d(v),C=m(C,!0),p)try{return h(v,C)}catch{}if(f(v,C))return c(!l.f.call(v,C),v[C])}},"0cfb":function(s,o,i){var a=i("83ab"),l=i("d039"),c=i("cc12");s.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(s,o,i){var a=i("23e7"),l=i("d58f").left,c=i("a640"),d=i("ae40"),m=c("reduce"),f=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!f},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(s,o,i){var a=i("c6b6"),l=i("9263");s.exports=function(c,d){var m=c.exec;if(typeof m=="function"){var f=m.call(c,d);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}},"159b":function(s,o,i){var a=i("da84"),l=i("fdbc"),c=i("17c2"),d=i("9112");for(var m in l){var f=a[m],p=f&&f.prototype;if(p&&p.forEach!==c)try{d(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(s,o,i){var a=i("b727").forEach,l=i("a640"),c=i("ae40"),d=l("forEach"),m=c("forEach");s.exports=!d||!m?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(s,o,i){var a=i("d066");s.exports=a("document","documentElement")},"1c0b":function(s,o){s.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(s,o,i){var a=i("b622"),l=a("iterator"),c=!1;try{var d=0,m={next:function(){return{done:!!d++}},return:function(){c=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}s.exports=function(f,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},f(_)}catch{}return h}},"1d80":function(s,o){s.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(s,o,i){var a=i("d039"),l=i("b622"),c=i("2d00"),d=l("species");s.exports=function(m){return c>=51||!a(function(){var f=[],p=f.constructor={};return p[d]=function(){return{foo:1}},f[m](Boolean).foo!==1})}},"23cb":function(s,o,i){var a=i("a691"),l=Math.max,c=Math.min;s.exports=function(d,m){var f=a(d);return f<0?l(f+m,0):c(f,m)}},"23e7":function(s,o,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),d=i("6eeb"),m=i("ce4e"),f=i("e893"),p=i("94ca");s.exports=function(h,_){var v=h.target,C=h.global,S=h.stat,g,b,E,w,P,N;if(C?b=a:S?b=a[v]||m(v,{}):b=(a[v]||{}).prototype,b)for(E in _){if(P=_[E],h.noTargetGet?(N=l(b,E),w=N&&N.value):w=b[E],g=p(C?E:v+(S?".":"#")+E,h.forced),!g&&w!==void 0){if(typeof P==typeof w)continue;f(P,w)}(h.sham||w&&w.sham)&&c(P,"sham",!0),d(b,E,P,h)}}},"241c":function(s,o,i){var a=i("ca84"),l=i("7839"),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(m){return a(m,c)}},"25f0":function(s,o,i){var a=i("6eeb"),l=i("825a"),c=i("d039"),d=i("ad6d"),m="toString",f=RegExp.prototype,p=f[m],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=m;(h||_)&&a(RegExp.prototype,m,function(){var C=l(this),S=String(C.source),g=C.flags,b=String(g===void 0&&C instanceof RegExp&&!("flags"in f)?d.call(C):g);return"/"+S+"/"+b},{unsafe:!0})},"2ca0":function(s,o,i){var a=i("23e7"),l=i("06cf").f,c=i("50c4"),d=i("5a34"),m=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,v=f("startsWith"),C=!p&&!v&&!!function(){var S=l(String.prototype,"startsWith");return S&&!S.writable}();a({target:"String",proto:!0,forced:!C&&!v},{startsWith:function(g){var b=String(m(this));d(g);var E=c(_(arguments.length>1?arguments[1]:void 0,b.length)),w=String(g);return h?h.call(b,w,E):b.slice(E,E+w.length)===w}})},"2d00":function(s,o,i){var a=i("da84"),l=i("342f"),c=a.process,d=c&&c.versions,m=d&&d.v8,f,p;m?(f=m.split("."),p=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(p=f[1]))),s.exports=p&&+p},"342f":function(s,o,i){var a=i("d066");s.exports=a("navigator","userAgent")||""},"35a1":function(s,o,i){var a=i("f5df"),l=i("3f8c"),c=i("b622"),d=c("iterator");s.exports=function(m){if(m!=null)return m[d]||m["@@iterator"]||l[a(m)]}},"37e8":function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),d=i("df75");s.exports=a?Object.defineProperties:function(f,p){c(f);for(var h=d(p),_=h.length,v=0,C;_>v;)l.f(f,C=h[v++],p[C]);return f}},"3bbe":function(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(s,o,i){var a=i("6547").charAt,l=i("69f3"),c=i("7dd0"),d="String Iterator",m=l.set,f=l.getterFor(d);c(String,"String",function(p){m(this,{type:d,string:String(p),index:0})},function(){var h=f(this),_=h.string,v=h.index,C;return v>=_.length?{value:void 0,done:!0}:(C=a(_,v),h.index+=C.length,{value:C,done:!1})})},"3f8c":function(s,o){s.exports={}},4160:function(s,o,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(s,o,i){var a=i("da84");s.exports=a},"44ad":function(s,o,i){var a=i("d039"),l=i("c6b6"),c="".split;s.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(s,o,i){var a=i("b622"),l=i("7c73"),c=i("9bf2"),d=a("unscopables"),m=Array.prototype;m[d]==null&&c.f(m,d,{configurable:!0,value:l(null)}),s.exports=function(f){m[d][f]=!0}},"44e7":function(s,o,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),d=c("match");s.exports=function(m){var f;return a(m)&&((f=m[d])!==void 0?!!f:l(m)=="RegExp")}},4930:function(s,o,i){var a=i("d039");s.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(s,o,i){var a=i("fc6a"),l=i("50c4"),c=i("23cb"),d=function(m){return function(f,p,h){var _=a(f),v=l(_.length),C=c(h,v),S;if(m&&p!=p){for(;v>C;)if(S=_[C++],S!=S)return!0}else for(;v>C;C++)if((m||C in _)&&_[C]===p)return m||C||0;return!m&&-1}};s.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(s,o,i){var a=i("23e7"),l=i("b727").filter,c=i("1dde"),d=i("ae40"),m=c("filter"),f=d("filter");a({target:"Array",proto:!0,forced:!m||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(s,o,i){var a=i("0366"),l=i("7b0b"),c=i("9bdd"),d=i("e95a"),m=i("50c4"),f=i("8418"),p=i("35a1");s.exports=function(_){var v=l(_),C=typeof this=="function"?this:Array,S=arguments.length,g=S>1?arguments[1]:void 0,b=g!==void 0,E=p(v),w=0,P,N,k,R,B,M;if(b&&(g=a(g,S>2?arguments[2]:void 0,2)),E!=null&&!(C==Array&&d(E)))for(R=E.call(v),B=R.next,N=new C;!(k=B.call(R)).done;w++)M=b?c(R,g,[k.value,w],!0):k.value,f(N,w,M);else for(P=m(v.length),N=new C(P);P>w;w++)M=b?g(v[w],w):v[w],f(N,w,M);return N.length=w,N}},"4fad":function(s,o,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(s,o,i){var a=i("a691"),l=Math.min;s.exports=function(c){return c>0?l(a(c),9007199254740991):0}},5135:function(s,o){var i={}.hasOwnProperty;s.exports=function(a,l){return i.call(a,l)}},5319:function(s,o,i){var a=i("d784"),l=i("825a"),c=i("7b0b"),d=i("50c4"),m=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,v=Math.min,C=Math.floor,S=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,b=function(E){return E===void 0?E:String(E)};a("replace",2,function(E,w,P,N){var k=N.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=N.REPLACE_KEEPS_$0,B=k?"$":"$0";return[function(X,ae){var G=f(this),te=X==null?void 0:X[E];return te!==void 0?te.call(X,G,ae):w.call(String(G),X,ae)},function(H,X){if(!k&&R||typeof X=="string"&&X.indexOf(B)===-1){var ae=P(w,H,this,X);if(ae.done)return ae.value}var G=l(H),te=String(this),le=typeof X=="function";le||(X=String(X));var Ae=G.global;if(Ae){var Qe=G.unicode;G.lastIndex=0}for(var De=[];;){var je=h(G,te);if(je===null||(De.push(je),!Ae))break;var ft=String(je[0]);ft===""&&(G.lastIndex=p(te,d(G.lastIndex),Qe))}for(var pt="",gt=0,Ge=0;Ge<De.length;Ge++){je=De[Ge];for(var Y=String(je[0]),fe=_(v(m(je.index),te.length),0),de=[],ye=1;ye<je.length;ye++)de.push(b(je[ye]));var Be=je.groups;if(le){var Xe=[Y].concat(de,fe,te);Be!==void 0&&Xe.push(Be);var O=String(X.apply(void 0,Xe))}else O=M(Y,te,fe,de,Be,X);fe>=gt&&(pt+=te.slice(gt,fe)+O,gt=fe+Y.length)}return pt+te.slice(gt)}];function M(H,X,ae,G,te,le){var Ae=ae+H.length,Qe=G.length,De=g;return te!==void 0&&(te=c(te),De=S),w.call(le,De,function(je,ft){var pt;switch(ft.charAt(0)){case"$":return"$";case"&":return H;case"`":return X.slice(0,ae);case"'":return X.slice(Ae);case"<":pt=te[ft.slice(1,-1)];break;default:var gt=+ft;if(gt===0)return je;if(gt>Qe){var Ge=C(gt/10);return Ge===0?je:Ge<=Qe?G[Ge-1]===void 0?ft.charAt(1):G[Ge-1]+ft.charAt(1):je}pt=G[gt-1]}return pt===void 0?"":pt})}})},5692:function(s,o,i){var a=i("c430"),l=i("c6cd");(s.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(s,o,i){var a=i("d066"),l=i("241c"),c=i("7418"),d=i("825a");s.exports=a("Reflect","ownKeys")||function(f){var p=l.f(d(f)),h=c.f;return h?p.concat(h(f)):p}},"5a34":function(s,o,i){var a=i("44e7");s.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(s,o){s.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(s,o,i){var a=i("23e7"),l=i("a2bf"),c=i("7b0b"),d=i("50c4"),m=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),v=d(_.length),C;return m(h),C=f(_,0),C.length=l(C,_,_,v,0,1,h,arguments.length>1?arguments[1]:void 0),C}})},6547:function(s,o,i){var a=i("a691"),l=i("1d80"),c=function(d){return function(m,f){var p=String(l(m)),h=a(f),_=p.length,v,C;return h<0||h>=_?d?"":void 0:(v=p.charCodeAt(h),v<55296||v>56319||h+1===_||(C=p.charCodeAt(h+1))<56320||C>57343?d?p.charAt(h):v:d?p.slice(h,h+2):(v-55296<<10)+(C-56320)+65536)}};s.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(s,o,i){var a=i("861d"),l=i("e8b5"),c=i("b622"),d=c("species");s.exports=function(m,f){var p;return l(m)&&(p=m.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(s,o,i){var a=i("7f9a"),l=i("da84"),c=i("861d"),d=i("9112"),m=i("5135"),f=i("f772"),p=i("d012"),h=l.WeakMap,_,v,C,S=function(k){return C(k)?v(k):_(k,{})},g=function(k){return function(R){var B;if(!c(R)||(B=v(R)).type!==k)throw TypeError("Incompatible receiver, "+k+" required");return B}};if(a){var b=new h,E=b.get,w=b.has,P=b.set;_=function(k,R){return P.call(b,k,R),R},v=function(k){return E.call(b,k)||{}},C=function(k){return w.call(b,k)}}else{var N=f("state");p[N]=!0,_=function(k,R){return d(k,N,R),R},v=function(k){return m(k,N)?k[N]:{}},C=function(k){return m(k,N)}}s.exports={set:_,get:v,has:C,enforce:S,getterFor:g}},"6eeb":function(s,o,i){var a=i("da84"),l=i("9112"),c=i("5135"),d=i("ce4e"),m=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(s.exports=function(v,C,S,g){var b=g?!!g.unsafe:!1,E=g?!!g.enumerable:!1,w=g?!!g.noTargetGet:!1;if(typeof S=="function"&&(typeof C=="string"&&!c(S,"name")&&l(S,"name",C),h(S).source=_.join(typeof C=="string"?C:"")),v===a){E?v[C]=S:d(C,S);return}else b?!w&&v[C]&&(E=!0):delete v[C];E?v[C]=S:l(v,C,S)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||m(this)})},"6f53":function(s,o,i){var a=i("83ab"),l=i("df75"),c=i("fc6a"),d=i("d1e7").f,m=function(f){return function(p){for(var h=c(p),_=l(h),v=_.length,C=0,S=[],g;v>C;)g=_[C++],(!a||d.call(h,g))&&S.push(f?[g,h[g]]:h[g]);return S}};s.exports={entries:m(!0),values:m(!1)}},"73d9":function(s,o,i){var a=i("44d2");a("flatMap")},7418:function(s,o){o.f=Object.getOwnPropertySymbols},"746f":function(s,o,i){var a=i("428f"),l=i("5135"),c=i("e538"),d=i("9bf2").f;s.exports=function(m){var f=a.Symbol||(a.Symbol={});l(f,m)||d(f,m,{value:c.f(m)})}},7839:function(s,o){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(s,o,i){var a=i("1d80");s.exports=function(l){return Object(a(l))}},"7c73":function(s,o,i){var a=i("825a"),l=i("37e8"),c=i("7839"),d=i("d012"),m=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",v="prototype",C="script",S=p("IE_PROTO"),g=function(){},b=function(k){return _+C+h+k+_+"/"+C+h},E=function(k){k.write(b("")),k.close();var R=k.parentWindow.Object;return k=null,R},w=function(){var k=f("iframe"),R="java"+C+":",B;return k.style.display="none",m.appendChild(k),k.src=String(R),B=k.contentWindow.document,B.open(),B.write(b("document.F=Object")),B.close(),B.F},P,N=function(){try{P=document.domain&&new ActiveXObject("htmlfile")}catch{}N=P?E(P):w();for(var k=c.length;k--;)delete N[v][c[k]];return N()};d[S]=!0,s.exports=Object.create||function(R,B){var M;return R!==null?(g[v]=a(R),M=new g,g[v]=null,M[S]=R):M=N(),B===void 0?M:l(M,B)}},"7dd0":function(s,o,i){var a=i("23e7"),l=i("9ed3"),c=i("e163"),d=i("d2bb"),m=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),v=i("3f8c"),C=i("ae93"),S=C.IteratorPrototype,g=C.BUGGY_SAFARI_ITERATORS,b=h("iterator"),E="keys",w="values",P="entries",N=function(){return this};s.exports=function(k,R,B,M,H,X,ae){l(B,R,M);var G=function(Ge){if(Ge===H&&De)return De;if(!g&&Ge in Ae)return Ae[Ge];switch(Ge){case E:return function(){return new B(this,Ge)};case w:return function(){return new B(this,Ge)};case P:return function(){return new B(this,Ge)}}return function(){return new B(this)}},te=R+" Iterator",le=!1,Ae=k.prototype,Qe=Ae[b]||Ae["@@iterator"]||H&&Ae[H],De=!g&&Qe||G(H),je=R=="Array"&&Ae.entries||Qe,ft,pt,gt;if(je&&(ft=c(je.call(new k)),S!==Object.prototype&&ft.next&&(!_&&c(ft)!==S&&(d?d(ft,S):typeof ft[b]!="function"&&f(ft,b,N)),m(ft,te,!0,!0),_&&(v[te]=N))),H==w&&Qe&&Qe.name!==w&&(le=!0,De=function(){return Qe.call(this)}),(!_||ae)&&Ae[b]!==De&&f(Ae,b,De),v[R]=De,H)if(pt={values:G(w),keys:X?De:G(E),entries:G(P)},ae)for(gt in pt)(g||le||!(gt in Ae))&&p(Ae,gt,pt[gt]);else a({target:R,proto:!0,forced:g||le},pt);return pt}},"7f9a":function(s,o,i){var a=i("da84"),l=i("8925"),c=a.WeakMap;s.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(s,o,i){var a=i("d039");s.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(s,o,i){var a=i("c04e"),l=i("9bf2"),c=i("5c6c");s.exports=function(d,m,f){var p=a(m);p in d?l.f(d,p,c(0,f)):d[p]=f}},"861d":function(s,o){s.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(s,o,i){var a,l,c;(function(d,m){l=[],a=m,c=typeof a=="function"?a.apply(o,l):a,c!==void 0&&(s.exports=c)})(typeof self<"u"?self:this,function(){function d(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(P){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(P.stack)||p.exec(P.stack),_=h&&h[1]||!1,v=h&&h[2]||!1,C=document.location.href.replace(document.location.hash,""),S,g,b,E=document.getElementsByTagName("script");_===C&&(S=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(v-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=S.replace(g,"$1").trim());for(var w=0;w<E.length;w++)if(E[w].readyState==="interactive"||E[w].src===_||_===C&&E[w].innerHTML&&E[w].innerHTML.trim()===b)return E[w];return null}}return d})},8925:function(s,o,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),s.exports=a.inspectSource},"8aa5":function(s,o,i){var a=i("6547").charAt;s.exports=function(l,c,d){return c+(d?a(l,c).length:1)}},"8bbf":function(s,o){s.exports=n},"90e3":function(s,o){var i=0,a=Math.random();s.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},9112:function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("5c6c");s.exports=a?function(d,m,f){return l.f(d,m,c(1,f))}:function(d,m,f){return d[m]=f,d}},9263:function(s,o,i){var a=i("ad6d"),l=i("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,m=c,f=function(){var v=/a/,C=/b*/g;return c.call(v,"a"),c.call(C,"a"),v.lastIndex!==0||C.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(m=function(C){var S=this,g,b,E,w,P=p&&S.sticky,N=a.call(S),k=S.source,R=0,B=C;return P&&(N=N.replace("y",""),N.indexOf("g")===-1&&(N+="g"),B=String(C).slice(S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&C[S.lastIndex-1]!==`
`)&&(k="(?: "+k+")",B=" "+B,R++),b=new RegExp("^(?:"+k+")",N)),h&&(b=new RegExp("^"+k+"$(?!\\s)",N)),f&&(g=S.lastIndex),E=c.call(P?b:S,B),P?E?(E.input=E.input.slice(R),E[0]=E[0].slice(R),E.index=S.lastIndex,S.lastIndex+=E[0].length):S.lastIndex=0:f&&E&&(S.lastIndex=S.global?E.index+E[0].length:g),h&&E&&E.length>1&&d.call(E[0],b,function(){for(w=1;w<arguments.length-2;w++)arguments[w]===void 0&&(E[w]=void 0)}),E}),s.exports=m},"94ca":function(s,o,i){var a=i("d039"),l=/#|\.prototype\./,c=function(h,_){var v=m[d(h)];return v==p?!0:v==f?!1:typeof _=="function"?a(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=c.data={},f=c.NATIVE="N",p=c.POLYFILL="P";s.exports=c},"99af":function(s,o,i){var a=i("23e7"),l=i("d039"),c=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),v=i("b622"),C=i("2d00"),S=v("isConcatSpreadable"),g=9007199254740991,b="Maximum allowed index exceeded",E=C>=51||!l(function(){var k=[];return k[S]=!1,k.concat()[0]!==k}),w=_("concat"),P=function(k){if(!d(k))return!1;var R=k[S];return R!==void 0?!!R:c(k)},N=!E||!w;a({target:"Array",proto:!0,forced:N},{concat:function(R){var B=m(this),M=h(B,0),H=0,X,ae,G,te,le;for(X=-1,G=arguments.length;X<G;X++)if(le=X===-1?B:arguments[X],P(le)){if(te=f(le.length),H+te>g)throw TypeError(b);for(ae=0;ae<te;ae++,H++)ae in le&&p(M,H,le[ae])}else{if(H>=g)throw TypeError(b);p(M,H++,le)}return M.length=H,M}})},"9bdd":function(s,o,i){var a=i("825a");s.exports=function(l,c,d,m){try{return m?c(a(d)[0],d[1]):c(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(s,o,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),d=i("c04e"),m=Object.defineProperty;o.f=a?m:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(s,o,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),c=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};s.exports=function(p,h,_){var v=h+" Iterator";return p.prototype=l(a,{next:c(1,_)}),d(p,v,!1,!0),m[v]=f,p}},"9f7f":function(s,o,i){var a=i("d039");function l(c,d){return RegExp(c,d)}o.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(s,o,i){var a=i("e8b5"),l=i("50c4"),c=i("0366"),d=function(m,f,p,h,_,v,C,S){for(var g=_,b=0,E=C?c(C,S,3):!1,w;b<h;){if(b in p){if(w=E?E(p[b],b,f):p[b],v>0&&a(w))g=d(m,f,w,l(w.length),g,v-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[g]=w}g++}b++}return g};s.exports=d},a352:function(s,o){s.exports=r},a434:function(s,o,i){var a=i("23e7"),l=i("23cb"),c=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),v=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),S=Math.max,g=Math.min,b=9007199254740991,E="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!v||!C},{splice:function(P,N){var k=m(this),R=d(k.length),B=l(P,R),M=arguments.length,H,X,ae,G,te,le;if(M===0?H=X=0:M===1?(H=0,X=R-B):(H=M-2,X=g(S(c(N),0),R-B)),R+H-X>b)throw TypeError(E);for(ae=f(k,X),G=0;G<X;G++)te=B+G,te in k&&p(ae,G,k[te]);if(ae.length=X,H<X){for(G=B;G<R-X;G++)te=G+X,le=G+H,te in k?k[le]=k[te]:delete k[le];for(G=R;G>R-X+H;G--)delete k[G-1]}else if(H>X)for(G=R-X;G>B;G--)te=G+X-1,le=G+H-1,te in k?k[le]=k[te]:delete k[le];for(G=0;G<H;G++)k[G+B]=arguments[G+2];return k.length=R-X+H,ae}})},a4d3:function(s,o,i){var a=i("23e7"),l=i("da84"),c=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),v=i("e8b5"),C=i("861d"),S=i("825a"),g=i("7b0b"),b=i("fc6a"),E=i("c04e"),w=i("5c6c"),P=i("7c73"),N=i("df75"),k=i("241c"),R=i("057f"),B=i("7418"),M=i("06cf"),H=i("9bf2"),X=i("d1e7"),ae=i("9112"),G=i("6eeb"),te=i("5692"),le=i("f772"),Ae=i("d012"),Qe=i("90e3"),De=i("b622"),je=i("e538"),ft=i("746f"),pt=i("d44e"),gt=i("69f3"),Ge=i("b727").forEach,Y=le("hidden"),fe="Symbol",de="prototype",ye=De("toPrimitive"),Be=gt.set,Xe=gt.getterFor(fe),O=Object[de],I=l.Symbol,q=c("JSON","stringify"),ne=M.f,J=H.f,ie=R.f,pe=X.f,T=te("symbols"),A=te("op-symbols"),F=te("string-to-symbol-registry"),se=te("symbol-to-string-registry"),ce=te("wks"),oe=l.QObject,j=!oe||!oe[de]||!oe[de].findChild,Z=m&&h(function(){return P(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a!=7})?function(Ie,ke,Ne){var tt=ne(O,ke);tt&&delete O[ke],J(Ie,ke,Ne),tt&&Ie!==O&&J(O,ke,tt)}:J,we=function(Ie,ke){var Ne=T[Ie]=P(I[de]);return Be(Ne,{type:fe,tag:Ie,description:ke}),m||(Ne.description=ke),Ne},V=p?function(Ie){return typeof Ie=="symbol"}:function(Ie){return Object(Ie)instanceof I},U=function(ke,Ne,tt){ke===O&&U(A,Ne,tt),S(ke);var it=E(Ne,!0);return S(tt),_(T,it)?(tt.enumerable?(_(ke,Y)&&ke[Y][it]&&(ke[Y][it]=!1),tt=P(tt,{enumerable:w(0,!1)})):(_(ke,Y)||J(ke,Y,w(1,{})),ke[Y][it]=!0),Z(ke,it,tt)):J(ke,it,tt)},K=function(ke,Ne){S(ke);var tt=b(Ne),it=N(tt).concat(Fe(tt));return Ge(it,function($n){(!m||_e.call(tt,$n))&&U(ke,$n,tt[$n])}),ke},re=function(ke,Ne){return Ne===void 0?P(ke):K(P(ke),Ne)},_e=function(ke){var Ne=E(ke,!0),tt=pe.call(this,Ne);return this===O&&_(T,Ne)&&!_(A,Ne)?!1:tt||!_(this,Ne)||!_(T,Ne)||_(this,Y)&&this[Y][Ne]?tt:!0},Te=function(ke,Ne){var tt=b(ke),it=E(Ne,!0);if(!(tt===O&&_(T,it)&&!_(A,it))){var $n=ne(tt,it);return $n&&_(T,it)&&!(_(tt,Y)&&tt[Y][it])&&($n.enumerable=!0),$n}},Ve=function(ke){var Ne=ie(b(ke)),tt=[];return Ge(Ne,function(it){!_(T,it)&&!_(Ae,it)&&tt.push(it)}),tt},Fe=function(ke){var Ne=ke===O,tt=ie(Ne?A:b(ke)),it=[];return Ge(tt,function($n){_(T,$n)&&(!Ne||_(O,$n))&&it.push(T[$n])}),it};if(f||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor");var ke=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Ne=Qe(ke),tt=function(it){this===O&&tt.call(A,it),_(this,Y)&&_(this[Y],Ne)&&(this[Y][Ne]=!1),Z(this,Ne,w(1,it))};return m&&j&&Z(O,Ne,{configurable:!0,set:tt}),we(Ne,ke)},G(I[de],"toString",function(){return Xe(this).tag}),G(I,"withoutSetter",function(Ie){return we(Qe(Ie),Ie)}),X.f=_e,H.f=U,M.f=Te,k.f=R.f=Ve,B.f=Fe,je.f=function(Ie){return we(De(Ie),Ie)},m&&(J(I[de],"description",{configurable:!0,get:function(){return Xe(this).description}}),d||G(O,"propertyIsEnumerable",_e,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:I}),Ge(N(ce),function(Ie){ft(Ie)}),a({target:fe,stat:!0,forced:!f},{for:function(Ie){var ke=String(Ie);if(_(F,ke))return F[ke];var Ne=I(ke);return F[ke]=Ne,se[Ne]=ke,Ne},keyFor:function(ke){if(!V(ke))throw TypeError(ke+" is not a symbol");if(_(se,ke))return se[ke]},useSetter:function(){j=!0},useSimple:function(){j=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!m},{create:re,defineProperty:U,defineProperties:K,getOwnPropertyDescriptor:Te}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Ve,getOwnPropertySymbols:Fe}),a({target:"Object",stat:!0,forced:h(function(){B.f(1)})},{getOwnPropertySymbols:function(ke){return B.f(g(ke))}}),q){var at=!f||h(function(){var Ie=I();return q([Ie])!="[null]"||q({a:Ie})!="{}"||q(Object(Ie))!="{}"});a({target:"JSON",stat:!0,forced:at},{stringify:function(ke,Ne,tt){for(var it=[ke],$n=1,gd;arguments.length>$n;)it.push(arguments[$n++]);if(gd=Ne,!(!C(Ne)&&ke===void 0||V(ke)))return v(Ne)||(Ne=function(jC,_l){if(typeof gd=="function"&&(_l=gd.call(this,jC,_l)),!V(_l))return _l}),it[1]=Ne,q.apply(null,it)}})}I[de][ye]||ae(I[de],ye,I[de].valueOf),pt(I,fe),Ae[Y]=!0},a630:function(s,o,i){var a=i("23e7"),l=i("4df4"),c=i("1c7e"),d=!c(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:d},{from:l})},a640:function(s,o,i){var a=i("d039");s.exports=function(l,c){var d=[][l];return!!d&&a(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(s,o){var i=Math.ceil,a=Math.floor;s.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(s,o,i){var a=i("b622"),l=a("match");s.exports=function(c){var d=/./;try{"/./"[c](d)}catch{try{return d[l]=!1,"/./"[c](d)}catch{}}return!1}},ac1f:function(s,o,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(s,o,i){var a=i("825a");s.exports=function(){var l=a(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(s,o,i){var a=i("83ab"),l=i("d039"),c=i("5135"),d=Object.defineProperty,m={},f=function(p){throw p};s.exports=function(p,h){if(c(m,p))return m[p];h||(h={});var _=[][p],v=c(h,"ACCESSORS")?h.ACCESSORS:!1,C=c(h,0)?h[0]:f,S=c(h,1)?h[1]:void 0;return m[p]=!!_&&!l(function(){if(v&&!a)return!0;var g={length:-1};v?d(g,1,{enumerable:!0,get:f}):g[1]=1,_.call(g,C,S)})}},ae93:function(s,o,i){var a=i("e163"),l=i("9112"),c=i("5135"),d=i("b622"),m=i("c430"),f=d("iterator"),p=!1,h=function(){return this},_,v,C;[].keys&&(C=[].keys(),"next"in C?(v=a(a(C)),v!==Object.prototype&&(_=v)):p=!0),_==null&&(_={}),!m&&!c(_,f)&&l(_,f,h),s.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(s,o,i){var a=i("00ee"),l=i("f5df");s.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(s,o,i){var a=i("83ab"),l=i("9bf2").f,c=Function.prototype,d=c.toString,m=/^\s*function ([^ (]*)/,f="name";a&&!(f in c)&&l(c,f,{configurable:!0,get:function(){try{return d.call(this).match(m)[1]}catch{return""}}})},b622:function(s,o,i){var a=i("da84"),l=i("5692"),c=i("5135"),d=i("90e3"),m=i("4930"),f=i("fdbf"),p=l("wks"),h=a.Symbol,_=f?h:h&&h.withoutSetter||d;s.exports=function(v){return c(p,v)||(m&&c(h,v)?p[v]=h[v]:p[v]=_("Symbol."+v)),p[v]}},b64b:function(s,o,i){var a=i("23e7"),l=i("7b0b"),c=i("df75"),d=i("d039"),m=d(function(){c(1)});a({target:"Object",stat:!0,forced:m},{keys:function(p){return c(l(p))}})},b727:function(s,o,i){var a=i("0366"),l=i("44ad"),c=i("7b0b"),d=i("50c4"),m=i("65f0"),f=[].push,p=function(h){var _=h==1,v=h==2,C=h==3,S=h==4,g=h==6,b=h==5||g;return function(E,w,P,N){for(var k=c(E),R=l(k),B=a(w,P,3),M=d(R.length),H=0,X=N||m,ae=_?X(E,M):v?X(E,0):void 0,G,te;M>H;H++)if((b||H in R)&&(G=R[H],te=B(G,H,k),h)){if(_)ae[H]=te;else if(te)switch(h){case 3:return!0;case 5:return G;case 6:return H;case 2:f.call(ae,G)}else if(S)return!1}return g?-1:C||S?S:ae}};s.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(s,o,i){var a=i("861d");s.exports=function(l,c){if(!a(l))return l;var d,m;if(c&&typeof(d=l.toString)=="function"&&!a(m=d.call(l))||typeof(d=l.valueOf)=="function"&&!a(m=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!a(m=d.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(s,o){s.exports=!1},c6b6:function(s,o){var i={}.toString;s.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(s,o,i){var a=i("da84"),l=i("ce4e"),c="__core-js_shared__",d=a[c]||l(c,{});s.exports=d},c740:function(s,o,i){var a=i("23e7"),l=i("b727").findIndex,c=i("44d2"),d=i("ae40"),m="findIndex",f=!0,p=d(m);m in[]&&Array(1)[m](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(m)},c8ba:function(s,o){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}s.exports=i},c975:function(s,o,i){var a=i("23e7"),l=i("4d64").indexOf,c=i("a640"),d=i("ae40"),m=[].indexOf,f=!!m&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!p||!h},{indexOf:function(v){return f?m.apply(this,arguments)||0:l(this,v,arguments.length>1?arguments[1]:void 0)}})},ca84:function(s,o,i){var a=i("5135"),l=i("fc6a"),c=i("4d64").indexOf,d=i("d012");s.exports=function(m,f){var p=l(m),h=0,_=[],v;for(v in p)!a(d,v)&&a(p,v)&&_.push(v);for(;f.length>h;)a(p,v=f[h++])&&(~c(_,v)||_.push(v));return _}},caad:function(s,o,i){var a=i("23e7"),l=i("4d64").includes,c=i("44d2"),d=i("ae40"),m=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(s,o,i){var a=i("da84"),l=i("861d"),c=a.document,d=l(c)&&l(c.createElement);s.exports=function(m){return d?c.createElement(m):{}}},ce4e:function(s,o,i){var a=i("da84"),l=i("9112");s.exports=function(c,d){try{l(a,c,d)}catch{a[c]=d}return d}},d012:function(s,o){s.exports={}},d039:function(s,o){s.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(s,o,i){var a=i("428f"),l=i("da84"),c=function(d){return typeof d=="function"?d:void 0};s.exports=function(d,m){return arguments.length<2?c(a[d])||c(l[d]):a[d]&&a[d][m]||l[d]&&l[d][m]}},d1e7:function(s,o,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);o.f=c?function(m){var f=l(this,m);return!!f&&f.enumerable}:a},d28b:function(s,o,i){var a=i("746f");a("iterator")},d2bb:function(s,o,i){var a=i("825a"),l=i("3bbe");s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,d={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return a(p),l(h),c?m.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(s,o,i){var a=i("00ee"),l=i("6eeb"),c=i("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(s,o,i){var a=i("9bf2").f,l=i("5135"),c=i("b622"),d=c("toStringTag");s.exports=function(m,f,p){m&&!l(m=p?m:m.prototype,d)&&a(m,d,{configurable:!0,value:f})}},d58f:function(s,o,i){var a=i("1c0b"),l=i("7b0b"),c=i("44ad"),d=i("50c4"),m=function(f){return function(p,h,_,v){a(h);var C=l(p),S=c(C),g=d(C.length),b=f?g-1:0,E=f?-1:1;if(_<2)for(;;){if(b in S){v=S[b],b+=E;break}if(b+=E,f?b<0:g<=b)throw TypeError("Reduce of empty array with no initial value")}for(;f?b>=0:g>b;b+=E)b in S&&(v=h(v,S[b],b,C));return v}};s.exports={left:m(!1),right:m(!0)}},d784:function(s,o,i){i("ac1f");var a=i("6eeb"),l=i("d039"),c=i("b622"),d=i("9263"),m=i("9112"),f=c("species"),p=!l(function(){var S=/./;return S.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(S,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),v=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),C=!l(function(){var S=/(?:)/,g=S.exec;S.exec=function(){return g.apply(this,arguments)};var b="ab".split(S);return b.length!==2||b[0]!=="a"||b[1]!=="b"});s.exports=function(S,g,b,E){var w=c(S),P=!l(function(){var H={};return H[w]=function(){return 7},""[S](H)!=7}),N=P&&!l(function(){var H=!1,X=/a/;return S==="split"&&(X={},X.constructor={},X.constructor[f]=function(){return X},X.flags="",X[w]=/./[w]),X.exec=function(){return H=!0,null},X[w](""),!H});if(!P||!N||S==="replace"&&!(p&&h&&!v)||S==="split"&&!C){var k=/./[w],R=b(w,""[S],function(H,X,ae,G,te){return X.exec===d?P&&!te?{done:!0,value:k.call(X,ae,G)}:{done:!0,value:H.call(ae,X,G)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:v}),B=R[0],M=R[1];a(String.prototype,S,B),a(RegExp.prototype,w,g==2?function(H,X){return M.call(H,this,X)}:function(H){return M.call(H,this)})}E&&m(RegExp.prototype[w],"sham",!0)}},d81d:function(s,o,i){var a=i("23e7"),l=i("b727").map,c=i("1dde"),d=i("ae40"),m=c("map"),f=d("map");a({target:"Array",proto:!0,forced:!m||!f},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(s,o,i){(function(a){var l=function(c){return c&&c.Math==Math&&c};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(s,o,i){var a=i("23e7"),l=i("83ab"),c=i("56ef"),d=i("fc6a"),m=i("06cf"),f=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),v=m.f,C=c(_),S={},g=0,b,E;C.length>g;)E=v(_,b=C[g++]),E!==void 0&&f(S,b,E);return S}})},dbf1:function(s,o,i){(function(a){i.d(o,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,i("c8ba"))},ddb0:function(s,o,i){var a=i("da84"),l=i("fdbc"),c=i("e260"),d=i("9112"),m=i("b622"),f=m("iterator"),p=m("toStringTag"),h=c.values;for(var _ in l){var v=a[_],C=v&&v.prototype;if(C){if(C[f]!==h)try{d(C,f,h)}catch{C[f]=h}if(C[p]||d(C,p,_),l[_]){for(var S in c)if(C[S]!==c[S])try{d(C,S,c[S])}catch{C[S]=c[S]}}}}},df75:function(s,o,i){var a=i("ca84"),l=i("7839");s.exports=Object.keys||function(d){return a(d,l)}},e01a:function(s,o,i){var a=i("23e7"),l=i("83ab"),c=i("da84"),d=i("5135"),m=i("861d"),f=i("9bf2").f,p=i("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},v=function(){var w=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),P=this instanceof v?new h(w):w===void 0?h():h(w);return w===""&&(_[P]=!0),P};p(v,h);var C=v.prototype=h.prototype;C.constructor=v;var S=C.toString,g=String(h("test"))=="Symbol(test)",b=/^Symbol\((.*)\)[^)]+$/;f(C,"description",{configurable:!0,get:function(){var w=m(this)?this.valueOf():this,P=S.call(w);if(d(_,w))return"";var N=g?P.slice(7,-1):P.replace(b,"$1");return N===""?void 0:N}}),a({global:!0,forced:!0},{Symbol:v})}},e163:function(s,o,i){var a=i("5135"),l=i("7b0b"),c=i("f772"),d=i("e177"),m=c("IE_PROTO"),f=Object.prototype;s.exports=d?Object.getPrototypeOf:function(p){return p=l(p),a(p,m)?p[m]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(s,o,i){var a=i("d039");s.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(s,o,i){var a=i("fc6a"),l=i("44d2"),c=i("3f8c"),d=i("69f3"),m=i("7dd0"),f="Array Iterator",p=d.set,h=d.getterFor(f);s.exports=m(Array,"Array",function(_,v){p(this,{type:f,target:a(_),index:0,kind:v})},function(){var _=h(this),v=_.target,C=_.kind,S=_.index++;return!v||S>=v.length?(_.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:S,done:!1}:C=="values"?{value:v[S],done:!1}:{value:[S,v[S]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(s,o,i){var a=i("23e7"),l=i("d039"),c=i("fc6a"),d=i("06cf").f,m=i("83ab"),f=l(function(){d(1)}),p=!m||f;a({target:"Object",stat:!0,forced:p,sham:!m},{getOwnPropertyDescriptor:function(_,v){return d(c(_),v)}})},e538:function(s,o,i){var a=i("b622");o.f=a},e893:function(s,o,i){var a=i("5135"),l=i("56ef"),c=i("06cf"),d=i("9bf2");s.exports=function(m,f){for(var p=l(f),h=d.f,_=c.f,v=0;v<p.length;v++){var C=p[v];a(m,C)||h(m,C,_(f,C))}}},e8b5:function(s,o,i){var a=i("c6b6");s.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(s,o,i){var a=i("b622"),l=i("3f8c"),c=a("iterator"),d=Array.prototype;s.exports=function(m){return m!==void 0&&(l.Array===m||d[c]===m)}},f5df:function(s,o,i){var a=i("00ee"),l=i("c6b6"),c=i("b622"),d=c("toStringTag"),m=l(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};s.exports=a?l:function(p){var h,_,v;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),d))=="string"?_:m?l(h):(v=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":v}},f772:function(s,o,i){var a=i("5692"),l=i("90e3"),c=a("keys");s.exports=function(d){return c[d]||(c[d]=l(d))}},fb15:function(s,o,i){if(i.r(o),typeof window<"u"){var a=window.document.currentScript;{var l=i("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(i.p=c[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function d(V,U,K){return U in V?Object.defineProperty(V,U,{value:K,enumerable:!0,configurable:!0,writable:!0}):V[U]=K,V}function m(V,U){var K=Object.keys(V);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(V);U&&(re=re.filter(function(_e){return Object.getOwnPropertyDescriptor(V,_e).enumerable})),K.push.apply(K,re)}return K}function f(V){for(var U=1;U<arguments.length;U++){var K=arguments[U]!=null?arguments[U]:{};U%2?m(Object(K),!0).forEach(function(re){d(V,re,K[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(K)):m(Object(K)).forEach(function(re){Object.defineProperty(V,re,Object.getOwnPropertyDescriptor(K,re))})}return V}function p(V){if(Array.isArray(V))return V}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(V,U){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(V)))){var K=[],re=!0,_e=!1,Te=void 0;try{for(var Ve=V[Symbol.iterator](),Fe;!(re=(Fe=Ve.next()).done)&&(K.push(Fe.value),!(U&&K.length===U));re=!0);}catch(at){_e=!0,Te=at}finally{try{!re&&Ve.return!=null&&Ve.return()}finally{if(_e)throw Te}}return K}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(V,U){(U==null||U>V.length)&&(U=V.length);for(var K=0,re=new Array(U);K<U;K++)re[K]=V[K];return re}function v(V,U){if(V){if(typeof V=="string")return _(V,U);var K=Object.prototype.toString.call(V).slice(8,-1);if(K==="Object"&&V.constructor&&(K=V.constructor.name),K==="Map"||K==="Set")return Array.from(V);if(K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return _(V,U)}}function C(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S(V,U){return p(V)||h(V,U)||v(V,U)||C()}function g(V){if(Array.isArray(V))return _(V)}function b(V){if(typeof Symbol<"u"&&Symbol.iterator in Object(V))return Array.from(V)}function E(){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 w(V){return g(V)||b(V)||v(V)||E()}var P=i("a352"),N=i.n(P);function k(V){V.parentElement!==null&&V.parentElement.removeChild(V)}function R(V,U,K){var re=K===0?V.children[0]:V.children[K-1].nextSibling;V.insertBefore(U,re)}var B=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function M(V){var U=Object.create(null);return function(re){var _e=U[re];return _e||(U[re]=V(re))}}var H=/-(\w)/g,X=M(function(V){return V.replace(H,function(U,K){return K.toUpperCase()})});i("5db7"),i("73d9");var ae=["Start","Add","Remove","Update","End"],G=["Choose","Unchoose","Sort","Filter","Clone"],te=["Move"],le=[te,ae,G].flatMap(function(V){return V}).map(function(V){return"on".concat(V)}),Ae={manage:te,manageAndEmit:ae,emit:G};function Qe(V){return le.indexOf(V)!==-1}i("caad"),i("2ca0");var De=["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 je(V){return De.includes(V)}function ft(V){return["transition-group","TransitionGroup"].includes(V)}function pt(V){return["id","class","role","style"].includes(V)||V.startsWith("data-")||V.startsWith("aria-")||V.startsWith("on")}function gt(V){return V.reduce(function(U,K){var re=S(K,2),_e=re[0],Te=re[1];return U[_e]=Te,U},{})}function Ge(V){var U=V.$attrs,K=V.componentData,re=K===void 0?{}:K,_e=gt(Object.entries(U).filter(function(Te){var Ve=S(Te,2),Fe=Ve[0];return Ve[1],pt(Fe)}));return f(f({},_e),re)}function Y(V){var U=V.$attrs,K=V.callBackBuilder,re=gt(fe(U));Object.entries(K).forEach(function(Te){var Ve=S(Te,2),Fe=Ve[0],at=Ve[1];Ae[Fe].forEach(function(Ie){re["on".concat(Ie)]=at(Ie)})});var _e="[data-draggable]".concat(re.draggable||"");return f(f({},re),{},{draggable:_e})}function fe(V){return Object.entries(V).filter(function(U){var K=S(U,2),re=K[0];return K[1],!pt(re)}).map(function(U){var K=S(U,2),re=K[0],_e=K[1];return[X(re),_e]}).filter(function(U){var K=S(U,2),re=K[0];return K[1],!Qe(re)})}i("c740");function de(V,U){if(!(V instanceof U))throw new TypeError("Cannot call a class as a function")}function ye(V,U){for(var K=0;K<U.length;K++){var re=U[K];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(V,re.key,re)}}function Be(V,U,K){return U&&ye(V.prototype,U),V}var Xe=function(U){var K=U.el;return K},O=function(U,K){return U.__draggable_context=K},I=function(U){return U.__draggable_context},q=function(){function V(U){var K=U.nodes,re=K.header,_e=K.default,Te=K.footer,Ve=U.root,Fe=U.realList;de(this,V),this.defaultNodes=_e,this.children=[].concat(w(re),w(_e),w(Te)),this.externalComponent=Ve.externalComponent,this.rootTransition=Ve.transition,this.tag=Ve.tag,this.realList=Fe}return Be(V,[{key:"render",value:function(K,re){var _e=this.tag,Te=this.children,Ve=this._isRootComponent,Fe=Ve?{default:function(){return Te}}:Te;return K(_e,re,Fe)}},{key:"updated",value:function(){var K=this.defaultNodes,re=this.realList;K.forEach(function(_e,Te){O(Xe(_e),{element:re[Te],index:Te})})}},{key:"getUnderlyingVm",value:function(K){return I(K)}},{key:"getVmIndexFromDomIndex",value:function(K,re){var _e=this.defaultNodes,Te=_e.length,Ve=re.children,Fe=Ve.item(K);if(Fe===null)return Te;var at=I(Fe);if(at)return at.index;if(Te===0)return 0;var Ie=Xe(_e[0]),ke=w(Ve).findIndex(function(Ne){return Ne===Ie});return K<ke?0:Te}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),V}(),ne=i("8bbf");function J(V,U){var K=V[U];return K?K():[]}function ie(V){var U=V.$slots,K=V.realList,re=V.getKey,_e=K||[],Te=["header","footer"].map(function(Ne){return J(U,Ne)}),Ve=S(Te,2),Fe=Ve[0],at=Ve[1],Ie=U.item;if(!Ie)throw new Error("draggable element must have an item slot");var ke=_e.flatMap(function(Ne,tt){return Ie({element:Ne,index:tt}).map(function(it){return it.key=re(Ne),it.props=f(f({},it.props||{}),{},{"data-draggable":!0}),it})});if(ke.length!==_e.length)throw new Error("Item slot must have only one child");return{header:Fe,footer:at,default:ke}}function pe(V){var U=ft(V),K=!je(V)&&!U;return{transition:U,externalComponent:K,tag:K?Object(ne.resolveComponent)(V):U?ne.TransitionGroup:V}}function T(V){var U=V.$slots,K=V.tag,re=V.realList,_e=V.getKey,Te=ie({$slots:U,realList:re,getKey:_e}),Ve=pe(K);return new q({nodes:Te,root:Ve,realList:re})}function A(V,U){var K=this;Object(ne.nextTick)(function(){return K.$emit(V.toLowerCase(),U)})}function F(V){var U=this;return function(K,re){if(U.realList!==null)return U["onDrag".concat(V)](K,re)}}function se(V){var U=this,K=F.call(this,V);return function(re,_e){K.call(U,re,_e),A.call(U,V,re)}}var ce=null,oe={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(U){return U}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},j=["update:modelValue","change"].concat(w([].concat(w(Ae.manageAndEmit),w(Ae.emit)).map(function(V){return V.toLowerCase()}))),Z=Object(ne.defineComponent)({name:"draggable",inheritAttrs:!1,props:oe,emits:j,data:function(){return{error:!1}},render:function(){try{this.error=!1;var U=this.$slots,K=this.$attrs,re=this.tag,_e=this.componentData,Te=this.realList,Ve=this.getKey,Fe=T({$slots:U,tag:re,realList:Te,getKey:Ve});this.componentStructure=Fe;var at=Ge({$attrs:K,componentData:_e});return Fe.render(ne.h,at)}catch(Ie){return this.error=!0,Object(ne.h)("pre",{style:{color:"red"}},Ie.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&B.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var U=this;if(!this.error){var K=this.$attrs,re=this.$el,_e=this.componentStructure;_e.updated();var Te=Y({$attrs:K,callBackBuilder:{manageAndEmit:function(at){return se.call(U,at)},emit:function(at){return A.bind(U,at)},manage:function(at){return F.call(U,at)}}}),Ve=re.nodeType===1?re:re.parentElement;this._sortable=new N.a(Ve,Te),this.targetDomElement=Ve,Ve.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var U=this.list;return U||this.modelValue},getKey:function(){var U=this.itemKey;return typeof U=="function"?U:function(K){return K[U]}}},watch:{$attrs:{handler:function(U){var K=this._sortable;K&&fe(U).forEach(function(re){var _e=S(re,2),Te=_e[0],Ve=_e[1];K.option(Te,Ve)})},deep:!0}},methods:{getUnderlyingVm:function(U){return this.componentStructure.getUnderlyingVm(U)||null},getUnderlyingPotencialDraggableComponent:function(U){return U.__draggable_component__},emitChanges:function(U){var K=this;Object(ne.nextTick)(function(){return K.$emit("change",U)})},alterList:function(U){if(this.list){U(this.list);return}var K=w(this.modelValue);U(K),this.$emit("update:modelValue",K)},spliceList:function(){var U=arguments,K=function(_e){return _e.splice.apply(_e,w(U))};this.alterList(K)},updatePosition:function(U,K){var re=function(Te){return Te.splice(K,0,Te.splice(U,1)[0])};this.alterList(re)},getRelatedContextFromMoveEvent:function(U){var K=U.to,re=U.related,_e=this.getUnderlyingPotencialDraggableComponent(K);if(!_e)return{component:_e};var Te=_e.realList,Ve={list:Te,component:_e};if(K!==re&&Te){var Fe=_e.getUnderlyingVm(re)||{};return f(f({},Fe),Ve)}return Ve},getVmIndexFromDomIndex:function(U){return this.componentStructure.getVmIndexFromDomIndex(U,this.targetDomElement)},onDragStart:function(U){this.context=this.getUnderlyingVm(U.item),U.item._underlying_vm_=this.clone(this.context.element),ce=U.item},onDragAdd:function(U){var K=U.item._underlying_vm_;if(K!==void 0){k(U.item);var re=this.getVmIndexFromDomIndex(U.newIndex);this.spliceList(re,0,K);var _e={element:K,newIndex:re};this.emitChanges({added:_e})}},onDragRemove:function(U){if(R(this.$el,U.item,U.oldIndex),U.pullMode==="clone"){k(U.clone);return}var K=this.context,re=K.index,_e=K.element;this.spliceList(re,1);var Te={element:_e,oldIndex:re};this.emitChanges({removed:Te})},onDragUpdate:function(U){k(U.item),R(U.from,U.item,U.oldIndex);var K=this.context.index,re=this.getVmIndexFromDomIndex(U.newIndex);this.updatePosition(K,re);var _e={element:this.context.element,oldIndex:K,newIndex:re};this.emitChanges({moved:_e})},computeFutureIndex:function(U,K){if(!U.element)return 0;var re=w(K.to.children).filter(function(Fe){return Fe.style.display!=="none"}),_e=re.indexOf(K.related),Te=U.component.getVmIndexFromDomIndex(_e),Ve=re.indexOf(ce)!==-1;return Ve||!K.willInsertAfter?Te:Te+1},onDragMove:function(U,K){var re=this.move,_e=this.realList;if(!re||!_e)return!0;var Te=this.getRelatedContextFromMoveEvent(U),Ve=this.computeFutureIndex(Te,U),Fe=f(f({},this.context),{},{futureIndex:Ve}),at=f(f({},U),{},{relatedContext:Te,draggedContext:Fe});return re(at,K)},onDragEnd:function(){ce=null}}}),we=Z;o.default=we},fb6a:function(s,o,i){var a=i("23e7"),l=i("861d"),c=i("e8b5"),d=i("23cb"),m=i("50c4"),f=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),v=i("ae40"),C=_("slice"),S=v("slice",{ACCESSORS:!0,0:0,1:2}),g=h("species"),b=[].slice,E=Math.max;a({target:"Array",proto:!0,forced:!C||!S},{slice:function(P,N){var k=f(this),R=m(k.length),B=d(P,R),M=d(N===void 0?R:N,R),H,X,ae;if(c(k)&&(H=k.constructor,typeof H=="function"&&(H===Array||c(H.prototype))?H=void 0:l(H)&&(H=H[g],H===null&&(H=void 0)),H===Array||H===void 0))return b.call(k,B,M);for(X=new(H===void 0?Array:H)(E(M-B,0)),ae=0;B<M;B++,ae++)B in k&&p(X,ae,k[B]);return X.length=ae,X}})},fc6a:function(s,o,i){var a=i("44ad"),l=i("1d80");s.exports=function(c){return a(l(c))}},fdbc:function(s,o){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(s,o,i){var a=i("4930");s.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})}(fc)),fc.exports}var mY=dY();const fY=Hu(mY),pY={name:"PageQueue",components:{ContentWithHeading:ot,ListItemQueueItem:GK,ModalDialogAddUrlStream:uX,ModalDialogPlaylistSave:kX,ModalDialogQueueItem:xC,draggable:fY},setup(){return{configurationStore:Ao(),playerStore:er(),queueStore:Ar(),uiStore:Bn()}},data(){return{edit_mode:!1,selected_item:{},show_details_modal:!1,show_pls_save_modal:!1,show_url_modal:!1}},computed:{current_position(){var e;return((e=this.queue.current)==null?void 0:e.position)??-1},is_queue_save_allowed(){return this.configurationStore.allow_modifying_stored_playlists&&this.configurationStore.default_playlist_directory},queue(){return this.queueStore},queue_items:{get(){return this.queue.items},set(){}},show_only_next_items(){return this.uiStore.show_only_next_items},player(){return this.playerStore}},methods:{move_item(e){const t=e.oldIndex+(this.show_only_next_items&&this.current_position),n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&W.queue_move(n.id,r)},open_add_stream_dialog(){this.show_url_modal=!0},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},queue_clear(){W.queue_clear()},remove(e){W.queue_remove(e.id)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)},update_show_next_items(){this.uiStore.show_only_next_items=!this.uiStore.show_only_next_items}}},hY=["textContent"],_Y=["textContent"],gY={class:"buttons is-centered"},yY=["textContent"],vY=["textContent"],bY=["disabled"],zY=["textContent"],CY=["disabled"],SY=["textContent"],EY=["disabled"],wY=["textContent"],kY=["onClick"],xY=["onClick"];function TY(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-item-queue-item"),l=$("draggable"),c=$("modal-dialog-queue-item"),d=$("modal-dialog-add-url-stream"),m=$("modal-dialog-playlist-save"),f=$("content-with-heading");return x(),L("div",null,[z(f,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.queue.title"))},null,8,hY),u("p",{class:"heading",textContent:y(e.$t("page.queue.count",{count:o.queue.count}))},null,8,_Y)]),"heading-right":D(()=>[u("div",gY,[u("button",{class:Ce(["button is-small",{"is-info":o.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>o.update_show_next_items&&o.update_show_next_items(...p))},[z(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),u("span",{textContent:y(e.$t("page.queue.hide-previous"))},null,8,yY)],2),u("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.open_add_stream_dialog(...p))},[z(i,{class:"icon",name:"web",size:"16"}),u("span",{textContent:y(e.$t("page.queue.add-stream"))},null,8,vY)]),u("button",{class:Ce(["button is-small",{"is-info":s.edit_mode}]),disabled:o.queue_items.length===0,onClick:t[2]||(t[2]=p=>s.edit_mode=!s.edit_mode)},[z(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:y(e.$t("page.queue.edit"))},null,8,zY)],10,bY),u("button",{class:"button is-small",disabled:o.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[z(i,{class:"icon",name:"delete-empty",size:"16"}),u("span",{textContent:y(e.$t("page.queue.clear"))},null,8,SY)],8,CY),o.is_queue_save_allowed?(x(),L("button",{key:0,class:"button is-small",disabled:o.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>o.save_dialog&&o.save_dialog(...p))},[z(i,{class:"icon",name:"content-save",size:"16"}),u("span",{textContent:y(e.$t("page.queue.save"))},null,8,wY)],8,EY)):ee("",!0)])]),content:D(()=>[z(l,{modelValue:o.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>o.queue_items=p),handle:".handle","item-key":"id",onEnd:o.move_item},{item:D(({element:p,index:h})=>[z(a,{item:p,position:h,current_position:o.current_position,show_only_next_items:o.show_only_next_items,edit_mode:s.edit_mode},{actions:D(()=>[s.edit_mode?ee("",!0):(x(),L("a",{key:0,onClick:wt(_=>o.open_dialog(p),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,kY)),p.id!==o.player.item_id&&s.edit_mode?(x(),L("a",{key:1,onClick:wt(_=>o.remove(p),["prevent","stop"])},[z(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,xY)):ee("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),z(c,{show:s.show_details_modal,item:s.selected_item,onClose:t[6]||(t[6]=p=>s.show_details_modal=!1)},null,8,["show","item"]),z(d,{show:s.show_url_modal,onClose:t[7]||(t[7]=p=>s.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(x(),ze(m,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):ee("",!0)]),_:1})])}const AY=ue(pY,[["render",TY]]),qy={load(e){return W.library_radio_streams()},set(e,t){e.tracks=new xe(t.data.tracks)}},OY={name:"PageRadioStreams",components:{ContentWithHeading:ot,ListTracks:jn},beforeRouteEnter(e,t,n){qy.load(e).then(r=>{n(s=>qy.set(s,r))})},data(){return{tracks:new xe}}},$Y=["textContent"],NY=["textContent"];function IY(e,t,n,r,s,o){const i=$("list-tracks"),a=$("content-with-heading");return x(),L("div",null,[z(a,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.radio.title"))},null,8,$Y),u("p",{class:"heading",textContent:y(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,NY)]),content:D(()=>[z(i,{items:s.tracks},null,8,["items"])]),_:1})])}const PY=ue(OY,[["render",IY]]),LY={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:Ht()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},RY={key:0,class:"section"},DY={class:"container"},MY={class:"columns is-centered"},FY={class:"column is-four-fifths"},VY={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},HY=["textContent"],UY=["textContent"];function jY(e,t,n,r,s,o){const i=$("mdicon");return o.spotify_enabled?(x(),L("section",RY,[u("div",DY,[u("div",MY,[u("div",FY,[u("div",VY,[u("ul",null,[u("li",{class:Ce({"is-active":e.$route.name==="search-library"})},[u("a",{onClick:t[0]||(t[0]=a=>e.$emit("search-library"))},[z(i,{class:"icon is-small",name:"bookshelf",size:"16"}),u("span",{textContent:y(e.$t("page.search.tabs.library"))},null,8,HY)])],2),u("li",{class:Ce({"is-active":e.$route.name==="search-spotify"})},[u("a",{onClick:t[1]||(t[1]=a=>e.$emit("search-spotify"))},[z(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:y(e.$t("page.search.tabs.spotify"))},null,8,UY)])],2)])])])])])])):ee("",!0)}const FC=ue(LY,[["render",jY]]),pm=3,hm=["track","artist","album","composer","playlist","audiobook","podcast"],BY={name:"PageSearchLibrary",components:{ContentWithHeading:ot,ListAlbums:Xn,ListArtists:Zc,ListComposers:yf,ListPlaylists:Jc,ListTracks:jn,TabsSearch:FC},setup(){return{searchStore:hp()}},data(){return{components:{album:Xn.name,artist:Zc.name,audiobook:Xn.name,composer:yf.name,playlist:Jc.name,podcast:Xn.name,track:jn.name},results:new Map,search_limit:{},search_query:"",search_types:hm}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.searchStore.recent_searches}},watch:{search_query(){this.searchStore.search_query=this.search_query}},mounted(){this.searchStore.search_source=this.$route.name,this.search_query=this.searchStore.search_query,this.search_limit=pm,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_limit=-1,this.search()},open_search(e){this.search_query=e,this.search_types=hm,this.search_limit=pm,this.search()},remove_search(e){this.searchStore.remove(e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,new xe)})},search(e){if(e&&(this.search_types=hm,this.search_limit=pm),this.search_query=this.search_query.trim(),!this.search_query||!this.search_query.replace(/^query:/u,"")){this.$refs.search_field.focus();return}this.reset(),this.search_types.forEach(t=>{this.search_items(t)}),this.searchStore.add(this.search_query)},search_items(e){const t=e!=="audiobook"&&e!=="podcast",n=t?"music":e,r={limit:this.search_limit,type:t?e:"album"};this.search_query.startsWith("query:")?r.expression=`(${this.search_query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:t?(r.query=this.search_query,r.media_kind=n):r.expression=`(album includes "${this.search_query}" or artist includes "${this.search_query}") and media_kind is ${n}`,W.search(r).then(({data:s})=>{this.results.set(e,new xe(s[`${r.type}s`]))})},search_spotify(){this.$router.push({name:"search-spotify"})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},qY={class:"section pb-0"},WY={class:"container"},GY={class:"columns is-centered"},KY={class:"column is-four-fifths"},XY={class:"field"},YY={class:"control has-icons-left"},ZY=["placeholder"],JY=["textContent"],QY={class:"field is-grouped is-grouped-multiline mt-4"},eZ={class:"tags has-addons"},tZ=["onClick","textContent"],nZ=["onClick"],rZ=["textContent"],sZ={key:0,class:"level"},oZ={class:"level-item"},iZ=["onClick","textContent"],aZ={key:1,class:"has-text-centered-mobile"},lZ=["textContent"];function cZ(e,t,n,r,s,o){const i=$("mdicon"),a=$("i18n-t"),l=$("tabs-search"),c=$("content-with-heading");return x(),L(be,null,[u("section",qY,[u("div",WY,[u("div",GY,[u("div",KY,[u("form",{onSubmit:t[1]||(t[1]=wt((...d)=>o.search&&o.search(...d),["prevent"]))},[u("div",XY,[u("p",YY,[Ct(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>s.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,ZY),[[Un,s.search_query]]),z(i,{class:"icon is-left",name:"magnify",size:"16"})]),z(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:D(()=>t[2]||(t[2]=[u("code",null,"query:",-1)])),help:D(()=>[u("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:y(e.$t("page.search.expression"))},null,8,JY)]),_:1})])],32),u("div",QY,[(x(!0),L(be,null,Et(o.recent_searches,d=>(x(),L("div",{key:d,class:"control"},[u("div",eZ,[u("a",{class:"tag",onClick:m=>o.open_search(d),textContent:y(d)},null,8,tZ),u("a",{class:"tag is-delete",onClick:m=>o.remove_search(d)},null,8,nZ)])]))),128))])])])])]),z(l,{onSearchLibrary:o.search,onSearchSpotify:o.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),L(be,null,Et(s.results,([d,m])=>(x(),ze(c,{key:d,class:"pt-0"},Wf({"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t(`page.search.${d}s`))},null,8,rZ)]),content:D(()=>[(x(),ze(Su(s.components[d]),{items:m},null,8,["items"]))]),_:2},[o.expanded?void 0:{name:"footer",fn:D(()=>[o.show_all_button(m)?(x(),L("nav",sZ,[u("p",oZ,[u("a",{class:"button is-light is-small is-rounded",onClick:f=>o.expand(d),textContent:y(e.$t(`page.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,iZ)])])):ee("",!0),m.total?ee("",!0):(x(),L("p",aZ,[u("i",{textContent:y(e.$t("page.search.no-results"))},null,8,lZ)]))]),key:"0"}]),1024))),128))],64)}const uZ=ue(BY,[["render",cZ]]),dZ={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:CC},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"music-spotify-artist",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},mZ=["onClick"],fZ=["textContent"],pZ={class:"media-right"},hZ=["onClick"];function _Z(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-artist-spotify");return x(),L(be,null,[(x(!0),L(be,null,Et(n.items,l=>(x(),L("div",{key:l.id,class:"media is-align-items-center"},[u("div",{class:"media-content is-clickable is-clipped",onClick:c=>o.open(l)},[u("h1",{class:"title is-6",textContent:y(l.name)},null,8,fZ)],8,mZ),u("div",pZ,[u("a",{onClick:wt(c=>o.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,hZ)])]))),128)),(x(),ze(hr,{to:"#app"},[z(a,{item:s.selected_item,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Wy=ue(dZ,[["render",_Z]]),_m=3,gm=50,ym=["track","artist","album","playlist"],gZ={name:"PageSearchSpotify",components:{ContentWithHeading:ot,ListAlbumsSpotify:Xa,ListArtistsSpotify:Wy,ListPlaylistsSpotify:Qc,ListTracksSpotify:Yc,TabsSearch:FC,VueEternalLoading:th},setup(){return{searchStore:hp()}},data(){return{components:{album:Xa.name,artist:Wy.name,playlist:Qc.name,track:Yc.name},results:new Map,search_parameters:{},search_query:"",search_types:ym}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.searchStore.recent_searches.filter(e=>!e.startsWith("query:"))}},watch:{search_query(){this.searchStore.search_query=this.search_query}},mounted(){this.searchStore.search_source=this.$route.name,this.search_query=this.searchStore.search_query,this.search_parameters.limit=_m,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_parameters.limit=gm,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=ym,this.search_parameters.limit=_m,this.search_parameters.offset=0,this.search()},remove_search(e){this.searchStore.remove(e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,{items:[],total:0})})},search(e){if(e&&(this.search_types=ym,this.search_parameters.limit=_m),this.search_query=this.search_query.trim(),!this.search_query){this.$refs.search_field.focus();return}this.reset(),this.search_items().then(t=>{this.search_types.forEach(n=>{this.results.set(n,t[`${n}s`])})}),this.searchStore.add(this.search_query)},search_items(){return W.spotify().then(({data:e})=>{this.search_parameters.market=e.webapi_country;const t=new Pr;return t.setAccessToken(e.webapi_token),t.search(this.search_query,this.search_types,this.search_parameters)})},search_library(){this.$router.push({name:"search-library"})},search_next({loaded:e}){const[t]=this.search_types,n=this.results.get(t);this.search_parameters.limit=gm,this.search_items().then(r=>{const[s]=Object.values(r);n.items.push(...s.items),n.total=s.total,this.search_parameters.offset||(this.search_parameters.offset=0),this.search_parameters.offset+=s.limit,e(s.items.length,gm)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},yZ={class:"section pb-0"},vZ={class:"container"},bZ={class:"columns is-centered"},zZ={class:"column is-four-fifths"},CZ={class:"field"},SZ={class:"control has-icons-left"},EZ=["placeholder"],wZ={class:"field is-grouped is-grouped-multiline mt-4"},kZ={class:"tags has-addons"},xZ=["onClick","textContent"],TZ=["onClick"],AZ=["textContent"],OZ={class:"columns is-centered"},$Z={class:"column has-text-centered"},NZ={key:0,class:"level"},IZ={class:"level-item"},PZ=["onClick","textContent"],LZ={key:1,class:"has-text-centered-mobile"},RZ=["textContent"];function DZ(e,t,n,r,s,o){const i=$("mdicon"),a=$("tabs-search"),l=$("VueEternalLoading"),c=$("content-with-heading");return x(),L(be,null,[u("section",yZ,[u("div",vZ,[u("div",bZ,[u("div",zZ,[u("form",{onSubmit:t[1]||(t[1]=wt((...d)=>o.search&&o.search(...d),["prevent"]))},[u("div",CZ,[u("p",SZ,[Ct(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>s.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,EZ),[[Un,s.search_query]]),z(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),u("div",wZ,[(x(!0),L(be,null,Et(o.recent_searches,d=>(x(),L("div",{key:d,class:"control"},[u("div",kZ,[u("a",{class:"tag",onClick:m=>o.open_search(d),textContent:y(d)},null,8,xZ),u("a",{class:"tag is-delete",onClick:m=>o.remove_search(d)},null,8,TZ)])]))),128))])])])])]),z(a,{onSearchLibrary:o.search_library,onSearchSpotify:o.search},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),L(be,null,Et(s.results,([d,m])=>(x(),ze(c,{key:d,class:"pt-0"},Wf({"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t(`page.spotify.search.${d}s`))},null,8,AZ)]),content:D(()=>[(x(),ze(Su(s.components[d]),{items:m.items},null,8,["items"])),o.expanded?(x(),ze(l,{key:0,load:o.search_next},{loading:D(()=>[u("div",OZ,[u("div",$Z,[z(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":D(()=>t[2]||(t[2]=[u("br",null,null,-1)])),_:1},8,["load"])):ee("",!0)]),_:2},[o.expanded?void 0:{name:"footer",fn:D(()=>[o.show_all_button(m)?(x(),L("nav",NZ,[u("p",IZ,[u("a",{class:"button is-light is-small is-rounded",onClick:f=>o.expand(d),textContent:y(e.$t(`page.spotify.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,PZ)])])):ee("",!0),m.total?ee("",!0):(x(),L("p",LZ,[u("i",{textContent:y(e.$t("page.spotify.search.no-results"))},null,8,RZ)]))]),key:"0"}]),1024))),128))],64)}const MZ=ue(gZ,[["render",DZ]]),FZ={name:"SettingsCheckbox",props:{category:{required:!0,type:String},name:{required:!0,type:String}},setup(){return{settingsStore:Ir()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.is_success?this.$t("setting.saved"):this.is_error?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){const e=this.settingsStore.setting(this.category,this.name);return e||{category:this.category,name:this.name,value:!1}}},methods:{clear_status(){this.is_error&&(this.setting.value=!this.setting.value),this.statusUpdate=""},update_setting(){this.timerId=-1;const e={category:this.category,name:this.name,value:this.setting.value};W.settings_update(this.category,e).then(()=>{this.settingsStore.update(e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},VZ={class:"field"},HZ=["id"],UZ=["for"],jZ=["textContent"],BZ={key:0,class:"help"};function qZ(e,t,n,r,s,o){return x(),L("div",VZ,[Ct(u("input",{id:o.setting.name,"onUpdate:modelValue":t[0]||(t[0]=i=>o.setting.value=i),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...i)=>o.update_setting&&o.update_setting(...i))},null,40,HZ),[[mr,o.setting.value]]),u("label",{class:"pt-0",for:o.setting.name},[At(e.$slots,"label")],8,UZ),u("i",{class:Ce(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:y(o.info)},null,10,jZ),e.$slots.info?(x(),L("p",BZ,[At(e.$slots,"info")])):ee("",!0)])}const VC=ue(FZ,[["render",qZ]]),WZ={name:"TabsSettings"},GZ={class:"section fd-tabs-section"},KZ={class:"container"},XZ={class:"columns is-centered"},YZ={class:"column is-four-fifths"},ZZ={class:"tabs is-centered is-small"},JZ=["onClick","onKeypress"],QZ=["textContent"],eJ=["onClick","onKeypress"],tJ=["textContent"],nJ=["onClick","onKeypress"],rJ=["textContent"],sJ=["onClick","onKeypress"],oJ=["textContent"];function iJ(e,t,n,r,s,o){const i=$("router-link");return x(),L("section",GZ,[u("div",KZ,[u("div",XZ,[u("div",YZ,[u("div",ZZ,[u("ul",null,[z(i,{to:{name:"settings-webinterface"},custom:""},{default:D(({navigate:a,isActive:l})=>[u("li",{class:Ce({"is-active":l})},[u("a",{onClick:a,onKeypress:Mn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.general"))},null,8,QZ)],40,JZ)],2)]),_:1}),z(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:D(({navigate:a,isActive:l})=>[u("li",{class:Ce({"is-active":l})},[u("a",{onClick:a,onKeypress:Mn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,tJ)],40,eJ)],2)]),_:1}),z(i,{to:{name:"settings-artwork"},custom:""},{default:D(({navigate:a,isActive:l})=>[u("li",{class:Ce({"is-active":l})},[u("a",{onClick:a,onKeypress:Mn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.artwork"))},null,8,rJ)],40,nJ)],2)]),_:1}),z(i,{to:{name:"settings-online-services"},custom:""},{default:D(({navigate:a,isActive:l})=>[u("li",{class:Ce({"is-active":l})},[u("a",{onClick:a,onKeypress:Mn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.online-services"))},null,8,oJ)],40,sJ)],2)]),_:1})])])])])])])}const _d=ue(WZ,[["render",iJ]]),aJ={name:"PageSettingsArtwork",components:{ContentWithHeading:ot,SettingsCheckbox:VC,TabsSettings:_d},setup(){return{servicesStore:Ht()}},computed:{spotify(){return this.servicesStore.spotify}}},lJ={class:"fd-page-with-tabs"},cJ=["textContent"],uJ=["textContent"],dJ=["textContent"],mJ=["textContent"],fJ=["textContent"],pJ=["textContent"],hJ={href:"https://www.spotify.com/",target:"_blank"},_J={class:"icon"},gJ=["textContent"],yJ={href:"https://www.discogs.com/",target:"_blank"},vJ={class:"icon"},bJ=["textContent"],zJ={href:"https://coverartarchive.org/",target:"_blank"},CJ={class:"icon"};function SJ(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("settings-checkbox"),l=$("mdicon"),c=$("content-with-heading");return x(),L("div",lJ,[z(i),z(c,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.artwork.title"))},null,8,cJ)]),content:D(()=>[u("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-1"))},null,8,uJ),z(a,{category:"artwork",name:"streamurl_ignore"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.streaming"))},null,8,dJ)]),_:1}),z(a,{category:"artwork",name:"show_cover_artwork_in_album_lists"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.show-coverart"))},null,8,mJ)]),_:1}),u("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-2"))},null,8,fJ),o.spotify.spotify_logged_in?(x(),ze(a,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.spotify"))},null,8,pJ),u("a",hJ,[u("span",_J,[z(l,{name:"open-in-new",size:"16"})])])]),_:1})):ee("",!0),z(a,{category:"artwork",name:"use_artwork_source_discogs"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.discogs"))},null,8,gJ),u("a",yJ,[u("span",vJ,[z(l,{name:"open-in-new",size:"16"})])])]),_:1}),z(a,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.coverartarchive"))},null,8,bJ),u("a",zJ,[u("span",CJ,[z(l,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const EJ=ue(aJ,[["render",SJ]]),wJ={name:"PageSettingsOnlineServices",components:{ContentWithHeading:ot,TabsSettings:_d},setup(){return{servicesStore:Ht()}},data(){return{lastfm_login:{errors:{error:"",password:"",user:""},password:"",user:""}}},computed:{lastfm(){return this.servicesStore.lastfm},spotify(){return this.servicesStore.spotify},spotify_missing_scope(){return this.spotify.webapi_token_valid&&this.spotify.webapi_granted_scope&&this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" ").filter(e=>!this.spotify.webapi_granted_scope.includes(e)):[]},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]}},methods:{login_lastfm(){W.lastfm_login(this.lastfm_login).then(e=>{this.lastfm_login.user="",this.lastfm_login.password="",this.lastfm_login.errors.user="",this.lastfm_login.errors.password="",this.lastfm_login.errors.error="",e.data.success||(this.lastfm_login.errors.user=e.data.errors.user,this.lastfm_login.errors.password=e.data.errors.password,this.lastfm_login.errors.error=e.data.errors.error)})},logoutLastfm(){W.lastfm_logout()},logout_spotify(){W.spotify_logout()}}},kJ={class:"fd-page-with-tabs"},xJ=["textContent"],TJ={key:0,class:"notification is-size-7"},AJ=["textContent"],OJ={key:1},$J={class:"notification is-size-7"},NJ=["textContent"],IJ={class:"mt-5"},PJ=["textContent"],LJ={key:0},RJ=["textContent"],DJ=["textContent"],MJ={key:1,class:"help is-danger"},FJ=["textContent"],VJ=["textContent"],HJ={class:"field mt-5"},UJ={class:"control"},jJ=["href","textContent"],BJ={class:"help"},qJ=["textContent"],WJ=["textContent"],GJ={key:2,class:"field mt-5"},KJ={class:"control"},XJ=["textContent"],YJ=["textContent"],ZJ={key:0,class:"notification is-size-7"},JJ=["textContent"],QJ={key:1},eQ=["textContent"],tQ={key:0},nQ=["textContent"],rQ={key:1},sQ={class:"field is-grouped"},oQ={class:"control"},iQ=["placeholder"],aQ=["textContent"],lQ={class:"control"},cQ=["placeholder"],uQ=["textContent"],dQ={class:"control"},mQ=["textContent"],fQ=["textContent"],pQ=["textContent"];function hQ(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("content-with-heading");return x(),L("div",kJ,[z(i),z(a,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.spotify.title"))},null,8,xJ)]),content:D(()=>[o.spotify.spotify_installed?ee("",!0):(x(),L("div",TJ,[u("p",{textContent:y(e.$t("page.settings.services.spotify.no-support"))},null,8,AJ)])),o.spotify.spotify_installed?(x(),L("div",OJ,[u("div",$J,[u("span",{textContent:y(e.$t("page.settings.services.spotify.requirements"))},null,8,NJ)]),u("div",IJ,[u("p",{class:"content",textContent:y(e.$t("page.settings.services.spotify.grant-access"))},null,8,PJ),o.spotify.webapi_token_valid?(x(),L("p",LJ,[u("span",{textContent:y(e.$t("page.settings.services.spotify.user"))},null,8,RJ),u("code",{textContent:y(o.spotify.webapi_user)},null,8,DJ)])):ee("",!0),o.spotify_missing_scope.length>0?(x(),L("p",MJ,[u("span",{textContent:y(e.$t("page.settings.services.spotify.reauthorize"))},null,8,FJ),u("code",{textContent:y(o.spotify_missing_scope.join())},null,8,VJ)])):ee("",!0),u("div",HJ,[u("div",UJ,[u("a",{class:Ce(["button",{"is-info":!o.spotify.webapi_token_valid||o.spotify_missing_scope.length>0}]),href:o.spotify.oauth_uri,textContent:y(e.$t("page.settings.services.spotify.authorize"))},null,10,jJ)])]),u("p",BJ,[u("span",{textContent:y(e.$t("page.settings.services.spotify.scopes"))},null,8,qJ),u("code",{textContent:y(o.spotify_required_scope.join(", "))},null,8,WJ)]),o.spotify.webapi_token_valid?(x(),L("div",GJ,[u("div",KJ,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>o.logout_spotify&&o.logout_spotify(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,XJ)])])):ee("",!0)])])):ee("",!0)]),_:1}),z(a,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.lastfm.title"))},null,8,YJ)]),content:D(()=>[o.lastfm.enabled?ee("",!0):(x(),L("div",ZJ,[u("p",{textContent:y(e.$t("page.settings.services.lastfm.no-support"))},null,8,JJ)])),o.lastfm.enabled?(x(),L("div",QJ,[u("p",{class:"content",textContent:y(e.$t("page.settings.services.lastfm.grant-access"))},null,8,eQ),o.lastfm.scrobbling_enabled?(x(),L("div",tQ,[u("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,nQ)])):ee("",!0),o.lastfm.scrobbling_enabled?ee("",!0):(x(),L("div",rQ,[u("form",{onSubmit:t[4]||(t[4]=wt((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",sQ,[u("div",oQ,[Ct(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>s.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,iQ),[[Un,s.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:y(s.lastfm_login.errors.user)},null,8,aQ)]),u("div",lQ,[Ct(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>s.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,cQ),[[Un,s.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:y(s.lastfm_login.errors.password)},null,8,uQ)]),u("div",dQ,[u("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.services.login"))},null,8,mQ)])]),u("p",{class:"help is-danger",textContent:y(s.lastfm_login.errors.error)},null,8,fQ),u("p",{class:"help",textContent:y(e.$t("page.settings.services.lastfm.info"))},null,8,pQ)],32)]))])):ee("",!0)]),_:1})])}const _Q=ue(wJ,[["render",hQ]]),gQ={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:ot,TabsSettings:_d},setup(){return{outputsStore:pp(),remotesStore:ep()}},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.outputsStore.outputs},pairing(){return this.remotesStore.pairing}},methods:{kickoff_pairing(){W.pairing_kickoff(this.pairing_req)},kickoff_verification(e){W.output_update(e,this.verification_req)},output_toggle(e){W.output_toggle(e)}}},yQ={class:"fd-page-with-tabs"},vQ=["textContent"],bQ={key:0},zQ={class:"label has-text-weight-normal content"},CQ=["textContent"],SQ=["textContent"],EQ={class:"field is-grouped"},wQ={class:"control"},kQ=["placeholder"],xQ={class:"control"},TQ=["textContent"],AQ={key:1},OQ=["textContent"],$Q=["textContent"],NQ=["textContent"],IQ={class:"field"},PQ={class:"control"},LQ=["id","onUpdate:modelValue","onChange"],RQ=["for","textContent"],DQ=["onSubmit"],MQ={class:"field is-grouped"},FQ={class:"control"},VQ=["placeholder"],HQ={class:"control"},UQ=["textContent"];function jQ(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("content-with-heading");return x(),L("div",yQ,[z(i),z(a,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.pairing"))},null,8,vQ)]),content:D(()=>[o.pairing.active?(x(),L("div",bQ,[u("form",{onSubmit:t[1]||(t[1]=wt((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",zQ,[u("span",{textContent:y(e.$t("page.settings.devices.pairing-request"))},null,8,CQ),u("b",{textContent:y(o.pairing.remote)},null,8,SQ)]),u("div",EQ,[u("div",wQ,[Ct(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,kQ),[[Un,s.pairing_req.pin]])]),u("div",xQ,[u("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.send"))},null,8,TQ)])])],32)])):(x(),L("div",AQ,[u("p",{textContent:y(e.$t("page.settings.devices.no-active-pairing"))},null,8,OQ)]))]),_:1}),z(a,null,{"heading-left":D(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.speaker-pairing"))},null,8,$Q)]),content:D(()=>[u("p",{class:"content",textContent:y(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,NQ),(x(!0),L(be,null,Et(o.outputs,l=>(x(),L("div",{key:l.id},[u("div",IQ,[u("div",PQ,[Ct(u("input",{id:l.id,"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",class:"switch is-rounded mr-2",onChange:c=>o.output_toggle(l.id)},null,40,LQ),[[mr,l.selected]]),u("label",{for:l.id,class:"checkbox",textContent:y(l.name)},null,8,RQ)])]),l.needs_auth_key?(x(),L("form",{key:0,class:"mb-5",onSubmit:wt(c=>o.kickoff_verification(l.id),["prevent"])},[u("div",MQ,[u("div",FQ,[Ct(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>s.verification_req.pin=c),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,VQ),[[Un,s.verification_req.pin]])]),u("div",HQ,[u("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.verify"))},null,8,UQ)])])],40,DQ)):ee("",!0)]))),128))]),_:1})])}const BQ=ue(gQ,[["render",jQ]]),qQ={name:"SettingsIntfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:Ir()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(e){e.target.value=e.target.value.replace(/[^0-9]/gu,""),this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.timerId=window.setTimeout(this.update_setting,this.timerDelay)},update_setting(){this.timerId=-1;const e=parseInt(this.$refs.setting.value,10);if(isNaN(e)||e===this.value){this.statusUpdate="";return}const t={category:this.category,name:this.name,value:e};W.settings_update(this.category,t).then(()=>{this.settingsStore.update(t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},WQ=["disabled"],GQ={class:"field"},KQ={class:"label has-text-weight-normal"},XQ=["textContent"],YQ={class:"control"},ZQ=["placeholder","value"],JQ={key:0,class:"help"};function QQ(e,t,n,r,s,o){return x(),L("fieldset",{disabled:n.disabled},[u("div",GQ,[u("label",KQ,[At(e.$slots,"label"),u("i",{class:Ce(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:y(o.info)},null,10,XQ)]),u("div",YQ,[u("input",{ref:"setting",class:"column input is-one-fifth",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:o.setting.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,ZQ)]),e.$slots.info?(x(),L("p",JQ,[At(e.$slots,"info")])):ee("",!0)])],8,WQ)}const eee=ue(qQ,[["render",QQ]]),tee={name:"SettingsTextfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:Ir()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category,name:this.name,value:e};W.settings_update(this.category,t).then(()=>{this.settingsStore.update(t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},nee=["disabled"],ree={class:"field"},see={class:"label has-text-weight-normal"},oee=["textContent"],iee={class:"control"},aee=["placeholder","value"],lee={key:0,class:"help"};function cee(e,t,n,r,s,o){return x(),L("fieldset",{disabled:n.disabled},[u("div",ree,[u("label",see,[At(e.$slots,"label"),u("i",{class:Ce(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:y(o.info)},null,10,oee)]),u("div",iee,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:o.setting.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,aee)]),e.$slots.info?(x(),L("p",lee,[At(e.$slots,"info")])):ee("",!0)])],8,nee)}const uee=ue(tee,[["render",cee]]),dee={name:"PageSettingsWebinterface",components:{ContentWithHeading:ot,ControlDropdown:Mo,SettingsCheckbox:VC,SettingsIntfield:eee,SettingsTextfield:uee,TabsSettings:_d},setup(){return{settingsStore:Ir()}},computed:{locale:{get(){const e=this.$i18n.availableLocales;let t=e.find(r=>r===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t||(t=this.$i18n.fallbackLocale),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t(`language.${e}`)}))}}}},mee={class:"fd-page-with-tabs"},fee=["textContent"],pee=["textContent"],hee=["textContent"],_ee=["textContent"],gee=["textContent"],yee=["textContent"],vee=["textContent"],bee=["textContent"],zee=["textContent"],Cee=["textContent"],See=["textContent"],Eee=["textContent"],wee=["textContent"],kee=["textContent"],xee=["textContent"],Tee=["textContent"],Aee=["textContent"],Oee=["textContent"],$ee=["textContent"],Nee=["textContent"],Iee=["textContent"];function Pee(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("control-dropdown"),l=$("content-with-heading"),c=$("settings-checkbox"),d=$("settings-textfield"),m=$("settings-intfield");return x(),L("div",mee,[z(i),z(l,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.language"))},null,8,fee)]),content:D(()=>[z(a,{value:o.locale,"onUpdate:value":t[0]||(t[0]=f=>o.locale=f),options:o.locales},null,8,["value","options"])]),_:1}),z(l,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.navigation-items"))},null,8,pee)]),content:D(()=>[u("p",{class:"content",textContent:y(e.$t("page.settings.general.navigation-item-selection"))},null,8,hee),u("div",{class:"notification is-size-7",textContent:y(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,_ee),z(c,{category:"webinterface",name:"show_menu_item_playlists"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.playlists"))},null,8,gee)]),_:1}),z(c,{category:"webinterface",name:"show_menu_item_music"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.music"))},null,8,yee)]),_:1}),z(c,{category:"webinterface",name:"show_menu_item_podcasts"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.podcasts"))},null,8,vee)]),_:1}),z(c,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.audiobooks"))},null,8,bee)]),_:1}),z(c,{category:"webinterface",name:"show_menu_item_radio"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.radio"))},null,8,zee)]),_:1}),z(c,{category:"webinterface",name:"show_menu_item_files"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.files"))},null,8,Cee)]),_:1}),z(c,{category:"webinterface",name:"show_menu_item_search"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.search"))},null,8,See)]),_:1})]),_:1}),z(l,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.now-playing-page"))},null,8,Eee)]),content:D(()=>[z(c,{category:"webinterface",name:"show_composer_now_playing"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-composer"))},null,8,wee)]),info:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-composer-info"))},null,8,kee)]),_:1}),z(d,{category:"webinterface",name:"show_composer_for_genre",disabled:!r.settingsStore.show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-composer-genres"))},null,8,xee)]),info:D(()=>[u("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,Tee),u("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,Aee),u("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,Oee)]),_:1},8,["disabled","placeholder"]),z(c,{category:"webinterface",name:"show_filepath_now_playing"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-path"))},null,8,$ee)]),_:1})]),_:1}),z(l,null,{"heading-left":D(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.recently-added-page"))},null,8,Nee)]),content:D(()=>[z(m,{category:"webinterface",name:"recently_added_limit"},{label:D(()=>[u("span",{textContent:y(e.$t("page.settings.general.recently-added-page-info"))},null,8,Iee)]),_:1})]),_:1})])}const Lee=ue(dee,[["render",Pee]]),Gy=140,Ky=110,HC=SM({history:J8(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:g4,name:"about",path:"/about"},{component:t5,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:mF,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:RV,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:z7,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:d9,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:sH,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:A9,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:fH,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:NH,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:FH,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:qH,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:kU,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-genres",path:"/audiobooks/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobooks-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:_q,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:zq,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:kq,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:lW,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:fW,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:yW,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:QU,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:dj,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:xj,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:IB,meta:{show_progress:!0},name:"files",path:"/files"},{component:UB,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:eq,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:iq,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:NG,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:DG,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:BG,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:QG,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:uK,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:MK,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:PY,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:AY,name:"queue",path:"/"},{component:uZ,name:"search-library",path:"/search/library"},{component:MZ,name:"search-spotify",path:"/search/spotify"},{component:Lee,name:"settings-webinterface",path:"/settings/webinterface"},{component:EJ,name:"settings-artwork",path:"/settings/artwork"},{component:_Q,name:"settings-online-services",path:"/settings/online-services"},{component:BQ,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((s,o)=>{setTimeout(()=>{s(n)},0)});if(e.path===t.path&&e.hash){const s=e.meta.has_tabs?Gy:Ky;return{behavior:"smooth",el:e.hash,top:s}}return e.hash?new Promise((s,o)=>{setTimeout(()=>{s({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((s,o)=>{const i=e.meta.has_tabs?Gy:Ky;setTimeout(()=>{s({el:"#top",top:i})},0)}):{left:0,top:0}}});HC.beforeEach((e,t,n)=>{const r=Bn();if(r.show_burger_menu){r.show_burger_menu=!1,n(!1);return}if(r.show_player_menu){r.show_player_menu=!1,n(!1);return}n(!0)});const UC=$c(KI).use(Rk()).use(HC).use(lR).use(YI).use(lP,{log:!1}).use(b8,{icons:m8}).use(Du);UC.config.globalProperties.$filters=d8;UC.mount("#app");