mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-11 19:05:41 -04:00
27 lines
136 KiB
JavaScript
27 lines
136 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PlaylistsScreen-0ooKY6SX.js","assets/useSettings-CPUgOpin.js","assets/PlaylistDetailScreen-F92VSAQ7.js","assets/Stat.vue_vue_type_script_setup_true_lang-BLQk8QX-.js","assets/EPGDetailScreen-CX4y1Ve9.js","assets/MappingScreen-BdiMBcth.js","assets/SettingsScreen-Daj_a2gr.js"])))=>i.map(i=>d[i]);
|
||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();/**
|
||
* @vue/shared v3.5.35
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function qs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},zt=[],ft=()=>{},dr=()=>!1,Yn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jn=e=>e.startsWith("onUpdate:"),Ce=Object.assign,Ys=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vo=Object.prototype.hasOwnProperty,se=(e,t)=>Vo.call(e,t),G=Array.isArray,Wt=e=>An(e)==="[object Map]",Qn=e=>An(e)==="[object Set]",mi=e=>An(e)==="[object Date]",W=e=>typeof e=="function",ce=e=>typeof e=="string",Je=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",pr=e=>(ie(e)||W(e))&&W(e.then)&&W(e.catch),hr=Object.prototype.toString,An=e=>hr.call(e),$o=e=>An(e).slice(8,-1),mr=e=>An(e)==="[object Object]",Js=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fn=qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Fo=/-\w/g,Ne=Xn(e=>e.replace(Fo,t=>t.slice(1).toUpperCase())),Bo=/\B([A-Z])/g,Bt=Xn(e=>e.replace(Bo,"-$1").toLowerCase()),Zn=Xn(e=>e.charAt(0).toUpperCase()+e.slice(1)),hs=Xn(e=>e?`on${Zn(e)}`:""),ct=(e,t)=>!Object.is(e,t),Dn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},gr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},es=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let gi;const ts=()=>gi||(gi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function dt(e){if(G(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=ce(s)?Ko(s):dt(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(ce(e)||ie(e))return e}const Uo=/;(?![^(]*\))/g,jo=/:([^]+)/,Go=/\/\*[^]*?\*\//g;function Ko(e){const t={};return e.replace(Go,"").split(Uo).forEach(n=>{if(n){const s=n.split(jo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Be(e){let t="";if(ce(e))t=e;else if(G(e))for(let n=0;n<e.length;n++){const s=Be(e[n]);s&&(t+=s+" ")}else if(ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const zo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Wo=qs(zo);function vr(e){return!!e||e===""}function qo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Rn(e[s],t[s]);return n}function Rn(e,t){if(e===t)return!0;let n=mi(e),s=mi(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Je(e),s=Je(t),n||s)return e===t;if(n=G(e),s=G(t),n||s)return n&&s?qo(e,t):!1;if(n=ie(e),s=ie(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Rn(e[o],t[o]))return!1}}return String(e)===String(t)}function Yo(e,t){return e.findIndex(n=>Rn(n,t))}const yr=e=>!!(e&&e.__v_isRef===!0),J=e=>ce(e)?e:e==null?"":G(e)||ie(e)&&(e.toString===hr||!W(e.toString))?yr(e)?J(e.value):JSON.stringify(e,br,2):String(e),br=(e,t)=>yr(t)?br(e,t.value):Wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[ms(s,r)+" =>"]=i,n),{})}:Qn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ms(n))}:Je(t)?ms(t):ie(t)&&!G(t)&&!mr(t)?String(t):t,ms=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.35
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Ee;class Jo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ee&&(Ee.active?(this.parent=Ee,this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!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=Ee;try{return Ee=this,t()}finally{Ee=n}}}on(){++this._on===1&&(this.prevScope=Ee,Ee=this)}off(){if(this._on>0&&--this._on===0){if(Ee===this)Ee=this.prevScope;else{let t=Ee;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Qo(){return Ee}let ue;const gs=new WeakSet;class _r{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,Ee&&(Ee.active?Ee.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,gs.has(this)&&(gs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||xr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,vi(this),Er(this);const t=ue,n=qe;ue=this,qe=!0;try{return this.fn()}finally{Sr(this),ue=t,qe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Zs(t);this.deps=this.depsTail=void 0,vi(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?gs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Os(this)&&this.run()}get dirty(){return Os(this)}}let wr=0,dn,pn;function xr(e,t=!1){if(e.flags|=8,t){e.next=pn,pn=e;return}e.next=dn,dn=e}function Qs(){wr++}function Xs(){if(--wr>0)return;if(pn){let t=pn;for(pn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;dn;){let t=dn;for(dn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Er(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Sr(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Zs(s),Xo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Os(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Cr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Cr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===bn)||(e.globalVersion=bn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Os(e))))return;e.flags|=2;const t=e.dep,n=ue,s=qe;ue=e,qe=!0;try{Er(e);const i=e.fn(e._value);(t.version===0||ct(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{ue=n,qe=s,Sr(e),e.flags&=-3}}function Zs(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Zs(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Xo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let qe=!0;const Ar=[];function bt(){Ar.push(qe),qe=!1}function _t(){const e=Ar.pop();qe=e===void 0?!0:e}function vi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let bn=0;class Zo{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 ei{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,this.__v_skip=!0}track(t){if(!ue||!qe||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new Zo(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,Rr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=s)}return n}trigger(t){this.version++,bn++,this.notify(t)}notify(t){Qs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Xs()}}}function Rr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Rr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Is=new WeakMap,Vt=Symbol(""),Ns=Symbol(""),_n=Symbol("");function Re(e,t,n){if(qe&&ue){let s=Is.get(e);s||Is.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new ei),i.map=s,i.key=n),i.track()}}function vt(e,t,n,s,i,r){const o=Is.get(e);if(!o){bn++;return}const a=l=>{l&&l.trigger()};if(Qs(),t==="clear")o.forEach(a);else{const l=G(e),u=l&&Js(n);if(l&&n==="length"){const c=Number(s);o.forEach((p,g)=>{(g==="length"||g===_n||!Je(g)&&g>=c)&&a(p)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(_n)),t){case"add":l?u&&a(o.get("length")):(a(o.get(Vt)),Wt(e)&&a(o.get(Ns)));break;case"delete":l||(a(o.get(Vt)),Wt(e)&&a(o.get(Ns)));break;case"set":Wt(e)&&a(o.get(Vt));break}}Xs()}function Ut(e){const t=ne(e);return t===e?t:(Re(t,"iterate",_n),Ke(e)?t:t.map(Qe))}function ns(e){return Re(e=ne(e),"iterate",_n),e}function at(e,t){return wt(e)?Zt($t(e)?Qe(t):t):Qe(t)}const el={__proto__:null,[Symbol.iterator](){return vs(this,Symbol.iterator,e=>at(this,e))},concat(...e){return Ut(this).concat(...e.map(t=>G(t)?Ut(t):t))},entries(){return vs(this,"entries",e=>(e[1]=at(this,e[1]),e))},every(e,t){return pt(this,"every",e,t,void 0,arguments)},filter(e,t){return pt(this,"filter",e,t,n=>n.map(s=>at(this,s)),arguments)},find(e,t){return pt(this,"find",e,t,n=>at(this,n),arguments)},findIndex(e,t){return pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pt(this,"findLast",e,t,n=>at(this,n),arguments)},findLastIndex(e,t){return pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ys(this,"includes",e)},indexOf(...e){return ys(this,"indexOf",e)},join(e){return Ut(this).join(e)},lastIndexOf(...e){return ys(this,"lastIndexOf",e)},map(e,t){return pt(this,"map",e,t,void 0,arguments)},pop(){return rn(this,"pop")},push(...e){return rn(this,"push",e)},reduce(e,...t){return yi(this,"reduce",e,t)},reduceRight(e,...t){return yi(this,"reduceRight",e,t)},shift(){return rn(this,"shift")},some(e,t){return pt(this,"some",e,t,void 0,arguments)},splice(...e){return rn(this,"splice",e)},toReversed(){return Ut(this).toReversed()},toSorted(e){return Ut(this).toSorted(e)},toSpliced(...e){return Ut(this).toSpliced(...e)},unshift(...e){return rn(this,"unshift",e)},values(){return vs(this,"values",e=>at(this,e))}};function vs(e,t,n){const s=ns(e),i=s[t]();return s!==e&&!Ke(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const tl=Array.prototype;function pt(e,t,n,s,i,r){const o=ns(e),a=o!==e&&!Ke(e),l=o[t];if(l!==tl[t]){const p=l.apply(e,r);return a?Qe(p):p}let u=n;o!==e&&(a?u=function(p,g){return n.call(this,at(e,p),g,e)}:n.length>2&&(u=function(p,g){return n.call(this,p,g,e)}));const c=l.call(o,u,s);return a&&i?i(c):c}function yi(e,t,n,s){const i=ns(e),r=i!==e&&!Ke(e);let o=n,a=!1;i!==e&&(r?(a=s.length===0,o=function(u,c,p){return a&&(a=!1,u=at(e,u)),n.call(this,u,at(e,c),p,e)}):n.length>3&&(o=function(u,c,p){return n.call(this,u,c,p,e)}));const l=i[t](o,...s);return a?at(e,l):l}function ys(e,t,n){const s=ne(e);Re(s,"iterate",_n);const i=s[t](...n);return(i===-1||i===!1)&&si(n[0])?(n[0]=ne(n[0]),s[t](...n)):i}function rn(e,t,n=[]){bt(),Qs();const s=ne(e)[t].apply(e,n);return Xs(),_t(),s}const nl=qs("__proto__,__v_isRef,__isVue"),Mr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function sl(e){Je(e)||(e=String(e));const t=ne(this);return Re(t,"has",e),t.hasOwnProperty(e)}class Tr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?pl:Ir:r?Or:kr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=G(t);if(!i){let l;if(o&&(l=el[n]))return l;if(n==="hasOwnProperty")return sl}const a=Reflect.get(t,n,Te(t)?t:s);if((Je(n)?Mr.has(n):nl(n))||(i||Re(t,"get",n),r))return a;if(Te(a)){const l=o&&Js(n)?a:a.value;return i&&ie(l)?Ds(l):l}return ie(a)?i?Ds(a):Mn(a):a}}class Pr extends Tr{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=G(t)&&Js(n);if(!this._isShallow){const u=wt(r);if(!Ke(s)&&!wt(s)&&(r=ne(r),s=ne(s)),!o&&Te(r)&&!Te(s))return u||(r.value=s),!0}const a=o?Number(n)<t.length:se(t,n),l=Reflect.set(t,n,s,Te(t)?t:i);return t===ne(i)&&(a?ct(s,r)&&vt(t,"set",n,s):vt(t,"add",n,s)),l}deleteProperty(t,n){const s=se(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&&vt(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!Je(n)||!Mr.has(n))&&Re(t,"has",n),s}ownKeys(t){return Re(t,"iterate",G(t)?"length":Vt),Reflect.ownKeys(t)}}class il extends Tr{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const rl=new Pr,ol=new il,ll=new Pr(!0);const Ls=e=>e,kn=e=>Reflect.getPrototypeOf(e);function al(e,t,n){return function(...s){const i=this.__v_raw,r=ne(i),o=Wt(r),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...s),c=n?Ls:t?Zt:Qe;return!t&&Re(r,"iterate",l?Ns:Vt),Ce(Object.create(u),{next(){const{value:p,done:g}=u.next();return g?{value:p,done:g}:{value:a?[c(p[0]),c(p[1])]:c(p),done:g}}})}}function On(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ul(e,t){const n={get(i){const r=this.__v_raw,o=ne(r),a=ne(i);e||(ct(i,a)&&Re(o,"get",i),Re(o,"get",a));const{has:l}=kn(o),u=t?Ls:e?Zt:Qe;if(l.call(o,i))return u(r.get(i));if(l.call(o,a))return u(r.get(a));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Re(ne(i),"iterate",Vt),i.size},has(i){const r=this.__v_raw,o=ne(r),a=ne(i);return e||(ct(i,a)&&Re(o,"has",i),Re(o,"has",a)),i===a?r.has(i):r.has(i)||r.has(a)},forEach(i,r){const o=this,a=o.__v_raw,l=ne(a),u=t?Ls:e?Zt:Qe;return!e&&Re(l,"iterate",Vt),a.forEach((c,p)=>i.call(r,u(c),u(p),o))}};return Ce(n,e?{add:On("add"),set:On("set"),delete:On("delete"),clear:On("clear")}:{add(i){const r=ne(this),o=kn(r),a=ne(i),l=!t&&!Ke(i)&&!wt(i)?a:i;return o.has.call(r,l)||ct(i,l)&&o.has.call(r,i)||ct(a,l)&&o.has.call(r,a)||(r.add(l),vt(r,"add",l,l)),this},set(i,r){!t&&!Ke(r)&&!wt(r)&&(r=ne(r));const o=ne(this),{has:a,get:l}=kn(o);let u=a.call(o,i);u||(i=ne(i),u=a.call(o,i));const c=l.call(o,i);return o.set(i,r),u?ct(r,c)&&vt(o,"set",i,r):vt(o,"add",i,r),this},delete(i){const r=ne(this),{has:o,get:a}=kn(r);let l=o.call(r,i);l||(i=ne(i),l=o.call(r,i)),a&&a.call(r,i);const u=r.delete(i);return l&&vt(r,"delete",i,void 0),u},clear(){const i=ne(this),r=i.size!==0,o=i.clear();return r&&vt(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=al(i,e,t)}),n}function ti(e,t){const n=ul(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(se(n,i)&&i in s?n:s,i,r)}const cl={get:ti(!1,!1)},fl={get:ti(!1,!0)},dl={get:ti(!0,!1)};const kr=new WeakMap,Or=new WeakMap,Ir=new WeakMap,pl=new WeakMap;function hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Mn(e){return wt(e)?e:ni(e,!1,rl,cl,kr)}function Nr(e){return ni(e,!1,ll,fl,Or)}function Ds(e){return ni(e,!0,ol,dl,Ir)}function ni(e,t,n,s,i){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=hl($o(e));if(o===0)return e;const a=new Proxy(e,o===2?s:n);return i.set(e,a),a}function $t(e){return wt(e)?$t(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function Ke(e){return!!(e&&e.__v_isShallow)}function si(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function ml(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&gr(e,"__v_skip",!0),e}const Qe=e=>ie(e)?Mn(e):e,Zt=e=>ie(e)?Ds(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function Oe(e){return Lr(e,!1)}function gl(e){return Lr(e,!0)}function Lr(e,t){return Te(e)?e:new vl(e,t)}class vl{constructor(t,n){this.dep=new ei,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:Qe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ke(t)||wt(t);t=s?t:ne(t),ct(t,n)&&(this._rawValue=t,this._value=s?t:Qe(t),this.dep.trigger())}}function he(e){return Te(e)?e.value:e}const yl={get:(e,t,n)=>t==="__v_raw"?e:he(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Te(i)&&!Te(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Dr(e){return $t(e)?e:new Proxy(e,yl)}class bl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ei(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=bn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return xr(this,!0),!0}get value(){const t=this.dep.track();return Cr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _l(e,t,n=!1){let s,i;return W(e)?s=e:(s=e.get,i=e.set),new bl(s,i,n)}const In={},$n=new WeakMap;let Nt;function wl(e,t=!1,n=Nt){if(n){let s=$n.get(n);s||$n.set(n,s=[]),s.push(e)}}function xl(e,t,n=ae){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:a,call:l}=n,u=V=>i?V:Ke(V)||i===!1||i===0?yt(V,1):yt(V);let c,p,g,v,T=!1,C=!1;if(Te(e)?(p=()=>e.value,T=Ke(e)):$t(e)?(p=()=>u(e),T=!0):G(e)?(C=!0,T=e.some(V=>$t(V)||Ke(V)),p=()=>e.map(V=>{if(Te(V))return V.value;if($t(V))return u(V);if(W(V))return l?l(V,2):V()})):W(e)?t?p=l?()=>l(e,2):e:p=()=>{if(g){bt();try{g()}finally{_t()}}const V=Nt;Nt=c;try{return l?l(e,3,[v]):e(v)}finally{Nt=V}}:p=ft,t&&i){const V=p,Z=i===!0?1/0:i;p=()=>yt(V(),Z)}const y=Qo(),$=()=>{c.stop(),y&&y.active&&Ys(y.effects,c)};if(r&&t){const V=t;t=(...Z)=>{V(...Z),$()}}let E=C?new Array(e.length).fill(In):In;const N=V=>{if(!(!(c.flags&1)||!c.dirty&&!V))if(t){const Z=c.run();if(i||T||(C?Z.some((fe,re)=>ct(fe,E[re])):ct(Z,E))){g&&g();const fe=Nt;Nt=c;try{const re=[Z,E===In?void 0:C&&E[0]===In?[]:E,v];E=Z,l?l(t,3,re):t(...re)}finally{Nt=fe}}}else c.run()};return a&&a(N),c=new _r(p),c.scheduler=o?()=>o(N,!1):N,v=V=>wl(V,!1,c),g=c.onStop=()=>{const V=$n.get(c);if(V){if(l)l(V,4);else for(const Z of V)Z();$n.delete(c)}},t?s?N(!0):E=c.run():o?o(N.bind(null,!0),!0):c.run(),$.pause=c.pause.bind(c),$.resume=c.resume.bind(c),$.stop=$,$}function yt(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))yt(e.value,t,n);else if(G(e))for(let s=0;s<e.length;s++)yt(e[s],t,n);else if(Qn(e)||Wt(e))e.forEach(s=>{yt(s,t,n)});else if(mr(e)){for(const s in e)yt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&yt(e[s],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.35
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Tn(e,t,n,s){try{return s?e(...s):e()}catch(i){ss(i,t,n)}}function Xe(e,t,n,s){if(W(e)){const i=Tn(e,t,n,s);return i&&pr(i)&&i.catch(r=>{ss(r,t,n)}),i}if(G(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Xe(e[r],t,n,s));return i}}function ss(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ae;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let p=0;p<c.length;p++)if(c[p](e,l,u)===!1)return}a=a.parent}if(r){bt(),Tn(r,null,10,[e,l,u]),_t();return}}El(e,n,i,s,o)}function El(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const Ie=[];let lt=-1;const qt=[];let Mt=null,Gt=0;const Hr=Promise.resolve();let Fn=null;function is(e){const t=Fn||Hr;return e?t.then(this?e.bind(this):e):t}function Sl(e){let t=lt+1,n=Ie.length;for(;t<n;){const s=t+n>>>1,i=Ie[s],r=wn(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function ii(e){if(!(e.flags&1)){const t=wn(e),n=Ie[Ie.length-1];!n||!(e.flags&2)&&t>=wn(n)?Ie.push(e):Ie.splice(Sl(t),0,e),e.flags|=1,Vr()}}function Vr(){Fn||(Fn=Hr.then(Fr))}function Cl(e){G(e)?qt.push(...e):Mt&&e.id===-1?Mt.splice(Gt+1,0,e):e.flags&1||(qt.push(e),e.flags|=1),Vr()}function bi(e,t,n=lt+1){for(;n<Ie.length;n++){const s=Ie[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ie.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function $r(e){if(qt.length){const t=[...new Set(qt)].sort((n,s)=>wn(n)-wn(s));if(qt.length=0,Mt){Mt.push(...t);return}for(Mt=t,Gt=0;Gt<Mt.length;Gt++){const n=Mt[Gt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Mt=null,Gt=0}}const wn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Fr(e){try{for(lt=0;lt<Ie.length;lt++){const t=Ie[lt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Tn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;lt<Ie.length;lt++){const t=Ie[lt];t&&(t.flags&=-2)}lt=-1,Ie.length=0,$r(),Fn=null,(Ie.length||qt.length)&&Fr()}}let Se=null,Br=null;function Bn(e){const t=Se;return Se=e,Br=e&&e.type.__scopeId||null,t}function be(e,t=Se,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Gn(-1);const r=Bn(t);let o;try{o=e(...i)}finally{Bn(r),s._d&&Gn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Al(e,t){if(Se===null)return e;const n=fs(Se),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,a,l=ae]=t[i];r&&(W(r)&&(r={mounted:r,updated:r}),r.deep&&yt(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function Ot(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];r&&(a.oldValue=r[o].value);let l=a.dir[s];l&&(bt(),Xe(l,n,8,[e.el,a,e,t]),_t())}}function hn(e,t){if(Me){let n=Me.provides;const s=Me.parent&&Me.parent.provides;s===n&&(n=Me.provides=Object.create(s)),n[e]=t}}function Ye(e,t,n=!1){const s=vo();if(s||Qt){let i=Qt?Qt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&W(t)?t.call(s&&s.proxy):t}}const Rl=Symbol.for("v-scx"),Ml=()=>Ye(Rl);function Rd(e,t){return ri(e,null,t)}function Yt(e,t,n){return ri(e,t,n)}function ri(e,t,n=ae){const{immediate:s,deep:i,flush:r,once:o}=n,a=Ce({},n),l=t&&s||!t&&r!=="post";let u;if(Sn){if(r==="sync"){const v=Ml();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!l){const v=()=>{};return v.stop=ft,v.resume=ft,v.pause=ft,v}}const c=Me;a.call=(v,T,C)=>Xe(v,c,T,C);let p=!1;r==="post"?a.scheduler=v=>{De(v,c&&c.suspense)}:r!=="sync"&&(p=!0,a.scheduler=(v,T)=>{T?v():ii(v)}),a.augmentJob=v=>{t&&(v.flags|=4),p&&(v.flags|=2,c&&(v.id=c.uid,v.i=c))};const g=xl(e,t,a);return Sn&&(u?u.push(g):l&&g()),g}function Tl(e,t,n){const s=this.proxy,i=ce(e)?e.includes(".")?Ur(s,e):()=>s[e]:e.bind(s,s);let r;W(t)?r=t:(r=t.handler,n=t);const o=Pn(this),a=ri(i,r.bind(s),n);return o(),a}function Ur(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Pl=Symbol("_vte"),kl=e=>e.__isTeleport,bs=Symbol("_leaveCb");function oi(e,t){e.shapeFlag&6&&e.component?(e.transition=t,oi(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 we(e,t){return W(e)?Ce({name:e.name},t,{setup:e}):e}function jr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function _i(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Un=new WeakMap;function mn(e,t,n,s,i=!1){if(G(e)){e.forEach((C,y)=>mn(C,t&&(G(t)?t[y]:t),n,s,i));return}if(Jt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&mn(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?fs(s.component):s.el,o=i?null:r,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ae?a.refs={}:a.refs,p=a.setupState,g=ne(p),v=p===ae?dr:C=>_i(c,C)?!1:se(g,C),T=(C,y)=>!(y&&_i(c,y));if(u!=null&&u!==l){if(wi(t),ce(u))c[u]=null,v(u)&&(p[u]=null);else if(Te(u)){const C=t;T(u,C.k)&&(u.value=null),C.k&&(c[C.k]=null)}}if(W(l))Tn(l,a,12,[o,c]);else{const C=ce(l),y=Te(l);if(C||y){const $=()=>{if(e.f){const E=C?v(l)?p[l]:c[l]:T()||!e.k?l.value:c[e.k];if(i)G(E)&&Ys(E,r);else if(G(E))E.includes(r)||E.push(r);else if(C)c[l]=[r],v(l)&&(p[l]=c[l]);else{const N=[r];T(l,e.k)&&(l.value=N),e.k&&(c[e.k]=N)}}else C?(c[l]=o,v(l)&&(p[l]=o)):y&&(T(l,e.k)&&(l.value=o),e.k&&(c[e.k]=o))};if(o){const E=()=>{$(),Un.delete(e)};E.id=-1,Un.set(e,E),De(E,n)}else wi(e),$()}}}function wi(e){const t=Un.get(e);t&&(t.flags|=8,Un.delete(e))}ts().requestIdleCallback;ts().cancelIdleCallback;const Jt=e=>!!e.type.__asyncLoader,Gr=e=>e.type.__isKeepAlive;function Ol(e,t){Kr(e,"a",t)}function Il(e,t){Kr(e,"da",t)}function Kr(e,t,n=Me){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(rs(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Gr(i.parent.vnode)&&Nl(s,t,n,i),i=i.parent}}function Nl(e,t,n,s){const i=rs(t,e,s,!0);zr(()=>{Ys(s[t],i)},n)}function rs(e,t,n=Me,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{bt();const a=Pn(n),l=Xe(t,n,e,o);return a(),_t(),l});return s?i.unshift(r):i.push(r),r}}const Et=e=>(t,n=Me)=>{(!Sn||e==="sp")&&rs(e,(...s)=>t(...s),n)},Ll=Et("bm"),os=Et("m"),Dl=Et("bu"),Hl=Et("u"),ls=Et("bum"),zr=Et("um"),Vl=Et("sp"),$l=Et("rtg"),Fl=Et("rtc");function Bl(e,t=Me){rs("ec",e,t)}const Wr="components";function Ul(e,t){return Yr(Wr,e,!0,t)||e}const qr=Symbol.for("v-ndc");function jl(e){return ce(e)?Yr(Wr,e,!1)||e:e||qr}function Yr(e,t,n=!0,s=!1){const i=Se||Me;if(i){const r=i.type;{const a=Ma(r,!1);if(a&&(a===t||a===Ne(t)||a===Zn(Ne(t))))return r}const o=xi(i[e]||r[e],t)||xi(i.appContext[e],t);return!o&&s?r:o}}function xi(e,t){return e&&(e[t]||e[Ne(t)]||e[Zn(Ne(t))])}function Ft(e,t,n,s){let i;const r=n,o=G(e);if(o||ce(e)){const a=o&&$t(e);let l=!1,u=!1;a&&(l=!Ke(e),u=wt(e),e=ns(e)),i=new Array(e.length);for(let c=0,p=e.length;c<p;c++)i[c]=t(l?u?Zt(Qe(e[c])):Qe(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,r)}else if(ie(e))if(e[Symbol.iterator])i=Array.from(e,(a,l)=>t(a,l,void 0,r));else{const a=Object.keys(e);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=t(e[c],c,l,r)}}else i=[];return i}function as(e,t,n={},s,i){if(Se.ce||Se.parent&&Jt(Se.parent)&&Se.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),A(),We(j,null,[L("slot",n,s&&s())],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),A();const o=r&&Jr(r(n)),a=n.key||o&&o.key,l=We(j,{key:(a&&!Je(a)?a:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Jr(e){return e.some(t=>En(t)?!(t.type===xt||t.type===j&&!Jr(t.children)):!0)?e:null}const Hs=e=>e?yo(e)?fs(e):Hs(e.parent):null,gn=Ce(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=>Hs(e.parent),$root:e=>Hs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xr(e),$forceUpdate:e=>e.f||(e.f=()=>{ii(e.update)}),$nextTick:e=>e.n||(e.n=is.bind(e.proxy)),$watch:e=>Tl.bind(e)}),_s=(e,t)=>e!==ae&&!e.__isScriptSetup&&se(e,t),Gl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(_s(s,t))return o[t]=1,s[t];if(i!==ae&&se(i,t))return o[t]=2,i[t];if(se(r,t))return o[t]=3,r[t];if(n!==ae&&se(n,t))return o[t]=4,n[t];Vs&&(o[t]=0)}}const u=gn[t];let c,p;if(u)return t==="$attrs"&&Re(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==ae&&se(n,t))return o[t]=4,n[t];if(p=l.config.globalProperties,se(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return _s(i,t)?(i[t]=n,!0):s!==ae&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},a){let l;return!!(n[a]||e!==ae&&a[0]!=="$"&&se(e,a)||_s(t,a)||se(r,a)||se(s,a)||se(gn,a)||se(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Kl(){return zl().slots}function zl(e){const t=vo();return t.setupContext||(t.setupContext=_o(t))}function Ei(e){return G(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Vs=!0;function Wl(e){const t=Xr(e),n=e.proxy,s=e.ctx;Vs=!1,t.beforeCreate&&Si(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:p,mounted:g,beforeUpdate:v,updated:T,activated:C,deactivated:y,beforeDestroy:$,beforeUnmount:E,destroyed:N,unmounted:V,render:Z,renderTracked:fe,renderTriggered:re,errorCaptured:Ue,serverPrefetch:z,expose:D,inheritAttrs:q,components:et,directives:Le,filters:Pt}=t;if(u&&ql(u,s,null),o)for(const ee in o){const X=o[ee];W(X)&&(s[ee]=X.bind(n))}if(i){const ee=i.call(n,n);ie(ee)&&(e.data=Mn(ee))}if(Vs=!0,r)for(const ee in r){const X=r[ee],ze=W(X)?X.bind(n,n):W(X.get)?X.get.bind(n,n):ft,tt=!W(X)&&W(X.set)?X.set.bind(n):ft,je=_e({get:ze,set:tt});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>je.value,set:Ae=>je.value=Ae})}if(a)for(const ee in a)Qr(a[ee],s,n,ee);if(l){const ee=W(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(X=>{hn(X,ee[X])})}c&&Si(c,e,"c");function ge(ee,X){G(X)?X.forEach(ze=>ee(ze.bind(n))):X&&ee(X.bind(n))}if(ge(Ll,p),ge(os,g),ge(Dl,v),ge(Hl,T),ge(Ol,C),ge(Il,y),ge(Bl,Ue),ge(Fl,fe),ge($l,re),ge(ls,E),ge(zr,V),ge(Vl,z),G(D))if(D.length){const ee=e.exposed||(e.exposed={});D.forEach(X=>{Object.defineProperty(ee,X,{get:()=>n[X],set:ze=>n[X]=ze,enumerable:!0})})}else e.exposed||(e.exposed={});Z&&e.render===ft&&(e.render=Z),q!=null&&(e.inheritAttrs=q),et&&(e.components=et),Le&&(e.directives=Le),z&&jr(e)}function ql(e,t,n=ft){G(e)&&(e=$s(e));for(const s in e){const i=e[s];let r;ie(i)?"default"in i?r=Ye(i.from||s,i.default,!0):r=Ye(i.from||s):r=Ye(i),Te(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r}}function Si(e,t,n){Xe(G(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qr(e,t,n,s){let i=s.includes(".")?Ur(n,s):()=>n[s];if(ce(e)){const r=t[e];W(r)&&Yt(i,r)}else if(W(e))Yt(i,e.bind(n));else if(ie(e))if(G(e))e.forEach(r=>Qr(r,t,n,s));else{const r=W(e.handler)?e.handler.bind(n):t[e.handler];W(r)&&Yt(i,r,e)}}function Xr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,a=r.get(t);let l;return a?l=a:!i.length&&!n&&!s?l=t:(l={},i.length&&i.forEach(u=>jn(l,u,o,!0)),jn(l,t,o)),ie(t)&&r.set(t,l),l}function jn(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&jn(e,r,n,!0),i&&i.forEach(o=>jn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const a=Yl[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Yl={data:Ci,props:Ai,emits:Ai,methods:an,computed:an,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:an,directives:an,watch:Ql,provide:Ci,inject:Jl};function Ci(e,t){return t?e?function(){return Ce(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Jl(e,t){return an($s(e),$s(t))}function $s(e){if(G(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function an(e,t){return e?Ce(Object.create(null),e,t):t}function Ai(e,t){return e?G(e)&&G(t)?[...new Set([...e,...t])]:Ce(Object.create(null),Ei(e),Ei(t??{})):t}function Ql(e,t){if(!e)return t;if(!t)return e;const n=Ce(Object.create(null),e);for(const s in t)n[s]=Pe(e[s],t[s]);return n}function Zr(){return{app:null,config:{isNativeTag:dr,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 Xl=0;function Zl(e,t){return function(s,i=null){W(s)||(s=Ce({},s)),i!=null&&!ie(i)&&(i=null);const r=Zr(),o=new WeakSet,a=[];let l=!1;const u=r.app={_uid:Xl++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:Pa,get config(){return r.config},set config(c){},use(c,...p){return o.has(c)||(c&&W(c.install)?(o.add(c),c.install(u,...p)):W(c)&&(o.add(c),c(u,...p))),u},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),u},component(c,p){return p?(r.components[c]=p,u):r.components[c]},directive(c,p){return p?(r.directives[c]=p,u):r.directives[c]},mount(c,p,g){if(!l){const v=u._ceVNode||L(s,i);return v.appContext=r,g===!0?g="svg":g===!1&&(g=void 0),e(v,c,g),l=!0,u._container=c,c.__vue_app__=u,fs(v.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Xe(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,p){return r.provides[c]=p,u},runWithContext(c){const p=Qt;Qt=u;try{return c()}finally{Qt=p}}};return u}}let Qt=null;const ea=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${Bt(t)}Modifiers`];function ta(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ae;let i=n;const r=t.startsWith("update:"),o=r&&ea(s,t.slice(7));o&&(o.trim&&(i=n.map(c=>ce(c)?c.trim():c)),o.number&&(i=n.map(es)));let a,l=s[a=hs(t)]||s[a=hs(Ne(t))];!l&&r&&(l=s[a=hs(Bt(t))]),l&&Xe(l,e,6,i);const u=s[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(u,e,6,i)}}const na=new WeakMap;function eo(e,t,n=!1){const s=n?na:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},a=!1;if(!W(e)){const l=u=>{const c=eo(u,t,!0);c&&(a=!0,Ce(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(ie(e)&&s.set(e,null),null):(G(r)?r.forEach(l=>o[l]=null):Ce(o,r),ie(e)&&s.set(e,o),o)}function us(e,t){return!e||!Yn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Bt(t))||se(e,t))}function Ri(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:p,data:g,setupState:v,ctx:T,inheritAttrs:C}=e,y=Bn(e);let $,E;try{if(n.shapeFlag&4){const V=i||s,Z=V;$=ut(u.call(Z,V,c,p,v,g,T)),E=a}else{const V=t;$=ut(V.length>1?V(p,{attrs:a,slots:o,emit:l}):V(p,null)),E=t.props?a:sa(a)}}catch(V){vn.length=0,ss(V,e,1),$=L(xt)}let N=$;if(E&&C!==!1){const V=Object.keys(E),{shapeFlag:Z}=N;V.length&&Z&7&&(r&&V.some(Jn)&&(E=ia(E,r)),N=en(N,E,!1,!0))}return n.dirs&&(N=en(N,null,!1,!0),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&oi(N,n.transition),$=N,Bn(y),$}const sa=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yn(n))&&((t||(t={}))[n]=e[n]);return t},ia=(e,t)=>{const n={};for(const s in e)(!Jn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ra(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:a,patchFlag:l}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Mi(s,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let p=0;p<c.length;p++){const g=c[p];if(to(o,s,g)&&!us(u,g))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?Mi(s,o,u):!0:!!o;return!1}function Mi(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(to(t,e,r)&&!us(n,r))return!0}return!1}function to(e,t,n){const s=e[n],i=t[n];return n==="style"&&ie(s)&&ie(i)?!Rn(s,i):s!==i}function oa({vnode:e,parent:t,suspense:n},s){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=s,e=i),i===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const no={},so=()=>Object.create(no),io=e=>Object.getPrototypeOf(e)===no;function la(e,t,n,s=!1){const i={},r=so();e.propsDefaults=Object.create(null),ro(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:Nr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function aa(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,a=ne(i),[l]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let p=0;p<c.length;p++){let g=c[p];if(us(e.emitsOptions,g))continue;const v=t[g];if(l)if(se(r,g))v!==r[g]&&(r[g]=v,u=!0);else{const T=Ne(g);i[T]=Fs(l,a,T,v,e,!1)}else v!==r[g]&&(r[g]=v,u=!0)}}}else{ro(e,t,i,r)&&(u=!0);let c;for(const p in a)(!t||!se(t,p)&&((c=Bt(p))===p||!se(t,c)))&&(l?n&&(n[p]!==void 0||n[c]!==void 0)&&(i[p]=Fs(l,a,p,void 0,e,!0)):delete i[p]);if(r!==a)for(const p in r)(!t||!se(t,p))&&(delete r[p],u=!0)}u&&vt(e.attrs,"set","")}function ro(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(fn(l))continue;const u=t[l];let c;i&&se(i,c=Ne(l))?!r||!r.includes(c)?n[c]=u:(a||(a={}))[c]=u:us(e.emitsOptions,l)||(!(l in s)||u!==s[l])&&(s[l]=u,o=!0)}if(r){const l=ne(n),u=a||ae;for(let c=0;c<r.length;c++){const p=r[c];n[p]=Fs(i,l,p,u[p],e,!se(u,p))}}return o}function Fs(e,t,n,s,i,r){const o=e[n];if(o!=null){const a=se(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&W(l)){const{propsDefaults:u}=i;if(n in u)s=u[n];else{const c=Pn(i);s=u[n]=l.call(null,t),c()}}else s=l;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!a?s=!1:o[1]&&(s===""||s===Bt(n))&&(s=!0))}return s}const ua=new WeakMap;function oo(e,t,n=!1){const s=n?ua:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},a=[];let l=!1;if(!W(e)){const c=p=>{l=!0;const[g,v]=oo(p,t,!0);Ce(o,g),v&&a.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!l)return ie(e)&&s.set(e,zt),zt;if(G(r))for(let c=0;c<r.length;c++){const p=Ne(r[c]);Ti(p)&&(o[p]=ae)}else if(r)for(const c in r){const p=Ne(c);if(Ti(p)){const g=r[c],v=o[p]=G(g)||W(g)?{type:g}:Ce({},g),T=v.type;let C=!1,y=!0;if(G(T))for(let $=0;$<T.length;++$){const E=T[$],N=W(E)&&E.name;if(N==="Boolean"){C=!0;break}else N==="String"&&(y=!1)}else C=W(T)&&T.name==="Boolean";v[0]=C,v[1]=y,(C||se(v,"default"))&&a.push(p)}}const u=[o,a];return ie(e)&&s.set(e,u),u}function Ti(e){return e[0]!=="$"&&!fn(e)}const li=e=>e==="_"||e==="_ctx"||e==="$stable",ai=e=>G(e)?e.map(ut):[ut(e)],ca=(e,t,n)=>{if(t._n)return t;const s=be((...i)=>ai(t(...i)),n);return s._c=!1,s},lo=(e,t,n)=>{const s=e._ctx;for(const i in e){if(li(i))continue;const r=e[i];if(W(r))t[i]=ca(i,r,s);else if(r!=null){const o=ai(r);t[i]=()=>o}}},ao=(e,t)=>{const n=ai(t);e.slots.default=()=>n},uo=(e,t,n)=>{for(const s in t)(n||!li(s))&&(e[s]=t[s])},fa=(e,t,n)=>{const s=e.slots=so();if(e.vnode.shapeFlag&32){const i=t._;i?(uo(s,t,n),n&&gr(s,"_",i,!0)):lo(t,s)}else t&&ao(e,t)},da=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ae;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:uo(i,t,n):(r=!t.$stable,lo(t,i)),o=t}else t&&(ao(e,t),o={default:1});if(r)for(const a in i)!li(a)&&o[a]==null&&delete i[a]},De=va;function pa(e){return ha(e)}function ha(e,t){const n=ts();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:p,nextSibling:g,setScopeId:v=ft,insertStaticContent:T}=e,C=(f,d,m,_=null,x=null,b=null,P=void 0,M=null,R=!!d.dynamicChildren)=>{if(f===d)return;f&&!on(f,d)&&(_=w(f),Ae(f,x,b,!0),f=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:S,ref:U,shapeFlag:I}=d;switch(S){case cs:y(f,d,m,_);break;case xt:$(f,d,m,_);break;case Hn:f==null&&E(d,m,_,P);break;case j:et(f,d,m,_,x,b,P,M,R);break;default:I&1?Z(f,d,m,_,x,b,P,M,R):I&6?Le(f,d,m,_,x,b,P,M,R):(I&64||I&128)&&S.process(f,d,m,_,x,b,P,M,R,F)}U!=null&&x?mn(U,f&&f.ref,b,d||f,!d):U==null&&f&&f.ref!=null&&mn(f.ref,null,b,f,!0)},y=(f,d,m,_)=>{if(f==null)s(d.el=a(d.children),m,_);else{const x=d.el=f.el;d.children!==f.children&&u(x,d.children)}},$=(f,d,m,_)=>{f==null?s(d.el=l(d.children||""),m,_):d.el=f.el},E=(f,d,m,_)=>{[f.el,f.anchor]=T(f.children,d,m,_,f.el,f.anchor)},N=({el:f,anchor:d},m,_)=>{let x;for(;f&&f!==d;)x=g(f),s(f,m,_),f=x;s(d,m,_)},V=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=g(f),i(f),f=m;i(d)},Z=(f,d,m,_,x,b,P,M,R)=>{if(d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),f==null)fe(d,m,_,x,b,P,M,R);else{const S=f.el&&f.el._isVueCE?f.el:null;try{S&&S._beginPatch(),z(f,d,x,b,P,M,R)}finally{S&&S._endPatch()}}},fe=(f,d,m,_,x,b,P,M)=>{let R,S;const{props:U,shapeFlag:I,transition:B,dirs:K}=f;if(R=f.el=o(f.type,b,U&&U.is,U),I&8?c(R,f.children):I&16&&Ue(f.children,R,null,_,x,ws(f,b),P,M),K&&Ot(f,null,_,"created"),re(R,f,f.scopeId,P,_),U){for(const le in U)le!=="value"&&!fn(le)&&r(R,le,null,U[le],b,_);"value"in U&&r(R,"value",null,U.value,b),(S=U.onVnodeBeforeMount)&&rt(S,_,f)}K&&Ot(f,null,_,"beforeMount");const Q=ma(x,B);Q&&B.beforeEnter(R),s(R,d,m),((S=U&&U.onVnodeMounted)||Q||K)&&De(()=>{try{S&&rt(S,_,f),Q&&B.enter(R),K&&Ot(f,null,_,"mounted")}finally{}},x)},re=(f,d,m,_,x)=>{if(m&&v(f,m),_)for(let b=0;b<_.length;b++)v(f,_[b]);if(x){let b=x.subTree;if(d===b||ho(b.type)&&(b.ssContent===d||b.ssFallback===d)){const P=x.vnode;re(f,P,P.scopeId,P.slotScopeIds,x.parent)}}},Ue=(f,d,m,_,x,b,P,M,R=0)=>{for(let S=R;S<f.length;S++){const U=f[S]=M?gt(f[S]):ut(f[S]);C(null,U,d,m,_,x,b,P,M)}},z=(f,d,m,_,x,b,P)=>{const M=d.el=f.el;let{patchFlag:R,dynamicChildren:S,dirs:U}=d;R|=f.patchFlag&16;const I=f.props||ae,B=d.props||ae;let K;if(m&&It(m,!1),(K=B.onVnodeBeforeUpdate)&&rt(K,m,d,f),U&&Ot(d,f,m,"beforeUpdate"),m&&It(m,!0),(I.innerHTML&&B.innerHTML==null||I.textContent&&B.textContent==null)&&c(M,""),S?D(f.dynamicChildren,S,M,m,_,ws(d,x),b):P||X(f,d,M,null,m,_,ws(d,x),b,!1),R>0){if(R&16)q(M,I,B,m,x);else if(R&2&&I.class!==B.class&&r(M,"class",null,B.class,x),R&4&&r(M,"style",I.style,B.style,x),R&8){const Q=d.dynamicProps;for(let le=0;le<Q.length;le++){const oe=Q[le],ve=I[oe],xe=B[oe];(xe!==ve||oe==="value")&&r(M,oe,ve,xe,x,m)}}R&1&&f.children!==d.children&&c(M,d.children)}else!P&&S==null&&q(M,I,B,m,x);((K=B.onVnodeUpdated)||U)&&De(()=>{K&&rt(K,m,d,f),U&&Ot(d,f,m,"updated")},_)},D=(f,d,m,_,x,b,P)=>{for(let M=0;M<d.length;M++){const R=f[M],S=d[M],U=R.el&&(R.type===j||!on(R,S)||R.shapeFlag&198)?p(R.el):m;C(R,S,U,null,_,x,b,P,!0)}},q=(f,d,m,_,x)=>{if(d!==m){if(d!==ae)for(const b in d)!fn(b)&&!(b in m)&&r(f,b,d[b],null,x,_);for(const b in m){if(fn(b))continue;const P=m[b],M=d[b];P!==M&&b!=="value"&&r(f,b,M,P,x,_)}"value"in m&&r(f,"value",d.value,m.value,x)}},et=(f,d,m,_,x,b,P,M,R)=>{const S=d.el=f?f.el:a(""),U=d.anchor=f?f.anchor:a("");let{patchFlag:I,dynamicChildren:B,slotScopeIds:K}=d;K&&(M=M?M.concat(K):K),f==null?(s(S,m,_),s(U,m,_),Ue(d.children||[],m,U,x,b,P,M,R)):I>0&&I&64&&B&&f.dynamicChildren&&f.dynamicChildren.length===B.length?(D(f.dynamicChildren,B,m,x,b,P,M),(d.key!=null||x&&d===x.subTree)&&co(f,d,!0)):X(f,d,m,U,x,b,P,M,R)},Le=(f,d,m,_,x,b,P,M,R)=>{d.slotScopeIds=M,f==null?d.shapeFlag&512?x.ctx.activate(d,m,_,P,R):Pt(d,m,_,x,b,P,R):St(f,d,R)},Pt=(f,d,m,_,x,b,P)=>{const M=f.component=Sa(f,_,x);if(Gr(f)&&(M.ctx.renderer=F),Ca(M,!1,P),M.asyncDep){if(x&&x.registerDep(M,ge,P),!f.el){const R=M.subTree=L(xt);$(null,R,d,m),f.placeholder=R.el}}else ge(M,f,d,m,x,b,P)},St=(f,d,m)=>{const _=d.component=f.component;if(ra(f,d,m))if(_.asyncDep&&!_.asyncResolved){ee(_,d,m);return}else _.next=d,_.update();else d.el=f.el,_.vnode=d},ge=(f,d,m,_,x,b,P)=>{const M=()=>{if(f.isMounted){let{next:I,bu:B,u:K,parent:Q,vnode:le}=f;{const st=fo(f);if(st){I&&(I.el=le.el,ee(f,I,P)),st.asyncDep.then(()=>{De(()=>{f.isUnmounted||S()},x)});return}}let oe=I,ve;It(f,!1),I?(I.el=le.el,ee(f,I,P)):I=le,B&&Dn(B),(ve=I.props&&I.props.onVnodeBeforeUpdate)&&rt(ve,Q,I,le),It(f,!0);const xe=Ri(f),nt=f.subTree;f.subTree=xe,C(nt,xe,p(nt.el),w(nt),f,x,b),I.el=xe.el,oe===null&&oa(f,xe.el),K&&De(K,x),(ve=I.props&&I.props.onVnodeUpdated)&&De(()=>rt(ve,Q,I,le),x)}else{let I;const{el:B,props:K}=d,{bm:Q,m:le,parent:oe,root:ve,type:xe}=f,nt=Jt(d);It(f,!1),Q&&Dn(Q),!nt&&(I=K&&K.onVnodeBeforeMount)&&rt(I,oe,d),It(f,!0);{ve.ce&&ve.ce._hasShadowRoot()&&ve.ce._injectChildStyle(xe,f.parent?f.parent.type:void 0);const st=f.subTree=Ri(f);C(null,st,m,_,f,x,b),d.el=st.el}if(le&&De(le,x),!nt&&(I=K&&K.onVnodeMounted)){const st=d;De(()=>rt(I,oe,st),x)}(d.shapeFlag&256||oe&&Jt(oe.vnode)&&oe.vnode.shapeFlag&256)&&f.a&&De(f.a,x),f.isMounted=!0,d=m=_=null}};f.scope.on();const R=f.effect=new _r(M);f.scope.off();const S=f.update=R.run.bind(R),U=f.job=R.runIfDirty.bind(R);U.i=f,U.id=f.uid,R.scheduler=()=>ii(U),It(f,!0),S()},ee=(f,d,m)=>{d.component=f;const _=f.vnode.props;f.vnode=d,f.next=null,aa(f,d.props,_,m),da(f,d.children,m),bt(),bi(f),_t()},X=(f,d,m,_,x,b,P,M,R=!1)=>{const S=f&&f.children,U=f?f.shapeFlag:0,I=d.children,{patchFlag:B,shapeFlag:K}=d;if(B>0){if(B&128){tt(S,I,m,_,x,b,P,M,R);return}else if(B&256){ze(S,I,m,_,x,b,P,M,R);return}}K&8?(U&16&&Ge(S,x,b),I!==S&&c(m,I)):U&16?K&16?tt(S,I,m,_,x,b,P,M,R):Ge(S,x,b,!0):(U&8&&c(m,""),K&16&&Ue(I,m,_,x,b,P,M,R))},ze=(f,d,m,_,x,b,P,M,R)=>{f=f||zt,d=d||zt;const S=f.length,U=d.length,I=Math.min(S,U);let B;for(B=0;B<I;B++){const K=d[B]=R?gt(d[B]):ut(d[B]);C(f[B],K,m,null,x,b,P,M,R)}S>U?Ge(f,x,b,!0,!1,I):Ue(d,m,_,x,b,P,M,R,I)},tt=(f,d,m,_,x,b,P,M,R)=>{let S=0;const U=d.length;let I=f.length-1,B=U-1;for(;S<=I&&S<=B;){const K=f[S],Q=d[S]=R?gt(d[S]):ut(d[S]);if(on(K,Q))C(K,Q,m,null,x,b,P,M,R);else break;S++}for(;S<=I&&S<=B;){const K=f[I],Q=d[B]=R?gt(d[B]):ut(d[B]);if(on(K,Q))C(K,Q,m,null,x,b,P,M,R);else break;I--,B--}if(S>I){if(S<=B){const K=B+1,Q=K<U?d[K].el:_;for(;S<=B;)C(null,d[S]=R?gt(d[S]):ut(d[S]),m,Q,x,b,P,M,R),S++}}else if(S>B)for(;S<=I;)Ae(f[S],x,b,!0),S++;else{const K=S,Q=S,le=new Map;for(S=Q;S<=B;S++){const Ve=d[S]=R?gt(d[S]):ut(d[S]);Ve.key!=null&&le.set(Ve.key,S)}let oe,ve=0;const xe=B-Q+1;let nt=!1,st=0;const sn=new Array(xe);for(S=0;S<xe;S++)sn[S]=0;for(S=K;S<=I;S++){const Ve=f[S];if(ve>=xe){Ae(Ve,x,b,!0);continue}let it;if(Ve.key!=null)it=le.get(Ve.key);else for(oe=Q;oe<=B;oe++)if(sn[oe-Q]===0&&on(Ve,d[oe])){it=oe;break}it===void 0?Ae(Ve,x,b,!0):(sn[it-Q]=S+1,it>=st?st=it:nt=!0,C(Ve,d[it],m,null,x,b,P,M,R),ve++)}const di=nt?ga(sn):zt;for(oe=di.length-1,S=xe-1;S>=0;S--){const Ve=Q+S,it=d[Ve],pi=d[Ve+1],hi=Ve+1<U?pi.el||po(pi):_;sn[S]===0?C(null,it,m,hi,x,b,P,M,R):nt&&(oe<0||S!==di[oe]?je(it,m,hi,2):oe--)}}},je=(f,d,m,_,x=null)=>{const{el:b,type:P,transition:M,children:R,shapeFlag:S}=f;if(S&6){je(f.component.subTree,d,m,_);return}if(S&128){f.suspense.move(d,m,_);return}if(S&64){P.move(f,d,m,F);return}if(P===j){s(b,d,m);for(let I=0;I<R.length;I++)je(R[I],d,m,_);s(f.anchor,d,m);return}if(P===Hn){N(f,d,m);return}if(_!==2&&S&1&&M)if(_===0)M.persisted&&!b[bs]?s(b,d,m):(M.beforeEnter(b),s(b,d,m),De(()=>M.enter(b),x));else{const{leave:I,delayLeave:B,afterLeave:K}=M,Q=()=>{f.ctx.isUnmounted?i(b):s(b,d,m)},le=()=>{const oe=b._isLeaving||!!b[bs];b._isLeaving&&b[bs](!0),M.persisted&&!oe?Q():I(b,()=>{Q(),K&&K()})};B?B(b,Q,le):le()}else s(b,d,m)},Ae=(f,d,m,_=!1,x=!1)=>{const{type:b,props:P,ref:M,children:R,dynamicChildren:S,shapeFlag:U,patchFlag:I,dirs:B,cacheIndex:K,memo:Q}=f;if(I===-2&&(x=!1),M!=null&&(bt(),mn(M,null,m,f,!0),_t()),K!=null&&(d.renderCache[K]=void 0),U&256){d.ctx.deactivate(f);return}const le=U&1&&B,oe=!Jt(f);let ve;if(oe&&(ve=P&&P.onVnodeBeforeUnmount)&&rt(ve,d,f),U&6)kt(f.component,m,_);else{if(U&128){f.suspense.unmount(m,_);return}le&&Ot(f,null,d,"beforeUnmount"),U&64?f.type.remove(f,d,m,F,_):S&&!S.hasOnce&&(b!==j||I>0&&I&64)?Ge(S,d,m,!1,!0):(b===j&&I&384||!x&&U&16)&&Ge(R,d,m),_&&Ct(f)}const xe=Q!=null&&K==null;(oe&&(ve=P&&P.onVnodeUnmounted)||le||xe)&&De(()=>{ve&&rt(ve,d,f),le&&Ot(f,null,d,"unmounted"),xe&&(f.el=null)},m)},Ct=f=>{const{type:d,el:m,anchor:_,transition:x}=f;if(d===j){At(m,_);return}if(d===Hn){V(f);return}const b=()=>{i(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(f.shapeFlag&1&&x&&!x.persisted){const{leave:P,delayLeave:M}=x,R=()=>P(m,b);M?M(f.el,b,R):R()}else b()},At=(f,d)=>{let m;for(;f!==d;)m=g(f),i(f),f=m;i(d)},kt=(f,d,m)=>{const{bum:_,scope:x,job:b,subTree:P,um:M,m:R,a:S}=f;Pi(R),Pi(S),_&&Dn(_),x.stop(),b&&(b.flags|=8,Ae(P,f,d,m)),M&&De(M,d),De(()=>{f.isUnmounted=!0},d)},Ge=(f,d,m,_=!1,x=!1,b=0)=>{for(let P=b;P<f.length;P++)Ae(f[P],d,m,_,x)},w=f=>{if(f.shapeFlag&6)return w(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=g(f.anchor||f.el),m=d&&d[Pl];return m?g(m):d};let H=!1;const O=(f,d,m)=>{let _;f==null?d._vnode&&(Ae(d._vnode,null,null,!0),_=d._vnode.component):C(d._vnode||null,f,d,null,null,null,m),d._vnode=f,H||(H=!0,bi(_),$r(),H=!1)},F={p:C,um:Ae,m:je,r:Ct,mt:Pt,mc:Ue,pc:X,pbc:D,n:w,o:e};return{render:O,hydrate:void 0,createApp:Zl(O)}}function ws({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 It({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ma(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function co(e,t,n=!1){const s=e.children,i=t.children;if(G(s)&&G(i))for(let r=0;r<s.length;r++){const o=s[r];let a=i[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[r]=gt(i[r]),a.el=o.el),!n&&a.patchFlag!==-2&&co(o,a)),a.type===cs&&(a.patchFlag===-1&&(a=i[r]=gt(a)),a.el=o.el),a.type===xt&&!a.el&&(a.el=o.el)}}function ga(e){const t=e.slice(),n=[0];let s,i,r,o,a;const l=e.length;for(s=0;s<l;s++){const u=e[s];if(u!==0){if(i=n[n.length-1],e[i]<u){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)a=r+o>>1,e[n[a]]<u?r=a+1:o=a;u<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function fo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fo(t)}function Pi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function po(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?po(t.subTree):null}const ho=e=>e.__isSuspense;function va(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):Cl(e)}const j=Symbol.for("v-fgt"),cs=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),vn=[];let Fe=null;function A(e=!1){vn.push(Fe=e?null:[])}function ya(){vn.pop(),Fe=vn[vn.length-1]||null}let xn=1;function Gn(e,t=!1){xn+=e,e<0&&Fe&&t&&(Fe.hasOnce=!0)}function mo(e){return e.dynamicChildren=xn>0?Fe||zt:null,ya(),xn>0&&Fe&&Fe.push(e),e}function k(e,t,n,s,i,r){return mo(h(e,t,n,s,i,r,!0))}function We(e,t,n,s,i){return mo(L(e,t,n,s,i,!0))}function En(e){return e?e.__v_isVNode===!0:!1}function on(e,t){return e.type===t.type&&e.key===t.key}const go=({key:e})=>e??null,Vn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||Te(e)||W(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function h(e,t=null,n=null,s=0,i=null,r=e===j?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&go(t),ref:t&&Vn(t),scopeId:Br,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:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Se};return a?(ui(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=ce(n)?8:16),xn>0&&!o&&Fe&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Fe.push(l),l}const L=ba;function ba(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===qr)&&(e=xt),En(e)){const a=en(e,t,!0);return n&&ui(a,n),xn>0&&!r&&Fe&&(a.shapeFlag&6?Fe[Fe.indexOf(e)]=a:Fe.push(a)),a.patchFlag=-2,a}if(Ta(e)&&(e=e.__vccOpts),t){t=_a(t);let{class:a,style:l}=t;a&&!ce(a)&&(t.class=Be(a)),ie(l)&&(si(l)&&!G(l)&&(l=Ce({},l)),t.style=dt(l))}const o=ce(e)?1:ho(e)?128:kl(e)?64:ie(e)?4:W(e)?2:0;return h(e,t,n,s,i,o,r,!0)}function _a(e){return e?si(e)||io(e)?Ce({},e):e:null}function en(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=e,u=t?wa(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&go(u),ref:t&&t.ref?n&&r?G(r)?r.concat(Vn(t)):[r,Vn(t)]:Vn(t):r,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!==j?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&en(e.ssContent),ssFallback:e.ssFallback&&en(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&oi(c,l.clone(c)),c}function pe(e=" ",t=0){return L(cs,null,e,t)}function Lt(e,t){const n=L(Hn,null,e);return n.staticCount=t,n}function He(e="",t=!1){return t?(A(),We(xt,null,e)):L(xt,null,e)}function ut(e){return e==null||typeof e=="boolean"?L(xt):G(e)?L(j,null,e.slice()):En(e)?gt(e):L(cs,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:en(e)}function ui(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),ui(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!io(t)?t._ctx=Se:i===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[pe(t)]):n=8);e.children=t,e.shapeFlag|=n}function wa(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=Be([t.class,s.class]));else if(i==="style")t.style=dt([t.style,s.style]);else if(Yn(i)){const r=t[i],o=s[i];o&&r!==o&&!(G(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!Jn(i)&&(t[i]=o)}else i!==""&&(t[i]=s[i])}return t}function rt(e,t,n,s=null){Xe(e,t,7,[n,s])}const xa=Zr();let Ea=0;function Sa(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||xa,r={uid:Ea++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:oo(s,i),emitsOptions:eo(s,i),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:s.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=ta.bind(null,r),e.ce&&e.ce(r),r}let Me=null;const vo=()=>Me||Se;let Kn,Bs;{const e=ts(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Kn=t("__VUE_INSTANCE_SETTERS__",n=>Me=n),Bs=t("__VUE_SSR_SETTERS__",n=>Sn=n)}const Pn=e=>{const t=Me;return Kn(e),e.scope.on(),()=>{e.scope.off(),Kn(t)}},ki=()=>{Me&&Me.scope.off(),Kn(null)};function yo(e){return e.vnode.shapeFlag&4}let Sn=!1;function Ca(e,t=!1,n=!1){t&&Bs(t);const{props:s,children:i}=e.vnode,r=yo(e);la(e,s,r,t),fa(e,i,n||t);const o=r?Aa(e,t):void 0;return t&&Bs(!1),o}function Aa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gl);const{setup:s}=n;if(s){bt();const i=e.setupContext=s.length>1?_o(e):null,r=Pn(e),o=Tn(s,e,0,[e.props,i]),a=pr(o);if(_t(),r(),(a||e.sp)&&!Jt(e)&&jr(e),a){if(o.then(ki,ki),t)return o.then(l=>{Oi(e,l)}).catch(l=>{ss(l,e,0)});e.asyncDep=o}else Oi(e,o)}else bo(e)}function Oi(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=Dr(t)),bo(e)}function bo(e,t,n){const s=e.type;e.render||(e.render=s.render||ft);{const i=Pn(e);bt();try{Wl(e)}finally{_t(),i()}}}const Ra={get(e,t){return Re(e,"get",""),e[t]}};function _o(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ra),slots:e.slots,emit:e.emit,expose:t}}function fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Dr(ml(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in gn)return gn[n](e)},has(t,n){return n in t||n in gn}})):e.proxy}function Ma(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Ta(e){return W(e)&&"__vccOpts"in e}const _e=(e,t)=>_l(e,t,Sn);function wo(e,t,n){try{Gn(-1);const s=arguments.length;return s===2?ie(t)&&!G(t)?En(t)?L(e,null,[t]):L(e,t):L(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&En(n)&&(n=[n]),L(e,t,n))}finally{Gn(1)}}const Pa="3.5.35";/**
|
||
* @vue/runtime-dom v3.5.35
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Us;const Ii=typeof window<"u"&&window.trustedTypes;if(Ii)try{Us=Ii.createPolicy("vue",{createHTML:e=>e})}catch{}const xo=Us?e=>Us.createHTML(e):e=>e,ka="http://www.w3.org/2000/svg",Oa="http://www.w3.org/1998/Math/MathML",mt=typeof document<"u"?document:null,Ni=mt&&mt.createElement("template"),Ia={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?mt.createElementNS(ka,e):t==="mathml"?mt.createElementNS(Oa,e):n?mt.createElement(e,{is:n}):mt.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>mt.createTextNode(e),createComment:e=>mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Ni.innerHTML=xo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=Ni.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Na=Symbol("_vtc");function La(e,t,n){const s=e[Na];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Li=Symbol("_vod"),Da=Symbol("_vsh"),Ha=Symbol(""),Va=/(?:^|;)\s*display\s*:/;function $a(e,t,n){const s=e.style,i=ce(n);let r=!1;if(n&&!i){if(t)if(ce(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&un(s,a,"")}else for(const o in t)n[o]==null&&un(s,o,"");for(const o in n){o==="display"&&(r=!0);const a=n[o];a!=null?Ba(e,o,!ce(t)&&t?t[o]:void 0,a)||un(s,o,a):un(s,o,"")}}else if(i){if(t!==n){const o=s[Ha];o&&(n+=";"+o),s.cssText=n,r=Va.test(n)}}else t&&e.removeAttribute("style");Li in e&&(e[Li]=r?s.display:"",e[Da]&&(s.display="none"))}const Di=/\s*!important$/;function un(e,t,n){if(G(n))n.forEach(s=>un(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Fa(e,t);Di.test(n)?e.setProperty(Bt(s),n.replace(Di,""),"important"):e[s]=n}}const Hi=["Webkit","Moz","ms"],xs={};function Fa(e,t){const n=xs[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return xs[t]=s;s=Zn(s);for(let i=0;i<Hi.length;i++){const r=Hi[i]+s;if(r in e)return xs[t]=r}return t}function Ba(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ce(s)&&n===s}const Vi="http://www.w3.org/1999/xlink";function $i(e,t,n,s,i,r=Wo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Vi,t.slice(6,t.length)):e.setAttributeNS(Vi,t,n):n==null||r&&!vr(n)?e.removeAttribute(t):e.setAttribute(t,r?"":Je(n)?String(n):n)}function Fi(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?xo(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="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 o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=vr(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Dt(e,t,n,s){e.addEventListener(t,n,s)}function Ua(e,t,n,s){e.removeEventListener(t,n,s)}const Bi=Symbol("_vei");function ja(e,t,n,s,i=null){const r=e[Bi]||(e[Bi]={}),o=r[t];if(s&&o)o.value=s;else{const[a,l]=Ga(t);if(s){const u=r[t]=Wa(s,i);Dt(e,a,u,l)}else o&&(Ua(e,a,o,l),r[t]=void 0)}}const Ui=/(?:Once|Passive|Capture)$/;function Ga(e){let t;if(Ui.test(e)){t={};let s;for(;s=e.match(Ui);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Bt(e.slice(2)),t]}let Es=0;const Ka=Promise.resolve(),za=()=>Es||(Ka.then(()=>Es=0),Es=Date.now());function Wa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const i=n.value;if(G(i)){const r=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{r.call(s),s._stopped=!0};const o=i.slice(),a=[s];for(let l=0;l<o.length&&!s._stopped;l++){const u=o[l];u&&Xe(u,t,5,a)}}else Xe(i,t,5,[s])};return n.value=e,n.attached=za(),n}const ji=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qa=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?La(e,s,o):t==="style"?$a(e,n,s):Yn(t)?Jn(t)||ja(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ya(e,t,s,o))?(Fi(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&$i(e,t,s,o,r,t!=="value")):e._isVueCE&&(Ja(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ce(s)))?Fi(e,Ne(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),$i(e,t,s,o))};function Ya(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ji(t)&&W(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ji(t)&&ce(n)?!1:t in e}function Ja(e,t){const n=e._def.props;if(!n)return!1;const s=Ne(t);return Array.isArray(n)?n.some(i=>Ne(i)===s):Object.keys(n).some(i=>Ne(i)===s)}const zn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>Dn(t,n):t};function Qa(e){e.target.composing=!0}function Gi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Xt=Symbol("_assign");function Ki(e,t,n){return t&&(e=e.trim()),n&&(e=es(e)),e}const Md={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Xt]=zn(i);const r=s||i.props&&i.props.type==="number";Dt(e,t?"change":"input",o=>{o.target.composing||e[Xt](Ki(e.value,n,r))}),(n||r)&&Dt(e,"change",()=>{e.value=Ki(e.value,n,r)}),t||(Dt(e,"compositionstart",Qa),Dt(e,"compositionend",Gi),Dt(e,"change",Gi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[Xt]=zn(o),e.composing)return;const a=(r||e.type==="number")&&!/^0\d/.test(e.value)?es(e.value):e.value,l=t??"";if(a===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===l)||(e.value=l)}},Xa={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Qn(t);Dt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?es(Wn(o)):Wn(o));e[Xt](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,is(()=>{e._assigning=!1})}),e[Xt]=zn(s)},mounted(e,{value:t}){zi(e,t)},beforeUpdate(e,t,n){e[Xt]=zn(n)},updated(e,{value:t}){e._assigning||zi(e,t)}};function zi(e,t){const n=e.multiple,s=G(t);if(!(n&&!s&&!Qn(t))){for(let i=0,r=e.options.length;i<r;i++){const o=e.options[i],a=Wn(o);if(n)if(s){const l=typeof a;l==="string"||l==="number"?o.selected=t.some(u=>String(u)===String(a)):o.selected=Yo(t,a)>-1}else o.selected=t.has(a);else if(Rn(Wn(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wn(e){return"_value"in e?e._value:e.value}const Za=["ctrl","shift","alt","meta"],eu={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)=>Za.some(n=>e[`${n}Key`]&&!t.includes(n))},Eo=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const a=eu[t[o]];if(a&&a(i,t))return}return e(i,...r)}))},tu=Ce({patchProp:qa},Ia);let Wi;function nu(){return Wi||(Wi=pa(tu))}const su=((...e)=>{const t=nu().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=ru(s);if(!i)return;const r=t._component;!W(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,iu(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function iu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ru(e){return ce(e)?document.querySelector(e):e}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Kt=typeof document<"u";function So(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ou(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&So(e.default)}const te=Object.assign;function Ss(e,t){const n={};for(const s in t){const i=t[s];n[s]=Ze(i)?i.map(e):e(i)}return n}const yn=()=>{},Ze=Array.isArray;function qi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Co=/#/g,lu=/&/g,au=/\//g,uu=/=/g,cu=/\?/g,Ao=/\+/g,fu=/%5B/g,du=/%5D/g,Ro=/%5E/g,pu=/%60/g,Mo=/%7B/g,hu=/%7C/g,To=/%7D/g,mu=/%20/g;function ci(e){return e==null?"":encodeURI(""+e).replace(hu,"|").replace(fu,"[").replace(du,"]")}function gu(e){return ci(e).replace(Mo,"{").replace(To,"}").replace(Ro,"^")}function js(e){return ci(e).replace(Ao,"%2B").replace(mu,"+").replace(Co,"%23").replace(lu,"%26").replace(pu,"`").replace(Mo,"{").replace(To,"}").replace(Ro,"^")}function vu(e){return js(e).replace(uu,"%3D")}function yu(e){return ci(e).replace(Co,"%23").replace(cu,"%3F")}function bu(e){return yu(e).replace(au,"%2F")}function Cn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const _u=/\/$/,wu=e=>e.replace(_u,"");function Cs(e,t,n="/"){let s,i={},r="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),r=t.slice(l,a>0?a:t.length),i=e(r.slice(1))),a>=0&&(s=s||t.slice(0,a),o=t.slice(a,t.length)),s=Cu(s??t,n),{fullPath:s+r+o,path:s,query:i,hash:Cn(o)}}function xu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Eu(e,t,n){const s=t.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&tn(t.matched[s],n.matched[i])&&Po(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Po(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Su(e[n],t[n]))return!1;return!0}function Su(e,t){return Ze(e)?Ji(e,t):Ze(t)?Ji(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Ji(e,t){return Ze(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Cu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let r=n.length-1,o,a;for(o=0;o<s.length;o++)if(a=s[o],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Gs=(function(e){return e.pop="pop",e.push="push",e})({}),As=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Au(e){if(!e)if(Kt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wu(e)}const Ru=/^[^#]+#/;function Mu(e,t){return e.replace(Ru,"#")+t}function Tu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ds=()=>({left:window.scrollX,top:window.scrollY});function Pu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Tu(i,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 Qi(e,t){return(history.state?history.state.position-t:-1)+e}const Ks=new Map;function ku(e,t){Ks.set(e,t)}function Ou(e){const t=Ks.get(e);return Ks.delete(e),t}function Iu(e){return typeof e=="string"||e&&typeof e=="object"}function ko(e){return typeof e=="string"||typeof e=="symbol"}let de=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Oo=Symbol("");de.MATCHER_NOT_FOUND+"",de.NAVIGATION_GUARD_REDIRECT+"",de.NAVIGATION_ABORTED+"",de.NAVIGATION_CANCELLED+"",de.NAVIGATION_DUPLICATED+"";function nn(e,t){return te(new Error,{type:e,[Oo]:!0},t)}function ht(e,t){return e instanceof Error&&Oo in e&&(t==null||!!(e.type&t))}const Nu=["params","query","hash"];function Lu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Nu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Du(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const i=n[s].replace(Ao," "),r=i.indexOf("="),o=Cn(r<0?i:i.slice(0,r)),a=r<0?null:Cn(i.slice(r+1));if(o in t){let l=t[o];Ze(l)||(l=t[o]=[l]),l.push(a)}else t[o]=a}return t}function Xi(e){let t="";for(let n in e){const s=e[n];if(n=vu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ze(s)?s.map(i=>i&&js(i)):[s&&js(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Hu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ze(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return t}const Vu=Symbol(""),Zi=Symbol(""),ps=Symbol(""),fi=Symbol(""),zs=Symbol("");function ln(){let e=[];function t(s){return e.push(s),()=>{const i=e.indexOf(s);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tt(e,t,n,s,i,r=o=>o()){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const u=g=>{g===!1?l(nn(de.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?l(g):Iu(g)?l(nn(de.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(o&&s.enterCallbacks[i]===o&&typeof g=="function"&&o.push(g),a())},c=r(()=>e.call(s&&s.instances[i],t,n,u));let p=Promise.resolve(c);e.length<3&&(p=p.then(u)),p.catch(g=>l(g))})}function Rs(e,t,n,s,i=r=>r()){const r=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(So(l)){const u=(l.__vccOpts||l)[t];u&&r.push(Tt(u,n,s,o,a,i))}else{let u=l();r.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const p=ou(c)?c.default:c;o.mods[a]=c,o.components[a]=p;const g=(p.__vccOpts||p)[t];return g&&Tt(g,n,s,o,a,i)()}))}}return r}function $u(e,t){const n=[],s=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let o=0;o<r;o++){const a=t.matched[o];a&&(e.matched.find(u=>tn(u,a))?s.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>tn(u,l))||i.push(l))}return[n,s,i]}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let Fu=()=>location.protocol+"//"+location.host;function Io(e,t){const{pathname:n,search:s,hash:i}=t,r=e.indexOf("#");if(r>-1){let o=i.includes(e.slice(r))?e.slice(r).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),Yi(a,"")}return Yi(n,e)+s+i}function Bu(e,t,n,s){let i=[],r=[],o=null;const a=({state:g})=>{const v=Io(e,location),T=n.value,C=t.value;let y=0;if(g){if(n.value=v,t.value=g,o&&o===T){o=null;return}y=C?g.position-C.position:0}else s(v);i.forEach($=>{$(n.value,T,{delta:y,type:Gs.pop,direction:y?y>0?As.forward:As.back:As.unknown})})};function l(){o=n.value}function u(g){i.push(g);const v=()=>{const T=i.indexOf(g);T>-1&&i.splice(T,1)};return r.push(v),v}function c(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(te({},g.state,{scroll:ds()}),"")}}function p(){for(const g of r)g();r=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:p}}function er(e,t,n,s=!1,i=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:i?ds():null}}function Uu(e){const{history:t,location:n}=window,s={value:Io(e,n)},i={value:t.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,u,c){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:Fu()+e+l;try{t[c?"replaceState":"pushState"](u,"",g),i.value=u}catch(v){console.error(v),n[c?"replace":"assign"](g)}}function o(l,u){r(l,te({},t.state,er(i.value.back,l,i.value.forward,!0),u,{position:i.value.position}),!0),s.value=l}function a(l,u){const c=te({},i.value,t.state,{forward:l,scroll:ds()});r(c.current,c,!0),r(l,te({},er(s.value,l,null),{position:c.position+1},u),!1),s.value=l}return{location:s,state:i,push:a,replace:o}}function ju(e){e=Au(e);const t=Uu(e),n=Bu(e,t.state,t.location,t.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=te({location:"",base:e,go:s,createHref:Mu.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Gu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ju(e)}let Ht=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ye=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ye||{});const Ku={type:Ht.Static,value:""},zu=/[a-zA-Z0-9_]/;function Wu(e){if(!e)return[[]];if(e==="/")return[[Ku]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${u}": ${v}`)}let n=ye.Static,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,l,u="",c="";function p(){u&&(n===ye.Static?r.push({type:Ht.Static,value:u}):n===ye.Param||n===ye.ParamRegExp||n===ye.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Ht.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function g(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==ye.ParamRegExp){s=n,n=ye.EscapeNext;continue}switch(n){case ye.Static:l==="/"?(u&&p(),o()):l===":"?(p(),n=ye.Param):g();break;case ye.EscapeNext:g(),n=s;break;case ye.Param:l==="("?n=ye.ParamRegExp:zu.test(l)?g():(p(),n=ye.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ye.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=ye.ParamRegExpEnd:c+=l;break;case ye.ParamRegExpEnd:p(),n=ye.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===ye.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),p(),o(),i}const tr="[^/]+?",qu={sensitive:!1,strict:!1,start:!0,end:!0};var ke=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(ke||{});const Yu=/[.+*?^${}()[\]/\\]/g;function Ju(e,t){const n=te({},qu,t),s=[];let i=n.start?"^":"";const r=[];for(const u of e){const c=u.length?[]:[ke.Root];n.strict&&!u.length&&(i+="/");for(let p=0;p<u.length;p++){const g=u[p];let v=ke.Segment+(n.sensitive?ke.BonusCaseSensitive:0);if(g.type===Ht.Static)p||(i+="/"),i+=g.value.replace(Yu,"\\$&"),v+=ke.Static;else if(g.type===Ht.Param){const{value:T,repeatable:C,optional:y,regexp:$}=g;r.push({name:T,repeatable:C,optional:y});const E=$||tr;if(E!==tr){v+=ke.BonusCustomRegExp;try{`${E}`}catch(V){throw new Error(`Invalid custom RegExp for param "${T}" (${E}): `+V.message)}}let N=C?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;p||(N=y&&u.length<2?`(?:/${N})`:"/"+N),y&&(N+="?"),i+=N,v+=ke.Dynamic,y&&(v+=ke.BonusOptional),C&&(v+=ke.BonusRepeatable),E===".*"&&(v+=ke.BonusWildcard)}c.push(v)}s.push(c)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=ke.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(u){const c=u.match(o),p={};if(!c)return null;for(let g=1;g<c.length;g++){const v=c[g]||"",T=r[g-1];p[T.name]=v&&T.repeatable?v.split("/"):v}return p}function l(u){let c="",p=!1;for(const g of e){(!p||!c.endsWith("/"))&&(c+="/"),p=!1;for(const v of g)if(v.type===Ht.Static)c+=v.value;else if(v.type===Ht.Param){const{value:T,repeatable:C,optional:y}=v,$=T in u?u[T]:"";if(Ze($)&&!C)throw new Error(`Provided param "${T}" is an array but it is not repeatable (* or + modifiers)`);const E=Ze($)?$.join("/"):$;if(!E)if(y)g.length<2&&(c.endsWith("/")?c=c.slice(0,-1):p=!0);else throw new Error(`Missing required param "${T}"`);c+=E}}return c||"/"}return{re:o,score:s,keys:r,parse:a,stringify:l}}function Qu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===ke.Static+ke.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ke.Static+ke.Segment?1:-1:0}function No(e,t){let n=0;const s=e.score,i=t.score;for(;n<s.length&&n<i.length;){const r=Qu(s[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-s.length)===1){if(nr(s))return 1;if(nr(i))return-1}return i.length-s.length}function nr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Xu={strict:!1,end:!0,sensitive:!1};function Zu(e,t,n){const s=Ju(Wu(e.path),n),i=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function ec(e,t){const n=[],s=new Map;t=qi(Xu,t);function i(p){return s.get(p)}function r(p,g,v){const T=!v,C=ir(p);C.aliasOf=v&&v.record;const y=qi(t,p),$=[C];if("alias"in p){const V=typeof p.alias=="string"?[p.alias]:p.alias;for(const Z of V)$.push(ir(te({},C,{components:v?v.record.components:C.components,path:Z,aliasOf:v?v.record:C})))}let E,N;for(const V of $){const{path:Z}=V;if(g&&Z[0]!=="/"){const fe=g.record.path,re=fe[fe.length-1]==="/"?"":"/";V.path=g.record.path+(Z&&re+Z)}if(E=Zu(V,g,y),v?v.alias.push(E):(N=N||E,N!==E&&N.alias.push(E),T&&p.name&&!rr(E)&&o(p.name)),Lo(E)&&l(E),C.children){const fe=C.children;for(let re=0;re<fe.length;re++)r(fe[re],E,v&&v.children[re])}v=v||E}return N?()=>{o(N)}:yn}function o(p){if(ko(p)){const g=s.get(p);g&&(s.delete(p),n.splice(n.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=n.indexOf(p);g>-1&&(n.splice(g,1),p.record.name&&s.delete(p.record.name),p.children.forEach(o),p.alias.forEach(o))}}function a(){return n}function l(p){const g=sc(p,n);n.splice(g,0,p),p.record.name&&!rr(p)&&s.set(p.record.name,p)}function u(p,g){let v,T={},C,y;if("name"in p&&p.name){if(v=s.get(p.name),!v)throw nn(de.MATCHER_NOT_FOUND,{location:p});y=v.record.name,T=te(sr(g.params,v.keys.filter(N=>!N.optional).concat(v.parent?v.parent.keys.filter(N=>N.optional):[]).map(N=>N.name)),p.params&&sr(p.params,v.keys.map(N=>N.name))),C=v.stringify(T)}else if(p.path!=null)C=p.path,v=n.find(N=>N.re.test(C)),v&&(T=v.parse(C),y=v.record.name);else{if(v=g.name?s.get(g.name):n.find(N=>N.re.test(g.path)),!v)throw nn(de.MATCHER_NOT_FOUND,{location:p,currentLocation:g});y=v.record.name,T=te({},g.params,p.params),C=v.stringify(T)}const $=[];let E=v;for(;E;)$.unshift(E.record),E=E.parent;return{name:y,path:C,params:T,matched:$,meta:nc($)}}e.forEach(p=>r(p));function c(){n.length=0,s.clear()}return{addRoute:r,resolve:u,removeRoute:o,clearRoutes:c,getRoutes:a,getRecordMatcher:i}}function sr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ir(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:tc(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 tc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function rr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function nc(e){return e.reduce((t,n)=>te(t,n.meta),{})}function sc(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;No(e,t[r])<0?s=r:n=r+1}const i=ic(e);return i&&(s=t.lastIndexOf(i,s-1)),s}function ic(e){let t=e;for(;t=t.parent;)if(Lo(t)&&No(e,t)===0)return t}function Lo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function or(e){const t=Ye(ps),n=Ye(fi),s=_e(()=>{const l=he(e.to);return t.resolve(l)}),i=_e(()=>{const{matched:l}=s.value,{length:u}=l,c=l[u-1],p=n.matched;if(!c||!p.length)return-1;const g=p.findIndex(tn.bind(null,c));if(g>-1)return g;const v=lr(l[u-2]);return u>1&&lr(c)===v&&p[p.length-1].path!==v?p.findIndex(tn.bind(null,l[u-2])):g}),r=_e(()=>i.value>-1&&uc(n.params,s.value.params)),o=_e(()=>i.value>-1&&i.value===n.matched.length-1&&Po(n.params,s.value.params));function a(l={}){if(ac(l)){const u=t[he(e.replace)?"replace":"push"](he(e.to)).catch(yn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:_e(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}function rc(e){return e.length===1?e[0]:e}const oc=we({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"},viewTransition:Boolean},useLink:or,setup(e,{slots:t}){const n=Mn(or(e)),{options:s}=Ye(ps),i=_e(()=>({[ar(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ar(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&rc(t.default(n));return e.custom?r:wo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),lc=oc;function ac(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 uc(e,t){for(const n in t){const s=t[n],i=e[n];if(typeof s=="string"){if(s!==i)return!1}else if(!Ze(i)||i.length!==s.length||s.some((r,o)=>r.valueOf()!==i[o].valueOf()))return!1}return!0}function lr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ar=(e,t,n)=>e??t??n,cc=we({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ye(zs),i=_e(()=>e.route||s.value),r=Ye(Zi,0),o=_e(()=>{let u=he(r);const{matched:c}=i.value;let p;for(;(p=c[u])&&!p.components;)u++;return u}),a=_e(()=>i.value.matched[o.value]);hn(Zi,_e(()=>o.value+1)),hn(Vu,a),hn(zs,i);const l=Oe();return Yt(()=>[l.value,a.value,e.name],([u,c,p],[g,v,T])=>{c&&(c.instances[p]=u,v&&v!==c&&u&&u===g&&(c.leaveGuards.size||(c.leaveGuards=v.leaveGuards),c.updateGuards.size||(c.updateGuards=v.updateGuards))),u&&c&&(!v||!tn(c,v)||!g)&&(c.enterCallbacks[p]||[]).forEach(C=>C(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,p=a.value,g=p&&p.components[c];if(!g)return ur(n.default,{Component:g,route:u});const v=p.props[c],T=v?v===!0?u.params:typeof v=="function"?v(u):v:null,y=wo(g,te({},T,t,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(p.instances[c]=null)},ref:l}));return ur(n.default,{Component:y,route:u})||y}}});function ur(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const fc=cc;function dc(e){const t=ec(e.routes,e),n=e.parseQuery||Du,s=e.stringifyQuery||Xi,i=e.history,r=ln(),o=ln(),a=ln(),l=gl(Rt);let u=Rt;Kt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ss.bind(null,w=>""+w),p=Ss.bind(null,bu),g=Ss.bind(null,Cn);function v(w,H){let O,F;return ko(w)?(O=t.getRecordMatcher(w),F=H):F=w,t.addRoute(F,O)}function T(w){const H=t.getRecordMatcher(w);H&&t.removeRoute(H)}function C(){return t.getRoutes().map(w=>w.record)}function y(w){return!!t.getRecordMatcher(w)}function $(w,H){if(H=te({},H||l.value),typeof w=="string"){const m=Cs(n,w,H.path),_=t.resolve({path:m.path},H),x=i.createHref(m.fullPath);return te(m,_,{params:g(_.params),hash:Cn(m.hash),redirectedFrom:void 0,href:x})}let O;if(w.path!=null)O=te({},w,{path:Cs(n,w.path,H.path).path});else{const m=te({},w.params);for(const _ in m)m[_]==null&&delete m[_];O=te({},w,{params:p(m)}),H.params=p(H.params)}const F=t.resolve(O,H),Y=w.hash||"";F.params=c(g(F.params));const f=xu(s,te({},w,{hash:gu(Y),path:F.path})),d=i.createHref(f);return te({fullPath:f,hash:Y,query:s===Xi?Hu(w.query):w.query||{}},F,{redirectedFrom:void 0,href:d})}function E(w){return typeof w=="string"?Cs(n,w,l.value.path):te({},w)}function N(w,H){if(u!==w)return nn(de.NAVIGATION_CANCELLED,{from:H,to:w})}function V(w){return re(w)}function Z(w){return V(te(E(w),{replace:!0}))}function fe(w,H){const O=w.matched[w.matched.length-1];if(O&&O.redirect){const{redirect:F}=O;let Y=typeof F=="function"?F(w,H):F;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=E(Y):{path:Y},Y.params={}),te({query:w.query,hash:w.hash,params:Y.path!=null?{}:w.params},Y)}}function re(w,H){const O=u=$(w),F=l.value,Y=w.state,f=w.force,d=w.replace===!0,m=fe(O,F);if(m)return re(te(E(m),{state:typeof m=="object"?te({},Y,m.state):Y,force:f,replace:d}),H||O);const _=O;_.redirectedFrom=H;let x;return!f&&Eu(s,F,O)&&(x=nn(de.NAVIGATION_DUPLICATED,{to:_,from:F}),je(F,F,!0,!1)),(x?Promise.resolve(x):D(_,F)).catch(b=>ht(b)?ht(b,de.NAVIGATION_GUARD_REDIRECT)?b:tt(b):X(b,_,F)).then(b=>{if(b){if(ht(b,de.NAVIGATION_GUARD_REDIRECT))return re(te({replace:d},E(b.to),{state:typeof b.to=="object"?te({},Y,b.to.state):Y,force:f}),H||_)}else b=et(_,F,!0,d,Y);return q(_,F,b),b})}function Ue(w,H){const O=N(w,H);return O?Promise.reject(O):Promise.resolve()}function z(w){const H=At.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(w):w()}function D(w,H){let O;const[F,Y,f]=$u(w,H);O=Rs(F.reverse(),"beforeRouteLeave",w,H);for(const m of F)m.leaveGuards.forEach(_=>{O.push(Tt(_,w,H))});const d=Ue.bind(null,w,H);return O.push(d),Ge(O).then(()=>{O=[];for(const m of r.list())O.push(Tt(m,w,H));return O.push(d),Ge(O)}).then(()=>{O=Rs(Y,"beforeRouteUpdate",w,H);for(const m of Y)m.updateGuards.forEach(_=>{O.push(Tt(_,w,H))});return O.push(d),Ge(O)}).then(()=>{O=[];for(const m of f)if(m.beforeEnter)if(Ze(m.beforeEnter))for(const _ of m.beforeEnter)O.push(Tt(_,w,H));else O.push(Tt(m.beforeEnter,w,H));return O.push(d),Ge(O)}).then(()=>(w.matched.forEach(m=>m.enterCallbacks={}),O=Rs(f,"beforeRouteEnter",w,H,z),O.push(d),Ge(O))).then(()=>{O=[];for(const m of o.list())O.push(Tt(m,w,H));return O.push(d),Ge(O)}).catch(m=>ht(m,de.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function q(w,H,O){a.list().forEach(F=>z(()=>F(w,H,O)))}function et(w,H,O,F,Y){const f=N(w,H);if(f)return f;const d=H===Rt,m=Kt?history.state:{};O&&(F||d?i.replace(w.fullPath,te({scroll:d&&m&&m.scroll},Y)):i.push(w.fullPath,Y)),l.value=w,je(w,H,O,d),tt()}let Le;function Pt(){Le||(Le=i.listen((w,H,O)=>{if(!kt.listening)return;const F=$(w),Y=fe(F,kt.currentRoute.value);if(Y){re(te(Y,{replace:!0,force:!0}),F).catch(yn);return}u=F;const f=l.value;Kt&&ku(Qi(f.fullPath,O.delta),ds()),D(F,f).catch(d=>ht(d,de.NAVIGATION_ABORTED|de.NAVIGATION_CANCELLED)?d:ht(d,de.NAVIGATION_GUARD_REDIRECT)?(re(te(E(d.to),{force:!0}),F).then(m=>{ht(m,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===Gs.pop&&i.go(-1,!1)}).catch(yn),Promise.reject()):(O.delta&&i.go(-O.delta,!1),X(d,F,f))).then(d=>{d=d||et(F,f,!1),d&&(O.delta&&!ht(d,de.NAVIGATION_CANCELLED)?i.go(-O.delta,!1):O.type===Gs.pop&&ht(d,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),q(F,f,d)}).catch(yn)}))}let St=ln(),ge=ln(),ee;function X(w,H,O){tt(w);const F=ge.list();return F.length?F.forEach(Y=>Y(w,H,O)):console.error(w),Promise.reject(w)}function ze(){return ee&&l.value!==Rt?Promise.resolve():new Promise((w,H)=>{St.add([w,H])})}function tt(w){return ee||(ee=!w,Pt(),St.list().forEach(([H,O])=>w?O(w):H()),St.reset()),w}function je(w,H,O,F){const{scrollBehavior:Y}=e;if(!Kt||!Y)return Promise.resolve();const f=!O&&Ou(Qi(w.fullPath,0))||(F||!O)&&history.state&&history.state.scroll||null;return is().then(()=>Y(w,H,f)).then(d=>d&&Pu(d)).catch(d=>X(d,w,H))}const Ae=w=>i.go(w);let Ct;const At=new Set,kt={currentRoute:l,listening:!0,addRoute:v,removeRoute:T,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:C,resolve:$,options:e,push:V,replace:Z,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:ge.add,isReady:ze,install(w){w.component("RouterLink",lc),w.component("RouterView",fc),w.config.globalProperties.$router=kt,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>he(l)}),Kt&&!Ct&&l.value===Rt&&(Ct=!0,V(i.location).catch(F=>{}));const H={};for(const F in Rt)Object.defineProperty(H,F,{get:()=>l.value[F],enumerable:!0});w.provide(ps,kt),w.provide(fi,Nr(H)),w.provide(zs,l);const O=w.unmount;At.add(w),w.unmount=function(){At.delete(w),At.size<1&&(u=Rt,Le&&Le(),Le=null,l.value=Rt,Ct=!1,ee=!1),O()}}};function Ge(w){return w.reduce((H,O)=>H.then(()=>z(O)),Promise.resolve())}return kt}function Do(){return Ye(ps)}function pc(e){return Ye(fi)}const hc=["width","height"],mc={key:8,d:"M6 4.5v15l13-7.5z",fill:"currentColor",stroke:"none"},gc={key:17,d:"m9 6 6 6-6 6"},vc={key:18,d:"m6 9 6 6 6-6"},yc={key:19,d:"m15 6-6 6 6 6"},bc={key:23,d:"M4 12.5 9 17 20 6"},_c={key:28,x:"5",y:"5",width:"14",height:"14",rx:"2",fill:"currentColor",stroke:"none"},wc={key:34,d:"M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"},me=we({__name:"Icon",props:{name:{},size:{}},setup(e){return(t,n)=>(A(),k("svg",{width:e.size??16,height:e.size??16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round",class:"ico"},[e.name==="dashboard"?(A(),k(j,{key:0},[n[0]||(n[0]=h("rect",{x:"3",y:"3",width:"7",height:"9",rx:"1.5"},null,-1)),n[1]||(n[1]=h("rect",{x:"14",y:"3",width:"7",height:"5",rx:"1.5"},null,-1)),n[2]||(n[2]=h("rect",{x:"14",y:"12",width:"7",height:"9",rx:"1.5"},null,-1)),n[3]||(n[3]=h("rect",{x:"3",y:"16",width:"7",height:"5",rx:"1.5"},null,-1))],64)):e.name==="playlist"?(A(),k(j,{key:1},[n[4]||(n[4]=Lt('<path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><circle cx="3.5" cy="6" r="1.2"></circle><circle cx="3.5" cy="12" r="1.2"></circle><circle cx="3.5" cy="18" r="1.2"></circle>',6))],64)):e.name==="epg"?(A(),k(j,{key:2},[n[5]||(n[5]=Lt('<rect x="3" y="4" width="18" height="17" rx="2"></rect><path d="M3 9h18"></path><path d="M8 4v-2"></path><path d="M16 4v-2"></path><path d="M8 13h3"></path><path d="M14 13h4"></path><path d="M8 17h6"></path>',7))],64)):e.name==="import"?(A(),k(j,{key:3},[n[6]||(n[6]=h("path",{d:"M12 3v12"},null,-1)),n[7]||(n[7]=h("path",{d:"m7 10 5 5 5-5"},null,-1)),n[8]||(n[8]=h("path",{d:"M5 21h14"},null,-1))],64)):e.name==="map"?(A(),k(j,{key:4},[n[9]||(n[9]=h("circle",{cx:"6",cy:"6",r:"2.5"},null,-1)),n[10]||(n[10]=h("circle",{cx:"18",cy:"18",r:"2.5"},null,-1)),n[11]||(n[11]=h("path",{d:"M8.5 6h7a3 3 0 0 1 0 6h-7a3 3 0 0 0 0 6h-2"},null,-1))],64)):e.name==="settings"?(A(),k(j,{key:5},[n[12]||(n[12]=h("circle",{cx:"12",cy:"12",r:"3"},null,-1)),n[13]||(n[13]=h("path",{d:"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1A1.7 1.7 0 0 0 4.6 9a1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"},null,-1))],64)):e.name==="search"?(A(),k(j,{key:6},[n[14]||(n[14]=h("circle",{cx:"11",cy:"11",r:"7"},null,-1)),n[15]||(n[15]=h("path",{d:"m21 21-4.3-4.3"},null,-1))],64)):e.name==="plus"?(A(),k(j,{key:7},[n[16]||(n[16]=h("path",{d:"M12 5v14"},null,-1)),n[17]||(n[17]=h("path",{d:"M5 12h14"},null,-1))],64)):e.name==="play"?(A(),k("path",mc)):e.name==="pause"?(A(),k(j,{key:9},[n[18]||(n[18]=h("rect",{x:"6",y:"5",width:"4",height:"14"},null,-1)),n[19]||(n[19]=h("rect",{x:"14",y:"5",width:"4",height:"14"},null,-1))],64)):e.name==="refresh"?(A(),k(j,{key:10},[n[20]||(n[20]=h("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"},null,-1)),n[21]||(n[21]=h("path",{d:"M21 3v5h-5"},null,-1)),n[22]||(n[22]=h("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"},null,-1)),n[23]||(n[23]=h("path",{d:"M3 21v-5h5"},null,-1))],64)):e.name==="trash"?(A(),k(j,{key:11},[n[24]||(n[24]=Lt('<path d="M3 6h18"></path><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><path d="M19 6 18 20a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6"></path><path d="M14 11v6"></path>',5))],64)):e.name==="edit"?(A(),k(j,{key:12},[n[25]||(n[25]=h("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"},null,-1)),n[26]||(n[26]=h("path",{d:"m18.5 2.5 3 3L12 15l-4 1 1-4z"},null,-1))],64)):e.name==="more"?(A(),k(j,{key:13},[n[27]||(n[27]=h("circle",{cx:"5",cy:"12",r:"1.4"},null,-1)),n[28]||(n[28]=h("circle",{cx:"12",cy:"12",r:"1.4"},null,-1)),n[29]||(n[29]=h("circle",{cx:"19",cy:"12",r:"1.4"},null,-1))],64)):e.name==="grid"?(A(),k(j,{key:14},[n[30]||(n[30]=h("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"},null,-1)),n[31]||(n[31]=h("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"},null,-1)),n[32]||(n[32]=h("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"},null,-1)),n[33]||(n[33]=h("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"},null,-1))],64)):e.name==="list"?(A(),k(j,{key:15},[n[34]||(n[34]=Lt('<path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><circle cx="3.5" cy="6" r="1.2"></circle><circle cx="3.5" cy="12" r="1.2"></circle><circle cx="3.5" cy="18" r="1.2"></circle>',6))],64)):e.name==="filter"?(A(),k(j,{key:16},[n[35]||(n[35]=h("path",{d:"M3 5h18"},null,-1)),n[36]||(n[36]=h("path",{d:"M6 12h12"},null,-1)),n[37]||(n[37]=h("path",{d:"M10 19h4"},null,-1))],64)):e.name==="chevron-r"?(A(),k("path",gc)):e.name==="chevron-d"?(A(),k("path",vc)):e.name==="chevron-l"?(A(),k("path",yc)):e.name==="upload"?(A(),k(j,{key:20},[n[38]||(n[38]=h("path",{d:"M12 15V3"},null,-1)),n[39]||(n[39]=h("path",{d:"m7 8 5-5 5 5"},null,-1)),n[40]||(n[40]=h("path",{d:"M5 21h14"},null,-1))],64)):e.name==="link"?(A(),k(j,{key:21},[n[41]||(n[41]=h("path",{d:"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1"},null,-1)),n[42]||(n[42]=h("path",{d:"M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1"},null,-1))],64)):e.name==="tv"?(A(),k(j,{key:22},[n[43]||(n[43]=h("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"},null,-1)),n[44]||(n[44]=h("path",{d:"M8 22h8"},null,-1)),n[45]||(n[45]=h("path",{d:"M12 19v3"},null,-1))],64)):e.name==="check"?(A(),k("path",bc)):e.name==="x"?(A(),k(j,{key:24},[n[46]||(n[46]=h("path",{d:"M18 6 6 18"},null,-1)),n[47]||(n[47]=h("path",{d:"m6 6 12 12"},null,-1))],64)):e.name==="sync"?(A(),k(j,{key:25},[n[48]||(n[48]=h("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"},null,-1)),n[49]||(n[49]=h("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"},null,-1))],64)):e.name==="warn"?(A(),k(j,{key:26},[n[50]||(n[50]=h("path",{d:"M10.3 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.41 0z"},null,-1)),n[51]||(n[51]=h("path",{d:"M12 9v4"},null,-1)),n[52]||(n[52]=h("circle",{cx:"12",cy:"17",r:"0.6",fill:"currentColor"},null,-1))],64)):e.name==="add"?(A(),k(j,{key:27},[n[53]||(n[53]=h("circle",{cx:"12",cy:"12",r:"9"},null,-1)),n[54]||(n[54]=h("path",{d:"M12 8v8"},null,-1)),n[55]||(n[55]=h("path",{d:"M8 12h8"},null,-1))],64)):e.name==="stop"?(A(),k("rect",_c)):e.name==="globe"?(A(),k(j,{key:29},[n[56]||(n[56]=h("circle",{cx:"12",cy:"12",r:"9"},null,-1)),n[57]||(n[57]=h("path",{d:"M3 12h18"},null,-1)),n[58]||(n[58]=h("path",{d:"M12 3a14 14 0 0 1 0 18"},null,-1)),n[59]||(n[59]=h("path",{d:"M12 3a14 14 0 0 0 0 18"},null,-1))],64)):e.name==="file"?(A(),k(j,{key:30},[n[60]||(n[60]=h("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"},null,-1)),n[61]||(n[61]=h("path",{d:"M14 2v6h6"},null,-1))],64)):e.name==="logout"?(A(),k(j,{key:31},[n[62]||(n[62]=h("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"},null,-1)),n[63]||(n[63]=h("path",{d:"m16 17 5-5-5-5"},null,-1)),n[64]||(n[64]=h("path",{d:"M21 12H9"},null,-1))],64)):e.name==="copy"?(A(),k(j,{key:32},[n[65]||(n[65]=h("rect",{x:"8",y:"8",width:"12",height:"12",rx:"2"},null,-1)),n[66]||(n[66]=h("path",{d:"M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2"},null,-1))],64)):e.name==="sun"?(A(),k(j,{key:33},[n[67]||(n[67]=Lt('<circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m4.93 19.07 1.41-1.41"></path><path d="m17.66 6.34 1.41-1.41"></path>',9))],64)):e.name==="moon"?(A(),k("path",wc)):He("",!0)],8,hc))}}),xc=["title","disabled"],$e=we({__name:"Btn",props:{variant:{},size:{},icon:{},title:{},disabled:{type:Boolean}},setup(e){const t=e,n=Kl(),s=_e(()=>{const i=!!n.default;return["btn",t.variant,t.size,t.icon&&!i?"icon":""].filter(Boolean).join(" ")});return(i,r)=>(A(),k("button",{class:Be(s.value),title:e.title,disabled:e.disabled},[e.icon?(A(),We(me,{key:0,name:e.icon,size:e.size==="sm"?13:14},null,8,["name","size"])):He("",!0),as(i.$slots,"default")],10,xc))}}),Ec={class:"twk-body"},jt=16,Sc=we({__name:"TweaksPanel",props:{title:{}},setup(e){const t=Oe(!1),n=Oe(null),s=Oe({x:16,y:16});function i(){const l=n.value;if(!l)return;const u=l.offsetWidth,c=l.offsetHeight,p=Math.max(jt,window.innerWidth-u-jt),g=Math.max(jt,window.innerHeight-c-jt);s.value={x:Math.min(p,Math.max(jt,s.value.x)),y:Math.min(g,Math.max(jt,s.value.y))}}function r(l){var c;const u=(c=l==null?void 0:l.data)==null?void 0:c.type;u==="__activate_edit_mode"?t.value=!0:u==="__deactivate_edit_mode"&&(t.value=!1)}function o(){var l;t.value=!1;try{(l=window.parent)==null||l.postMessage({type:"__edit_mode_dismissed"},"*")}catch{}}function a(l){const u=n.value;if(!u)return;const c=u.getBoundingClientRect(),p=l.clientX,g=l.clientY,v=window.innerWidth-c.right,T=window.innerHeight-c.bottom,C=$=>{s.value={x:v-($.clientX-p),y:T-($.clientY-g)},i()},y=()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",y)};window.addEventListener("mousemove",C),window.addEventListener("mouseup",y)}return os(()=>{var l;window.addEventListener("message",r);try{(l=window.parent)==null||l.postMessage({type:"__edit_mode_available"},"*")}catch{}window.addEventListener("resize",i)}),ls(()=>{window.removeEventListener("message",r),window.removeEventListener("resize",i)}),(l,u)=>t.value?(A(),k("div",{key:0,ref_key:"panel",ref:n,class:"twk-panel",style:dt({right:s.value.x+"px",bottom:s.value.y+"px"})},[h("div",{class:"twk-hd",onMousedown:a},[h("b",null,J(e.title||"Tweaks"),1),h("button",{class:"twk-x","aria-label":"Close tweaks",onMousedown:u[0]||(u[0]=Eo(()=>{},["stop"])),onClick:o},"✕",32)],32),h("div",Ec,[as(l.$slots,"default")])],4)):He("",!0)}}),Cc={class:"twk-sect"},Ms=we({__name:"TweakSection",props:{label:{}},setup(e){return(t,n)=>(A(),k("div",Cc,J(e.label),1))}}),Ac={class:"twk-row"},Rc={class:"twk-lbl"},Mc={class:"twk-seg",role:"radiogroup"},Tc=["aria-checked","onClick"],Ts=we({__name:"TweakRadio",props:{label:{},value:{},options:{}},emits:["change"],setup(e,{emit:t}){const n=e,s=t,i=_e(()=>Math.max(0,n.options.indexOf(n.value))),r=_e(()=>n.options.length);return(o,a)=>(A(),k("div",Ac,[h("div",Rc,[h("span",null,J(e.label),1)]),h("div",Mc,[h("div",{class:"twk-seg-thumb",style:dt({left:`calc(2px + ${i.value} * (100% - 4px) / ${r.value})`,width:`calc((100% - 4px) / ${r.value})`})},null,4),(A(!0),k(j,null,Ft(e.options,l=>(A(),k("button",{key:l,type:"button",role:"radio","aria-checked":l===e.value,onClick:u=>s("change",l)},J(l),9,Tc))),128))])]))}}),cn=we({__name:"Pill",props:{tone:{}},setup(e){return(t,n)=>(A(),k("span",{class:Be(["pill",e.tone||""])},[as(t.$slots,"default")],2))}}),Pc=["title"],kc=we({__name:"StatusDot",props:{status:{},pulse:{type:Boolean}},setup(e){return(t,n)=>(A(),k("div",{class:Be(["dot",e.status||"idle",{pulse:e.pulse}]),title:e.status},null,10,Pc))}}),Oc=we({__name:"ChannelLogo",props:{ch:{},size:{}},setup(e){return(t,n)=>(A(),k("div",{class:Be(["ch-logo",e.size||""]),style:dt({background:e.ch.logoColor+" linear-gradient(135deg, transparent, rgba(0,0,0,.25))",color:"white"})},J(e.ch.initials),7))}}),Ic={class:"segmented"},Nc=["onClick"],Ho=we({__name:"Segmented",props:{value:{},options:{}},emits:["change"],setup(e,{emit:t}){const n=e,s=t;return(i,r)=>(A(),k("div",Ic,[(A(!0),k(j,null,Ft(n.options,o=>(A(),k("button",{key:o.value,class:Be(e.value===o.value?"active":""),onClick:a=>s("change",o.value)},[o.icon?(A(),We(me,{key:0,name:o.icon,size:13},null,8,["name"])):He("",!0),pe(" "+J(o.label),1)],10,Nc))),128))]))}}),Nn=[{id:"pl-default",name:"Default",url:"bundled://tvapp2/default.m3u",channels:24,groups:6,lastSync:"Ships with TVApp2",status:"good",auto:!0,interval:"Auto-updated",builtin:!0},{id:"pl-iptv-pro",name:"IPTV-Pro Main",url:"https://iptv-pro.example.com/playlist.m3u8",channels:142,groups:8,lastSync:"2 minutes ago",status:"good",auto:!0,interval:"Every 6 hours"},{id:"pl-free-uk",name:"Free UK Bouquet",url:"https://iptv-org.github.io/iptv/countries/uk.m3u",channels:87,groups:4,lastSync:"1 hour ago",status:"good",auto:!0,interval:"Daily"},{id:"pl-archive",name:"Archive (legacy)",url:"file:///playlists/archive-2023.m3u",channels:38,groups:3,lastSync:"3 days ago",status:"warn",auto:!1,interval:"Manual"}],Ln=[{id:"epg-default",name:"Default",url:"bundled://tvapp2/default.xml.gz",channels:86,programs:5240,lastSync:"Ships with TVApp2",status:"good",auto:!0,interval:"Auto-updated",builtin:!0},{id:"epg-xmltv-uk",name:"XMLTV UK Guide",url:"https://epg.example.com/uk.xml.gz",channels:124,programs:8420,lastSync:"12 minutes ago",status:"good",auto:!0,interval:"Every 12 hours"},{id:"epg-iptv-org",name:"iptv-org world EPG",url:"https://iptv-org.github.io/epg/guides/uk/openepg.xml",channels:412,programs:24180,lastSync:"2 hours ago",status:"good",auto:!0,interval:"Daily"}],Lc=["News","Sport","Entertainment","Movies","Kids","Music","Documentary","Lifestyle"];function Dc(e){let t=e;return()=>(t=t*1664525+1013904223>>>0,t/4294967296)}const Hc=[{tvg_name:"BBC One HD",group:"Entertainment",channel:101,tvg_id:"bbc.one.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"BBC Two HD",group:"Entertainment",channel:102,tvg_id:"bbc.two.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"BBC News",group:"News",channel:231,tvg_id:"bbc.news.uk",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Sky Sports Main",group:"Sport",channel:401,tvg_id:"sky.sports.main.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Sky Sports F1",group:"Sport",channel:406,tvg_id:"sky.sports.f1.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"ITV1 HD",group:"Entertainment",channel:103,tvg_id:"itv1.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Channel 4 HD",group:"Entertainment",channel:104,tvg_id:"channel4.uk",state:"active",epg:"matched",status:"warn",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Film4",group:"Movies",channel:315,tvg_id:"film4.uk",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Discovery Channel",group:"Documentary",channel:520,tvg_id:"discovery.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"National Geographic",group:"Documentary",channel:521,tvg_id:"natgeo.uk",state:"active",epg:"unmatched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"CNN International",group:"News",channel:233,tvg_id:"cnn.int",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Al Jazeera English",group:"News",channel:235,tvg_id:"aljazeera.en",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Cartoon Network",group:"Kids",channel:601,tvg_id:"cartoonnet.uk",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Nick Jr.",group:"Kids",channel:615,tvg_id:null,state:"disabled",epg:"unmatched",status:"warn",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"MTV Hits",group:"Music",channel:365,tvg_id:"mtv.hits.uk",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Kerrang!",group:"Music",channel:369,tvg_id:"kerrang.uk",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Food Network",group:"Lifestyle",channel:240,tvg_id:"foodnet.uk",state:"active",epg:"matched",status:"good",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"HGTV",group:"Lifestyle",channel:242,tvg_id:null,state:"disabled",epg:"unmatched",status:"bad",res:"720p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"TCM Movies",group:"Movies",channel:320,tvg_id:"tcm.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"},{tvg_name:"Eurosport 1",group:"Sport",channel:410,tvg_id:"eurosport1.uk",state:"active",epg:"matched",status:"good",res:"1080p",url:"http://sample.stream.com/channel/1.m3u8"}],Ws=Hc.map((e,t)=>({id:`ch-${t}`,...e,source:"Default",logoColor:`oklch(0.5 0.16 ${t*47%360})`,initials:e.tvg_name.split(/\s+/).slice(0,2).map(n=>n[0]).join("").toUpperCase()})),Ps=[["Morning News","Live"],["Breakfast Show","Lifestyle"],["Market Report","Business"],["Sports Roundup","Highlights"],["Drama Hour","Series"],["World Headlines","News"],["Wildlife Special","Documentary"],["Cooking with Anna","Lifestyle"],["Classic Movies","Film"],["Talk of the Day","Discussion"],["Children's Hour","Kids"],["Weather Watch","Weather"],["Live Match","Football"],["Tech Today","Technology"],["Late Show","Comedy"],["Documentary","Feature"],["Music Mix","Music"],["Quiz Night","Game show"],["Reality TV","Series"],["The Daily Brief","News"]],Td=Array.from({length:25},(e,t)=>t);function Vc(e,t){const n=Dc(t),s=[];let i=0;for(;i<24;){const r=[.5,1,1,1.5,2][Math.floor(n()*5)],o=Math.floor(n()*Ps.length);s.push({start:i,end:Math.min(24,i+r),title:Ps[o][0],cat:Ps[o][1]}),i+=r}return s}const $c={};Ws.slice(0,12).forEach((e,t)=>{$c[e.id]=Vc(e.id,100+t*7)});const Pd=[{when:"2m",icon:"sync",html:"<b>IPTV-Pro Main</b> synced — 142 channels, no changes"},{when:"12m",icon:"epg",html:"<b>XMLTV UK Guide</b> imported — 8,420 programs across 124 channels"},{when:"1h",icon:"map",html:'Manual mapping: <b>HGTV</b> → <code class="mono">hgtv.uk</code>'},{when:"1h",icon:"warn",html:"<b>Free UK Bouquet</b> reports 3 channels offline (HTTP 503)"},{when:"3h",icon:"edit",html:"Renamed <b>Discovery</b> → <b>Discovery Channel</b>"},{when:"Yest.",icon:"add",html:"Playlist <b>IPTV-Pro Main</b> added (142 channels)"}],cr=[{id:"as-1",channelId:"ch-0",status:"good",uptime:"4h 12m",uptimeMin:252,viewers:142,peakViewers:168,bitrate:6.4,targetBitrate:6,codec:"H.264 High@4.1",audio:"AAC LC 2.0 · 128k",container:"HLS / TS",resolution:"1920×1080",fps:50,sourceUrl:"http://stream.iptv-pro.example.com/live/bbc-one/index.m3u8",sourceHost:"edge-fra-04",droppedFrames:0,droppedRatio:0,latency:2.1,bandwidth:912},{id:"as-2",channelId:"ch-3",status:"good",uptime:"1h 48m",uptimeMin:108,viewers:89,peakViewers:112,bitrate:8.2,targetBitrate:8,codec:"H.264 High@4.2",audio:"AC3 5.1 · 384k",container:"HLS / fMP4",resolution:"1920×1080",fps:50,sourceUrl:"http://stream.iptv-pro.example.com/live/sky-sports-main/index.m3u8",sourceHost:"edge-lon-02",droppedFrames:14,droppedRatio:.01,latency:1.8,bandwidth:730},{id:"as-3",channelId:"ch-2",status:"good",uptime:"22h 06m",uptimeMin:1326,viewers:47,peakViewers:61,bitrate:3.1,targetBitrate:3,codec:"H.264 Main@3.1",audio:"AAC LC 2.0 · 96k",container:"HLS / TS",resolution:"1280×720",fps:25,sourceUrl:"http://stream.iptv-pro.example.com/live/bbc-news/index.m3u8",sourceHost:"edge-fra-04",droppedFrames:2,droppedRatio:0,latency:2.4,bandwidth:145},{id:"as-4",channelId:"ch-6",status:"warn",uptime:"12m",uptimeMin:12,viewers:8,peakViewers:8,bitrate:4.1,targetBitrate:5,codec:"H.264 High@4.0",audio:"AAC LC 2.0 · 128k",container:"HLS / TS",resolution:"1920×1080",fps:25,sourceUrl:"http://stream.iptv-pro.example.com/live/channel4/index.m3u8",sourceHost:"edge-ams-01",droppedFrames:184,droppedRatio:.47,latency:4.7,bandwidth:34},{id:"as-5",channelId:"ch-4",status:"good",uptime:"3h 41m",uptimeMin:221,viewers:31,peakViewers:44,bitrate:7.9,targetBitrate:8,codec:"H.264 High@4.2",audio:"AC3 5.1 · 384k",container:"HLS / fMP4",resolution:"1920×1080",fps:50,sourceUrl:"http://stream.iptv-pro.example.com/live/sky-sports-f1/index.m3u8",sourceHost:"edge-lon-02",droppedFrames:0,droppedRatio:0,latency:1.9,bandwidth:245},{id:"as-6",channelId:"ch-8",status:"good",uptime:"45m",uptimeMin:45,viewers:12,peakViewers:12,bitrate:5.6,targetBitrate:6,codec:"H.265 Main@4.0",audio:"AAC LC 2.0 · 128k",container:"HLS / fMP4",resolution:"1920×1080",fps:25,sourceUrl:"http://stream.iptv-pro.example.com/live/discovery/index.m3u8",sourceHost:"edge-fra-04",droppedFrames:1,droppedRatio:0,latency:2.2,bandwidth:68},{id:"as-7",channelId:"ch-17",status:"bad",uptime:"—",uptimeMin:0,viewers:0,peakViewers:4,bitrate:0,targetBitrate:5,codec:"—",audio:"—",container:"HLS / TS",resolution:"—",fps:0,sourceUrl:"http://stream.iptv-pro.example.com/live/hgtv/index.m3u8",sourceHost:"edge-ams-01",droppedFrames:0,droppedRatio:0,latency:0,bandwidth:0}],kd=[{ip:"82.14.221.47",region:"GB · London",client:"VLC / Linux",joined:"2m ago",bitrate:"6.4 Mbps"},{ip:"192.81.45.12",region:"DE · Frankfurt",client:"Tivimate / Android TV",joined:"8m ago",bitrate:"6.4 Mbps"},{ip:"104.18.92.5",region:"NL · Amsterdam",client:"OTT Navigator / FireTV",joined:"14m ago",bitrate:"3.1 Mbps"},{ip:"176.58.103.9",region:"GB · Manchester",client:"Kodi 21",joined:"31m ago",bitrate:"6.4 Mbps"},{ip:"78.143.211.4",region:"FR · Paris",client:"IPTV Smarters / iOS",joined:"1h ago",bitrate:"3.1 Mbps"},{ip:"10.0.4.118",region:"Local · LAN",client:"ffmpeg / probe",joined:"3h ago",bitrate:"6.4 Mbps"}];function Od(e,t){let n=e;const s=()=>(n=n*1664525+1013904223>>>0,n/4294967296),i=[];for(let r=0;r<60;r++){const o=(s()-.5)*.6;i.push(Math.max(.2,t+o))}return i}const Id=[{id:"cust-sports-night",name:"Sports Night",slug:"sports-night",channels:12,updated:"2 days ago"},{id:"cust-kids-safe",name:"Kids Safe",slug:"kids-safe",channels:8,updated:"yesterday"},{id:"cust-news-rotation",name:"News Rotation",slug:"news-rotation",channels:6,updated:"5 hours ago"},{id:"cust-living-room",name:"Living Room Favorites",slug:"living-room",channels:18,updated:"1 week ago"}],Fc={class:"drawer-wrap"},Bc={class:"glass drawer-panel"},Uc={class:"drawer-hd"},jc={style:{flex:"1"}},Gc={style:{"font-weight":"600","font-size":"15px"}},Kc={class:"mono muted",style:{"font-size":"var(--fs-xs)","margin-top":"2px"}},zc={class:"drawer-body"},Wc={class:"player"},qc={class:"label mono"},Yc={class:"play"},Jc={class:"play-btn"},Qc={class:"controls"},Xc={class:"row",style:{gap:"6px"}},Zc={class:"form-row"},ef={class:"row",style:{gap:"10px"}},tf={class:"form-row"},nf={class:"input"},sf=["value"],rf={class:"form-grid-2"},of={class:"form-row"},lf={class:"input"},af=["value"],uf={class:"form-row"},cf={class:"select"},ff=["value"],df={class:"form-row"},pf={class:"input"},hf=["value"],mf={class:"form-row"},gf={class:"input"},vf=["value"],yf={class:"form-row"},bf={class:"input mono",style:{"font-size":"11px"}},_f=["value"],wf={class:"row",style:{"margin-top":"6px"}},xf=we({__name:"ChannelDrawer",props:{ch:{}},emits:["close"],setup(e,{emit:t}){const n=e,s=t;function i(r){n.ch.state=r}return(r,o)=>(A(),k("div",Fc,[h("div",{class:"glass-bg drawer-backdrop",onClick:o[0]||(o[0]=a=>s("close"))}),h("div",Bc,[h("div",Uc,[L(Oc,{ch:e.ch,size:"lg"},null,8,["ch"]),h("div",jc,[h("div",Gc,J(e.ch.tvg_name),1),h("div",Kc," #"+J(e.ch.channel)+" · "+J(e.ch.group)+" · "+J(e.ch.res),1)]),L($e,{variant:"ghost",size:"sm",icon:"x",onClick:o[1]||(o[1]=a=>s("close"))})]),h("div",zc,[h("div",Wc,[o[7]||(o[7]=h("div",{class:"stripes"},null,-1)),h("div",qc,"STREAM TEST · "+J(e.ch.res),1),h("div",Yc,[h("div",Jc,[L(me,{name:"play",size:26})])]),h("div",Qc,[L(me,{name:"pause",size:14}),o[4]||(o[4]=h("span",{class:"mono",style:{"font-size":"11px"}},"00:14",-1)),o[5]||(o[5]=h("div",{class:"track"},null,-1)),o[6]||(o[6]=h("span",{class:"mono",style:{"font-size":"11px"}},"LIVE",-1))])]),h("div",Xc,[L(cn,{tone:"good"},{default:be(()=>[L(kc,{status:"good"}),o[8]||(o[8]=pe(" stream live",-1))]),_:1}),L(cn,{tone:"cyan"},{default:be(()=>[L(me,{name:"globe",size:11}),o[9]||(o[9]=pe(" 1280×720",-1))]),_:1}),L(cn,null,{default:be(()=>[...o[10]||(o[10]=[pe("h.264 / AAC",-1)])]),_:1}),o[12]||(o[12]=h("span",{class:"spacer"},null,-1)),L($e,{variant:"ghost",size:"sm",icon:"refresh"},{default:be(()=>[...o[11]||(o[11]=[pe("Re-test",-1)])]),_:1})]),o[24]||(o[24]=h("div",{class:"divider"},null,-1)),h("div",Zc,[o[13]||(o[13]=h("div",{class:"field-lbl"},"State",-1)),h("div",ef,[L(Ho,{value:e.ch.state,onChange:i,options:[{value:"active",label:"Active",icon:"check"},{value:"disabled",label:"Disabled",icon:"x"}]},null,8,["value"]),L(cn,{tone:e.ch.state==="active"?"active":"disabled"},{default:be(()=>[pe(J(e.ch.state==="active"?"active":"disabled"),1)]),_:1},8,["tone"])])]),h("div",tf,[o[14]||(o[14]=h("div",{class:"field-lbl"},"Display name",-1)),h("div",nf,[h("input",{value:e.ch.tvg_name},null,8,sf)])]),h("div",rf,[h("div",of,[o[15]||(o[15]=h("div",{class:"field-lbl"},"Channel number",-1)),h("div",lf,[h("input",{value:e.ch.channel},null,8,af)])]),h("div",uf,[o[16]||(o[16]=h("div",{class:"field-lbl"},"Group",-1)),h("div",cf,[h("select",{value:e.ch.group},[(A(!0),k(j,null,Ft(he(Lc),a=>(A(),k("option",{key:a},J(a),1))),128))],8,ff)])])]),h("div",df,[o[17]||(o[17]=h("div",{class:"field-lbl"},"Source",-1)),h("div",pf,[L(me,{name:"playlist",size:14}),h("input",{value:e.ch.source,placeholder:"e.g. Default"},null,8,hf)])]),h("div",mf,[o[18]||(o[18]=h("div",{class:"field-lbl"},"TVG-ID (EPG link)",-1)),h("div",gf,[L(me,{name:"link",size:14}),h("input",{value:e.ch.tvg_id||"",placeholder:"e.g. bbc.one.uk"},null,8,vf)])]),h("div",yf,[o[19]||(o[19]=h("div",{class:"field-lbl"},"URL",-1)),h("div",bf,[L(me,{name:"link",size:14}),h("input",{value:e.ch.url,placeholder:"https://example.com/live/channel/index.m3u8"},null,8,_f)])]),h("div",wf,[L($e,{variant:"ghost",icon:"trash"},{default:be(()=>[...o[20]||(o[20]=[h("span",{style:{color:"var(--bad)"}},"Remove",-1)])]),_:1}),o[23]||(o[23]=h("span",{class:"spacer"},null,-1)),L($e,{variant:"ghost",onClick:o[2]||(o[2]=a=>s("close"))},{default:be(()=>[...o[21]||(o[21]=[pe("Cancel",-1)])]),_:1}),L($e,{variant:"primary",icon:"check",onClick:o[3]||(o[3]=a=>s("close"))},{default:be(()=>[...o[22]||(o[22]=[pe("Save changes",-1)])]),_:1})])])])]))}}),Ef=["aria-checked"],Sf=we({__name:"Toggle",props:{on:{type:Boolean}},emits:["change"],setup(e,{emit:t}){const n=e,s=t;return(i,r)=>(A(),k("div",{class:Be(["toggle",{on:n.on}]),role:"switch","aria-checked":!!n.on,onClick:r[0]||(r[0]=o=>s("change",!n.on))},null,10,Ef))}}),Cf={class:"row",style:{"align-items":"center",padding:"10px 0"}},Af={style:{flex:"1"}},Rf={style:{"font-weight":"500","font-size":"var(--fs-base)"}},Mf={class:"muted",style:{"font-size":"var(--fs-xs)","margin-top":"2px"}},Tf=we({__name:"SettingsRow",props:{label:{},hint:{}},setup(e){return(t,n)=>(A(),k("div",Cf,[h("div",Af,[h("div",Rf,J(e.label),1),h("div",Mf,J(e.hint),1)]),as(t.$slots,"right")]))}}),Pf={class:"modal-hd"},kf={class:"modal-body"},Of={class:"form-row"},If={class:"input"},Nf=["value"],Lf={class:"form-row"},Df={class:"input"},Hf=["placeholder"],Vf={class:"modal-ft"},$f=we({__name:"AddSourceModal",props:{kind:{}},emits:["close"],setup(e,{emit:t}){const n=e,s=t,i=Do(),r=n.kind==="playlist"?"M3U Playlist":"EPG Source";function o(){s("close"),i.push(n.kind==="playlist"?"/playlists":"/epg-sources")}function a(){s("close"),i.push("/import")}return(l,u)=>(A(),k("div",{class:"modal-bg",onClick:u[3]||(u[3]=c=>s("close"))},[h("div",{class:"modal",onClick:u[2]||(u[2]=Eo(()=>{},["stop"]))},[h("div",Pf,[L(me,{name:e.kind==="playlist"?"playlist":"epg",size:18},null,8,["name"]),h("h2",null,"Add "+J(he(r)),1),u[4]||(u[4]=h("span",{class:"spacer"},null,-1)),L($e,{variant:"ghost",size:"sm",icon:"x",onClick:u[0]||(u[0]=c=>s("close"))})]),h("div",kf,[h("div",Of,[u[5]||(u[5]=h("div",{class:"field-lbl"},"Name",-1)),h("div",If,[h("input",{value:`My ${he(r)}`},null,8,Nf)])]),h("div",Lf,[u[6]||(u[6]=h("div",{class:"field-lbl"},"Remote URL",-1)),h("div",Df,[L(me,{name:"link",size:14}),h("input",{placeholder:e.kind==="playlist"?"https://provider.example.com/playlist.m3u":"https://example.com/guide.xml.gz"},null,8,Hf)])]),u[9]||(u[9]=Lt('<div class="form-grid-2"><div class="form-row"><div class="field-lbl">Refresh interval</div><div class="select"><select value="6h"><option value="manual">Manual only</option><option value="6h">Every 6 hours</option><option value="12h">Every 12 hours</option><option value="1d">Daily</option></select></div></div><div class="form-row"><div class="field-lbl">Auth (optional)</div><div class="select"><select value="none"><option value="none">None</option><option value="basic">Basic auth</option><option value="bearer">Bearer token</option></select></div></div></div>',1)),L(Tf,{label:"Auto-match channels to EPG",hint:"Run fuzzy matching right after the first import."},{right:be(()=>[L(Sf,{on:!0})]),_:1}),h("div",{class:"muted",style:{"font-size":"var(--fs-xs)",padding:"4px 0"}},[u[7]||(u[7]=pe(" Tip: you can also drag a file into the ",-1)),h("span",{style:{color:"var(--accent-hi)",cursor:"default"},onClick:a},"Import"),u[8]||(u[8]=pe(" screen. ",-1))])]),h("div",Vf,[L($e,{variant:"ghost",onClick:u[1]||(u[1]=c=>s("close"))},{default:be(()=>[...u[10]||(u[10]=[pe("Cancel",-1)])]),_:1}),L($e,{variant:"primary",icon:"check",onClick:o},{default:be(()=>[...u[11]||(u[11]=[pe("Add & sync",-1)])]),_:1})])])]))}}),Ff=["value","placeholder"],Bf=we({__name:"SearchInput",props:{value:{},placeholder:{},width:{}},emits:["change"],setup(e,{emit:t}){const n=e,s=t;return(i,r)=>(A(),k("div",{class:"input",style:dt({width:(n.width||260)+"px"})},[L(me,{name:"search",size:14}),h("input",{value:e.value,placeholder:e.placeholder||"Search",onInput:r[0]||(r[0]=o=>s("change",o.target.value))},null,40,Ff)],4))}}),Uf={class:"logs-drawer-wrap"},jf={class:"glass logs-drawer"},Gf={class:"logs-hd"},Kf={class:"row",style:{gap:"8px"}},zf={key:0,class:"live-pill",style:{background:"oklch(0.78 0.16 150 / 0.18)",color:"var(--good)","border-color":"oklch(0.78 0.16 150 / 0.4)"}},Wf={class:"muted mono",style:{"font-size":"11px","margin-left":"6px"}},qf={class:"select",style:{"min-width":"110px"}},Yf=["value"],Jf={key:0,class:"empty",style:{padding:"40px"}},Qf={class:"log-ts mono"},Xf={class:"log-src"},Zf={class:"log-msg"},ed=we({__name:"LogsDrawer",emits:["close"],setup(e,{emit:t}){const n=t,s=["sync","epg","stream","match","api","core"],i=[{v:"info",weight:60,color:"var(--text-2)"},{v:"ok",weight:15,color:"var(--good)"},{v:"warn",weight:18,color:"var(--warn)"},{v:"error",weight:4,color:"var(--bad)"},{v:"debug",weight:3,color:"var(--text-3)"}],r=[["sync","info","Refreshing playlist {pl}"],["sync","ok","Playlist {pl} synced in {ms}ms · {n} channels, +{added} −{removed}"],["sync","warn","Playlist {pl} returned 3 channel(s) with 503 — retry in 30s"],["epg","info","Fetching EPG source {epg}"],["epg","ok","Indexed {programs} programs from {epg} in {ms}ms"],["epg","debug","Parsed <programme> nodes: {programs}"],["stream","info","Probing upstream {url}"],["stream","ok","Stream {ch} healthy · {bitrate} Mbps, latency {lat}s"],["stream","warn","Stream {ch} dropped {n} frames in last 60s"],["stream","error","Stream {ch} upstream HTTP 503 — pausing relay"],["match","info","Auto-matching {n} channels against EPG IDs"],["match","ok","Mapped {ch} → {tvg}"],["match","warn","Could not auto-match {ch} (no candidate over 0.8 confidence)"],["api","info","GET /v1/playlists/{pl} 200 · {ms}ms"],["api","info","GET /v1/epg/{epg}/programs 200 · {ms}ms"],["api","warn","GET /v1/streams 429 · rate limit"],["core","info","Cache warm: {n} entries, {kb}KB"],["core","debug","GC reclaimed {kb}KB"]];function o(z){const D=r[z%r.length],q=["Default","IPTV-Pro Main","Free UK Bouquet","Archive (legacy)"][z%4],et=["Default","XMLTV UK Guide","iptv-org world EPG"][z%3],Le=Ws[z%Ws.length],Pt=Le.tvg_id||"bbc.one.uk",St=`http://edge-fra-04/live/${Le.id.replace("ch-","ch")}/index.m3u8`,ge=60+z*17%800,ee=(3+z*5%50/10).toFixed(1),X=(1.2+z*7%30/10).toFixed(1),ze=z*11%12+1,tt=z%7,je=(z>>1)%4,Ae=1500+z*53%9e3,Ct=50+z*31%950,At=D[2].replace("{pl}",q).replace("{epg}",et).replace("{ch}",Le.tvg_name).replace("{tvg}",Pt).replace("{url}",St).replace("{ms}",String(ge)).replace("{bitrate}",ee).replace("{lat}",X).replace("{n}",String(ze)).replace("{added}",String(tt)).replace("{removed}",String(je)).replace("{programs}",Ae.toLocaleString()).replace("{kb}",String(Ct));return{source:D[0],level:D[1],text:At}}const a=Array.from({length:36},(z,D)=>{const q=o(D*13+5);return{ts:new Date(Date.now()-(36-D)*(1200+D*137)),id:"seed-"+D,...q}}),l=Oe(a),u=Oe(!1),c=Oe("all"),p=Oe("all"),g=Oe(""),v=Oe(!0),T=Oe(null);let C=0,y=null;function $(){y&&clearInterval(y),y=window.setInterval(()=>{if(u.value)return;C++;const z={...o(Date.now()+C),ts:new Date,id:"live-"+C},D=[...l.value,z];l.value=D.length>400?D.slice(D.length-400):D},700+Math.random()*900)}function E(z){z.key==="Escape"&&n("close")}os(()=>{$(),window.addEventListener("keydown",E)}),ls(()=>{y&&clearInterval(y),window.removeEventListener("keydown",E)}),Yt(l,async()=>{v.value&&T.value&&(await is(),T.value.scrollTop=T.value.scrollHeight)});const N=_e(()=>l.value.filter(z=>(c.value==="all"||c.value===z.level||c.value==="issues"&&(z.level==="warn"||z.level==="error"))&&(p.value==="all"||z.source===p.value)&&(g.value===""||z.text.toLowerCase().includes(g.value.toLowerCase())))),V=_e(()=>({total:l.value.length,warn:l.value.filter(z=>z.level==="warn").length,error:l.value.filter(z=>z.level==="error").length}));function Z(z){const D=z.target,q=D.scrollHeight-D.scrollTop-D.clientHeight<24;q!==v.value&&(v.value=q)}function fe(){v.value=!0,T.value&&(T.value.scrollTop=T.value.scrollHeight)}function re(z){return z.toLocaleTimeString("en-GB",{hour12:!1})+"."+String(z.getMilliseconds()).padStart(3,"0")}function Ue(z){var D;return((D=i.find(q=>q.v===z))==null?void 0:D.color)||"var(--text-2)"}return(z,D)=>(A(),k("div",Uf,[h("div",{class:"glass-bg logs-drawer-backdrop",onClick:D[0]||(D[0]=q=>n("close"))}),h("div",jf,[h("div",Gf,[h("div",Kf,[L(me,{name:"file",size:15}),D[9]||(D[9]=h("span",{style:{"font-weight":"600","font-size":"14px"}},"Realtime logs",-1)),u.value?He("",!0):(A(),k("span",zf,[...D[7]||(D[7]=[h("span",{class:"dot",style:{background:"var(--good)","box-shadow":"0 0 8px var(--good)"}},null,-1),pe("STREAMING ",-1)])])),u.value?(A(),We(cn,{key:1,tone:"warn"},{default:be(()=>[L(me,{name:"pause",size:11}),D[8]||(D[8]=pe("paused",-1))]),_:1})):He("",!0),h("span",Wf,J(V.value.total)+" lines · "+J(V.value.warn)+" warn · "+J(V.value.error)+" err ",1)]),L(Bf,{value:g.value,onChange:D[1]||(D[1]=q=>g.value=q),placeholder:"Filter logs",width:220},null,8,["value"]),h("div",qf,[Al(h("select",{"onUpdate:modelValue":D[2]||(D[2]=q=>p.value=q)},[D[10]||(D[10]=h("option",{value:"all"},"All sources",-1)),(A(),k(j,null,Ft(s,q=>h("option",{key:q,value:q},J(q),9,Yf)),64))],512),[[Xa,p.value]])]),L(Ho,{value:c.value,onChange:D[3]||(D[3]=q=>c.value=q),options:[{value:"all",label:"All"},{value:"info",label:"Info"},{value:"issues",label:"Issues"},{value:"debug",label:"Debug"}]},null,8,["value"]),D[13]||(D[13]=h("span",{class:"spacer"},null,-1)),L($e,{variant:"ghost",size:"sm",icon:u.value?"play":"pause",onClick:D[4]||(D[4]=q=>u.value=!u.value)},{default:be(()=>[pe(J(u.value?"Resume":"Pause"),1)]),_:1},8,["icon"]),L($e,{variant:"ghost",size:"sm",icon:"trash",onClick:D[5]||(D[5]=q=>l.value=[]),title:"Clear"},{default:be(()=>[...D[11]||(D[11]=[pe("Clear",-1)])]),_:1}),L($e,{variant:"ghost",size:"sm",icon:"upload",title:"Download log"},{default:be(()=>[...D[12]||(D[12]=[pe("Export",-1)])]),_:1}),L($e,{variant:"ghost",size:"sm",icon:"x",onClick:D[6]||(D[6]=q=>n("close")),title:"Close (Esc)"})]),h("div",{class:"logs-body",ref_key:"body",ref:T,onScroll:Z},[N.value.length===0?(A(),k("div",Jf,[...D[14]||(D[14]=[h("h3",null,"No log lines match",-1),h("p",null,"Adjust the search or level filter.",-1)])])):(A(!0),k(j,{key:1},Ft(N.value,q=>(A(),k("div",{key:q.id,class:Be(`log-line log-${q.level}`)},[h("span",Qf,J(re(q.ts)),1),h("span",{class:"log-lvl",style:dt({color:Ue(q.level)})},J(q.level.toUpperCase()),5),h("span",Xf,J(q.source),1),h("span",Zf,J(q.text),1)],2))),128))],544),v.value?He("",!0):(A(),k("button",{key:0,class:"logs-scroll-btn",onClick:fe},[L(me,{name:"chevron-d",size:12}),D[15]||(D[15]=pe("Jump to live ",-1))]))])]))}}),qn=Mn({theme:"dark",density:"regular",epgMode:"timeline"});Yt(()=>[qn.theme,qn.density],([e,t])=>{document.documentElement.dataset.theme=e,document.documentElement.dataset.density=t},{immediate:!0});function td(){function e(t,n){var i;const s=typeof t=="object"&&t!==null?t:{[t]:n};Object.assign(qn,s);try{(i=window.parent)==null||i.postMessage({type:"__edit_mode_set_keys",edits:s},"*")}catch{}}return{tweaks:qn,setTweak:e}}function nd(e){return{all:e=e||new Map,on:function(t,n){var s=e.get(t);s?s.push(n):e.set(t,[n])},off:function(t,n){var s=e.get(t);s&&(n?s.splice(s.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var s=e.get(t);s&&s.slice().map(function(i){i(n)}),(s=e.get("*"))&&s.slice().map(function(i){i(t,n)})}}}const ks=nd(),sd={class:"app"},id={class:"sidebar"},rd=["onClick"],od={key:0,class:"dot good pulse",style:{width:"6px",height:"6px"}},ld={key:1,class:"count"},ad=["onClick"],ud={class:"sidebar-foot-stack"},cd={class:"logs-btn-ico"},fd={class:"main"},dd={class:"topbar"},pd={key:0,class:"restore-strip",role:"status","aria-live":"polite"},hd={class:"restore-strip-line"},md={class:"restore-strip-label"},gd={class:"restore-strip-bar"},vd={class:"restore-strip-pct mono"},yd={class:"crumb",style:{"margin-left":"6px"}},bd=["title"],_d={class:"theme-toggle-ico"},wd={class:"theme-toggle-ico"},xd=we({__name:"App",setup(e){const{tweaks:t,setTweak:n}=td(),s=Do(),i=pc(),r=Oe(null),o=Oe(null),a=Oe(!1),l=Oe(null);hn("openChannel",C=>{r.value=C});const u=_e(()=>[{id:"dashboard",label:"Dashboard",icon:"dashboard",path:"/dashboard"},{id:"active",label:"Active Streams",icon:"tv",path:"/active",count:cr.filter(C=>C.status!=="bad").length,live:!0},{id:"playlists",label:"Playlists",icon:"playlist",path:"/playlists",count:Nn.length},{id:"epg-sources",label:"EPG Sources",icon:"epg",path:"/epg-sources",count:Ln.length},{id:"mapping",label:"Channel Mapping",icon:"map",path:"/mapping"},{id:"history",label:"History / Metrics",icon:"file",path:"/history"},{id:"import",label:"Import",icon:"import",path:"/import"},{id:"settings",label:"Settings",icon:"settings",path:"/settings"}]);function c(C){const y=i.name;return y?C==="playlists"&&y==="playlist"||C==="epg-sources"&&y==="epg-detail"?!0:C===y:!1}const p=_e(()=>{switch(i.name){case"dashboard":return{title:"Dashboard",crumb:"Overview"};case"active":return{title:"Active Streams",crumb:`${cr.filter(y=>y.status!=="bad").length} live now`};case"playlists":return{title:"Playlists",crumb:`${Nn.length} sources`};case"epg-sources":return{title:"EPG Sources",crumb:`${Ln.length} sources`};case"mapping":return{title:"Channel Mapping",crumb:"M3U ↔ EPG"};case"history":return{title:"History / Metrics",crumb:"Streaming history"};case"import":return{title:"Import",crumb:"M3U / XMLTV"};case"settings":return{title:"Settings",crumb:"Workspace"};case"playlist":{const y=Nn.find($=>$.id===i.params.id)||Nn[0];return{title:y.name,parent:"Playlists",parentPath:"/playlists",crumb:y.name}}case"epg-detail":{const y=Ln.find($=>$.id===i.params.id)||Ln[0];return{title:y.name,parent:"EPG Sources",parentPath:"/epg-sources",crumb:y.name}}default:return{title:"",crumb:""}}}),g=_e(()=>i.name==="epg-detail"||i.name==="active"?{display:"flex",flexDirection:"column"}:null);function v(C){s.push(C),r.value=null}function T(C){const y=C.items||[];if(!y.length)return;const $=5,E=y.length*$;let N=0;l.value={items:y,idx:0,percent:0,label:y[0].text,kind:y[0].kind};const V=window.setInterval(()=>{N++;const Z=Math.min(100,Math.round(N/E*100)),fe=Math.min(y.length-1,Math.floor(N/$)),re=y[fe];l.value={items:y,idx:fe,percent:Z,label:re.text,kind:re.kind},N>=E&&(clearInterval(V),setTimeout(()=>{l.value=null,ks.emit("tvapp:restore-done")},520))},220)}return os(()=>ks.on("tvapp:restore-start",T)),ls(()=>ks.off("tvapp:restore-start",T)),(C,y)=>{const $=Ul("router-view");return A(),k("div",sd,[h("aside",id,[y[15]||(y[15]=h("div",{class:"brand"},[h("span",{class:"brand-dot"}),pe(" TVApp2 ")],-1)),y[16]||(y[16]=h("div",{class:"nav-group-label"},"Workspace",-1)),(A(!0),k(j,null,Ft(u.value.slice(0,6),E=>(A(),k("div",{key:E.id,class:Be(["nav-item",{active:c(E.id)}]),onClick:N=>v(E.path)},[L(me,{name:E.icon},null,8,["name"]),h("span",null,J(E.label),1),E.live?(A(),k("span",od)):He("",!0),E.count!==void 0?(A(),k("span",ld,J(E.count),1)):He("",!0)],10,rd))),128)),y[17]||(y[17]=h("div",{class:"nav-group-label"},"Actions",-1)),(A(!0),k(j,null,Ft(u.value.slice(6),E=>(A(),k("div",{key:E.id,class:Be(["nav-item",{active:c(E.id)}]),onClick:N=>v(E.path)},[L(me,{name:E.icon},null,8,["name"]),h("span",null,J(E.label),1)],10,ad))),128)),h("div",ud,[h("button",{class:"logs-btn",onClick:y[0]||(y[0]=E=>a.value=!0)},[h("span",cd,[L(me,{name:"file",size:14}),y[11]||(y[11]=h("span",{class:"dot good pulse",style:{width:"6px",height:"6px"}},null,-1))]),y[12]||(y[12]=h("span",{style:{flex:"1","text-align":"left"}},"View logs",-1)),y[13]||(y[13]=h("span",{class:"mono",style:{"font-size":"10px",color:"var(--text-3)"}},"live",-1))]),y[14]||(y[14]=Lt('<div class="sidebar-foot"><div class="avatar">EB</div><div style="min-width:0;"><div class="name">Elena Bell</div><div class="plan">Pro · 3 workspaces</div></div></div>',1))])]),h("main",fd,[h("header",dd,[h("h1",null,J(p.value.title),1),l.value?(A(),k("div",pd,[h("div",hd,[L(me,{name:l.value.kind||"refresh",size:12},null,8,["name"]),y[18]||(y[18]=h("span",{class:"restore-strip-action"},"Restoring",-1)),h("span",md,J(l.value.label),1)]),h("div",gd,[h("div",{class:"restore-strip-fill",style:dt({width:l.value.percent+"%"})},null,4)]),h("span",vd,J(l.value.percent)+"%",1)])):(A(),k(j,{key:1},[h("span",yd,[p.value.parent?(A(),k(j,{key:0},[h("span",{style:{cursor:"default"},onClick:y[1]||(y[1]=E=>v(p.value.parentPath))},J(p.value.parent),1),y[19]||(y[19]=h("span",{style:{color:"var(--text-3)",margin:"0 6px"}},"›",-1))],64)):He("",!0),pe(" "+J(p.value.crumb),1)]),y[20]||(y[20]=h("span",{class:"topbar-spacer"},null,-1))],64)),h("button",{class:"theme-toggle",onClick:y[2]||(y[2]=E=>he(n)("theme",he(t).theme==="dark"?"light":"dark")),title:he(t).theme==="dark"?"Switch to light mode":"Switch to dark mode","aria-label":"Toggle theme"},[h("span",{class:Be(["theme-toggle-thumb",he(t).theme==="dark"?"is-dark":"is-light"])},[L(me,{name:he(t).theme==="dark"?"moon":"sun",size:13},null,8,["name"])],2),h("span",_d,[L(me,{name:"sun",size:13})]),h("span",wd,[L(me,{name:"moon",size:13})])],8,bd),he(i).name==="dashboard"?(A(),We($e,{key:2,variant:"primary",icon:"plus",onClick:y[3]||(y[3]=E=>v("/import"))},{default:be(()=>[...y[21]||(y[21]=[pe("New source",-1)])]),_:1})):He("",!0)]),h("div",{class:"screen",style:dt(g.value||void 0)},[L($,null,{default:be(({Component:E})=>[(A(),We(jl(E),{onAdd:y[4]||(y[4]=N=>o.value=N)},null,32))]),_:1})],4)]),r.value?(A(),We(xf,{key:0,ch:r.value,onClose:y[5]||(y[5]=E=>r.value=null)},null,8,["ch"])):He("",!0),o.value?(A(),We($f,{key:1,kind:o.value,onClose:y[6]||(y[6]=E=>o.value=null)},null,8,["kind"])):He("",!0),a.value?(A(),We(ed,{key:2,onClose:y[7]||(y[7]=E=>a.value=!1)})):He("",!0),L(Sc,{title:"Tweaks"},{default:be(()=>[L(Ms,{label:"Theme"}),L(Ts,{label:"Mode",value:he(t).theme,options:["light","dark"],onChange:y[8]||(y[8]=E=>he(n)("theme",E))},null,8,["value"]),L(Ms,{label:"Layout"}),L(Ts,{label:"Density",value:he(t).density,options:["compact","regular","spacious"],onChange:y[9]||(y[9]=E=>he(n)("density",E))},null,8,["value"]),L(Ms,{label:"EPG view"}),L(Ts,{label:"Style",value:he(t).epgMode,options:["timeline","list"],onChange:y[10]||(y[10]=E=>he(n)("epgMode",E))},null,8,["value"])]),_:1})])}}}),Ed="modulepreload",Sd=function(e){return"/"+e},fr={},ot=function(t,n,s){let i=Promise.resolve();if(n&&n.length>0){let o=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=o(n.map(u=>{if(u=Sd(u),u in fr)return;fr[u]=!0;const c=u.endsWith(".css"),p=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${p}`))return;const g=document.createElement("link");if(g.rel=c?"stylesheet":Ed,c||(g.as="script"),g.crossOrigin="",g.href=u,l&&g.setAttribute("nonce",l),document.head.appendChild(g),c)return new Promise((v,T)=>{g.addEventListener("load",v),g.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&r(a.reason);return t().catch(r)})},Cd=[{path:"/",redirect:"/active"},{path:"/dashboard",name:"dashboard",component:()=>ot(()=>import("./DashboardScreen-C8mAn1wl.js"),[])},{path:"/active",name:"active",component:()=>ot(()=>import("./ActiveStreamsScreen-Df8Wdk9n.js"),[])},{path:"/playlists",name:"playlists",component:()=>ot(()=>import("./PlaylistsScreen-0ooKY6SX.js"),__vite__mapDeps([0,1]))},{path:"/playlists/:id",name:"playlist",component:()=>ot(()=>import("./PlaylistDetailScreen-F92VSAQ7.js"),__vite__mapDeps([2,1,3])),props:!0},{path:"/epg-sources",name:"epg-sources",component:()=>ot(()=>import("./EPGSourcesScreen-Bh2qXoOm.js"),[])},{path:"/epg-sources/:id",name:"epg-detail",component:()=>ot(()=>import("./EPGDetailScreen-CX4y1Ve9.js"),__vite__mapDeps([4,3])),props:!0},{path:"/mapping",name:"mapping",component:()=>ot(()=>import("./MappingScreen-BdiMBcth.js"),__vite__mapDeps([5,3]))},{path:"/history",name:"history",component:()=>ot(()=>import("./HistoryMetricsScreen-DAcDrLQC.js"),[])},{path:"/import",name:"import",component:()=>ot(()=>import("./ImportScreen-D7vLRk6-.js"),[])},{path:"/settings",name:"settings",component:()=>ot(()=>import("./SettingsScreen-Daj_a2gr.js"),__vite__mapDeps([6,1]))}],Ad=dc({history:Gu(),routes:Cd});su(xd).use(Ad).mount("#app");export{cr as A,ls as B,Ws as C,os as D,Td as E,j as F,Lc as G,A as H,Mn as I,Oe as J,Ft as K,as as L,Od as M,J as N,he as O,Nn as P,Do as Q,td as R,kd as S,Xa as T,Md as U,Yt as V,Rd as W,be as X,Al as Y,Eo as Z,cn as _,Pd as a,Id as b,$c as c,Ln as d,$e as e,me as f,kc as g,Ho as h,Oc as i,Bf as j,Sf as k,Tf as l,ks as m,_e as n,h as o,We as p,He as q,k as r,Lt as s,pe as t,L as u,we as v,Ye as w,Te as x,Be as y,dt as z};
|