@huyooo/file-explorer-preview 0.4.18 → 0.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index-CfbGvhZ7.js +1 -0
- package/dist/index.html +1 -1
- package/dist/path.js +1 -19
- package/package.json +3 -2
- package/dist/assets/index-gy4FBvsl.js +0 -24
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const t={},n=[],o=()=>{},r=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith("onUpdate:"),i=Object.assign,a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},c=Object.prototype.hasOwnProperty,u=(e,t)=>c.call(e,t),f=Array.isArray,d=e=>"[object Map]"===_(e),p=e=>"[object Set]"===_(e),h=e=>"function"==typeof e,v=e=>"string"==typeof e,g=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,y=e=>(m(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,_=e=>b.call(e),x=e=>"[object Object]"===_(e),w=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},S=/-\w/g,E=C(e=>e.replace(S,e=>e.slice(1).toUpperCase())),T=/\B([A-Z])/g,P=C(e=>e.replace(T,"-$1").toLowerCase()),M=C(e=>e.charAt(0).toUpperCase()+e.slice(1)),L=C(e=>e?`on${M(e)}`:""),F=(e,t)=>!Object.is(e,t),O=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},A=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},j=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let I;const R=()=>I||(I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function D(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?V(o):D(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||m(e))return e}const $=/;(?![^(]*\))/g,N=/:([^]+)/,U=/\/\*[^]*?\*\//g;function V(e){const t={};return e.replace(U,"").split($).forEach(e=>{if(e){const n=e.split(N);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function B(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=B(e[n]);o&&(t+=o+" ")}else if(m(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function W(e){return!!e||""===e}const H=e=>!(!e||!0!==e.__v_isRef),q=e=>v(e)?e:null==e?"":f(e)||m(e)&&(e.toString===b||!h(e.toString))?H(e)?q(e.value):JSON.stringify(e,K,2):String(e),K=(e,t)=>H(t)?K(e,t.value):d(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[X(t,o)+" =>"]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>X(e))}:g(t)?X(t):!m(t)||f(t)||x(t)?t:String(t),X=(e,t="")=>{var n;return g(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let Y,G;class J{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Y,!e&&Y&&(this.index=(Y.scopes||(Y.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=Y;try{return Y=this,e()}finally{Y=t}}}on(){1===++this._on&&(this.prevScope=Y,Y=this)}off(){this._on>0&&0===--this._on&&(Y=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}const Q=new WeakSet;class Z{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Y&&Y.active&&Y.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Q.has(this)&&(Q.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||oe(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,ge(this),se(this);const e=G,t=de;G=this,de=!0;try{return this.fn()}finally{ie(this),G=e,de=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)ue(e);this.deps=this.depsTail=void 0,ge(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Q.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ae(this)&&this.run()}get dirty(){return ae(this)}}let ee,te,ne=0;function oe(e,t=!1){if(e.flags|=8,t)return e.next=te,void(te=e);e.next=ee,ee=e}function re(){ne++}function le(){if(--ne>0)return;if(te){let e=te;for(te=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ee;){let n=ee;for(ee=void 0;n;){const o=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=o}}if(e)throw e}function se(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ie(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),ue(o),fe(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function ae(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ce(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ce(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===me)return;if(e.globalVersion=me,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ae(e)))return;e.flags|=2;const t=e.dep,n=G,o=de;G=e,de=!0;try{se(e);const n=e.fn(e._value);(0===t.version||F(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(r){throw t.version++,r}finally{G=n,de=o,ie(e),e.flags&=-3}}function ue(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)ue(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function fe(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let de=!0;const pe=[];function he(){pe.push(de),de=!1}function ve(){const e=pe.pop();de=void 0===e||e}function ge(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=G;G=void 0;try{t()}finally{G=e}}}let me=0;class ye{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class be{constructor(e){this.computed=e,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(e){if(!G||!de||G===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==G)t=this.activeLink=new ye(G,this),G.deps?(t.prevDep=G.depsTail,G.depsTail.nextDep=t,G.depsTail=t):G.deps=G.depsTail=t,_e(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=G.depsTail,t.nextDep=void 0,G.depsTail.nextDep=t,G.depsTail=t,G.deps===t&&(G.deps=e)}return t}trigger(e){this.version++,me++,this.notify(e)}notify(e){re();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{le()}}}function _e(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)_e(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xe=new WeakMap,we=Symbol(""),ke=Symbol(""),Ce=Symbol("");function Se(e,t,n){if(de&&G){let t=xe.get(e);t||xe.set(e,t=new Map);let o=t.get(n);o||(t.set(n,o=new be),o.map=t,o.key=n),o.track()}}function Ee(e,t,n,o,r,l){const s=xe.get(e);if(!s)return void me++;const i=e=>{e&&e.trigger()};if(re(),"clear"===t)s.forEach(i);else{const r=f(e),l=r&&w(n);if(r&&"length"===n){const e=Number(o);s.forEach((t,n)=>{("length"===n||n===Ce||!g(n)&&n>=e)&&i(t)})}else switch((void 0!==n||s.has(void 0))&&i(s.get(n)),l&&i(s.get(Ce)),t){case"add":r?l&&i(s.get("length")):(i(s.get(we)),d(e)&&i(s.get(ke)));break;case"delete":r||(i(s.get(we)),d(e)&&i(s.get(ke)));break;case"set":d(e)&&i(s.get(we))}}le()}function Te(e){const t=dt(e);return t===e?t:(Se(t,0,Ce),ut(e)?t:t.map(pt))}function Pe(e){return Se(e=dt(e),0,Ce),e}function Me(e,t){return ct(e)?at(e)?ht(pt(t)):ht(t):pt(t)}const Le={__proto__:null,[Symbol.iterator](){return Fe(this,Symbol.iterator,e=>Me(this,e))},concat(...e){return Te(this).concat(...e.map(e=>f(e)?Te(e):e))},entries(){return Fe(this,"entries",e=>(e[1]=Me(this,e[1]),e))},every(e,t){return Ae(this,"every",e,t,void 0,arguments)},filter(e,t){return Ae(this,"filter",e,t,e=>e.map(e=>Me(this,e)),arguments)},find(e,t){return Ae(this,"find",e,t,e=>Me(this,e),arguments)},findIndex(e,t){return Ae(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ae(this,"findLast",e,t,e=>Me(this,e),arguments)},findLastIndex(e,t){return Ae(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ae(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ie(this,"includes",e)},indexOf(...e){return Ie(this,"indexOf",e)},join(e){return Te(this).join(e)},lastIndexOf(...e){return Ie(this,"lastIndexOf",e)},map(e,t){return Ae(this,"map",e,t,void 0,arguments)},pop(){return Re(this,"pop")},push(...e){return Re(this,"push",e)},reduce(e,...t){return je(this,"reduce",e,t)},reduceRight(e,...t){return je(this,"reduceRight",e,t)},shift(){return Re(this,"shift")},some(e,t){return Ae(this,"some",e,t,void 0,arguments)},splice(...e){return Re(this,"splice",e)},toReversed(){return Te(this).toReversed()},toSorted(e){return Te(this).toSorted(e)},toSpliced(...e){return Te(this).toSpliced(...e)},unshift(...e){return Re(this,"unshift",e)},values(){return Fe(this,"values",e=>Me(this,e))}};function Fe(e,t,n){const o=Pe(e),r=o[t]();return o===e||ut(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.done||(e.value=n(e.value)),e}),r}const Oe=Array.prototype;function Ae(e,t,n,o,r,l){const s=Pe(e),i=s!==e&&!ut(e),a=s[t];if(a!==Oe[t]){const t=a.apply(e,l);return i?pt(t):t}let c=n;s!==e&&(i?c=function(t,o){return n.call(this,Me(e,t),o,e)}:n.length>2&&(c=function(t,o){return n.call(this,t,o,e)}));const u=a.call(s,c,o);return i&&r?r(u):u}function je(e,t,n,o){const r=Pe(e);let l=n;return r!==e&&(ut(e)?n.length>3&&(l=function(t,o,r){return n.call(this,t,o,r,e)}):l=function(t,o,r){return n.call(this,t,Me(e,o),r,e)}),r[t](l,...o)}function Ie(e,t,n){const o=dt(e);Se(o,0,Ce);const r=o[t](...n);return-1!==r&&!1!==r||!ft(n[0])?r:(n[0]=dt(n[0]),o[t](...n))}function Re(e,t,n=[]){he(),re();const o=dt(e)[t].apply(e,n);return le(),ve(),o}const De=e("__proto__,__v_isRef,__isVue"),$e=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(g));function Ne(e){g(e)||(e=String(e));const t=dt(this);return Se(t,0,e),t.hasOwnProperty(e)}class Ue{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?ot:nt:r?tt:et).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const l=f(e);if(!o){let e;if(l&&(e=Le[t]))return e;if("hasOwnProperty"===t)return Ne}const s=Reflect.get(e,t,vt(e)?e:n);if(g(t)?$e.has(t):De(t))return s;if(o||Se(e,0,t),r)return s;if(vt(s)){const e=l&&w(t)?s:s.value;return o&&m(e)?st(e):e}return m(s)?o?st(s):lt(s):s}}class Ve extends Ue{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];const l=f(e)&&w(t);if(!this._isShallow){const e=ct(r);if(ut(n)||ct(n)||(r=dt(r),n=dt(n)),!l&&vt(r)&&!vt(n))return e||(r.value=n),!0}const s=l?Number(t)<e.length:u(e,t),i=Reflect.set(e,t,n,vt(e)?e:o);return e===dt(o)&&(s?F(n,r)&&Ee(e,"set",t,n):Ee(e,"add",t,n)),i}deleteProperty(e,t){const n=u(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Ee(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return g(t)&&$e.has(t)||Se(e,0,t),n}ownKeys(e){return Se(e,0,f(e)?"length":we),Reflect.ownKeys(e)}}class Be extends Ue{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const ze=new Ve,We=new Be,He=new Ve(!0),qe=e=>e,Ke=e=>Reflect.getPrototypeOf(e);function Xe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ye(e,t){const n={get(n){const o=this.__v_raw,r=dt(o),l=dt(n);e||(F(n,l)&&Se(r,0,n),Se(r,0,l));const{has:s}=Ke(r),i=t?qe:e?ht:pt;return s.call(r,n)?i(o.get(n)):s.call(r,l)?i(o.get(l)):void(o!==r&&o.get(n))},get size(){const t=this.__v_raw;return!e&&Se(dt(t),0,we),t.size},has(t){const n=this.__v_raw,o=dt(n),r=dt(t);return e||(F(t,r)&&Se(o,0,t),Se(o,0,r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,o){const r=this,l=r.__v_raw,s=dt(l),i=t?qe:e?ht:pt;return!e&&Se(s,0,we),l.forEach((e,t)=>n.call(o,i(e),i(t),r))}};i(n,e?{add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear")}:{add(e){t||ut(e)||ct(e)||(e=dt(e));const n=dt(this);return Ke(n).has.call(n,e)||(n.add(e),Ee(n,"add",e,e)),this},set(e,n){t||ut(n)||ct(n)||(n=dt(n));const o=dt(this),{has:r,get:l}=Ke(o);let s=r.call(o,e);s||(e=dt(e),s=r.call(o,e));const i=l.call(o,e);return o.set(e,n),s?F(n,i)&&Ee(o,"set",e,n):Ee(o,"add",e,n),this},delete(e){const t=dt(this),{has:n,get:o}=Ke(t);let r=n.call(t,e);r||(e=dt(e),r=n.call(t,e)),o&&o.call(t,e);const l=t.delete(e);return r&&Ee(t,"delete",e,void 0),l},clear(){const e=dt(this),t=0!==e.size,n=e.clear();return t&&Ee(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=function(e,t,n){return function(...o){const r=this.__v_raw,l=dt(r),s=d(l),i="entries"===e||e===Symbol.iterator&&s,a="keys"===e&&s,c=r[e](...o),u=n?qe:t?ht:pt;return!t&&Se(l,0,a?ke:we),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:i?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(o,e,t)}),n}function Ge(e,t){const n=Ye(e,t);return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(u(n,o)&&o in t?n:t,o,r)}const Je={get:Ge(!1,!1)},Qe={get:Ge(!1,!0)},Ze={get:Ge(!0,!1)},et=new WeakMap,tt=new WeakMap,nt=new WeakMap,ot=new WeakMap;function rt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>_(e).slice(8,-1))(e))}function lt(e){return ct(e)?e:it(e,!1,ze,Je,et)}function st(e){return it(e,!0,We,Ze,nt)}function it(e,t,n,o,r){if(!m(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const l=rt(e);if(0===l)return e;const s=r.get(e);if(s)return s;const i=new Proxy(e,2===l?o:n);return r.set(e,i),i}function at(e){return ct(e)?at(e.__v_raw):!(!e||!e.__v_isReactive)}function ct(e){return!(!e||!e.__v_isReadonly)}function ut(e){return!(!e||!e.__v_isShallow)}function ft(e){return!!e&&!!e.__v_raw}function dt(e){const t=e&&e.__v_raw;return t?dt(t):e}const pt=e=>m(e)?lt(e):e,ht=e=>m(e)?st(e):e;function vt(e){return!!e&&!0===e.__v_isRef}function gt(e){return mt(e,!1)}function mt(e,t){return vt(e)?e:new yt(e,t)}class yt{constructor(e,t){this.dep=new be,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:dt(e),this._value=t?e:pt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||ut(e)||ct(e);e=n?e:dt(e),F(e,t)&&(this._rawValue=e,this._value=n?e:pt(e),this.dep.trigger())}}function bt(e){return vt(e)?e.value:e}const _t={get:(e,t,n)=>"__v_raw"===t?e:bt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return vt(r)&&!vt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function xt(e){return at(e)?e:new Proxy(e,_t)}class wt{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new be(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=me-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&G!==this)return oe(this,!0),!0}get value(){const e=this.dep.track();return ce(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const kt={},Ct=new WeakMap;let St;function Et(e,n,r=t){const{immediate:l,deep:s,once:i,scheduler:c,augmentJob:u,call:d}=r,p=e=>s?e:ut(e)||!1===s||0===s?Tt(e,1):Tt(e);let v,g,m,y,b=!1,_=!1;if(vt(e)?(g=()=>e.value,b=ut(e)):at(e)?(g=()=>p(e),b=!0):f(e)?(_=!0,b=e.some(e=>at(e)||ut(e)),g=()=>e.map(e=>vt(e)?e.value:at(e)?p(e):h(e)?d?d(e,2):e():void 0)):g=h(e)?n?d?()=>d(e,2):e:()=>{if(m){he();try{m()}finally{ve()}}const t=St;St=v;try{return d?d(e,3,[y]):e(y)}finally{St=t}}:o,n&&s){const e=g,t=!0===s?1/0:s;g=()=>Tt(e(),t)}const x=Y,w=()=>{v.stop(),x&&x.active&&a(x.effects,v)};if(i&&n){const e=n;n=(...t)=>{e(...t),w()}}let k=_?new Array(e.length).fill(kt):kt;const C=e=>{if(1&v.flags&&(v.dirty||e))if(n){const e=v.run();if(s||b||(_?e.some((e,t)=>F(e,k[t])):F(e,k))){m&&m();const t=St;St=v;try{const t=[e,k===kt?void 0:_&&k[0]===kt?[]:k,y];k=e,d?d(n,3,t):n(...t)}finally{St=t}}}else v.run()};return u&&u(C),v=new Z(g),v.scheduler=c?()=>c(C,!1):C,y=e=>function(e,t=!1,n=St){if(n){let t=Ct.get(n);t||Ct.set(n,t=[]),t.push(e)}}(e,!1,v),m=v.onStop=()=>{const e=Ct.get(v);if(e){if(d)d(e,4);else for(const t of e)t();Ct.delete(v)}},n?l?C(!0):k=v.run():c?c(C.bind(null,!0),!0):v.run(),w.pause=v.pause.bind(v),w.resume=v.resume.bind(v),w.stop=w,w}function Tt(e,t=1/0,n){if(t<=0||!m(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,vt(e))Tt(e.value,t,n);else if(f(e))for(let o=0;o<e.length;o++)Tt(e[o],t,n);else if(p(e)||d(e))e.forEach(e=>{Tt(e,t,n)});else if(x(e)){for(const o in e)Tt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Tt(e[o],t,n)}return e}function Pt(e,t,n,o){try{return o?e(...o):e()}catch(r){Lt(r,t,n)}}function Mt(e,t,n,o){if(h(e)){const r=Pt(e,t,n,o);return r&&y(r)&&r.catch(e=>{Lt(e,t,n)}),r}if(f(e)){const r=[];for(let l=0;l<e.length;l++)r.push(Mt(e[l],t,n,o));return r}}function Lt(e,n,o,r=!0){n&&n.vnode;const{errorHandler:l,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent;const r=n.proxy,s=`https://vuejs.org/error-reference/#runtime-${o}`;for(;t;){const n=t.ec;if(n)for(let t=0;t<n.length;t++)if(!1===n[t](e,r,s))return;t=t.parent}if(l)return he(),Pt(l,null,10,[e,r,s]),void ve()}!function(e,t,n,o=!0,r=!1){if(r)throw e}(e,0,0,r,s)}const Ft=[];let Ot=-1;const At=[];let jt=null,It=0;const Rt=Promise.resolve();let Dt=null;function $t(e){const t=Dt||Rt;return e?t.then(this?e.bind(this):e):t}function Nt(e){if(!(1&e.flags)){const t=zt(e),n=Ft[Ft.length-1];!n||!(2&e.flags)&&t>=zt(n)?Ft.push(e):Ft.splice(function(e){let t=Ot+1,n=Ft.length;for(;t<n;){const o=t+n>>>1,r=Ft[o],l=zt(r);l<e||l===e&&2&r.flags?t=o+1:n=o}return t}(t),0,e),e.flags|=1,Ut()}}function Ut(){Dt||(Dt=Rt.then(Wt))}function Vt(e,t,n=Ot+1){for(;n<Ft.length;n++){const t=Ft[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;Ft.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Bt(e){if(At.length){const e=[...new Set(At)].sort((e,t)=>zt(e)-zt(t));if(At.length=0,jt)return void jt.push(...e);for(jt=e,It=0;It<jt.length;It++){const e=jt[It];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}jt=null,It=0}}const zt=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Wt(e){try{for(Ot=0;Ot<Ft.length;Ot++){const e=Ft[Ot];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Pt(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Ot<Ft.length;Ot++){const e=Ft[Ot];e&&(e.flags&=-2)}Ot=-1,Ft.length=0,Bt(),Dt=null,(Ft.length||At.length)&&Wt()}}let Ht=null,qt=null;function Kt(e){const t=Ht;return Ht=e,qt=e&&e.type.__scopeId||null,t}function Xt(e,t=Ht,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&er(-1);const r=Kt(t);let l;try{l=e(...n)}finally{Kt(r),o._d&&er(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function Yt(e,n){if(null===Ht)return e;const o=Lr(Ht),r=e.dirs||(e.dirs=[]);for(let l=0;l<n.length;l++){let[e,s,i,a=t]=n[l];e&&(h(e)&&(e={mounted:e,updated:e}),e.deep&&Tt(s),r.push({dir:e,instance:o,value:s,oldValue:void 0,arg:i,modifiers:a}))}return e}function Gt(e,t,n,o){const r=e.dirs,l=t&&t.dirs;for(let s=0;s<r.length;s++){const i=r[s];l&&(i.oldValue=l[s].value);let a=i.dir[o];a&&(he(),Mt(a,n,8,[e.el,i,e,t]),ve())}}const Jt=Symbol("_vte"),Qt=e=>e.__isTeleport,Zt=Symbol("_leaveCb"),en=Symbol("_enterCb");const tn=[Function,Array],nn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:tn,onEnter:tn,onAfterEnter:tn,onEnterCancelled:tn,onBeforeLeave:tn,onLeave:tn,onAfterLeave:tn,onLeaveCancelled:tn,onBeforeAppear:tn,onAppear:tn,onAfterAppear:tn,onAppearCancelled:tn},on=e=>{const t=e.subTree;return t.component?on(t.component):t};function rn(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==Xo){t=n;break}return t}const ln={name:"BaseTransition",props:nn,setup(e,{slots:t}){const n=_r(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tn(()=>{e.isMounted=!0}),Ln(()=>{e.isUnmounting=!0}),e}();return()=>{const r=t.default&&dn(t.default(),!0);if(!r||!r.length)return;const l=rn(r),s=dt(e),{mode:i}=s;if(o.isLeaving)return cn(l);const a=un(l);if(!a)return cn(l);let c=an(a,s,o,n,e=>c=e);a.type!==Xo&&fn(a,c);let u=n.subTree&&un(n.subTree);if(u&&u.type!==Xo&&!lr(u,a)&&on(n).type!==Xo){let e=an(u,s,o,n);if(fn(u,e),"out-in"===i&&a.type!==Xo)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},cn(l);"in-out"===i&&a.type!==Xo?e.delayLeave=(e,t,n)=>{sn(o,u)[String(u.key)]=u,e[Zt]=()=>{t(),e[Zt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return l}}};function sn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function an(e,t,n,o,r){const{appear:l,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=t,x=String(e.key),w=sn(n,e),k=(e,t)=>{e&&Mt(e,o,9,t)},C=(e,t)=>{const n=t[1];k(e,t),f(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},S={mode:s,persisted:i,beforeEnter(t){let o=a;if(!n.isMounted){if(!l)return;o=m||a}t[Zt]&&t[Zt](!0);const r=w[x];r&&lr(e,r)&&r.el[Zt]&&r.el[Zt](),k(o,[t])},enter(e){let t=c,o=u,r=d;if(!n.isMounted){if(!l)return;t=y||c,o=b||u,r=_||d}let s=!1;const i=e[en]=t=>{s||(s=!0,k(t?r:o,[e]),S.delayedLeave&&S.delayedLeave(),e[en]=void 0)};t?C(t,[e,i]):i()},leave(t,o){const r=String(e.key);if(t[en]&&t[en](!0),n.isUnmounting)return o();k(p,[t]);let l=!1;const s=t[Zt]=n=>{l||(l=!0,o(),k(n?g:v,[t]),t[Zt]=void 0,w[r]===e&&delete w[r])};w[r]=e,h?C(h,[t,s]):s()},clone(e){const l=an(e,t,n,o,r);return r&&r(l),l}};return S}function cn(e){if(bn(e))return(e=ur(e)).children=null,e}function un(e){if(!bn(e))return Qt(e.type)&&e.children?rn(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&h(n.default))return n.default()}}function fn(e,t){6&e.shapeFlag&&e.component?(e.transition=t,fn(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function dn(e,t=!1,n){let o=[],r=0;for(let l=0;l<e.length;l++){let s=e[l];const i=null==n?s.key:String(n)+String(null!=s.key?s.key:l);s.type===qo?(128&s.patchFlag&&r++,o=o.concat(dn(s.children,t,i))):(t||s.type!==Xo)&&o.push(null!=i?ur(s,{key:i}):s)}if(r>1)for(let l=0;l<o.length;l++)o[l].patchFlag=-2;return o}function pn(e,t){return h(e)?(()=>i({name:e.name},t,{setup:e}))():e}function hn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const vn=new WeakMap;function gn(e,n,o,l,s=!1){if(f(e))return void e.forEach((e,t)=>gn(e,n&&(f(n)?n[t]:n),o,l,s));if(yn(l)&&!s)return void(512&l.shapeFlag&&l.type.__asyncResolved&&l.component.subTree.component&&gn(e,n,o,l.component.subTree));const i=4&l.shapeFlag?Lr(l.component):l.el,c=s?null:i,{i:d,r:p}=e,g=n&&n.r,m=d.refs===t?d.refs={}:d.refs,y=d.setupState,b=dt(y),_=y===t?r:e=>u(b,e);if(null!=g&&g!==p)if(mn(n),v(g))m[g]=null,_(g)&&(y[g]=null);else if(vt(g)){g.value=null;const e=n;e.k&&(m[e.k]=null)}if(h(p))Pt(p,d,12,[c,m]);else{const t=v(p),n=vt(p);if(t||n){const r=()=>{if(e.f){const n=t?_(p)?y[p]:m[p]:p.value;if(s)f(n)&&a(n,i);else if(f(n))n.includes(i)||n.push(i);else if(t)m[p]=[i],_(p)&&(y[p]=m[p]);else{const t=[i];p.value=t,e.k&&(m[e.k]=t)}}else t?(m[p]=c,_(p)&&(y[p]=c)):n&&(p.value=c,e.k&&(m[e.k]=c))};if(c){const t=()=>{r(),vn.delete(e)};t.id=-1,vn.set(e,t),$o(t,o)}else mn(e),r()}}}function mn(e){const t=vn.get(e);t&&(t.flags|=8,vn.delete(e))}R().requestIdleCallback,R().cancelIdleCallback;const yn=e=>!!e.type.__asyncLoader,bn=e=>e.type.__isKeepAlive;function _n(e,t){wn(e,"a",t)}function xn(e,t){wn(e,"da",t)}function wn(e,t,n=br){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Cn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)bn(e.parent.vnode)&&kn(o,t,n,e),e=e.parent}}function kn(e,t,n,o){const r=Cn(t,e,o,!0);Fn(()=>{a(o[t],r)},n)}function Cn(e,t,n=br,o=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{he();const r=kr(n),l=Mt(t,n,e,o);return r(),ve(),l});return o?r.unshift(l):r.push(l),l}}const Sn=e=>(t,n=br)=>{Er&&"sp"!==e||Cn(e,(...e)=>t(...e),n)},En=Sn("bm"),Tn=Sn("m"),Pn=Sn("bu"),Mn=Sn("u"),Ln=Sn("bum"),Fn=Sn("um"),On=Sn("sp"),An=Sn("rtg"),jn=Sn("rtc");function In(e,t=br){Cn("ec",e,t)}const Rn=Symbol.for("v-ndc");function Dn(e){return v(e)?function(e,t,n=!0,o=!1){const r=Ht||br;if(r){const n=r.type;{const e=Fr(n,!1);if(e&&(e===t||e===E(t)||e===M(E(t))))return n}const l=$n(r[e]||n[e],t)||$n(r.appContext[e],t);return!l&&o?n:l}}("components",e,!1)||e:e||Rn}function $n(e,t){return e&&(e[t]||e[E(t)]||e[M(E(t))])}function Nn(e,t,n,o){let r;const l=n,s=f(e);if(s||v(e)){let n=!1,o=!1;s&&at(e)&&(n=!ut(e),o=ct(e),e=Pe(e)),r=new Array(e.length);for(let s=0,i=e.length;s<i;s++)r[s]=t(n?o?ht(pt(e[s])):pt(e[s]):e[s],s,void 0,l)}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,l)}else if(m(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,l));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,l)}}else r=[];return r}const Un=e=>e?Sr(e)?Lr(e):Un(e.parent):null,Vn=i(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=>Un(e.parent),$root:e=>Un(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Yn(e),$forceUpdate:e=>e.f||(e.f=()=>{Nt(e.update)}),$nextTick:e=>e.n||(e.n=$t.bind(e.proxy)),$watch:e=>po.bind(e)}),Bn=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),zn={get({_:e},n){if("__v_skip"===n)return!0;const{ctx:o,setupState:r,data:l,props:s,accessCache:i,type:a,appContext:c}=e;if("$"!==n[0]){const e=i[n];if(void 0!==e)switch(e){case 1:return r[n];case 2:return l[n];case 4:return o[n];case 3:return s[n]}else{if(Bn(r,n))return i[n]=1,r[n];if(l!==t&&u(l,n))return i[n]=2,l[n];if(u(s,n))return i[n]=3,s[n];if(o!==t&&u(o,n))return i[n]=4,o[n];Hn&&(i[n]=0)}}const f=Vn[n];let d,p;return f?("$attrs"===n&&Se(e.attrs,0,""),f(e)):(d=a.__cssModules)&&(d=d[n])?d:o!==t&&u(o,n)?(i[n]=4,o[n]):(p=c.config.globalProperties,u(p,n)?p[n]:void 0)},set({_:e},n,o){const{data:r,setupState:l,ctx:s}=e;return Bn(l,n)?(l[n]=o,!0):r!==t&&u(r,n)?(r[n]=o,!0):!u(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(s[n]=o,!0))},has({_:{data:e,setupState:n,accessCache:o,ctx:r,appContext:l,props:s,type:i}},a){let c;return!!(o[a]||e!==t&&"$"!==a[0]&&u(e,a)||Bn(n,a)||u(s,a)||u(r,a)||u(Vn,a)||u(l.config.globalProperties,a)||(c=i.__cssModules)&&c[a])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wn(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Hn=!0;function qn(e){const t=Yn(e),n=e.proxy,r=e.ctx;Hn=!1,t.beforeCreate&&Kn(t.beforeCreate,e,"bc");const{data:l,computed:s,methods:i,watch:a,provide:c,inject:u,created:d,beforeMount:p,mounted:v,beforeUpdate:g,updated:y,activated:b,deactivated:_,beforeDestroy:x,beforeUnmount:w,destroyed:k,unmounted:C,render:S,renderTracked:E,renderTriggered:T,errorCaptured:P,serverPrefetch:M,expose:L,inheritAttrs:F,components:O,directives:A,filters:j}=t;if(u&&function(e,t){f(e)&&(e=Zn(e));for(const n in e){const o=e[n];let r;r=m(o)?"default"in o?io(o.from||n,o.default,!0):io(o.from||n):io(o),vt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,r,null),i)for(const o in i){const e=i[o];h(e)&&(r[o]=e.bind(n))}if(l){const t=l.call(n,n);m(t)&&(e.data=lt(t))}if(Hn=!0,s)for(const f in s){const e=s[f],t=h(e)?e.bind(n,n):h(e.get)?e.get.bind(n,n):o,l=!h(e)&&h(e.set)?e.set.bind(n):o,i=Or({get:t,set:l});Object.defineProperty(r,f,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(a)for(const o in a)Xn(a[o],r,n,o);if(c){const e=h(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{!function(e,t){if(br){let n=br.provides;const o=br.parent&&br.parent.provides;o===n&&(n=br.provides=Object.create(o)),n[e]=t}}(t,e[t])})}function I(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Kn(d,e,"c"),I(En,p),I(Tn,v),I(Pn,g),I(Mn,y),I(_n,b),I(xn,_),I(In,P),I(jn,E),I(An,T),I(Ln,w),I(Fn,C),I(On,M),f(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===o&&(e.render=S),null!=F&&(e.inheritAttrs=F),O&&(e.components=O),A&&(e.directives=A),M&&hn(e)}function Kn(e,t,n){Mt(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Xn(e,t,n,o){let r=o.includes(".")?ho(n,o):()=>n[o];if(v(e)){const n=t[e];h(n)&&uo(r,n)}else if(h(e))uo(r,e.bind(n));else if(m(e))if(f(e))e.forEach(e=>Xn(e,t,n,o));else{const o=h(e.handler)?e.handler.bind(n):t[e.handler];h(o)&&uo(r,o,e)}}function Yn(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:s}}=e.appContext,i=l.get(t);let a;return i?a=i:r.length||n||o?(a={},r.length&&r.forEach(e=>Gn(a,e,s,!0)),Gn(a,t,s)):a=t,m(t)&&l.set(t,a),a}function Gn(e,t,n,o=!1){const{mixins:r,extends:l}=t;l&&Gn(e,l,n,!0),r&&r.forEach(t=>Gn(e,t,n,!0));for(const s in t)if(o&&"expose"===s);else{const o=Jn[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Jn={data:Qn,props:no,emits:no,methods:to,computed:to,beforeCreate:eo,created:eo,beforeMount:eo,mounted:eo,beforeUpdate:eo,updated:eo,beforeDestroy:eo,beforeUnmount:eo,destroyed:eo,unmounted:eo,activated:eo,deactivated:eo,errorCaptured:eo,serverPrefetch:eo,components:to,directives:to,watch:function(e,t){if(!e)return t;if(!t)return e;const n=i(Object.create(null),e);for(const o in t)n[o]=eo(e[o],t[o]);return n},provide:Qn,inject:function(e,t){return to(Zn(e),Zn(t))}};function Qn(e,t){return t?e?function(){return i(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Zn(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function eo(e,t){return e?[...new Set([].concat(e,t))]:t}function to(e,t){return e?i(Object.create(null),e,t):t}function no(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:i(Object.create(null),Wn(e),Wn(null!=t?t:{})):t}function oo(){return{app:null,config:{isNativeTag:r,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 ro=0;function lo(e,t){return function(t,n=null){h(t)||(t=i({},t)),null==n||m(n)||(n=null);const o=oo(),r=new WeakSet,l=[];let s=!1;const a=o.app={_uid:ro++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:jr,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&h(e.install)?(r.add(e),e.install(a,...t)):h(e)&&(r.add(e),e(a,...t))),a),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),a),component:(e,t)=>t?(o.components[e]=t,a):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,a):o.directives[e],mount(r,l,i){if(!s){const l=a._ceVNode||cr(t,n);return l.appContext=o,!0===i?i="svg":!1===i&&(i=void 0),e(l,r,i),s=!0,a._container=r,r.__vue_app__=a,Lr(l.component)}},onUnmount(e){l.push(e)},unmount(){s&&(Mt(l,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,a),runWithContext(e){const t=so;so=a;try{return e()}finally{so=t}}};return a}}let so=null;function io(e,t,n=!1){const o=_r();if(o||so){let r=so?so._context.provides:o?null==o.parent||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&h(t)?t.call(o&&o.proxy):t}}const ao=Symbol.for("v-scx"),co=()=>io(ao);function uo(e,t,n){return fo(e,t,n)}function fo(e,n,r=t){const{immediate:l,deep:s,flush:a,once:c}=r,u=i({},r),f=n&&l||!n&&"post"!==a;let d;if(Er)if("sync"===a){const e=co();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!f){const e=()=>{};return e.stop=o,e.resume=o,e.pause=o,e}const p=br;u.call=(e,t,n)=>Mt(e,p,t,n);let h=!1;"post"===a?u.scheduler=e=>{$o(e,p&&p.suspense)}:"sync"!==a&&(h=!0,u.scheduler=(e,t)=>{t?e():Nt(e)}),u.augmentJob=e=>{n&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const v=Et(e,n,u);return Er&&(d?d.push(v):f&&v()),v}function po(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?ho(o,e):()=>o[e]:e.bind(o,o);let l;h(t)?l=t:(l=t.handler,n=t);const s=kr(this),i=fo(r,l.bind(o),n);return s(),i}function ho(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function vo(e,n,...o){if(e.isUnmounted)return;const r=e.vnode.props||t;let l=o;const s=n.startsWith("update:"),i=s&&((e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${P(t)}Modifiers`])(r,n.slice(7));let a;i&&(i.trim&&(l=o.map(e=>v(e)?e.trim():e)),i.number&&(l=o.map(j)));let c=r[a=L(n)]||r[a=L(E(n))];!c&&s&&(c=r[a=L(P(n))]),c&&Mt(c,e,6,l);const u=r[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Mt(u,e,6,l)}}const go=new WeakMap;function mo(e,t,n=!1){const o=n?go:t.emitsCache,r=o.get(e);if(void 0!==r)return r;const l=e.emits;let s={},a=!1;if(!h(e)){const o=e=>{const n=mo(e,t,!0);n&&(a=!0,i(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return l||a?(f(l)?l.forEach(e=>s[e]=null):i(s,l),m(e)&&o.set(e,s),s):(m(e)&&o.set(e,null),null)}function yo(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),u(e,t[0].toLowerCase()+t.slice(1))||u(e,P(t))||u(e,t))}function bo(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[l],slots:i,attrs:a,emit:c,render:u,renderCache:f,props:d,data:p,setupState:h,ctx:v,inheritAttrs:g}=e,m=Kt(e);let y,b;try{if(4&n.shapeFlag){const e=r||o,t=e;y=pr(u.call(t,e,f,d,h,p,v)),b=a}else{const e=t;0,y=pr(e.length>1?e(d,{attrs:a,slots:i,emit:c}):e(d,null)),b=t.props?a:_o(a)}}catch(x){Go.length=0,Lt(x,e,1),y=cr(Xo)}let _=y;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(l&&e.some(s)&&(b=xo(b,l)),_=ur(_,b,!1,!0))}return n.dirs&&(_=ur(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&fn(_,n.transition),y=_,Kt(m),y}const _o=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},xo=(e,t)=>{const n={};for(const o in e)s(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function wo(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const l=o[r];if(t[l]!==e[l]&&!yo(n,l))return!0}return!1}const ko={},Co=()=>Object.create(ko),So=e=>Object.getPrototypeOf(e)===ko;function Eo(e,t,n,o=!1){const r={},l=Co();e.propsDefaults=Object.create(null),To(e,t,r,l);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:it(r,!1,He,Qe,tt):e.type.props?e.props=r:e.props=l,e.attrs=l}function To(e,n,o,r){const[l,s]=e.propsOptions;let i,a=!1;if(n)for(let t in n){if(k(t))continue;const c=n[t];let f;l&&u(l,f=E(t))?s&&s.includes(f)?(i||(i={}))[f]=c:o[f]=c:yo(e.emitsOptions,t)||t in r&&c===r[t]||(r[t]=c,a=!0)}if(s){const n=dt(o),r=i||t;for(let t=0;t<s.length;t++){const i=s[t];o[i]=Po(l,n,i,r[i],e,!u(r,i))}}return a}function Po(e,t,n,o,r,l){const s=e[n];if(null!=s){const e=u(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&h(e)){const{propsDefaults:l}=r;if(n in l)o=l[n];else{const s=kr(r);o=l[n]=e.call(null,t),s()}}else o=e;r.ce&&r.ce._setProp(n,o)}s[0]&&(l&&!e?o=!1:!s[1]||""!==o&&o!==P(n)||(o=!0))}return o}const Mo=new WeakMap;function Lo(e,o,r=!1){const l=r?Mo:o.propsCache,s=l.get(e);if(s)return s;const a=e.props,c={},d=[];let p=!1;if(!h(e)){const t=e=>{p=!0;const[t,n]=Lo(e,o,!0);i(c,t),n&&d.push(...n)};!r&&o.mixins.length&&o.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!a&&!p)return m(e)&&l.set(e,n),n;if(f(a))for(let n=0;n<a.length;n++){const e=E(a[n]);Fo(e)&&(c[e]=t)}else if(a)for(const t in a){const e=E(t);if(Fo(e)){const n=a[t],o=c[e]=f(n)||h(n)?{type:n}:i({},n),r=o.type;let l=!1,s=!0;if(f(r))for(let e=0;e<r.length;++e){const t=r[e],n=h(t)&&t.name;if("Boolean"===n){l=!0;break}"String"===n&&(s=!1)}else l=h(r)&&"Boolean"===r.name;o[0]=l,o[1]=s,(l||u(o,"default"))&&d.push(e)}}const v=[c,d];return m(e)&&l.set(e,v),v}function Fo(e){return"$"!==e[0]&&!k(e)}const Oo=e=>"_"===e||"_ctx"===e||"$stable"===e,Ao=e=>f(e)?e.map(pr):[pr(e)],jo=(e,t,n)=>{if(t._n)return t;const o=Xt((...e)=>Ao(t(...e)),n);return o._c=!1,o},Io=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Oo(r))continue;const n=e[r];if(h(n))t[r]=jo(0,n,o);else if(null!=n){const e=Ao(n);t[r]=()=>e}}},Ro=(e,t)=>{const n=Ao(t);e.slots.default=()=>n},Do=(e,t,n)=>{for(const o in t)!n&&Oo(o)||(e[o]=t[o])},$o=function(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?At.push(...n):jt&&-1===n.id?jt.splice(It+1,0,n):1&n.flags||(At.push(n),n.flags|=1),Ut());var n};function No(e){return function(e){R().__VUE__=!0;const{insert:r,remove:l,patchProp:s,createElement:i,createText:a,createComment:c,setText:f,setElementText:d,parentNode:p,nextSibling:h,setScopeId:v=o,insertStaticContent:g}=e,m=(e,t,n,o=null,r=null,l=null,s=void 0,i=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!lr(e,t)&&(o=ee(e),K(e,r,l,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:f}=t;switch(c){case Ko:b(e,t,n,o);break;case Xo:_(e,t,n,o);break;case Yo:null==e&&x(t,n,o,s);break;case qo:D(e,t,n,o,r,l,s,i,a);break;default:1&f?S(e,t,n,o,r,l,s,i,a):6&f?$(e,t,n,o,r,l,s,i,a):(64&f||128&f)&&c.process(e,t,n,o,r,l,s,i,a,oe)}null!=u&&r?gn(u,e&&e.ref,l,t||e,!t):null==u&&e&&null!=e.ref&&gn(e.ref,null,l,e,!0)},b=(e,t,n,o)=>{if(null==e)r(t.el=a(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},_=(e,t,n,o)=>{null==e?r(t.el=c(t.children||""),n,o):t.el=e.el},x=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o,e.el,e.anchor)},w=({el:e,anchor:t},n,o)=>{let l;for(;e&&e!==t;)l=h(e),r(e,n,o),e=l;r(t,n,o)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),l(e),e=n;l(t)},S=(e,t,n,o,r,l,s,i,a)=>{if("svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e)T(t,n,o,r,l,s,i,a);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),F(e,t,r,l,s,i,a)}finally{n&&n._endPatch()}}},T=(e,t,n,o,l,a,c,u)=>{let f,p;const{props:h,shapeFlag:v,transition:g,dirs:m}=e;if(f=e.el=i(e.type,a,h&&h.is,h),8&v?d(f,e.children):16&v&&L(e.children,f,null,o,l,Uo(e,a),c,u),m&&Gt(e,null,o,"created"),M(f,e,e.scopeId,c,o),h){for(const e in h)"value"===e||k(e)||s(f,e,null,h[e],a,o);"value"in h&&s(f,"value",null,h.value,a),(p=h.onVnodeBeforeMount)&&gr(p,o,e)}m&&Gt(e,null,o,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(l,g);y&&g.beforeEnter(f),r(f,t,n),((p=h&&h.onVnodeMounted)||y||m)&&$o(()=>{p&&gr(p,o,e),y&&g.enter(f),m&&Gt(e,null,o,"mounted")},l)},M=(e,t,n,o,r)=>{if(n&&v(e,n),o)for(let l=0;l<o.length;l++)v(e,o[l]);if(r){let n=r.subTree;if(t===n||Ho(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=r.vnode;M(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},L=(e,t,n,o,r,l,s,i,a=0)=>{for(let c=a;c<e.length;c++){const a=e[c]=i?hr(e[c]):pr(e[c]);m(null,a,t,n,o,r,l,s,i)}},F=(e,n,o,r,l,i,a)=>{const c=n.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=n;u|=16&e.patchFlag;const h=e.props||t,v=n.props||t;let g;if(o&&Vo(o,!1),(g=v.onVnodeBeforeUpdate)&&gr(g,o,n,e),p&&Gt(n,e,o,"beforeUpdate"),o&&Vo(o,!0),(h.innerHTML&&null==v.innerHTML||h.textContent&&null==v.textContent)&&d(c,""),f?j(e.dynamicChildren,f,c,o,r,Uo(n,l),i):a||z(e,n,c,null,o,r,Uo(n,l),i,!1),u>0){if(16&u)I(c,h,v,o,l);else if(2&u&&h.class!==v.class&&s(c,"class",null,v.class,l),4&u&&s(c,"style",h.style,v.style,l),8&u){const e=n.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t],r=h[n],i=v[n];i===r&&"value"!==n||s(c,n,r,i,l,o)}}1&u&&e.children!==n.children&&d(c,n.children)}else a||null!=f||I(c,h,v,o,l);((g=v.onVnodeUpdated)||p)&&$o(()=>{g&&gr(g,o,n,e),p&&Gt(n,e,o,"updated")},r)},j=(e,t,n,o,r,l,s)=>{for(let i=0;i<t.length;i++){const a=e[i],c=t[i],u=a.el&&(a.type===qo||!lr(a,c)||198&a.shapeFlag)?p(a.el):n;m(a,c,u,null,o,r,l,s,!0)}},I=(e,n,o,r,l)=>{if(n!==o){if(n!==t)for(const t in n)k(t)||t in o||s(e,t,n[t],null,l,r);for(const t in o){if(k(t))continue;const i=o[t],a=n[t];i!==a&&"value"!==t&&s(e,t,a,i,l,r)}"value"in o&&s(e,"value",n.value,o.value,l)}},D=(e,t,n,o,l,s,i,c,u)=>{const f=t.el=e?e.el:a(""),d=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:v}=t;v&&(c=c?c.concat(v):v),null==e?(r(f,n,o),r(d,n,o),L(t.children||[],n,d,l,s,i,c,u)):p>0&&64&p&&h&&e.dynamicChildren?(j(e.dynamicChildren,h,n,l,s,i,c),(null!=t.key||l&&t===l.subTree)&&Bo(e,t,!0)):z(e,t,n,d,l,s,i,c,u)},$=(e,t,n,o,r,l,s,i,a)=>{t.slotScopeIds=i,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,a):N(t,n,o,r,l,s,a):U(e,t,a)},N=(e,n,o,r,l,s,i)=>{const a=e.component=function(e,n,o){const r=e.type,l=(n?n.appContext:e.appContext)||mr,s={uid:yr++,vnode:e,type:r,parent:n,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new J(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(l.provides),ids:n?n.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Lo(r,l),emitsOptions:mo(r,l),emit:null,emitted:null,propsDefaults:t,inheritAttrs:r.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:o,suspenseId:o?o.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};s.ctx={_:s},s.root=n?n.root:s,s.emit=vo.bind(null,s),e.ce&&e.ce(s);return s}(e,r,l);if(bn(e)&&(a.ctx.renderer=oe),function(e,t=!1,n=!1){t&&wr(t);const{props:o,children:r}=e.vnode,l=Sr(e);Eo(e,o,l,t),((e,t,n)=>{const o=e.slots=Co();if(32&e.vnode.shapeFlag){const e=t._;e?(Do(o,t,n),n&&A(o,"_",e,!0)):Io(t,o)}else t&&Ro(e,t)})(e,r,n||t);const s=l?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,zn);const{setup:o}=n;if(o){he();const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Mr),slots:e.slots,emit:e.emit,expose:t}}(e):null,r=kr(e),l=Pt(o,e,0,[e.props,n]),s=y(l);if(ve(),r(),!s&&!e.sp||yn(e)||hn(e),s){if(l.then(Cr,Cr),t)return l.then(t=>{Tr(e,t)}).catch(t=>{Lt(t,e,0)});e.asyncDep=l}else Tr(e,l)}else Pr(e)}(e,t):void 0;t&&wr(!1)}(a,!1,i),a.asyncDep){if(l&&l.registerDep(a,V,i),!e.el){const t=a.subTree=cr(Xo);_(null,t,n,o),e.placeholder=t.el}}else V(a,e,n,o,l,s,i)},U=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:l}=e,{props:s,children:i,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!r&&!i||i&&i.$stable)||o!==s&&(o?!s||wo(o,s,c):!!s);if(1024&a)return!0;if(16&a)return o?wo(o,s,c):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!yo(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void B(o,t,n);o.next=t,o.update()}else t.el=e.el,o.vnode=t},V=(e,t,n,o,r,l,s)=>{const i=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:a,vnode:c}=e;{const n=zo(e);if(n)return t&&(t.el=c.el,B(e,t,s)),void n.asyncDep.then(()=>{e.isUnmounted||i()})}let u,f=t;Vo(e,!1),t?(t.el=c.el,B(e,t,s)):t=c,n&&O(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&gr(u,a,t,c),Vo(e,!0);const d=bo(e),h=e.subTree;e.subTree=d,m(h,d,p(h.el),ee(h),e,r,l),t.el=d.el,null===f&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,d.el),o&&$o(o,r),(u=t.props&&t.props.onVnodeUpdated)&&$o(()=>gr(u,a,t,c),r)}else{let s;const{el:i,props:a}=t,{bm:c,m:u,parent:f,root:d,type:p}=e,h=yn(t);Vo(e,!1),c&&O(c),!h&&(s=a&&a.onVnodeBeforeMount)&&gr(s,f,t),Vo(e,!0);{d.ce&&!1!==d.ce._def.shadowRoot&&d.ce._injectChildStyle(p);const s=e.subTree=bo(e);m(null,s,n,o,e,r,l),t.el=s.el}if(u&&$o(u,r),!h&&(s=a&&a.onVnodeMounted)){const e=t;$o(()=>gr(s,f,e),r)}(256&t.shapeFlag||f&&yn(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&$o(e.a,r),e.isMounted=!0,t=n=o=null}};e.scope.on();const a=e.effect=new Z(i);e.scope.off();const c=e.update=a.run.bind(a),u=e.job=a.runIfDirty.bind(a);u.i=e,u.id=e.uid,a.scheduler=()=>Nt(u),Vo(e,!0),c()},B=(e,n,o)=>{n.component=e;const r=e.vnode.props;e.vnode=n,e.next=null,function(e,t,n,o){const{props:r,attrs:l,vnode:{patchFlag:s}}=e,i=dt(r),[a]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;To(e,t,r,l)&&(c=!0);for(const l in i)t&&(u(t,l)||(o=P(l))!==l&&u(t,o))||(a?!n||void 0===n[l]&&void 0===n[o]||(r[l]=Po(a,i,l,void 0,e,!0)):delete r[l]);if(l!==i)for(const e in l)t&&u(t,e)||(delete l[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(yo(e.emitsOptions,s))continue;const f=t[s];if(a)if(u(l,s))f!==l[s]&&(l[s]=f,c=!0);else{const t=E(s);r[t]=Po(a,i,t,f,e,!1)}else f!==l[s]&&(l[s]=f,c=!0)}}c&&Ee(e.attrs,"set","")}(e,n.props,r,o),((e,n,o)=>{const{vnode:r,slots:l}=e;let s=!0,i=t;if(32&r.shapeFlag){const e=n._;e?o&&1===e?s=!1:Do(l,n,o):(s=!n.$stable,Io(n,l)),i=n}else n&&(Ro(e,n),i={default:1});if(s)for(const t in l)Oo(t)||null!=i[t]||delete l[t]})(e,n.children,o),he(),Vt(e),ve()},z=(e,t,n,o,r,l,s,i,a=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void H(c,f,n,o,r,l,s,i,a);if(256&p)return void W(c,f,n,o,r,l,s,i,a)}8&h?(16&u&&Q(c,r,l),f!==c&&d(n,f)):16&u?16&h?H(c,f,n,o,r,l,s,i,a):Q(c,r,l,!0):(8&u&&d(n,""),16&h&&L(f,n,o,r,l,s,i,a))},W=(e,t,o,r,l,s,i,a,c)=>{t=t||n;const u=(e=e||n).length,f=t.length,d=Math.min(u,f);let p;for(p=0;p<d;p++){const n=t[p]=c?hr(t[p]):pr(t[p]);m(e[p],n,o,null,l,s,i,a,c)}u>f?Q(e,l,s,!0,!1,d):L(t,o,r,l,s,i,a,c,d)},H=(e,t,o,r,l,s,i,a,c)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;for(;u<=d&&u<=p;){const n=e[u],r=t[u]=c?hr(t[u]):pr(t[u]);if(!lr(n,r))break;m(n,r,o,null,l,s,i,a,c),u++}for(;u<=d&&u<=p;){const n=e[d],r=t[p]=c?hr(t[p]):pr(t[p]);if(!lr(n,r))break;m(n,r,o,null,l,s,i,a,c),d--,p--}if(u>d){if(u<=p){const e=p+1,n=e<f?t[e].el:r;for(;u<=p;)m(null,t[u]=c?hr(t[u]):pr(t[u]),o,n,l,s,i,a,c),u++}}else if(u>p)for(;u<=d;)K(e[u],l,s,!0),u++;else{const h=u,v=u,g=new Map;for(u=v;u<=p;u++){const e=t[u]=c?hr(t[u]):pr(t[u]);null!=e.key&&g.set(e.key,u)}let y,b=0;const _=p-v+1;let x=!1,w=0;const k=new Array(_);for(u=0;u<_;u++)k[u]=0;for(u=h;u<=d;u++){const n=e[u];if(b>=_){K(n,l,s,!0);continue}let r;if(null!=n.key)r=g.get(n.key);else for(y=v;y<=p;y++)if(0===k[y-v]&&lr(n,t[y])){r=y;break}void 0===r?K(n,l,s,!0):(k[r-v]=u+1,r>=w?w=r:x=!0,m(n,t[r],o,null,l,s,i,a,c),b++)}const C=x?function(e){const t=e.slice(),n=[0];let o,r,l,s,i;const a=e.length;for(o=0;o<a;o++){const a=e[o];if(0!==a){if(r=n[n.length-1],e[r]<a){t[o]=r,n.push(o);continue}for(l=0,s=n.length-1;l<s;)i=l+s>>1,e[n[i]]<a?l=i+1:s=i;a<e[n[l]]&&(l>0&&(t[o]=n[l-1]),n[l]=o)}}l=n.length,s=n[l-1];for(;l-- >0;)n[l]=s,s=t[s];return n}(k):n;for(y=C.length-1,u=_-1;u>=0;u--){const e=v+u,n=t[e],d=t[e+1],p=e+1<f?d.el||d.placeholder:r;0===k[u]?m(null,n,o,p,l,s,i,a,c):x&&(y<0||u!==C[y]?q(n,o,p,2):y--)}}},q=(e,t,n,o,s=null)=>{const{el:i,type:a,transition:c,children:u,shapeFlag:f}=e;if(6&f)return void q(e.component.subTree,t,n,o);if(128&f)return void e.suspense.move(t,n,o);if(64&f)return void a.move(e,t,n,oe);if(a===qo){r(i,t,n);for(let e=0;e<u.length;e++)q(u[e],t,n,o);return void r(e.anchor,t,n)}if(a===Yo)return void w(e,t,n);if(2!==o&&1&f&&c)if(0===o)c.beforeEnter(i),r(i,t,n),$o(()=>c.enter(i),s);else{const{leave:o,delayLeave:s,afterLeave:a}=c,u=()=>{e.ctx.isUnmounted?l(i):r(i,t,n)},f=()=>{i._isLeaving&&i[Zt](!0),o(i,()=>{u(),a&&a()})};s?s(i,u,f):f()}else r(i,t,n)},K=(e,t,n,o=!1,r=!1)=>{const{type:l,props:s,ref:i,children:a,dynamicChildren:c,shapeFlag:u,patchFlag:f,dirs:d,cacheIndex:p}=e;if(-2===f&&(r=!1),null!=i&&(he(),gn(i,null,n,e,!0),ve()),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&d,v=!yn(e);let g;if(v&&(g=s&&s.onVnodeBeforeUnmount)&&gr(g,t,e),6&u)G(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&Gt(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,oe,o):c&&!c.hasOnce&&(l!==qo||f>0&&64&f)?Q(c,t,n,!1,!0):(l===qo&&384&f||!r&&16&u)&&Q(a,t,n),o&&X(e)}(v&&(g=s&&s.onVnodeUnmounted)||h)&&$o(()=>{g&&gr(g,t,e),h&&Gt(e,null,t,"unmounted")},n)},X=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===qo)return void Y(n,o);if(t===Yo)return void C(e);const s=()=>{l(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,l=()=>t(n,s);o?o(e.el,s,l):l()}else s()},Y=(e,t)=>{let n;for(;e!==t;)n=h(e),l(e),e=n;l(t)},G=(e,t,n)=>{const{bum:o,scope:r,job:l,subTree:s,um:i,m:a,a:c}=e;Wo(a),Wo(c),o&&O(o),r.stop(),l&&(l.flags|=8,K(s,e,t,n)),i&&$o(i,t),$o(()=>{e.isUnmounted=!0},t)},Q=(e,t,n,o=!1,r=!1,l=0)=>{for(let s=l;s<e.length;s++)K(e[s],t,n,o,r)},ee=e=>{if(6&e.shapeFlag)return ee(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),n=t&&t[Jt];return n?h(n):t};let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),t._vnode=e,te||(te=!0,Vt(),Bt(),te=!1)},oe={p:m,um:K,m:q,r:X,mt:N,mc:L,pc:z,pbc:j,n:ee,o:e};let re;return{render:ne,hydrate:re,createApp:lo(ne)}}(e)}function Uo({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Vo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Bo(e,t,n=!1){const o=e.children,r=t.children;if(f(o)&&f(r))for(let l=0;l<o.length;l++){const e=o[l];let t=r[l];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[l]=hr(r[l]),t.el=e.el),n||-2===t.patchFlag||Bo(e,t)),t.type===Ko&&-1!==t.patchFlag&&(t.el=e.el),t.type!==Xo||t.el||(t.el=e.el)}}function zo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zo(t)}function Wo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ho=e=>e.__isSuspense;const qo=Symbol.for("v-fgt"),Ko=Symbol.for("v-txt"),Xo=Symbol.for("v-cmt"),Yo=Symbol.for("v-stc"),Go=[];let Jo=null;function Qo(e=!1){Go.push(Jo=e?null:[])}let Zo=1;function er(e,t=!1){Zo+=e,e<0&&Jo&&t&&(Jo.hasOnce=!0)}function tr(e){return e.dynamicChildren=Zo>0?Jo||n:null,Go.pop(),Jo=Go[Go.length-1]||null,Zo>0&&Jo&&Jo.push(e),e}function nr(e,t,n,o,r,l){return tr(ar(e,t,n,o,r,l,!0))}function or(e,t,n,o,r){return tr(cr(e,t,n,o,r,!0))}function rr(e){return!!e&&!0===e.__v_isVNode}function lr(e,t){return e.type===t.type&&e.key===t.key}const sr=({key:e})=>null!=e?e:null,ir=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||vt(e)||h(e)?{i:Ht,r:e,k:t,f:!!n}:e:null);function ar(e,t=null,n=null,o=0,r=null,l=(e===qo?0:1),s=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sr(t),ref:t&&ir(t),scopeId:qt,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:l,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ht};return i?(vr(a,n),128&l&&e.normalize(a)):n&&(a.shapeFlag|=v(n)?8:16),Zo>0&&!s&&Jo&&(a.patchFlag>0||6&l)&&32!==a.patchFlag&&Jo.push(a),a}const cr=function(e,t=null,n=null,o=0,r=null,l=!1){e&&e!==Rn||(e=Xo);if(rr(e)){const o=ur(e,t,!0);return n&&vr(o,n),Zo>0&&!l&&Jo&&(6&o.shapeFlag?Jo[Jo.indexOf(e)]=o:Jo.push(o)),o.patchFlag=-2,o}s=e,h(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?ft(e)||So(e)?i({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=B(e)),m(n)&&(ft(n)&&!f(n)&&(n=i({},n)),t.style=D(n))}const a=v(e)?1:Ho(e)?128:Qt(e)?64:m(e)?4:h(e)?2:0;return ar(e,t,n,o,r,a,l,!0)};function ur(e,t,n=!1,o=!1){const{props:r,ref:s,patchFlag:i,children:a,transition:c}=e,u=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=B([t.class,o.class]));else if("style"===e)t.style=D([t.style,o.style]);else if(l(e)){const n=t[e],r=o[e];!r||n===r||f(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&sr(u),ref:t&&t.ref?n&&s?f(s)?s.concat(ir(t)):[s,ir(t)]:ir(t):s,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!==qo?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ur(e.ssContent),ssFallback:e.ssFallback&&ur(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&o&&fn(d,c.clone(d)),d}function fr(e=" ",t=0){return cr(Ko,null,e,t)}function dr(e="",t=!1){return t?(Qo(),or(Xo,null,e)):cr(Xo,null,e)}function pr(e){return null==e||"boolean"==typeof e?cr(Xo):f(e)?cr(qo,null,e.slice()):rr(e)?hr(e):cr(Ko,null,String(e))}function hr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ur(e)}function vr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),vr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||So(t)?3===o&&Ht&&(1===Ht.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Ht}}else h(t)?(t={default:t,_ctx:Ht},n=32):(t=String(t),64&o?(n=16,t=[fr(t)]):n=8);e.children=t,e.shapeFlag|=n}function gr(e,t,n,o=null){Mt(e,t,7,[n,o])}const mr=oo();let yr=0;let br=null;const _r=()=>br||Ht;let xr,wr;{const e=R(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach(t=>t(e)):o[0](e)}};xr=t("__VUE_INSTANCE_SETTERS__",e=>br=e),wr=t("__VUE_SSR_SETTERS__",e=>Er=e)}const kr=e=>{const t=br;return xr(e),e.scope.on(),()=>{e.scope.off(),xr(t)}},Cr=()=>{br&&br.scope.off(),xr(null)};function Sr(e){return 4&e.vnode.shapeFlag}let Er=!1;function Tr(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:m(t)&&(e.setupState=xt(t)),Pr(e)}function Pr(e,t,n){const r=e.type;e.render||(e.render=r.render||o);{const t=kr(e);he();try{qn(e)}finally{ve(),t()}}}const Mr={get:(e,t)=>(Se(e,0,""),e[t])};function Lr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xt((t=e.exposed,!u(t,"__v_skip")&&Object.isExtensible(t)&&A(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in Vn?Vn[n](e):void 0,has:(e,t)=>t in e||t in Vn})):e.proxy;var t}function Fr(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}const Or=(e,t)=>{const n=function(e,t,n=!1){let o,r;return h(e)?o=e:(o=e.get,r=e.set),new wt(o,r,n)}(e,0,Er);return n};function Ar(e,t,n){try{er(-1);const o=arguments.length;return 2===o?m(t)&&!f(t)?rr(t)?cr(e,null,[t]):cr(e,t):cr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&rr(n)&&(n=[n]),cr(e,t,n))}finally{er(1)}}const jr="3.5.25";let Ir;const Rr="undefined"!=typeof window&&window.trustedTypes;if(Rr)try{Ir=Rr.createPolicy("vue",{createHTML:e=>e})}catch(ea){}const Dr=Ir?e=>Ir.createHTML(e):e=>e,$r="undefined"!=typeof document?document:null,Nr=$r&&$r.createElement("template"),Ur={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?$r.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?$r.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?$r.createElement(e,{is:n}):$r.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>$r.createTextNode(e),createComment:e=>$r.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$r.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,l){const s=n?n.previousSibling:t.lastChild;if(r&&(r===l||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==l&&(r=r.nextSibling););else{Nr.innerHTML=Dr("svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e);const r=Nr.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Vr="transition",Br="animation",zr=Symbol("_vtc"),Wr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hr=i({},nn,Wr),qr=(e=>(e.displayName="Transition",e.props=Hr,e))((e,{slots:t})=>Ar(ln,function(e){const t={};for(const i in e)i in Wr||(t[i]=e[i]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:l=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=l,appearActiveClass:u=s,appearToClass:f=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=function(e){if(null==e)return null;if(m(e))return[Yr(e.enter),Yr(e.leave)];{const t=Yr(e);return[t,t]}}(r),g=v&&v[0],y=v&&v[1],{onBeforeEnter:b,onEnter:_,onEnterCancelled:x,onLeave:w,onLeaveCancelled:k,onBeforeAppear:C=b,onAppear:S=_,onAppearCancelled:E=x}=t,T=(e,t,n,o)=>{e._enterCancelled=o,Jr(e,t?f:a),Jr(e,t?u:s),n&&n()},P=(e,t)=>{e._isLeaving=!1,Jr(e,d),Jr(e,h),Jr(e,p),t&&t()},M=e=>(t,n)=>{const r=e?S:_,s=()=>T(t,e,n);Kr(r,[t,s]),Qr(()=>{Jr(t,e?c:l),Gr(t,e?f:a),Xr(r)||el(t,o,g,s)})};return i(t,{onBeforeEnter(e){Kr(b,[e]),Gr(e,l),Gr(e,s)},onBeforeAppear(e){Kr(C,[e]),Gr(e,c),Gr(e,u)},onEnter:M(!1),onAppear:M(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>P(e,t);Gr(e,d),e._enterCancelled?(Gr(e,p),ol(e)):(ol(e),Gr(e,p)),Qr(()=>{e._isLeaving&&(Jr(e,d),Gr(e,h),Xr(w)||el(e,o,y,n))}),Kr(w,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),Kr(x,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),Kr(E,[e])},onLeaveCancelled(e){P(e),Kr(k,[e])}})}(e),t)),Kr=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},Xr=e=>!!e&&(f(e)?e.some(e=>e.length>1):e.length>1);function Yr(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Gr(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[zr]||(e[zr]=new Set)).add(t)}function Jr(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[zr];n&&(n.delete(t),n.size||(e[zr]=void 0))}function Qr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zr=0;function el(e,t,n,o){const r=e._endId=++Zr,l=()=>{r===e._endId&&o()};if(null!=n)return setTimeout(l,n);const{type:s,timeout:i,propCount:a}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${Vr}Delay`),l=o(`${Vr}Duration`),s=tl(r,l),i=o(`${Br}Delay`),a=o(`${Br}Duration`),c=tl(i,a);let u=null,f=0,d=0;t===Vr?s>0&&(u=Vr,f=s,d=l.length):t===Br?c>0&&(u=Br,f=c,d=a.length):(f=Math.max(s,c),u=f>0?s>c?Vr:Br:null,d=u?u===Vr?l.length:a.length:0);const p=u===Vr&&/\b(?:transform|all)(?:,|$)/.test(o(`${Vr}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),l()},d=t=>{t.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},i+1),e.addEventListener(c,d)}function tl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>nl(t)+nl(e[n])))}function nl(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function ol(e){return(e?e.ownerDocument:document).body.offsetHeight}const rl=Symbol("_vod"),ll=Symbol("_vsh"),sl={name:"show",beforeMount(e,{value:t},{transition:n}){e[rl]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):il(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),il(e,!0),o.enter(e)):o.leave(e,()=>{il(e,!1)}):il(e,t))},beforeUnmount(e,{value:t}){il(e,t)}};function il(e,t){e.style.display=t?e[rl]:"none",e[ll]=!t}const al=Symbol(""),cl=/(?:^|;)\s*display\s*:/;const ul=/\s*!important$/;function fl(e,t,n){if(f(n))n.forEach(n=>fl(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=pl[t];if(n)return n;let o=E(t);if("filter"!==o&&o in e)return pl[t]=o;o=M(o);for(let r=0;r<dl.length;r++){const n=dl[r]+o;if(n in e)return pl[t]=n}return t}(e,t);ul.test(n)?e.setProperty(P(o),n.replace(ul,""),"important"):e[o]=n}}const dl=["Webkit","Moz","ms"],pl={};const hl="http://www.w3.org/1999/xlink";function vl(e,t,n,o,r,l=z(t)){o&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(hl,t.slice(6,t.length)):e.setAttributeNS(hl,t,n):null==n||l&&!W(n)?e.removeAttribute(t):e.setAttribute(t,l?"":g(n)?String(n):n)}function gl(e,t,n,o,r){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Dr(n):n));const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){const o="OPTION"===l?e.getAttribute("value")||"":e.value,r=null==n?"checkbox"===e.type?"on":"":String(n);return o===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),void(e._value=n)}let s=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=W(n):null==n&&"string"===o?(n="",s=!0):"number"===o&&(n=0,s=!0)}try{e[t]=n}catch(ea){}s&&e.removeAttribute(r||t)}const ml=Symbol("_vei");function yl(e,t,n,o,r=null){const l=e[ml]||(e[ml]={}),s=l[t];if(o&&s)s.value=o;else{const[n,i]=function(e){let t;if(bl.test(e)){let n;for(t={};n=e.match(bl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):P(e.slice(2));return[n,t]}(t);if(o){const s=l[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Mt(function(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=wl(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,i)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,i),l[t]=void 0)}}const bl=/(?:Once|Passive|Capture)$/;let _l=0;const xl=Promise.resolve(),wl=()=>_l||(xl.then(()=>_l=0),_l=Date.now());const kl=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Cl=["ctrl","shift","alt","meta"],Sl={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Cl.some(n=>e[`${n}Key`]&&!t.includes(n))},El=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=Sl[t[e]];if(o&&o(n,t))return}return e(n,...o)})},Tl=i({patchProp:(e,t,n,o,r,i)=>{const a="svg"===r;"class"===t?function(e,t,n){const o=e[zr];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,a):"style"===t?function(e,t,n){const o=e.style,r=v(n);let l=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&fl(o,t,"")}else for(const e in t)null==n[e]&&fl(o,e,"");for(const e in n)"display"===e&&(l=!0),fl(o,e,n[e])}else if(r){if(t!==n){const e=o[al];e&&(n+=";"+e),o.cssText=n,l=cl.test(n)}}else t&&e.removeAttribute("style");rl in e&&(e[rl]=l?o.display:"",e[ll]&&(o.display="none"))}(e,n,o):l(t)?s(t)||yl(e,t,0,o,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&kl(t)&&h(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(kl(t)&&v(n))return!1;return t in e}(e,t,o,a))?(gl(e,t,o),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||vl(e,t,o,a,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&v(o)?("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),vl(e,t,o,a)):gl(e,E(t),o,0,t)}},Ur);let Pl;const Ml=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ll=(e,t,n,o="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),n=r.pop(),l={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!Fl(l)?null:l}const l=r[0],s=l.split("-");if(s.length>1){const e={provider:o,prefix:s.shift(),name:s.join("-")};return t&&!Fl(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:l};return t&&!Fl(e,n)?null:e}return null},Fl=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),Ol=Object.freeze({left:0,top:0,width:16,height:16}),Al=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jl=Object.freeze({...Ol,...Al}),Il=Object.freeze({...jl,body:"",hidden:!1});function Rl(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in Il)o in Al?o in e&&!(o in n)&&(n[o]=Al[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function Dl(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let l={};function s(e){l=Rl(o[e]||r[e],l)}return s(t),n.forEach(s),Rl(e,l)}function $l(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});const o=function(e){const t=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach(function e(r){if(t[r])return o[r]=[];if(!(r in o)){o[r]=null;const t=n[r]&&n[r].parent,l=t&&e(t);l&&(o[r]=[t].concat(l))}return o[r]}),o}(e);for(const r in o){const l=o[r];l&&(t(r,Dl(e,r,l)),n.push(r))}return n}const Nl={provider:"",aliases:{},not_found:{},...Ol};function Ul(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Vl(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!Ul(e,Nl))return null;const n=t.icons;for(const r in n){const e=n[r];if(!r||"string"!=typeof e.body||!Ul(e,Il))return null}const o=t.aliases||Object.create(null);for(const r in o){const e=o[r],t=e.parent;if(!r||"string"!=typeof t||!n[t]&&!o[t]||!Ul(e,Il))return null}return t}const Bl=Object.create(null);function zl(e,t){const n=Bl[e]||(Bl[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Wl(e,t){return Vl(t)?$l(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}let Hl=!1;function ql(e){return"boolean"==typeof e&&(Hl=e),Hl}function Kl(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Hl&&!t&&!e.prefix){let t=!1;return Vl(e)&&(e.prefix="",$l(e,(e,n)=>{(function(e,t){const n=Ll(e,!0,Hl);if(!n)return!1;const o=zl(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(o){}return!1}(o,n.name,t):(o.missing.add(n.name),!0)})(e,n)&&(t=!0)})),t}const n=e.prefix;if(!Fl({prefix:n,name:"a"}))return!1;return!!Wl(zl(t,n),e)}const Xl=Object.freeze({width:null,height:null}),Yl=Object.freeze({...Xl,...Al}),Gl=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Jl=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ql(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(Gl);if(null===o||!o.length)return e;const r=[];let l=o.shift(),s=Jl.test(l);for(;;){if(s){const e=parseFloat(l);isNaN(e)?r.push(l):r.push(Math.ceil(e*t*n)/n)}else r.push(l);if(l=o.shift(),void 0===l)return r.join("");s=!s}}const Zl=/\sid="(\S+)"/g,es="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let ts=0;const ns=Object.create(null);function os(e){return ns[e]||ns[""]}function rs(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const ls=Object.create(null),ss=["https://api.simplesvg.com","https://api.unisvg.com"],is=[];for(;ss.length>0;)1===ss.length||Math.random()>.5?is.push(ss.shift()):is.push(ss.pop());function as(e,t){const n=rs(t);return null!==n&&(ls[e]=n,!0)}function cs(e){return ls[e]}ls[""]=rs({resources:["https://api.iconify.design"].concat(is)});let us=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const fs={prepare:(e,t,n)=>{const o=[],r=function(e,t){const n=cs(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach(t=>{const n=t;e=Math.max(e,n.length)});const r=t+".json?icons=";o=n.maxURL-e-n.path.length-r.length}else o=0;return o}(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},i=0;return n.forEach((n,a)=>{i+=n.length+1,i>=r&&a>0&&(o.push(s),s={type:l,provider:e,prefix:t,icons:[]},i=n.length),s.icons.push(n)}),o.push(s),o},send:(e,t,n)=>{if(!us)return void n("abort",424);let o=function(e){if("string"==typeof e){const t=cs(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let r=503;us(e+o).then(e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout(()=>{n(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{n("success",e)}):setTimeout(()=>{404===e?n("abort",e):n("next",r)})}).catch(()=>{n("next",r)})}};function ds(e,t){e.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let ps=0;var hs={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function vs(e,t,n,o){const r=e.resources.length,l=e.random?Math.floor(Math.random()*r):e.index;let s;if(e.random){let t=e.resources.slice(0);for(s=[];t.length>1;){const e=Math.floor(Math.random()*t.length);s.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}s=s.concat(t)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const i=Date.now();let a,c="pending",u=0,f=null,d=[],p=[];function h(){f&&(clearTimeout(f),f=null)}function v(){"pending"===c&&(c="aborted"),h(),d.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),d=[]}function g(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function m(){c="failed",p.forEach(e=>{e(void 0,a)})}function y(){d.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),d=[]}function b(){if("pending"!==c)return;h();const o=s.shift();if(void 0===o)return d.length?void(f=setTimeout(()=>{h(),"pending"===c&&(y(),m())},e.timeout)):void m();const r={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const r="success"!==n;switch(d=d.filter(e=>e!==t),c){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void m();if(r)return a=o,void(d.length||(s.length?b():m()));if(h(),y(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}c="completed",p.forEach(e=>{e(o)})}(r,t,n)}};d.push(r),u++,f=setTimeout(b,e.rotate),n(o,t,r.callback)}return"function"==typeof o&&p.push(o),setTimeout(b),function(){return{startTime:i,payload:t,status:c,queriesSent:u,queriesPending:d.length,subscribe:g,abort:v}}}function gs(e){const t={...hs,...e};let n=[];function o(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,r,l){const s=vs(t,e,r,(e,t)=>{o(),l&&l(e,t)});return n.push(s),s},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}function ms(){}const ys=Object.create(null);function bs(e,t,n){let o,r;if("string"==typeof e){const t=os(e);if(!t)return n(void 0,424),ms;r=t.send;const l=function(e){if(!ys[e]){const t=cs(e);if(!t)return;const n={config:t,redundancy:gs(t)};ys[e]=n}return ys[e]}(e);l&&(o=l.redundancy)}else{const t=rs(e);if(t){o=gs(t);const n=os(e.resources?e.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(t,r,n)().abort:(n(void 0,424),ms)}function _s(){}function xs(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(t=>{const l=t.icons,s=l.pending.length;l.pending=l.pending.filter(t=>{if(t.prefix!==r)return!0;const s=t.name;if(e.icons[s])l.loaded.push({provider:o,prefix:r,name:s});else{if(!e.missing.has(s))return n=!0,!0;l.missing.push({provider:o,prefix:r,name:s})}return!1}),l.pending.length!==s&&(n||ds([e],t.id),t.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),t.abort))})}))}(e)}))}function ws(e,t,n){function o(){const n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!Wl(e,n).length)return void o()}catch(r){}o(),xs(e)}function ks(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Cs(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const r=e.loadIcon;if(e.loadIcons&&(o.length>1||!r))return void ks(e.loadIcons(o,n,t),t=>{ws(e,o,t)});if(r)return void o.forEach(o=>{ks(r(o,n,t),t=>{ws(e,[o],t?{prefix:n,icons:{[o]:t}}:null)})});const{valid:l,invalid:s}=function(e){const t=[],n=[];return e.forEach(e=>{(e.match(Ml)?t:n).push(e)}),{valid:t,invalid:n}}(o);if(s.length&&ws(e,s,null),!l.length)return;const i=n.match(Ml)?os(t):null;if(!i)return void ws(e,l,null);i.prepare(t,n,l).forEach(n=>{bs(t,n,t=>{ws(e,n.icons,t)})})}))}const Ss=(e,t)=>{const n=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let o={provider:"",prefix:"",name:""};return e.forEach(e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const r=e.provider,l=e.prefix,s=e.name,i=n[r]||(n[r]=Object.create(null)),a=i[l]||(i[l]=zl(r,l));let c;c=s in a.icons?t.loaded:""===l||a.missing.has(s)?t.missing:t.pending;const u={provider:r,prefix:l,name:s};c.push(u)}),t}(function(e,t=!0,n=!1){const o=[];return e.forEach(e=>{const r="string"==typeof e?Ll(e,t,n):e;r&&o.push(r)}),o}(e,!0,ql()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,_s)}),()=>{e=!1}}const o=Object.create(null),r=[];let l,s;return n.pending.forEach(e=>{const{provider:t,prefix:n}=e;if(n===s&&t===l)return;l=t,s=n,r.push(zl(t,n));const i=o[t]||(o[t]=Object.create(null));i[n]||(i[n]=[])}),n.pending.forEach(e=>{const{provider:t,prefix:n,name:r}=e,l=zl(t,n),s=l.pendingIcons||(l.pendingIcons=new Set);s.has(r)||(s.add(r),o[t][n].push(r))}),r.forEach(e=>{const t=o[e.provider][e.prefix];t.length&&Cs(e,t)}),t?function(e,t,n){const o=ps++,r=ds.bind(null,n,o);if(!t.pending.length)return r;const l={id:o,icons:t,callback:e,abort:r};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(l)}),r}(t,n,r):_s};const Es=/[\s,]+/;function Ts(e,t){t.split(Es).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function Ps(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t,r%1==0?o(r):0)}}return t}const Ms={...Yl,inline:!1},Ls={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Fs={display:"inline-block"},Os={backgroundColor:"currentColor"},As={backgroundColor:"transparent"},js={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Is={webkitMask:Os,mask:Os,background:As};for(const ta in Is){const e=Is[ta];for(const t in js)e[ta+t]=js[t]}const Rs={};function Ds(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Rs[e+"-flip"]=t,Rs[e.slice(0,1)+"-flip"]=t,Rs[e+"Flip"]=t});const $s=(e,t)=>{const n=function(e,t){const n={...e};for(const o in t){const e=t[o],r=typeof e;o in Xl?(null===e||e&&("string"===r||"number"===r))&&(n[o]=e):r===typeof n[o]&&(n[o]="rotate"===o?e%4:e)}return n}(Ms,t),o={...Ls},r=t.mode||"svg",l={},s=t.style,i="object"!=typeof s||s instanceof Array?{}:s;for(let g in t){const e=t[g];if(void 0!==e)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&Ts(n,e);break;case"color":l.color=e;break;case"rotate":"string"==typeof e?n[g]=Ps(e):"number"==typeof e&&(n[g]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete o["aria-hidden"];break;default:{const t=Rs[g];t?!0!==e&&"true"!==e&&1!==e||(n[t]=!0):void 0===Ms[g]&&(o[g]=e)}}}const a=function(e,t){const n={...jl,...e},o={...Yl,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let s,i=e.rotate;switch(n?o?i+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):o&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),i<0&&(i-=4*Math.floor(i/4)),i%=4,i){case 1:s=r.height/2+r.top,t.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:s=r.width/2+r.left,t.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")")}i%2==1&&(r.left!==r.top&&(s=r.left,r.left=r.top,r.top=s),r.width!==r.height&&(s=r.width,r.width=r.height,r.height=s)),t.length&&(l=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),l=e.indexOf("</"+t);if(-1===r||-1===l)break;const s=e.indexOf(">",l);if(-1===s)break;n+=e.slice(r+1,l).trim(),e=e.slice(0,o).trim()+e.slice(s+1)}return{defs:n,content:e}}(e);return r=o.defs,l=t+o.content+n,r?"<defs>"+r+"</defs>"+l:l;var r,l}(l,'<g transform="'+t.join(" ")+'">',"</g>"))});const s=o.width,i=o.height,a=r.width,c=r.height;let u,f;null===s?(f=null===i?"1em":"auto"===i?c:i,u=Ql(f,a/c)):(u="auto"===s?a:s,f=null===i?Ql(u,c/a):"auto"===i?c:i);const d={},p=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(d[e]=t.toString())};p("width",u),p("height",f);const h=[r.left,r.top,a,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:l}}(e,n),c=a.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),"svg"===r){o.style={...l,...i},Object.assign(o,c);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),o.innerHTML=function(e,t=es){const n=[];let o;for(;o=Zl.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(n=>{const o="function"==typeof t?t(n):t+(ts++).toString(),l=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}),e=e.replace(new RegExp(r,"g"),"")}(a.body,n?()=>n+"ID"+e++:"iconifyVue"),Ar("svg",o)}const{body:u,width:f,height:d}=e,p="mask"===r||"bg"!==r&&-1!==u.indexOf("currentColor"),h=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(u,{...c,width:f+"",height:d+""});var v;return o.style={...l,"--svg":(v=h,'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(v)+'")'),width:Ds(c.width),height:Ds(c.height),...Fs,...p?Os:As,...i},Ar("span",o)};var Ns;if(ql(!0),Ns=fs,ns[""]=Ns,"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload;"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{"object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||Kl(e)}catch(ea){}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;as(e,n)}catch(ea){}}}}const Us={...jl,body:""},Vs=pn((e,{emit:t})=>{const n=gt(null);function o(){var e,t;n.value&&(null==(t=(e=n.value).abort)||t.call(e),n.value=null)}const r=gt(!!e.ssr),l=gt(""),s=mt(null,!0);function i(){const r=e.icon;if("object"==typeof r&&null!==r&&"string"==typeof r.body)return l.value="",{data:r};let s;if("string"!=typeof r||null===(s=Ll(r,!1,!0)))return null;let i=function(e){const t="string"==typeof e?Ll(e,!0,Hl):e;if(t){const e=zl(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(s);if(!i){const e=n.value;return e&&e.name===r||(n.value=null===i?{name:r}:{name:r,abort:Ss([s],a)}),null}o(),l.value!==r&&(l.value=r,$t(()=>{t("load",r)}));const c=e.customise;if(c){i=Object.assign({},i);const e=c(i.body,s.name,s.prefix,s.provider);"string"==typeof e&&(i.body=e)}const u=["iconify"];return""!==s.prefix&&u.push("iconify--"+s.prefix),""!==s.provider&&u.push("iconify--"+s.provider),{data:i,classes:u}}function a(){var e;const t=i();t?t.data!==(null==(e=s.value)?void 0:e.data)&&(s.value=t):s.value=null}return r.value?a():Tn(()=>{r.value=!0,a()}),uo(()=>e.icon,a),Fn(o),()=>{const t=s.value;if(!t)return $s(Us,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(" ")}),$s({...jl,...t.data},n)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),Bs={key:0,class:"loading"},zs={key:1,class:"error"},Ws=["src","alt"],Hs={key:2,class:"toolbar"},qs={class:"zoom-label"},Ks=["title"],Xs=["title"],Ys=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Gs=Ys(pn({__name:"ImageViewer",props:{url:{},name:{}},setup(e){const t=gt(),n=gt(),o=gt(!0),r=gt(!1),l=gt(1),s=gt(0),i=gt(0),a=gt(0),c=gt(!1),u=gt(!0);let f;const d=gt(!1);let p=0,h=0,v=0,g=0;const m=gt(0),y=gt(0),b=gt(0),_=gt(0);let x=0;const w=gt(!1);let k=null;const C=Or(()=>{if(!(m.value&&y.value&&b.value&&_.value))return 1;const e=b.value/m.value,t=_.value/y.value;return Math.min(e,t,1)}),S=Or(()=>Math.max(.1,.5*C.value)),E=Or(()=>{const e=.05*C.value;return Math.abs(l.value-C.value)<e}),T=Or(()=>Math.round(100*l.value)+"%"),P=Or(()=>E.value?"实际像素":"适合窗口");function M(){n.value&&(n.value.style.transform=`scale(${l.value}) rotate(${s.value}deg)`)}function L(){if(t.value){const e=t.value.getBoundingClientRect();b.value=e.width,_.value=e.height}}function F(e){w.value=!0,e(),setTimeout(()=>{w.value=!1},250)}function O(){l.value=C.value,i.value=0,a.value=0,M()}function A(){l.value=1,i.value=0,a.value=0,M()}function j(){F(()=>{E.value?A():O()})}function I(){F(()=>{l.value=Math.min(10,1.2*l.value),M()})}function R(){F(()=>{l.value=Math.max(S.value,l.value/1.2),M()})}function $(){F(()=>{s.value-=90,M()})}function N(){F(()=>{s.value+=90,M()})}function U(){F(()=>{s.value=0,i.value=0,a.value=0,l.value=C.value,M()})}async function V(){t.value&&(document.fullscreenElement?await document.exitFullscreen():await t.value.requestFullscreen())}function z(){c.value=!!document.fullscreenElement,L(),O(),c.value?H():(u.value=!0,K())}function W(){z()}function H(){u.value=!0,K(),c.value&&(f=window.setTimeout(()=>{u.value=!1},2e3))}function K(){f&&(clearTimeout(f),f=void 0)}function X(){c.value&&H()}function Y(e){if(e.preventDefault(),!t.value)return;const n=t.value.getBoundingClientRect(),o=e.clientX-n.left-n.width/2,r=e.clientY-n.top-n.height/2,s=l.value,c=e.deltaY>0?-1:1,u=.05*s,f=Math.max(S.value,Math.min(10,s+c*u));if(Math.abs(f-s)>.001){const e=f/s;i.value=o-(o-i.value)*e,a.value=r-(r-a.value)*e,l.value=f,M()}}function G(e){e.target.closest(".toolbar")||(d.value=!0,p=e.clientX,h=e.clientY,v=i.value,g=a.value,e.preventDefault())}function J(e){d.value&&(i.value=v+e.clientX-p,a.value=g+e.clientY-h)}function Q(){d.value=!1}function Z(e){e.target.closest(".toolbar")||(1===e.touches.length?(d.value=!0,p=e.touches[0].clientX,h=e.touches[0].clientY,v=i.value,g=a.value):2===e.touches.length&&(x=ne(e.touches)))}function ee(e){if(e.preventDefault(),1===e.touches.length&&d.value)i.value=v+e.touches[0].clientX-p,a.value=g+e.touches[0].clientY-h;else if(2===e.touches.length){const t=ne(e.touches);if(x>0){const e=t/x;l.value=Math.min(Math.max(l.value*e,S.value),10),M()}x=t}}function te(){d.value=!1,x=0}function ne(e){const t=e[0].clientX-e[1].clientX,n=e[0].clientY-e[1].clientY;return Math.sqrt(t*t+n*n)}function oe(e){e.target.closest(".toolbar")||V()}function re(e){switch(e.key){case"+":case"=":I();break;case"-":R();break;case"1":F(A);break;case"0":F(O);break;case"f":case"F":V();break;case"Escape":c.value&&(e.preventDefault(),document.exitFullscreen());break;case"[":$();break;case"]":N();break;case"r":case"R":U();break;case" ":e.preventDefault(),j()}}function le(){n.value&&(m.value=n.value.naturalWidth,y.value=n.value.naturalHeight,o.value=!1,L(),O())}function se(){o.value=!1,r.value=!0}return Tn(()=>{L(),t.value&&(k=new ResizeObserver(()=>{z()}),k.observe(t.value)),document.addEventListener("keydown",re),document.addEventListener("mousemove",J),document.addEventListener("mouseup",Q),document.addEventListener("fullscreenchange",W),window.addEventListener("resize",z)}),Fn(()=>{k&&(k.disconnect(),k=null),K(),document.removeEventListener("keydown",re),document.removeEventListener("mousemove",J),document.removeEventListener("mouseup",Q),document.removeEventListener("fullscreenchange",W),window.removeEventListener("resize",L)}),(l,s)=>(Qo(),nr("div",{ref_key:"containerRef",ref:t,class:B(["viewer",{dragging:d.value,animated:w.value,fullscreen:c.value,"hide-controls":c.value&&!u.value}]),onWheel:El(Y,["prevent"]),onMousedown:G,onMousemove:X,onTouchstart:Z,onTouchmove:El(ee,["prevent"]),onTouchend:te,onDblclick:oe},[o.value?(Qo(),nr("div",Bs,[...s[0]||(s[0]=[ar("div",{class:"spinner"},null,-1),ar("span",null,"加载中...",-1)])])):r.value?(Qo(),nr("div",zs,[...s[1]||(s[1]=[ar("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[ar("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),ar("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),ar("path",{d:"M21 15l-5-5L5 21"})],-1),ar("p",null,"无法加载图片",-1)])])):dr("",!0),Yt(ar("div",{class:"image-container",style:D({transform:`translate(${i.value}px, ${a.value}px)`})},[ar("img",{ref_key:"imgRef",ref:n,src:e.url,alt:e.name,draggable:"false",onLoad:le,onError:se},null,40,Ws)],4),[[sl,!o.value&&!r.value]]),o.value||r.value?dr("",!0):(Qo(),nr("div",Hs,[ar("button",{onClick:R,title:"缩小 (-)"},[cr(bt(Vs),{icon:"lucide:zoom-out"})]),ar("span",qs,q(T.value),1),ar("button",{onClick:I,title:"放大 (+)"},[cr(bt(Vs),{icon:"lucide:zoom-in"})]),s[2]||(s[2]=ar("div",{class:"divider"},null,-1)),ar("button",{onClick:$,title:"逆时针旋转 ([)"},[cr(bt(Vs),{icon:"lucide:rotate-ccw"})]),ar("button",{onClick:N,title:"顺时针旋转 (])"},[cr(bt(Vs),{icon:"lucide:rotate-cw"})]),s[3]||(s[3]=ar("div",{class:"divider"},null,-1)),ar("button",{class:"fit-toggle",onClick:j,title:`${P.value} (空格)`},[E.value?(Qo(),or(bt(Vs),{key:0,icon:"lucide:maximize-2"})):(Qo(),or(bt(Vs),{key:1,icon:"lucide:minimize-2"})),ar("span",null,q(P.value),1)],8,Ks),s[4]||(s[4]=ar("div",{class:"divider"},null,-1)),ar("button",{onClick:U,title:"重置 (R)"},[cr(bt(Vs),{icon:"lucide:refresh-ccw"})]),ar("button",{onClick:V,title:c.value?"退出全屏 (F)":"全屏 (F)"},[c.value?(Qo(),or(bt(Vs),{key:0,icon:"lucide:minimize-2"})):(Qo(),or(bt(Vs),{key:1,icon:"lucide:fullscreen"}))],8,Xs)]))],34))}}),[["__scopeId","data-v-a74b13b8"]]);function Js(e,t=!1){if(!e||isNaN(e))return"0:00";const n=Math.floor(e/3600),o=Math.floor(e%3600/60),r=Math.floor(e%60);return n>0||t?`${n}:${String(o).padStart(2,"0")}:${String(r).padStart(2,"0")}`:`${o}:${String(r).padStart(2,"0")}`}function Qs(e){const t=gt(!0),n=gt(!1),o=gt(!1),r=gt(!1),l=gt(0),s=gt(0),i=gt(0),a=gt(1),c=gt(1),u=Or(()=>s.value?l.value/s.value*100:0),f=Or(()=>s.value?i.value/s.value*100:0),d=Or(()=>function(e,t){return`${Js(e)} / ${Js(t)}`}(l.value,s.value));function p(){const t=e();t&&(t.paused?t.play():t.pause())}function h(){const t=e();t&&(t.muted=!t.muted,r.value=t.muted)}function v(t){const n=e();if(!n)return;const o=Math.max(0,Math.min(1,t));n.volume=o,a.value=o,n.muted=!1,r.value=!1}function g(t){const n=e();n&&v(n.volume+t)}function m(t){const n=e();n&&(n.currentTime=Math.max(0,Math.min(s.value,t)))}function y(t){const n=e();n&&(n.currentTime+=t)}let b=!1;function _(e){switch(e.code){case"Space":e.preventDefault(),p();break;case"ArrowLeft":y(-10);break;case"ArrowRight":y(10);break;case"ArrowUp":e.preventDefault(),g(.1);break;case"ArrowDown":e.preventDefault(),g(-.1);break;case"KeyM":h()}}return Tn(()=>{document.addEventListener("keydown",_)}),Fn(()=>{document.removeEventListener("keydown",_)}),{isLoading:t,hasError:n,isPlaying:o,isMuted:r,currentTime:l,duration:s,buffered:i,volume:a,playbackRate:c,playedPercent:u,bufferedPercent:f,timeDisplay:d,speedOptions:[.5,.75,1,1.25,1.5,2],togglePlay:p,play:function(){const t=e();t&&t.play()},pause:function(){const t=e();t&&t.pause()},toggleMute:h,setVolume:v,adjustVolume:g,seekTo:m,seekToPercent:function(e){m(e*s.value)},seek:y,setSpeed:function(t){const n=e();n&&(n.playbackRate=t,c.value=t)},autoPlay:function(){const t=e();null==t||t.play().catch(()=>{})},setPauseTimeUpdate:function(e){b=e},handlePlay:function(){o.value=!0},handlePause:function(){o.value=!1},handleTimeUpdate:function(){if(b)return;const t=e();t&&(l.value=t.currentTime,t.buffered.length>0&&(i.value=t.buffered.end(t.buffered.length-1)))},handleLoadedMetadata:function(){const n=e();n&&(s.value=n.duration,t.value=!1)},handleCanPlay:function(){t.value=!1},handleWaiting:function(){t.value=!0},handleError:function(){t.value=!1,n.value=!0},formatTime:Js}}function Zs(e){const t=e.trim().replace(",",".").match(/^(?:(\d+):)?(\d+):(\d+(?:\.\d+)?)$/);if(!t)return 0;return 3600*(t[1]?parseInt(t[1],10):0)+60*parseInt(t[2],10)+parseFloat(t[3])}function ei(e){const t=[],n=e.trim().split(/\n\s*\n/);for(const o of n){const e=o.trim().split("\n");if(e.length<2)continue;let n=0;/-->/.test(e[0])||(n=1);const r=e[n].match(/(\d+:\d+:\d+[,\.]\d+)\s*-->\s*(\d+:\d+:\d+[,\.]\d+)/);if(!r)continue;const l=Zs(r[1]),s=Zs(r[2]),i=e.slice(n+1).join("\n").trim();i&&t.push({start:l,end:s,text:i})}return t}function ti(e){const t=[],n=e.split("\n");let o=0;for(;o<n.length&&!n[o].includes("--\x3e");)o++;for(;o<n.length;){const e=n[o].trim().match(/(\d+:?\d+:\d+\.\d+)\s*-->\s*(\d+:?\d+:\d+\.\d+)/);if(e){const r=Zs(e[1]),l=Zs(e[2]),s=[];for(o++;o<n.length&&""!==n[o].trim()&&!n[o].includes("--\x3e");)s.push(n[o].trim()),o++;const i=s.join("\n");i&&t.push({start:r,end:l,text:i})}else o++}return t}function ni(e){const t=[],n=e.split("\n");let o=!1,r=[],l=-1,s=-1,i=-1;for(const a of n){const e=a.trim();if("[events]"!==e.toLowerCase()){if(e.startsWith("[")&&e.endsWith("]"))o=!1;else if(o){if(e.toLowerCase().startsWith("format:")){r=e.substring(7).trim().split(",").map(e=>e.trim().toLowerCase()),l=r.indexOf("text"),s=r.indexOf("start"),i=r.indexOf("end");continue}if(e.toLowerCase().startsWith("dialogue:")){const n=e.substring(9).trim(),o=[];let a="",c=0;for(let e=0;e<n.length;e++){const t=n[e];","===t&&c<r.length-1?(o.push(a.trim()),a="",c++):a+=t}if(o.push(a.trim()),s>=0&&i>=0&&l>=0){const e=Zs(o[s]||"0"),n=Zs(o[i]||"0");let r=o[l]||"";r=r.replace(/\{[^}]*\}/g,"").replace(/\\N/g,"\n").replace(/\\n/g,"\n").replace(/\\h/g," ").trim(),r&&t.push({start:e,end:n,text:r})}}}}else o=!0}return t.sort((e,t)=>e.start-t.start),t}function oi(e,t){switch(t.toLowerCase().replace(".","")){case"srt":return ei(e);case"vtt":case"webvtt":return ti(e);case"ass":case"ssa":return ni(e);default:return function(e){const t=function(e){const t=e.trim();return t.startsWith("WEBVTT")?"vtt":t.includes("[Script Info]")||t.includes("[Events]")?"ass":/^\d+\s*\n/.test(t)?"srt":"unknown"}(e);switch(t){case"srt":default:return ei(e);case"vtt":return ti(e);case"ass":return ni(e)}}(e)}}function ri(e){const t=e.toLowerCase(),n=[{pattern:/\.zh[-_]?(cn|hans?)?\./,label:"简体中文",language:"zh-CN"},{pattern:/\.zh[-_]?(tw|hant?)\./,label:"繁體中文",language:"zh-TW"},{pattern:/\.chs?\./,label:"简体中文",language:"zh-CN"},{pattern:/\.cht?\./,label:"繁體中文",language:"zh-TW"},{pattern:/\.chinese\./,label:"中文",language:"zh"},{pattern:/\.en(g(lish)?)?\./,label:"English",language:"en"},{pattern:/\.ja(p(anese)?)?\./,label:"日本語",language:"ja"},{pattern:/\.ko(r(ean)?)?\./,label:"한국어",language:"ko"},{pattern:/\.fr(ench)?\./,label:"Français",language:"fr"},{pattern:/\.de(utsch)?\./,label:"Deutsch",language:"de"},{pattern:/\.es(panol)?\./,label:"Español",language:"es"}];for(const{pattern:o,label:r,language:l}of n)if(o.test(t))return{label:r,language:l};return{label:"字幕",language:""}}const li=["innerHTML"],si=Ys(pn({__name:"SubtitleOverlay",props:{cue:{},visible:{type:Boolean},fontSize:{}},setup(e){const t=e,n=Or(()=>t.fontSize||24),o=Or(()=>{var e;return(null==(e=t.cue)?void 0:e.text)?t.cue.text.replace(/</g,"<").replace(/>/g,">").replace(/\n/g,"<br>"):""});return(t,r)=>(Qo(),or(qr,{name:"subtitle-fade"},{default:Xt(()=>[e.visible&&e.cue?(Qo(),nr("div",{key:0,class:"subtitle-overlay",style:D({"--subtitle-font-size":n.value+"px"})},[ar("div",{class:"subtitle-text",innerHTML:o.value},null,8,li)],4)):dr("",!0)]),_:1}))}}),[["__scopeId","data-v-dc97bca0"]]);function ii(e){const{getElement:t,onChange:n,thumbRadius:o=0}=e,r=gt(!1);function l(e){const r=function(e){const n=t();if(!n)return 0;const r=n.getBoundingClientRect(),l=r.width-2*o,s=e-r.left-o;return Math.max(0,Math.min(1,s/l))}(e);n(r)}function s(e){r.value&&l(e.clientX)}function i(){r.value=!1,document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",i)}function a(){document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",i)}return Fn(a),{isDragging:r,handleMouseDown:function(e){e.preventDefault(),r.value=!0,l(e.clientX),document.addEventListener("mousemove",s),document.addEventListener("mouseup",i)},cleanup:a}}const ai={class:"progress-bar"},ci=Ys(pn({__name:"ProgressBar",props:{played:{},buffered:{},color:{}},emits:["change"],setup(e,{emit:t}){const n=e,o=t,r=gt(),{isDragging:l,handleMouseDown:s}=ii({getElement:()=>r.value,onChange:e=>o("change",e),thumbRadius:7}),i=Or(()=>n.color||"var(--huyooo-primary)");return(t,n)=>(Qo(),nr("div",{ref_key:"containerRef",ref:r,class:B(["progress-container",{dragging:bt(l)}]),onMousedown:n[0]||(n[0]=(...e)=>bt(s)&&bt(s)(...e))},[ar("div",ai,[void 0!==e.buffered?(Qo(),nr("div",{key:0,class:"progress-buffered",style:D({width:e.buffered+"%"})},null,4)):dr("",!0),ar("div",{class:"progress-played",style:D({width:e.played+"%",backgroundColor:i.value})},null,4),ar("div",{class:"progress-thumb",style:D({left:e.played+"%"})},null,4)])],34))}}),[["__scopeId","data-v-e254f7fa"]]),ui={class:"volume-control"},fi={class:"volume-label"},di=Ys(pn({__name:"VolumeControl",props:{volume:{},muted:{type:Boolean}},emits:["update:volume","toggleMute"],setup(e,{emit:t}){const n=e,o=t,r=gt(),{isDragging:l,handleMouseDown:s}=ii({getElement:()=>r.value,onChange:e=>o("update:volume",e),thumbRadius:6}),i=Or(()=>n.muted||n.volume<=0?"lucide:volume-x":n.volume>.5?"lucide:volume-2":"lucide:volume-1"),a=Or(()=>Math.round(100*n.volume));return(t,n)=>(Qo(),nr("div",ui,[ar("button",{class:"btn",onClick:n[0]||(n[0]=e=>o("toggleMute")),title:"静音 (M)"},[cr(bt(Vs),{icon:i.value},null,8,["icon"])]),ar("div",{ref_key:"volumeTrackRef",ref:r,class:B(["volume-track",{dragging:bt(l)}]),onMousedown:n[1]||(n[1]=(...e)=>bt(s)&&bt(s)(...e))},[ar("div",{class:"volume-progress",style:D({width:100*e.volume+"%"})},null,4),ar("div",{class:"volume-thumb",style:D({left:100*e.volume+"%"})},null,4)],34),ar("span",fi,q(a.value),1)]))}}),[["__scopeId","data-v-9a3c4622"]]),pi=["title"],hi={class:"speed-text"},vi={key:0,class:"speed-menu"},gi=["onClick"],mi=Ys(pn({__name:"SpeedMenu",props:{speed:{},options:{},activeColor:{}},emits:["update:speed"],setup(e,{emit:t}){const n=e,o=t,r=gt(!1),l=n.options||[.5,.75,1,1.25,1.5,2];function s(){r.value=!1}return Tn(()=>{document.addEventListener("click",s)}),Fn(()=>{document.removeEventListener("click",s)}),(t,n)=>(Qo(),nr("div",{class:"speed-wrapper",onClick:n[1]||(n[1]=El(()=>{},["stop"]))},[ar("button",{class:"btn speed-btn",onClick:n[0]||(n[0]=e=>r.value=!r.value),title:`播放速度: ${e.speed}x`},[ar("span",hi,q(e.speed)+"x",1)],8,pi),cr(qr,{name:"menu-fade"},{default:Xt(()=>[r.value?(Qo(),nr("div",vi,[(Qo(!0),nr(qo,null,Nn(bt(l),t=>(Qo(),nr("button",{key:t,class:B(["speed-option",{active:e.speed===t}]),style:D(e.speed===t?{color:e.activeColor||"var(--huyooo-primary)"}:{}),onClick:e=>(o("update:speed",t),void(r.value=!1))},q(t)+"x ",15,gi))),128))])):dr("",!0)]),_:1})]))}}),[["__scopeId","data-v-9043968f"]]),yi={key:0,class:"subtitle-menu"},bi={class:"check-mark"},_i=["onClick"],xi={class:"check-mark"},wi={class:"check-mark"},ki=Ys(pn({__name:"SubtitleMenu",props:{tracks:{},currentTrack:{},activeColor:{}},emits:["update:currentTrack","loadSubtitle"],setup(e,{emit:t}){const n=t,o=gt(!1);function r(e){n("update:currentTrack",e),o.value=!1}function l(){n("loadSubtitle"),o.value=!1}function s(){o.value=!1}return Tn(()=>{document.addEventListener("click",s)}),Fn(()=>{document.removeEventListener("click",s)}),(t,n)=>(Qo(),nr("div",{class:"subtitle-wrapper",onClick:n[2]||(n[2]=El(()=>{},["stop"]))},[ar("button",{class:B(["btn",{active:e.currentTrack>=0}]),title:"字幕",onClick:n[0]||(n[0]=e=>o.value=!o.value)},[cr(bt(Vs),{icon:"lucide:captions"})],2),cr(qr,{name:"menu-fade"},{default:Xt(()=>[o.value?(Qo(),nr("div",yi,[ar("button",{class:B(["menu-option",{active:-1===e.currentTrack}]),onClick:n[1]||(n[1]=e=>r(-1))},[ar("span",bi,[-1===e.currentTrack?(Qo(),or(bt(Vs),{key:0,icon:"lucide:check"})):dr("",!0)]),n[3]||(n[3]=ar("span",null,"关闭",-1))],2),(Qo(!0),nr(qo,null,Nn(e.tracks,(t,n)=>(Qo(),nr("button",{key:n,class:B(["menu-option",{active:e.currentTrack===n}]),onClick:e=>r(n)},[ar("span",xi,[e.currentTrack===n?(Qo(),or(bt(Vs),{key:0,icon:"lucide:check"})):dr("",!0)]),ar("span",null,q(t.label),1)],10,_i))),128)),n[5]||(n[5]=ar("div",{class:"menu-divider"},null,-1)),ar("button",{class:"menu-option load-option",onClick:l},[ar("span",wi,[cr(bt(Vs),{icon:"lucide:plus"})]),n[4]||(n[4]=ar("span",null,"加载字幕...",-1))])])):dr("",!0)]),_:1})]))}}),[["__scopeId","data-v-b528172d"]]),Ci={key:0,class:"controls"},Si={class:"controls-row"},Ei={class:"left-controls"},Ti={class:"progress-row"},Pi={class:"time time-current"},Mi={class:"time time-duration"},Li={class:"center-controls"},Fi={class:"right-controls"},Oi=["title"],Ai=Ys(pn({__name:"PlayerControls",props:{showControls:{type:Boolean},hasError:{type:Boolean},isPlaying:{type:Boolean},isMuted:{type:Boolean},currentTime:{},duration:{},playedPercent:{},bufferedPercent:{},volume:{},playbackRate:{},isFullscreen:{type:Boolean},showSubtitle:{type:Boolean},showPiP:{type:Boolean},showFullscreen:{type:Boolean},subtitleTracks:{},currentTrackIndex:{}},emits:["togglePlay","seek","progressChange","volumeChange","toggleMute","speedChange","togglePiP","toggleFullscreen","trackChange","loadSubtitle"],setup(e,{emit:t}){const n=e,o=t,r=Or(()=>Js(n.currentTime)),l=Or(()=>Js(n.duration));function s(){o("togglePlay")}function i(e){o("seek",e)}function a(e){o("progressChange",e)}function c(e){o("volumeChange",e)}function u(){o("toggleMute")}function f(e){o("speedChange",e)}function d(){o("togglePiP")}function p(){o("toggleFullscreen")}function h(e){o("trackChange",e)}function v(){o("loadSubtitle")}return(t,n)=>(Qo(),or(qr,{name:"controls-slide"},{default:Xt(()=>[e.hasError?dr("",!0):Yt((Qo(),nr("div",Ci,[ar("div",Si,[ar("div",Ei,[ar("div",Ti,[ar("span",Pi,q(r.value),1),cr(ci,{played:e.playedPercent,buffered:e.bufferedPercent,onChange:a},null,8,["played","buffered"]),ar("span",Mi,q(l.value),1)])]),ar("div",Li,[ar("button",{class:"btn",onClick:n[0]||(n[0]=e=>i(-10)),title:"后退10秒 (←)"},[cr(bt(Vs),{icon:"lucide:skip-back"})]),ar("button",{class:"btn btn-play",onClick:s,title:"播放/暂停 (空格)"},[e.isPlaying?(Qo(),or(bt(Vs),{key:1,icon:"lucide:pause"})):(Qo(),or(bt(Vs),{key:0,icon:"lucide:play"}))]),ar("button",{class:"btn",onClick:n[1]||(n[1]=e=>i(10)),title:"快进10秒 (→)"},[cr(bt(Vs),{icon:"lucide:skip-forward"})])]),ar("div",Fi,[cr(di,{volume:e.volume,muted:e.isMuted,"onUpdate:volume":c,onToggleMute:u},null,8,["volume","muted"]),cr(mi,{speed:e.playbackRate,"onUpdate:speed":f},null,8,["speed"]),e.showSubtitle?(Qo(),or(ki,{key:0,tracks:e.subtitleTracks||[],"current-track":e.currentTrackIndex??-1,"onUpdate:currentTrack":h,onLoadSubtitle:v},null,8,["tracks","current-track"])):dr("",!0),e.showPiP?(Qo(),nr("button",{key:1,class:"btn",onClick:d,title:"画中画 (P)"},[cr(bt(Vs),{icon:"lucide:picture-in-picture"})])):dr("",!0),e.showFullscreen?(Qo(),nr("button",{key:2,class:"btn",onClick:p,title:e.isFullscreen?"退出全屏 (F)":"全屏 (F)"},[e.isFullscreen?(Qo(),or(bt(Vs),{key:1,icon:"lucide:minimize"})):(Qo(),or(bt(Vs),{key:0,icon:"lucide:maximize"}))],8,Oi)):dr("",!0)])])],512)),[[sl,e.showControls]])]),_:1}))}}),[["__scopeId","data-v-6bd09f3e"]]),ji=["src"],Ii={key:0,class:"loader"},Ri={key:0,class:"big-play"},Di={key:1,class:"error-overlay"},$i=Ys(pn({__name:"VideoPlayer",props:{url:{},name:{}},setup(e){const t=gt(),n=gt(),o=Qs(()=>n.value),{isFullscreen:r,toggleFullscreen:l,exitFullscreen:s}=function(e){const t=gt(!1);let n;function o(){t.value=!!document.fullscreenElement,null==n||n(t.value)}return Tn(()=>{document.addEventListener("fullscreenchange",o)}),Fn(()=>{document.removeEventListener("fullscreenchange",o)}),{isFullscreen:t,toggleFullscreen:async function(){const t=e();t&&(document.fullscreenElement?await document.exitFullscreen():await t.requestFullscreen())},enterFullscreen:async function(){const t=e();t&&!document.fullscreenElement&&await t.requestFullscreen()},exitFullscreen:async function(){document.fullscreenElement&&await document.exitFullscreen()},setOnFullscreenChange:function(e){n=e}}}(()=>t.value),i=gt([]),a=gt(-1),c=gt(null),u=Or(()=>a.value>=0?i.value[a.value]:null);function f(){u.value?c.value=function(e,t){for(const n of e)if(t>=n.start&&t<=n.end)return n;return null}(u.value.cues,o.currentTime.value):c.value=null}async function d(){const e=document.createElement("input");e.type="file",e.accept=".srt,.vtt,.ass,.ssa",e.multiple=!0,e.onchange=async()=>{var t;if(null==(t=e.files)?void 0:t.length)for(const o of Array.from(e.files))try{const e=await o.text(),t=oi(e,o.name.split(".").pop()||"");if(t.length>0){const{label:e,language:n}=ri(o.name);i.value.push({label:e||o.name,language:n,cues:t}),-1===a.value&&(a.value=0)}}catch(n){}},e.click()}function p(e){a.value=e}uo(()=>o.currentTime.value,f),uo(a,f);const h=gt(!0);let v,g;function m(){v&&(clearTimeout(v),v=void 0)}function y(){m(),o.isPlaying.value&&(v=window.setTimeout(()=>{h.value=!1},2500))}function b(){h.value=!0,y()}function _(){o.isPlaying.value&&(m(),h.value=!1)}uo(()=>o.isPlaying.value,e=>{e?y():(m(),h.value=!0)});let x=0;function w(){x++,1===x&&(g=window.setTimeout(()=>{1===x&&o.togglePlay(),x=0},200))}function k(){g&&(clearTimeout(g),g=void 0),x=0,l()}async function C(){n.value&&(document.pictureInPictureElement?await document.exitPictureInPicture():await n.value.requestPictureInPicture())}function S(){var e;(null==(e=window.electronAPI)?void 0:e.hideWindow)&&window.electronAPI.hideWindow()}function E(){var e;(null==(e=window.electronAPI)?void 0:e.showWindow)&&window.electronAPI.showWindow()}function T(e){switch(e.code){case"KeyF":l();break;case"KeyP":C();break;case"Escape":r.value&&s()}}function P(e){o.setPauseTimeUpdate(!0),o.seekToPercent(e),setTimeout(()=>o.setPauseTimeUpdate(!1),100)}function M(e){o.setVolume(e)}function L(e){o.setSpeed(e)}return Tn(()=>{var e,t;document.addEventListener("keydown",T),null==(e=n.value)||e.addEventListener("enterpictureinpicture",S),null==(t=n.value)||t.addEventListener("leavepictureinpicture",E),o.autoPlay()}),Fn(()=>{var e,t;document.removeEventListener("keydown",T),null==(e=n.value)||e.removeEventListener("enterpictureinpicture",S),null==(t=n.value)||t.removeEventListener("leavepictureinpicture",E),m(),g&&clearTimeout(g)}),(s,u)=>(Qo(),nr("div",{ref_key:"playerRef",ref:t,class:B(["player",{fullscreen:bt(r),"hide-cursor":!h.value}]),onMousemove:b,onMouseleave:_},[ar("video",{ref_key:"videoRef",ref:n,src:e.url,preload:"metadata",onPlay:u[0]||(u[0]=(...e)=>bt(o).handlePlay&&bt(o).handlePlay(...e)),onPause:u[1]||(u[1]=(...e)=>bt(o).handlePause&&bt(o).handlePause(...e)),onTimeupdate:u[2]||(u[2]=(...e)=>bt(o).handleTimeUpdate&&bt(o).handleTimeUpdate(...e)),onLoadedmetadata:u[3]||(u[3]=(...e)=>bt(o).handleLoadedMetadata&&bt(o).handleLoadedMetadata(...e)),onCanplay:u[4]||(u[4]=(...e)=>bt(o).handleCanPlay&&bt(o).handleCanPlay(...e)),onWaiting:u[5]||(u[5]=(...e)=>bt(o).handleWaiting&&bt(o).handleWaiting(...e)),onError:u[6]||(u[6]=(...e)=>bt(o).handleError&&bt(o).handleError(...e)),onClick:w,onDblclick:k},null,40,ji),bt(o).isLoading.value&&!bt(o).hasError.value?(Qo(),nr("div",Ii)):dr("",!0),cr(qr,{name:"fade"},{default:Xt(()=>[bt(o).isPlaying.value||bt(o).hasError.value?dr("",!0):(Qo(),nr("div",Ri,[...u[7]||(u[7]=[ar("svg",{viewBox:"0 0 24 24",fill:"currentColor"},[ar("path",{d:"M8 5v14l11-7z"})],-1)])]))]),_:1}),bt(o).hasError.value?(Qo(),nr("div",Di,[...u[8]||(u[8]=[ar("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[ar("circle",{cx:"12",cy:"12",r:"10"}),ar("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),ar("line",{x1:"9",y1:"9",x2:"15",y2:"15"})],-1),ar("p",null,"无法播放此视频",-1)])])):dr("",!0),cr(si,{cue:c.value,visible:a.value>=0},null,8,["cue","visible"]),cr(Ai,{"show-controls":h.value,"has-error":bt(o).hasError.value,"is-playing":bt(o).isPlaying.value,"is-muted":bt(o).isMuted.value,"current-time":bt(o).currentTime.value,duration:bt(o).duration.value,"played-percent":bt(o).playedPercent.value,"buffered-percent":bt(o).bufferedPercent.value,volume:bt(o).volume.value,"playback-rate":bt(o).playbackRate.value,"is-fullscreen":bt(r),"show-subtitle":!0,"show-pi-p":!0,"show-fullscreen":!0,"subtitle-tracks":i.value,"current-track-index":a.value,onTogglePlay:bt(o).togglePlay,onSeek:bt(o).seek,onProgressChange:P,onVolumeChange:M,onToggleMute:bt(o).toggleMute,onSpeedChange:L,onTogglePiP:C,onToggleFullscreen:bt(l),onTrackChange:p,onLoadSubtitle:d},null,8,["show-controls","has-error","is-playing","is-muted","current-time","duration","played-percent","buffered-percent","volume","playback-rate","is-fullscreen","subtitle-tracks","current-track-index","onTogglePlay","onSeek","onToggleMute","onToggleFullscreen"])],34))}}),[["__scopeId","data-v-cee7e86a"]]),Ni=["src"],Ui={class:"content"},Vi={class:"cover"},Bi={class:"title"},zi={class:"controls-wrapper"},Wi=Ys(pn({__name:"AudioPlayer",props:{url:{},name:{}},setup(e){const t=gt(),n=Qs(()=>t.value);function o(e){n.setPauseTimeUpdate(!0),n.seekToPercent(e),setTimeout(()=>n.setPauseTimeUpdate(!1),100)}function r(e){n.setVolume(e)}function l(e){n.setSpeed(e)}return Tn(()=>{n.autoPlay()}),(s,i)=>(Qo(),nr("div",{class:B(["player",{playing:bt(n).isPlaying.value}])},[i[8]||(i[8]=ar("div",{class:"bg-animation"},null,-1)),ar("audio",{ref_key:"audioRef",ref:t,src:e.url,preload:"metadata",onPlay:i[0]||(i[0]=(...e)=>bt(n).handlePlay&&bt(n).handlePlay(...e)),onPause:i[1]||(i[1]=(...e)=>bt(n).handlePause&&bt(n).handlePause(...e)),onTimeupdate:i[2]||(i[2]=(...e)=>bt(n).handleTimeUpdate&&bt(n).handleTimeUpdate(...e)),onLoadedmetadata:i[3]||(i[3]=(...e)=>bt(n).handleLoadedMetadata&&bt(n).handleLoadedMetadata(...e)),onCanplay:i[4]||(i[4]=(...e)=>bt(n).handleCanPlay&&bt(n).handleCanPlay(...e)),onWaiting:i[5]||(i[5]=(...e)=>bt(n).handleWaiting&&bt(n).handleWaiting(...e)),onError:i[6]||(i[6]=(...e)=>bt(n).handleError&&bt(n).handleError(...e))},null,40,Ni),ar("div",Ui,[ar("div",Vi,[cr(bt(Vs),{icon:"lucide:music-2"})]),ar("p",Bi,q(e.name),1),i[7]||(i[7]=ar("p",{class:"subtitle"},"音频文件",-1))]),ar("div",zi,[cr(Ai,{"show-controls":!0,"has-error":bt(n).hasError.value,"is-playing":bt(n).isPlaying.value,"is-muted":bt(n).isMuted.value,"current-time":bt(n).currentTime.value,duration:bt(n).duration.value,"played-percent":bt(n).playedPercent.value,"buffered-percent":bt(n).bufferedPercent.value,volume:bt(n).volume.value,"playback-rate":bt(n).playbackRate.value,"show-subtitle":!1,"show-pi-p":!1,"show-fullscreen":!1,onTogglePlay:bt(n).togglePlay,onSeek:bt(n).seek,onProgressChange:o,onVolumeChange:r,onToggleMute:bt(n).toggleMute,onSpeedChange:l},null,8,["has-error","is-playing","is-muted","current-time","duration","played-percent","buffered-percent","volume","playback-rate","onTogglePlay","onSeek","onToggleMute"])])],2))}}),[["__scopeId","data-v-690d605e"]]),Hi={key:0,class:"titlebar-content mac"},qi={class:"window-title"},Ki={key:1,class:"titlebar-content windows"},Xi={class:"window-title"},Yi={class:"window-controls"},Gi=["title"],Ji={key:0,class:"loading"},Qi={key:1,class:"error"},Zi={key:2,class:"media-container"};((...e)=>{const t=(Pl||(Pl=No(Tl))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;h(r)||r.render||r.template||(r.template=o.innerHTML),1===o.nodeType&&(o.textContent="");const l=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},t})(Ys(pn({__name:"App",setup(e){const t=gt("video"),n=gt(""),o=gt(""),r=gt(!0),l=gt(""),s=gt("darwin"),i=gt(!1),a=Or(()=>"darwin"===s.value),c=Or(()=>"win32"===s.value),u={image:Gs,video:$i,audio:Wi},f=Or(()=>u[t.value]);function d(){var e,t;null==(t=null==(e=window.electronAPI)?void 0:e.minimizeWindow)||t.call(e)}function p(){var e,t;null==(t=null==(e=window.electronAPI)?void 0:e.toggleMaximizeWindow)||t.call(e)}function h(){var e,t;null==(t=null==(e=window.electronAPI)?void 0:e.closeWindow)||t.call(e)}let v;return Tn(()=>{var e,a;const c=new URLSearchParams(window.location.search),u=c.get("type"),f=c.get("url"),d=c.get("name"),p=c.get("platform");if(document.documentElement.setAttribute("data-theme","dark"),!u||!f)return l.value="参数错误:缺少必要的媒体信息",void(r.value=!1);t.value=u,n.value=decodeURIComponent(f),o.value=d?decodeURIComponent(d):"未知文件",s.value=p||"darwin",r.value=!1,document.title=o.value,v=null==(a=null==(e=window.electronAPI)?void 0:e.onMaximizeChange)?void 0:a.call(e,e=>{i.value=e})}),Fn(()=>{null==v||v()}),(e,t)=>(Qo(),nr("div",{class:B(["app",{"platform-mac":a.value,"platform-windows":c.value}])},[ar("div",{class:B(["titlebar",{"titlebar-mac":a.value,"titlebar-windows":c.value}])},[a.value?(Qo(),nr("div",Hi,[ar("span",qi,q(o.value),1)])):(Qo(),nr("div",Ki,[ar("span",Xi,q(o.value),1),ar("div",Yi,[ar("button",{class:"control-btn minimize",onClick:d,title:"最小化"},[cr(bt(Vs),{icon:"lucide:minus"})]),ar("button",{class:"control-btn maximize",onClick:p,title:i.value?"还原":"最大化"},[cr(bt(Vs),{icon:i.value?"lucide:square":"lucide:maximize"},null,8,["icon"])],8,Gi),ar("button",{class:"control-btn close",onClick:h,title:"关闭"},[cr(bt(Vs),{icon:"lucide:x"})])])]))],2),r.value?(Qo(),nr("div",Ji,[...t[0]||(t[0]=[ar("div",{class:"spinner"},null,-1),ar("span",null,"加载中...",-1)])])):l.value?(Qo(),nr("div",Qi,[t[1]||(t[1]=ar("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[ar("circle",{cx:"12",cy:"12",r:"10"}),ar("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),ar("line",{x1:"9",y1:"9",x2:"15",y2:"15"})],-1)),ar("p",null,q(l.value),1)])):(Qo(),nr("div",Zi,[(Qo(),or(Dn(f.value),{url:n.value,name:o.value},null,8,["url","name"]))]))],2))}}),[["__scopeId","data-v-8f4a0312"]])).mount("#app");
|
package/dist/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
content="default-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: app: file:; media-src 'self' app: file:; connect-src 'self' https://api.iconify.design https://api.simplesvg.com https://api.unisvg.com;"
|
|
9
9
|
/>
|
|
10
10
|
<title>媒体预览</title>
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-CfbGvhZ7.js"></script>
|
|
12
12
|
<link rel="stylesheet" crossorigin href="./assets/style-6EciKsAU.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
package/dist/path.js
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { dirname, join } from "path";
|
|
3
|
-
import { fileURLToPath } from "url";
|
|
4
|
-
function getPreviewHtmlPath() {
|
|
5
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
6
|
-
return join(__dirname, "index.html");
|
|
7
|
-
}
|
|
8
|
-
function buildPreviewUrl(params) {
|
|
9
|
-
const searchParams = new URLSearchParams({
|
|
10
|
-
type: params.type,
|
|
11
|
-
url: encodeURIComponent(params.url),
|
|
12
|
-
name: encodeURIComponent(params.name)
|
|
13
|
-
});
|
|
14
|
-
return `file://${getPreviewHtmlPath()}?${searchParams.toString()}`;
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
buildPreviewUrl,
|
|
18
|
-
getPreviewHtmlPath
|
|
19
|
-
};
|
|
1
|
+
import{dirname as n,join as t}from"path";import{fileURLToPath as e}from"url";function o(){const o=n(e(import.meta.url));return t(o,"index.html")}function r(n){const t=new URLSearchParams({type:n.type,url:encodeURIComponent(n.url),name:encodeURIComponent(n.name)});return`file://${o()}?${t.toString()}`}export{r as buildPreviewUrl,o as getPreviewHtmlPath};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huyooo/file-explorer-preview",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.21",
|
|
4
4
|
"description": "Media preview window for File Explorer - supports image, video, and audio",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.html",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.0",
|
|
30
|
+
"terser": "^5.44.1",
|
|
30
31
|
"tsup": "^8.0.0",
|
|
31
32
|
"typescript": "^5.0.0",
|
|
32
33
|
"vite": "^6.0.0"
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"electron"
|
|
43
44
|
],
|
|
44
45
|
"author": "huyooo",
|
|
45
|
-
"license": "
|
|
46
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
46
47
|
"publishConfig": {
|
|
47
48
|
"access": "public"
|
|
48
49
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/**
|
|
2
|
-
* @vue/shared v3.5.25
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function Os(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},Rt=[],Ze=()=>{},Xo=()=>!1,Hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Rs=e=>e.startsWith("onUpdate:"),me=Object.assign,$s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Er=Object.prototype.hasOwnProperty,oe=(e,t)=>Er.call(e,t),q=Array.isArray,$t=e=>Bn(e)==="[object Map]",Jo=e=>Bn(e)==="[object Set]",G=e=>typeof e=="function",pe=e=>typeof e=="string",yt=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",Qo=e=>(ue(e)||G(e))&&G(e.then)&&G(e.catch),Zo=Object.prototype.toString,Bn=e=>Zo.call(e),kr=e=>Bn(e).slice(8,-1),ei=e=>Bn(e)==="[object Object]",Ds=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qt=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ir=/-\w/g,Be=Vn(e=>e.replace(Ir,t=>t.slice(1).toUpperCase())),Mr=/\B([A-Z])/g,Lt=Vn(e=>e.replace(Mr,"-$1").toLowerCase()),Un=Vn(e=>e.charAt(0).toUpperCase()+e.slice(1)),es=Vn(e=>e?`on${Un(e)}`:""),mt=(e,t)=>!Object.is(e,t),ts=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ti=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ar=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Lr=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let so;const Wn=()=>so||(so=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ve(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=pe(s)?$r(s):Ve(s);if(o)for(const i in o)t[i]=o[i]}return t}else if(pe(e)||ue(e))return e}const Fr=/;(?![^(]*\))/g,Or=/:([^]+)/,Rr=/\/\*[^]*?\*\//g;function $r(e){const t={};return e.replace(Rr,"").split(Fr).forEach(n=>{if(n){const s=n.split(Or);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ae(e){let t="";if(pe(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const s=Ae(e[n]);s&&(t+=s+" ")}else if(ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Dr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Nr=Os(Dr);function ni(e){return!!e||e===""}const si=e=>!!(e&&e.__v_isRef===!0),De=e=>pe(e)?e:e==null?"":q(e)||ue(e)&&(e.toString===Zo||!G(e.toString))?si(e)?De(e.value):JSON.stringify(e,oi,2):String(e),oi=(e,t)=>si(t)?oi(e,t.value):$t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],i)=>(n[ns(s,i)+" =>"]=o,n),{})}:Jo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ns(n))}:yt(t)?ns(t):ue(t)&&!q(t)&&!ei(t)?String(t):t,ns=(e,t="")=>{var n;return yt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.25
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let Me;class jr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Me;try{return Me=this,t()}finally{Me=n}}}on(){++this._on===1&&(this.prevScope=Me,Me=this)}off(){this._on>0&&--this._on===0&&(Me=this.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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Hr(){return Me}let ce;const ss=new WeakSet;class ii{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,Me&&Me.active&&Me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ss.has(this)&&(ss.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||li(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,oo(this),ci(this);const t=ce,n=Ue;ce=this,Ue=!0;try{return this.fn()}finally{ui(this),ce=t,Ue=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hs(t);this.deps=this.depsTail=void 0,oo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ss.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ms(this)&&this.run()}get dirty(){return ms(this)}}let ri=0,Zt,en;function li(e,t=!1){if(e.flags|=8,t){e.next=en,en=e;return}e.next=Zt,Zt=e}function Ns(){ri++}function js(){if(--ri>0)return;if(en){let t=en;for(en=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Zt;){let t=Zt;for(Zt=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 ci(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ui(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),Hs(s),Br(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function ms(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ai(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ai(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===rn)||(e.globalVersion=rn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ms(e))))return;e.flags|=2;const t=e.dep,n=ce,s=Ue;ce=e,Ue=!0;try{ci(e);const o=e.fn(e._value);(t.version===0||mt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ce=n,Ue=s,ui(e),e.flags&=-3}}function Hs(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Hs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Br(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ue=!0;const fi=[];function lt(){fi.push(Ue),Ue=!1}function ct(){const e=fi.pop();Ue=e===void 0?!0:e}function oo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let rn=0;class Vr{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 Bs{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(!ce||!Ue||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Vr(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,di(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=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=s)}return n}trigger(t){this.version++,rn++,this.notify(t)}notify(t){Ns();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{js()}}}function di(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)di(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const vs=new WeakMap,It=Symbol(""),ys=Symbol(""),ln=Symbol("");function _e(e,t,n){if(Ue&&ce){let s=vs.get(e);s||vs.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new Bs),o.map=s,o.key=n),o.track()}}function it(e,t,n,s,o,i){const r=vs.get(e);if(!r){rn++;return}const l=c=>{c&&c.trigger()};if(Ns(),t==="clear")r.forEach(l);else{const c=q(e),a=c&&Ds(n);if(c&&n==="length"){const u=Number(s);r.forEach((d,p)=>{(p==="length"||p===ln||!yt(p)&&p>=u)&&l(d)})}else switch((n!==void 0||r.has(void 0))&&l(r.get(n)),a&&l(r.get(ln)),t){case"add":c?a&&l(r.get("length")):(l(r.get(It)),$t(e)&&l(r.get(ys)));break;case"delete":c||(l(r.get(It)),$t(e)&&l(r.get(ys)));break;case"set":$t(e)&&l(r.get(It));break}}js()}function Ft(e){const t=te(e);return t===e?t:(_e(t,"iterate",ln),He(e)?t:t.map(We))}function zn(e){return _e(e=te(e),"iterate",ln),e}function ht(e,t){return ut(e)?Mt(e)?jt(We(t)):jt(t):We(t)}const Ur={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,e=>ht(this,e))},concat(...e){return Ft(this).concat(...e.map(t=>q(t)?Ft(t):t))},entries(){return os(this,"entries",e=>(e[1]=ht(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(s=>ht(this,s)),arguments)},find(e,t){return tt(this,"find",e,t,n=>ht(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>ht(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return is(this,"includes",e)},indexOf(...e){return is(this,"indexOf",e)},join(e){return Ft(this).join(e)},lastIndexOf(...e){return is(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Kt(this,"pop")},push(...e){return Kt(this,"push",e)},reduce(e,...t){return io(this,"reduce",e,t)},reduceRight(e,...t){return io(this,"reduceRight",e,t)},shift(){return Kt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Kt(this,"splice",e)},toReversed(){return Ft(this).toReversed()},toSorted(e){return Ft(this).toSorted(e)},toSpliced(...e){return Ft(this).toSpliced(...e)},unshift(...e){return Kt(this,"unshift",e)},values(){return os(this,"values",e=>ht(this,e))}};function os(e,t,n){const s=zn(e),o=s[t]();return s!==e&&!He(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=n(i.value)),i}),o}const Wr=Array.prototype;function tt(e,t,n,s,o,i){const r=zn(e),l=r!==e&&!He(e),c=r[t];if(c!==Wr[t]){const d=c.apply(e,i);return l?We(d):d}let a=n;r!==e&&(l?a=function(d,p){return n.call(this,ht(e,d),p,e)}:n.length>2&&(a=function(d,p){return n.call(this,d,p,e)}));const u=c.call(r,a,s);return l&&o?o(u):u}function io(e,t,n,s){const o=zn(e);let i=n;return o!==e&&(He(e)?n.length>3&&(i=function(r,l,c){return n.call(this,r,l,c,e)}):i=function(r,l,c){return n.call(this,r,ht(e,l),c,e)}),o[t](i,...s)}function is(e,t,n){const s=te(e);_e(s,"iterate",ln);const o=s[t](...n);return(o===-1||o===!1)&&zs(n[0])?(n[0]=te(n[0]),s[t](...n)):o}function Kt(e,t,n=[]){lt(),Ns();const s=te(e)[t].apply(e,n);return js(),ct(),s}const zr=Os("__proto__,__v_isRef,__isVue"),hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yt));function Kr(e){yt(e)||(e=String(e));const t=te(this);return _e(t,"has",e),t.hasOwnProperty(e)}class pi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(o?i?nl:yi:i?vi:mi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=q(t);if(!o){let c;if(r&&(c=Ur[n]))return c;if(n==="hasOwnProperty")return Kr}const l=Reflect.get(t,n,we(t)?t:s);if((yt(n)?hi.has(n):zr(n))||(o||_e(t,"get",n),i))return l;if(we(l)){const c=r&&Ds(n)?l:l.value;return o&&ue(c)?_s(c):c}return ue(l)?o?_s(l):Us(l):l}}class gi extends pi{constructor(t=!1){super(!1,t)}set(t,n,s,o){let i=t[n];const r=q(t)&&Ds(n);if(!this._isShallow){const a=ut(i);if(!He(s)&&!ut(s)&&(i=te(i),s=te(s)),!r&&we(i)&&!we(s))return a||(i.value=s),!0}const l=r?Number(n)<t.length:oe(t,n),c=Reflect.set(t,n,s,we(t)?t:o);return t===te(o)&&(l?mt(s,i)&&it(t,"set",n,s):it(t,"add",n,s)),c}deleteProperty(t,n){const s=oe(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&it(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!yt(n)||!hi.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",q(t)?"length":It),Reflect.ownKeys(t)}}class qr extends pi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Yr=new gi,Gr=new qr,Xr=new gi(!0);const bs=e=>e,bn=e=>Reflect.getPrototypeOf(e);function Jr(e,t,n){return function(...s){const o=this.__v_raw,i=te(o),r=$t(i),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,a=o[e](...s),u=n?bs:t?jt:We;return!t&&_e(i,"iterate",c?ys:It),{next(){const{value:d,done:p}=a.next();return p?{value:d,done:p}:{value:l?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function _n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qr(e,t){const n={get(o){const i=this.__v_raw,r=te(i),l=te(o);e||(mt(o,l)&&_e(r,"get",o),_e(r,"get",l));const{has:c}=bn(r),a=t?bs:e?jt:We;if(c.call(r,o))return a(i.get(o));if(c.call(r,l))return a(i.get(l));i!==r&&i.get(o)},get size(){const o=this.__v_raw;return!e&&_e(te(o),"iterate",It),o.size},has(o){const i=this.__v_raw,r=te(i),l=te(o);return e||(mt(o,l)&&_e(r,"has",o),_e(r,"has",l)),o===l?i.has(o):i.has(o)||i.has(l)},forEach(o,i){const r=this,l=r.__v_raw,c=te(l),a=t?bs:e?jt:We;return!e&&_e(c,"iterate",It),l.forEach((u,d)=>o.call(i,a(u),a(d),r))}};return me(n,e?{add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear")}:{add(o){!t&&!He(o)&&!ut(o)&&(o=te(o));const i=te(this);return bn(i).has.call(i,o)||(i.add(o),it(i,"add",o,o)),this},set(o,i){!t&&!He(i)&&!ut(i)&&(i=te(i));const r=te(this),{has:l,get:c}=bn(r);let a=l.call(r,o);a||(o=te(o),a=l.call(r,o));const u=c.call(r,o);return r.set(o,i),a?mt(i,u)&&it(r,"set",o,i):it(r,"add",o,i),this},delete(o){const i=te(this),{has:r,get:l}=bn(i);let c=r.call(i,o);c||(o=te(o),c=r.call(i,o)),l&&l.call(i,o);const a=i.delete(o);return c&&it(i,"delete",o,void 0),a},clear(){const o=te(this),i=o.size!==0,r=o.clear();return i&&it(o,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Jr(o,e,t)}),n}function Vs(e,t){const n=Qr(e,t);return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(oe(n,o)&&o in s?n:s,o,i)}const Zr={get:Vs(!1,!1)},el={get:Vs(!1,!0)},tl={get:Vs(!0,!1)};const mi=new WeakMap,vi=new WeakMap,yi=new WeakMap,nl=new WeakMap;function sl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ol(e){return e.__v_skip||!Object.isExtensible(e)?0:sl(kr(e))}function Us(e){return ut(e)?e:Ws(e,!1,Yr,Zr,mi)}function il(e){return Ws(e,!1,Xr,el,vi)}function _s(e){return Ws(e,!0,Gr,tl,yi)}function Ws(e,t,n,s,o){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=ol(e);if(i===0)return e;const r=o.get(e);if(r)return r;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Mt(e){return ut(e)?Mt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function zs(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function rl(e){return!oe(e,"__v_skip")&&Object.isExtensible(e)&&ti(e,"__v_skip",!0),e}const We=e=>ue(e)?Us(e):e,jt=e=>ue(e)?_s(e):e;function we(e){return e?e.__v_isRef===!0:!1}function z(e){return bi(e,!1)}function ll(e){return bi(e,!0)}function bi(e,t){return we(e)?e:new cl(e,t)}class cl{constructor(t,n){this.dep=new Bs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:We(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||He(t)||ut(t);t=s?t:te(t),mt(t,n)&&(this._rawValue=t,this._value=s?t:We(t),this.dep.trigger())}}function C(e){return we(e)?e.value:e}const ul={get:(e,t,n)=>t==="__v_raw"?e:C(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return we(o)&&!we(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function _i(e){return Mt(e)?e:new Proxy(e,ul)}class al{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Bs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return li(this,!0),!0}get value(){const t=this.dep.track();return ai(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fl(e,t,n=!1){let s,o;return G(e)?s=e:(s=e.get,o=e.set),new al(s,o,n)}const xn={},In=new WeakMap;let Et;function dl(e,t=!1,n=Et){if(n){let s=In.get(n);s||In.set(n,s=[]),s.push(e)}}function hl(e,t,n=le){const{immediate:s,deep:o,once:i,scheduler:r,augmentJob:l,call:c}=n,a=A=>o?A:He(A)||o===!1||o===0?rt(A,1):rt(A);let u,d,p,v,T=!1,S=!1;if(we(e)?(d=()=>e.value,T=He(e)):Mt(e)?(d=()=>a(e),T=!0):q(e)?(S=!0,T=e.some(A=>Mt(A)||He(A)),d=()=>e.map(A=>{if(we(A))return A.value;if(Mt(A))return a(A);if(G(A))return c?c(A,2):A()})):G(e)?t?d=c?()=>c(e,2):e:d=()=>{if(p){lt();try{p()}finally{ct()}}const A=Et;Et=u;try{return c?c(e,3,[v]):e(v)}finally{Et=A}}:d=Ze,t&&o){const A=d,W=o===!0?1/0:o;d=()=>rt(A(),W)}const m=Hr(),I=()=>{u.stop(),m&&m.active&&$s(m.effects,u)};if(i&&t){const A=t;t=(...W)=>{A(...W),I()}}let j=S?new Array(e.length).fill(xn):xn;const H=A=>{if(!(!(u.flags&1)||!u.dirty&&!A))if(t){const W=u.run();if(o||T||(S?W.some(($,J)=>mt($,j[J])):mt(W,j))){p&&p();const $=Et;Et=u;try{const J=[W,j===xn?void 0:S&&j[0]===xn?[]:j,v];j=W,c?c(t,3,J):t(...J)}finally{Et=$}}}else u.run()};return l&&l(H),u=new ii(d),u.scheduler=r?()=>r(H,!1):H,v=A=>dl(A,!1,u),p=u.onStop=()=>{const A=In.get(u);if(A){if(c)c(A,4);else for(const W of A)W();In.delete(u)}},t?s?H(!0):j=u.run():r?r(H.bind(null,!0),!0):u.run(),I.pause=u.pause.bind(u),I.resume=u.resume.bind(u),I.stop=I,I}function rt(e,t=1/0,n){if(t<=0||!ue(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,we(e))rt(e.value,t,n);else if(q(e))for(let s=0;s<e.length;s++)rt(e[s],t,n);else if(Jo(e)||$t(e))e.forEach(s=>{rt(s,t,n)});else if(ei(e)){for(const s in e)rt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&rt(e[s],t,n)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.25
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function gn(e,t,n,s){try{return s?e(...s):e()}catch(o){Kn(o,t,n)}}function ze(e,t,n,s){if(G(e)){const o=gn(e,t,n,s);return o&&Qo(o)&&o.catch(i=>{Kn(i,t,n)}),o}if(q(e)){const o=[];for(let i=0;i<e.length;i++)o.push(ze(e[i],t,n,s));return o}}function Kn(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||le;if(t){let l=t.parent;const c=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,c,a)===!1)return}l=l.parent}if(i){lt(),gn(i,null,10,[e,c,a]),ct();return}}pl(e,n,o,s,r)}function pl(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const Se=[];let Je=-1;const Dt=[];let pt=null,Ot=0;const xi=Promise.resolve();let Mn=null;function wi(e){const t=Mn||xi;return e?t.then(this?e.bind(this):e):t}function gl(e){let t=Je+1,n=Se.length;for(;t<n;){const s=t+n>>>1,o=Se[s],i=cn(o);i<e||i===e&&o.flags&2?t=s+1:n=s}return t}function Ks(e){if(!(e.flags&1)){const t=cn(e),n=Se[Se.length-1];!n||!(e.flags&2)&&t>=cn(n)?Se.push(e):Se.splice(gl(t),0,e),e.flags|=1,Ci()}}function Ci(){Mn||(Mn=xi.then(Si))}function ml(e){q(e)?Dt.push(...e):pt&&e.id===-1?pt.splice(Ot+1,0,e):e.flags&1||(Dt.push(e),e.flags|=1),Ci()}function ro(e,t,n=Je+1){for(;n<Se.length;n++){const s=Se[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Se.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ti(e){if(Dt.length){const t=[...new Set(Dt)].sort((n,s)=>cn(n)-cn(s));if(Dt.length=0,pt){pt.push(...t);return}for(pt=t,Ot=0;Ot<pt.length;Ot++){const n=pt[Ot];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pt=null,Ot=0}}const cn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Si(e){try{for(Je=0;Je<Se.length;Je++){const t=Se[Je];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),gn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Je<Se.length;Je++){const t=Se[Je];t&&(t.flags&=-2)}Je=-1,Se.length=0,Ti(),Mn=null,(Se.length||Dt.length)&&Si()}}let Re=null,Pi=null;function An(e){const t=Re;return Re=e,Pi=e&&e.type.__scopeId||null,t}function Vt(e,t=Re,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&On(-1);const i=An(t);let r;try{r=e(...o)}finally{An(i),s._d&&On(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function Ei(e,t){if(Re===null)return e;const n=Jn(Re),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,r,l,c=le]=t[o];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&rt(r),s.push({dir:i,instance:n,value:r,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ct(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const l=o[r];i&&(l.oldValue=i[r].value);let c=l.dir[s];c&&(lt(),ze(c,n,8,[e.el,l,e,t]),ct())}}const vl=Symbol("_vte"),ki=e=>e.__isTeleport,ot=Symbol("_leaveCb"),wn=Symbol("_enterCb");function yl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qe(()=>{e.isMounted=!0}),$i(()=>{e.isUnmounting=!0}),e}const Ne=[Function,Array],Ii={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ne,onEnter:Ne,onAfterEnter:Ne,onEnterCancelled:Ne,onBeforeLeave:Ne,onLeave:Ne,onAfterLeave:Ne,onLeaveCancelled:Ne,onBeforeAppear:Ne,onAppear:Ne,onAfterAppear:Ne,onAppearCancelled:Ne},Mi=e=>{const t=e.subTree;return t.component?Mi(t.component):t},bl={name:"BaseTransition",props:Ii,setup(e,{slots:t}){const n=or(),s=yl();return()=>{const o=t.default&&Fi(t.default(),!0);if(!o||!o.length)return;const i=Ai(o),r=te(e),{mode:l}=r;if(s.isLeaving)return rs(i);const c=lo(i);if(!c)return rs(i);let a=xs(c,r,s,n,d=>a=d);c.type!==Ee&&un(c,a);let u=n.subTree&&lo(n.subTree);if(u&&u.type!==Ee&&!kt(u,c)&&Mi(n).type!==Ee){let d=xs(u,r,s,n);if(un(u,d),l==="out-in"&&c.type!==Ee)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},rs(i);l==="in-out"&&c.type!==Ee?d.delayLeave=(p,v,T)=>{const S=Li(s,u);S[String(u.key)]=u,p[ot]=()=>{v(),p[ot]=void 0,delete a.delayedLeave,u=void 0},a.delayedLeave=()=>{T(),delete a.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function Ai(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ee){t=n;break}}return t}const _l=bl;function Li(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function xs(e,t,n,s,o){const{appear:i,mode:r,persisted:l=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:v,onAfterLeave:T,onLeaveCancelled:S,onBeforeAppear:m,onAppear:I,onAfterAppear:j,onAppearCancelled:H}=t,A=String(e.key),W=Li(n,e),$=(V,K)=>{V&&ze(V,s,9,K)},J=(V,K)=>{const se=K[1];$(V,K),q(V)?V.every(O=>O.length<=1)&&se():V.length<=1&&se()},ne={mode:r,persisted:l,beforeEnter(V){let K=c;if(!n.isMounted)if(i)K=m||c;else return;V[ot]&&V[ot](!0);const se=W[A];se&&kt(e,se)&&se.el[ot]&&se.el[ot](),$(K,[V])},enter(V){let K=a,se=u,O=d;if(!n.isMounted)if(i)K=I||a,se=j||u,O=H||d;else return;let Q=!1;const ae=V[wn]=he=>{Q||(Q=!0,he?$(O,[V]):$(se,[V]),ne.delayedLeave&&ne.delayedLeave(),V[wn]=void 0)};K?J(K,[V,ae]):ae()},leave(V,K){const se=String(e.key);if(V[wn]&&V[wn](!0),n.isUnmounting)return K();$(p,[V]);let O=!1;const Q=V[ot]=ae=>{O||(O=!0,K(),ae?$(S,[V]):$(T,[V]),V[ot]=void 0,W[se]===e&&delete W[se])};W[se]=e,v?J(v,[V,Q]):Q()},clone(V){const K=xs(V,t,n,s,o);return o&&o(K),K}};return ne}function rs(e){if(qn(e))return e=vt(e),e.children=null,e}function lo(e){if(!qn(e))return ki(e.type)&&e.children?Ai(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&G(n.default))return n.default()}}function un(e,t){e.shapeFlag&6&&e.component?(e.transition=t,un(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 Fi(e,t=!1,n){let s=[],o=0;for(let i=0;i<e.length;i++){let r=e[i];const l=n==null?r.key:String(n)+String(r.key!=null?r.key:i);r.type===je?(r.patchFlag&128&&o++,s=s.concat(Fi(r.children,t,l))):(t||r.type!==Ee)&&s.push(l!=null?vt(r,{key:l}):r)}if(o>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function Ke(e,t){return G(e)?me({name:e.name},t,{setup:e}):e}function Oi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ln=new WeakMap;function tn(e,t,n,s,o=!1){if(q(e)){e.forEach((T,S)=>tn(T,t&&(q(t)?t[S]:t),n,s,o));return}if(nn(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&tn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Jn(s.component):s.el,r=o?null:i,{i:l,r:c}=e,a=t&&t.r,u=l.refs===le?l.refs={}:l.refs,d=l.setupState,p=te(d),v=d===le?Xo:T=>oe(p,T);if(a!=null&&a!==c){if(co(t),pe(a))u[a]=null,v(a)&&(d[a]=null);else if(we(a)){a.value=null;const T=t;T.k&&(u[T.k]=null)}}if(G(c))gn(c,l,12,[r,u]);else{const T=pe(c),S=we(c);if(T||S){const m=()=>{if(e.f){const I=T?v(c)?d[c]:u[c]:c.value;if(o)q(I)&&$s(I,i);else if(q(I))I.includes(i)||I.push(i);else if(T)u[c]=[i],v(c)&&(d[c]=u[c]);else{const j=[i];c.value=j,e.k&&(u[e.k]=j)}}else T?(u[c]=r,v(c)&&(d[c]=r)):S&&(c.value=r,e.k&&(u[e.k]=r))};if(r){const I=()=>{m(),Ln.delete(e)};I.id=-1,Ln.set(e,I),Oe(I,n)}else co(e),m()}}}function co(e){const t=Ln.get(e);t&&(t.flags|=8,Ln.delete(e))}Wn().requestIdleCallback;Wn().cancelIdleCallback;const nn=e=>!!e.type.__asyncLoader,qn=e=>e.type.__isKeepAlive;function xl(e,t){Ri(e,"a",t)}function wl(e,t){Ri(e,"da",t)}function Ri(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Yn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)qn(o.parent.vnode)&&Cl(s,t,n,o),o=o.parent}}function Cl(e,t,n,s){const o=Yn(t,e,s,!0);Ye(()=>{$s(s[t],o)},n)}function Yn(e,t,n=xe,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{lt();const l=mn(n),c=ze(t,n,e,r);return l(),ct(),c});return s?o.unshift(i):o.push(i),i}}const at=e=>(t,n=xe)=>{(!fn||e==="sp")&&Yn(e,(...s)=>t(...s),n)},Tl=at("bm"),qe=at("m"),Sl=at("bu"),Pl=at("u"),$i=at("bum"),Ye=at("um"),El=at("sp"),kl=at("rtg"),Il=at("rtc");function Ml(e,t=xe){Yn("ec",e,t)}const Al="components",Di=Symbol.for("v-ndc");function Ll(e){return pe(e)?Fl(Al,e,!1)||e:e||Di}function Fl(e,t,n=!0,s=!1){const o=Re||xe;if(o){const i=o.type;{const l=wc(i,!1);if(l&&(l===t||l===Be(t)||l===Un(Be(t))))return i}const r=uo(o[e]||i[e],t)||uo(o.appContext[e],t);return!r&&s?i:r}}function uo(e,t){return e&&(e[t]||e[Be(t)]||e[Un(Be(t))])}function Ni(e,t,n,s){let o;const i=n,r=q(e);if(r||pe(e)){const l=r&&Mt(e);let c=!1,a=!1;l&&(c=!He(e),a=ut(e),e=zn(e)),o=new Array(e.length);for(let u=0,d=e.length;u<d;u++)o[u]=t(c?a?jt(We(e[u])):We(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,i)}else if(ue(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,a=l.length;c<a;c++){const u=l[c];o[c]=t(e[u],u,c,i)}}else o=[];return o}const ws=e=>e?ir(e)?Jn(e):ws(e.parent):null,sn=me(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=>ws(e.parent),$root:e=>ws(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Hi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ks(e.update)}),$nextTick:e=>e.n||(e.n=wi.bind(e.proxy)),$watch:e=>zl.bind(e)}),ls=(e,t)=>e!==le&&!e.__isScriptSetup&&oe(e,t),Ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:c}=e;if(t[0]!=="$"){const p=r[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(ls(s,t))return r[t]=1,s[t];if(o!==le&&oe(o,t))return r[t]=2,o[t];if(oe(i,t))return r[t]=3,i[t];if(n!==le&&oe(n,t))return r[t]=4,n[t];Cs&&(r[t]=0)}}const a=sn[t];let u,d;if(a)return t==="$attrs"&&_e(e.attrs,"get",""),a(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==le&&oe(n,t))return r[t]=4,n[t];if(d=c.config.globalProperties,oe(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return ls(o,t)?(o[t]=n,!0):s!==le&&oe(s,t)?(s[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:i,type:r}},l){let c;return!!(n[l]||e!==le&&l[0]!=="$"&&oe(e,l)||ls(t,l)||oe(i,l)||oe(s,l)||oe(sn,l)||oe(o.config.globalProperties,l)||(c=r.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ao(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Cs=!0;function Rl(e){const t=Hi(e),n=e.proxy,s=e.ctx;Cs=!1,t.beforeCreate&&fo(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:p,beforeUpdate:v,updated:T,activated:S,deactivated:m,beforeDestroy:I,beforeUnmount:j,destroyed:H,unmounted:A,render:W,renderTracked:$,renderTriggered:J,errorCaptured:ne,serverPrefetch:V,expose:K,inheritAttrs:se,components:O,directives:Q,filters:ae}=t;if(a&&$l(a,s,null),r)for(const N in r){const U=r[N];G(U)&&(s[N]=U.bind(n))}if(o){const N=o.call(n,n);ue(N)&&(e.data=Us(N))}if(Cs=!0,i)for(const N in i){const U=i[N],R=G(U)?U.bind(n,n):G(U.get)?U.get.bind(n,n):Ze,fe=!G(U)&&G(U.set)?U.set.bind(n):Ze,ve=ge({get:R,set:fe});Object.defineProperty(s,N,{enumerable:!0,configurable:!0,get:()=>ve.value,set:Ce=>ve.value=Ce})}if(l)for(const N in l)ji(l[N],s,n,N);if(c){const N=G(c)?c.call(n):c;Reflect.ownKeys(N).forEach(U=>{Vl(U,N[U])})}u&&fo(u,e,"c");function D(N,U){q(U)?U.forEach(R=>N(R.bind(n))):U&&N(U.bind(n))}if(D(Tl,d),D(qe,p),D(Sl,v),D(Pl,T),D(xl,S),D(wl,m),D(Ml,ne),D(Il,$),D(kl,J),D($i,j),D(Ye,A),D(El,V),q(K))if(K.length){const N=e.exposed||(e.exposed={});K.forEach(U=>{Object.defineProperty(N,U,{get:()=>n[U],set:R=>n[U]=R,enumerable:!0})})}else e.exposed||(e.exposed={});W&&e.render===Ze&&(e.render=W),se!=null&&(e.inheritAttrs=se),O&&(e.components=O),Q&&(e.directives=Q),V&&Oi(e)}function $l(e,t,n=Ze){q(e)&&(e=Ts(e));for(const s in e){const o=e[s];let i;ue(o)?"default"in o?i=Cn(o.from||s,o.default,!0):i=Cn(o.from||s):i=Cn(o),we(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i}}function fo(e,t,n){ze(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ji(e,t,n,s){let o=s.includes(".")?Ui(n,s):()=>n[s];if(pe(e)){const i=t[e];G(i)&&At(o,i)}else if(G(e))At(o,e.bind(n));else if(ue(e))if(q(e))e.forEach(i=>ji(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&At(o,i,e)}}function Hi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(a=>Fn(c,a,r,!0)),Fn(c,t,r)),ue(t)&&i.set(t,c),c}function Fn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Fn(e,i,n,!0),o&&o.forEach(r=>Fn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=Dl[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Dl={data:ho,props:po,emits:po,methods:Jt,computed:Jt,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:Jt,directives:Jt,watch:jl,provide:ho,inject:Nl};function ho(e,t){return t?e?function(){return me(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Nl(e,t){return Jt(Ts(e),Ts(t))}function Ts(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Te(e,t){return e?[...new Set([].concat(e,t))]:t}function Jt(e,t){return e?me(Object.create(null),e,t):t}function po(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:me(Object.create(null),ao(e),ao(t??{})):t}function jl(e,t){if(!e)return t;if(!t)return e;const n=me(Object.create(null),e);for(const s in t)n[s]=Te(e[s],t[s]);return n}function Bi(){return{app:null,config:{isNativeTag:Xo,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 Hl=0;function Bl(e,t){return function(s,o=null){G(s)||(s=me({},s)),o!=null&&!ue(o)&&(o=null);const i=Bi(),r=new WeakSet,l=[];let c=!1;const a=i.app={_uid:Hl++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:Tc,get config(){return i.config},set config(u){},use(u,...d){return r.has(u)||(u&&G(u.install)?(r.add(u),u.install(a,...d)):G(u)&&(r.add(u),u(a,...d))),a},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),a},component(u,d){return d?(i.components[u]=d,a):i.components[u]},directive(u,d){return d?(i.directives[u]=d,a):i.directives[u]},mount(u,d,p){if(!c){const v=a._ceVNode||Z(s,o);return v.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(v,u,p),c=!0,a._container=u,u.__vue_app__=a,Jn(v.component)}},onUnmount(u){l.push(u)},unmount(){c&&(ze(l,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(u,d){return i.provides[u]=d,a},runWithContext(u){const d=Nt;Nt=a;try{return u()}finally{Nt=d}}};return a}}let Nt=null;function Vl(e,t){if(xe){let n=xe.provides;const s=xe.parent&&xe.parent.provides;s===n&&(n=xe.provides=Object.create(s)),n[e]=t}}function Cn(e,t,n=!1){const s=or();if(s||Nt){let o=Nt?Nt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}const Ul=Symbol.for("v-scx"),Wl=()=>Cn(Ul);function At(e,t,n){return Vi(e,t,n)}function Vi(e,t,n=le){const{immediate:s,deep:o,flush:i,once:r}=n,l=me({},n),c=t&&s||!t&&i!=="post";let a;if(fn){if(i==="sync"){const v=Wl();a=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=Ze,v.resume=Ze,v.pause=Ze,v}}const u=xe;l.call=(v,T,S)=>ze(v,u,T,S);let d=!1;i==="post"?l.scheduler=v=>{Oe(v,u&&u.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(v,T)=>{T?v():Ks(v)}),l.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const p=hl(e,t,l);return fn&&(a?a.push(p):c&&p()),p}function zl(e,t,n){const s=this.proxy,o=pe(e)?e.includes(".")?Ui(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const r=mn(this),l=Vi(o,i.bind(s),n);return r(),l}function Ui(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const Kl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Be(t)}Modifiers`]||e[`${Lt(t)}Modifiers`];function ql(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||le;let o=n;const i=t.startsWith("update:"),r=i&&Kl(s,t.slice(7));r&&(r.trim&&(o=n.map(u=>pe(u)?u.trim():u)),r.number&&(o=n.map(Ar)));let l,c=s[l=es(t)]||s[l=es(Be(t))];!c&&i&&(c=s[l=es(Lt(t))]),c&&ze(c,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(a,e,6,o)}}const Yl=new WeakMap;function Wi(e,t,n=!1){const s=n?Yl:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!G(e)){const c=a=>{const u=Wi(a,t,!0);u&&(l=!0,me(r,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ue(e)&&s.set(e,null),null):(q(i)?i.forEach(c=>r[c]=null):me(r,i),ue(e)&&s.set(e,r),r)}function Gn(e,t){return!e||!Hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,Lt(t))||oe(e,t))}function go(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[i],slots:r,attrs:l,emit:c,render:a,renderCache:u,props:d,data:p,setupState:v,ctx:T,inheritAttrs:S}=e,m=An(e);let I,j;try{if(n.shapeFlag&4){const A=o||s,W=A;I=Qe(a.call(W,A,u,d,v,p,T)),j=l}else{const A=t;I=Qe(A.length>1?A(d,{attrs:l,slots:r,emit:c}):A(d,null)),j=t.props?l:Gl(l)}}catch(A){on.length=0,Kn(A,e,1),I=Z(Ee)}let H=I;if(j&&S!==!1){const A=Object.keys(j),{shapeFlag:W}=H;A.length&&W&7&&(i&&A.some(Rs)&&(j=Xl(j,i)),H=vt(H,j,!1,!0))}return n.dirs&&(H=vt(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&un(H,n.transition),I=H,An(m),I}const Gl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Hn(n))&&((t||(t={}))[n]=e[n]);return t},Xl=(e,t)=>{const n={};for(const s in e)(!Rs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Jl(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?mo(s,r,a):!!r;if(c&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(r[p]!==s[p]&&!Gn(a,p))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===r?!1:s?r?mo(s,r,a):!0:!!r;return!1}function mo(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const i=s[o];if(t[i]!==e[i]&&!Gn(n,i))return!0}return!1}function Ql({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const zi={},Ki=()=>Object.create(zi),qi=e=>Object.getPrototypeOf(e)===zi;function Zl(e,t,n,s=!1){const o={},i=Ki();e.propsDefaults=Object.create(null),Yi(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:il(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function ec(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,l=te(o),[c]=e.propsOptions;let a=!1;if((s||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(Gn(e.emitsOptions,p))continue;const v=t[p];if(c)if(oe(i,p))v!==i[p]&&(i[p]=v,a=!0);else{const T=Be(p);o[T]=Ss(c,l,T,v,e,!1)}else v!==i[p]&&(i[p]=v,a=!0)}}}else{Yi(e,t,o,i)&&(a=!0);let u;for(const d in l)(!t||!oe(t,d)&&((u=Lt(d))===d||!oe(t,u)))&&(c?n&&(n[d]!==void 0||n[u]!==void 0)&&(o[d]=Ss(c,l,d,void 0,e,!0)):delete o[d]);if(i!==l)for(const d in i)(!t||!oe(t,d))&&(delete i[d],a=!0)}a&&it(e.attrs,"set","")}function Yi(e,t,n,s){const[o,i]=e.propsOptions;let r=!1,l;if(t)for(let c in t){if(Qt(c))continue;const a=t[c];let u;o&&oe(o,u=Be(c))?!i||!i.includes(u)?n[u]=a:(l||(l={}))[u]=a:Gn(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,r=!0)}if(i){const c=te(n),a=l||le;for(let u=0;u<i.length;u++){const d=i[u];n[d]=Ss(o,c,d,a[d],e,!oe(a,d))}}return r}function Ss(e,t,n,s,o,i){const r=e[n];if(r!=null){const l=oe(r,"default");if(l&&s===void 0){const c=r.default;if(r.type!==Function&&!r.skipFactory&&G(c)){const{propsDefaults:a}=o;if(n in a)s=a[n];else{const u=mn(o);s=a[n]=c.call(null,t),u()}}else s=c;o.ce&&o.ce._setProp(n,s)}r[0]&&(i&&!l?s=!1:r[1]&&(s===""||s===Lt(n))&&(s=!0))}return s}const tc=new WeakMap;function Gi(e,t,n=!1){const s=n?tc:t.propsCache,o=s.get(e);if(o)return o;const i=e.props,r={},l=[];let c=!1;if(!G(e)){const u=d=>{c=!0;const[p,v]=Gi(d,t,!0);me(r,p),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return ue(e)&&s.set(e,Rt),Rt;if(q(i))for(let u=0;u<i.length;u++){const d=Be(i[u]);vo(d)&&(r[d]=le)}else if(i)for(const u in i){const d=Be(u);if(vo(d)){const p=i[u],v=r[d]=q(p)||G(p)?{type:p}:me({},p),T=v.type;let S=!1,m=!0;if(q(T))for(let I=0;I<T.length;++I){const j=T[I],H=G(j)&&j.name;if(H==="Boolean"){S=!0;break}else H==="String"&&(m=!1)}else S=G(T)&&T.name==="Boolean";v[0]=S,v[1]=m,(S||oe(v,"default"))&&l.push(d)}}const a=[r,l];return ue(e)&&s.set(e,a),a}function vo(e){return e[0]!=="$"&&!Qt(e)}const qs=e=>e==="_"||e==="_ctx"||e==="$stable",Ys=e=>q(e)?e.map(Qe):[Qe(e)],nc=(e,t,n)=>{if(t._n)return t;const s=Vt((...o)=>Ys(t(...o)),n);return s._c=!1,s},Xi=(e,t,n)=>{const s=e._ctx;for(const o in e){if(qs(o))continue;const i=e[o];if(G(i))t[o]=nc(o,i,s);else if(i!=null){const r=Ys(i);t[o]=()=>r}}},Ji=(e,t)=>{const n=Ys(t);e.slots.default=()=>n},Qi=(e,t,n)=>{for(const s in t)(n||!qs(s))&&(e[s]=t[s])},sc=(e,t,n)=>{const s=e.slots=Ki();if(e.vnode.shapeFlag&32){const o=t._;o?(Qi(s,t,n),n&&ti(s,"_",o,!0)):Xi(t,s)}else t&&Ji(e,t)},oc=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=le;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Qi(o,t,n):(i=!t.$stable,Xi(t,o)),r=t}else t&&(Ji(e,t),r={default:1});if(i)for(const l in o)!qs(l)&&r[l]==null&&delete o[l]},Oe=uc;function ic(e){return rc(e)}function rc(e,t){const n=Wn();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:p,setScopeId:v=Ze,insertStaticContent:T}=e,S=(f,h,g,w=null,y=null,b=null,M=void 0,k=null,P=!!h.dynamicChildren)=>{if(f===h)return;f&&!kt(f,h)&&(w=_t(f),Ce(f,y,b,!0),f=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:x,ref:B,shapeFlag:L}=h;switch(x){case Xn:m(f,h,g,w);break;case Ee:I(f,h,g,w);break;case us:f==null&&j(h,g,w,M);break;case je:O(f,h,g,w,y,b,M,k,P);break;default:L&1?W(f,h,g,w,y,b,M,k,P):L&6?Q(f,h,g,w,y,b,M,k,P):(L&64||L&128)&&x.process(f,h,g,w,y,b,M,k,P,wt)}B!=null&&y?tn(B,f&&f.ref,b,h||f,!h):B==null&&f&&f.ref!=null&&tn(f.ref,null,b,f,!0)},m=(f,h,g,w)=>{if(f==null)s(h.el=l(h.children),g,w);else{const y=h.el=f.el;h.children!==f.children&&a(y,h.children)}},I=(f,h,g,w)=>{f==null?s(h.el=c(h.children||""),g,w):h.el=f.el},j=(f,h,g,w)=>{[f.el,f.anchor]=T(f.children,h,g,w,f.el,f.anchor)},H=({el:f,anchor:h},g,w)=>{let y;for(;f&&f!==h;)y=p(f),s(f,g,w),f=y;s(h,g,w)},A=({el:f,anchor:h})=>{let g;for(;f&&f!==h;)g=p(f),o(f),f=g;o(h)},W=(f,h,g,w,y,b,M,k,P)=>{if(h.type==="svg"?M="svg":h.type==="math"&&(M="mathml"),f==null)$(h,g,w,y,b,M,k,P);else{const x=f.el&&f.el._isVueCE?f.el:null;try{x&&x._beginPatch(),V(f,h,y,b,M,k,P)}finally{x&&x._endPatch()}}},$=(f,h,g,w,y,b,M,k)=>{let P,x;const{props:B,shapeFlag:L,transition:_,dirs:F}=f;if(P=f.el=r(f.type,b,B&&B.is,B),L&8?u(P,f.children):L&16&&ne(f.children,P,null,w,y,cs(f,b),M,k),F&&Ct(f,null,w,"created"),J(P,f,f.scopeId,M,w),B){for(const re in B)re!=="value"&&!Qt(re)&&i(P,re,null,B[re],b,w);"value"in B&&i(P,"value",null,B.value,b),(x=B.onVnodeBeforeMount)&&Xe(x,w,f)}F&&Ct(f,null,w,"beforeMount");const X=lc(y,_);X&&_.beforeEnter(P),s(P,h,g),((x=B&&B.onVnodeMounted)||X||F)&&Oe(()=>{x&&Xe(x,w,f),X&&_.enter(P),F&&Ct(f,null,w,"mounted")},y)},J=(f,h,g,w,y)=>{if(g&&v(f,g),w)for(let b=0;b<w.length;b++)v(f,w[b]);if(y){let b=y.subTree;if(h===b||tr(b.type)&&(b.ssContent===h||b.ssFallback===h)){const M=y.vnode;J(f,M,M.scopeId,M.slotScopeIds,y.parent)}}},ne=(f,h,g,w,y,b,M,k,P=0)=>{for(let x=P;x<f.length;x++){const B=f[x]=k?gt(f[x]):Qe(f[x]);S(null,B,h,g,w,y,b,M,k)}},V=(f,h,g,w,y,b,M)=>{const k=h.el=f.el;let{patchFlag:P,dynamicChildren:x,dirs:B}=h;P|=f.patchFlag&16;const L=f.props||le,_=h.props||le;let F;if(g&&Tt(g,!1),(F=_.onVnodeBeforeUpdate)&&Xe(F,g,h,f),B&&Ct(h,f,g,"beforeUpdate"),g&&Tt(g,!0),(L.innerHTML&&_.innerHTML==null||L.textContent&&_.textContent==null)&&u(k,""),x?K(f.dynamicChildren,x,k,g,w,cs(h,y),b):M||U(f,h,k,null,g,w,cs(h,y),b,!1),P>0){if(P&16)se(k,L,_,g,y);else if(P&2&&L.class!==_.class&&i(k,"class",null,_.class,y),P&4&&i(k,"style",L.style,_.style,y),P&8){const X=h.dynamicProps;for(let re=0;re<X.length;re++){const ee=X[re],ye=L[ee],be=_[ee];(be!==ye||ee==="value")&&i(k,ee,ye,be,y,g)}}P&1&&f.children!==h.children&&u(k,h.children)}else!M&&x==null&&se(k,L,_,g,y);((F=_.onVnodeUpdated)||B)&&Oe(()=>{F&&Xe(F,g,h,f),B&&Ct(h,f,g,"updated")},w)},K=(f,h,g,w,y,b,M)=>{for(let k=0;k<h.length;k++){const P=f[k],x=h[k],B=P.el&&(P.type===je||!kt(P,x)||P.shapeFlag&198)?d(P.el):g;S(P,x,B,null,w,y,b,M,!0)}},se=(f,h,g,w,y)=>{if(h!==g){if(h!==le)for(const b in h)!Qt(b)&&!(b in g)&&i(f,b,h[b],null,y,w);for(const b in g){if(Qt(b))continue;const M=g[b],k=h[b];M!==k&&b!=="value"&&i(f,b,k,M,y,w)}"value"in g&&i(f,"value",h.value,g.value,y)}},O=(f,h,g,w,y,b,M,k,P)=>{const x=h.el=f?f.el:l(""),B=h.anchor=f?f.anchor:l("");let{patchFlag:L,dynamicChildren:_,slotScopeIds:F}=h;F&&(k=k?k.concat(F):F),f==null?(s(x,g,w),s(B,g,w),ne(h.children||[],g,B,y,b,M,k,P)):L>0&&L&64&&_&&f.dynamicChildren?(K(f.dynamicChildren,_,g,y,b,M,k),(h.key!=null||y&&h===y.subTree)&&Zi(f,h,!0)):U(f,h,g,B,y,b,M,k,P)},Q=(f,h,g,w,y,b,M,k,P)=>{h.slotScopeIds=k,f==null?h.shapeFlag&512?y.ctx.activate(h,g,w,M,P):ae(h,g,w,y,b,M,P):he(f,h,P)},ae=(f,h,g,w,y,b,M)=>{const k=f.component=vc(f,w,y);if(qn(f)&&(k.ctx.renderer=wt),yc(k,!1,M),k.asyncDep){if(y&&y.registerDep(k,D,M),!f.el){const P=k.subTree=Z(Ee);I(null,P,h,g),f.placeholder=P.el}}else D(k,f,h,g,y,b,M)},he=(f,h,g)=>{const w=h.component=f.component;if(Jl(f,h,g))if(w.asyncDep&&!w.asyncResolved){N(w,h,g);return}else w.next=h,w.update();else h.el=f.el,w.vnode=h},D=(f,h,g,w,y,b,M)=>{const k=()=>{if(f.isMounted){let{next:L,bu:_,u:F,parent:X,vnode:re}=f;{const Le=er(f);if(Le){L&&(L.el=re.el,N(f,L,M)),Le.asyncDep.then(()=>{f.isUnmounted||k()});return}}let ee=L,ye;Tt(f,!1),L?(L.el=re.el,N(f,L,M)):L=re,_&&ts(_),(ye=L.props&&L.props.onVnodeBeforeUpdate)&&Xe(ye,X,L,re),Tt(f,!0);const be=go(f),Ie=f.subTree;f.subTree=be,S(Ie,be,d(Ie.el),_t(Ie),f,y,b),L.el=be.el,ee===null&&Ql(f,be.el),F&&Oe(F,y),(ye=L.props&&L.props.onVnodeUpdated)&&Oe(()=>Xe(ye,X,L,re),y)}else{let L;const{el:_,props:F}=h,{bm:X,m:re,parent:ee,root:ye,type:be}=f,Ie=nn(h);Tt(f,!1),X&&ts(X),!Ie&&(L=F&&F.onVnodeBeforeMount)&&Xe(L,ee,h),Tt(f,!0);{ye.ce&&ye.ce._def.shadowRoot!==!1&&ye.ce._injectChildStyle(be);const Le=f.subTree=go(f);S(null,Le,g,w,f,y,b),h.el=Le.el}if(re&&Oe(re,y),!Ie&&(L=F&&F.onVnodeMounted)){const Le=h;Oe(()=>Xe(L,ee,Le),y)}(h.shapeFlag&256||ee&&nn(ee.vnode)&&ee.vnode.shapeFlag&256)&&f.a&&Oe(f.a,y),f.isMounted=!0,h=g=w=null}};f.scope.on();const P=f.effect=new ii(k);f.scope.off();const x=f.update=P.run.bind(P),B=f.job=P.runIfDirty.bind(P);B.i=f,B.id=f.uid,P.scheduler=()=>Ks(B),Tt(f,!0),x()},N=(f,h,g)=>{h.component=f;const w=f.vnode.props;f.vnode=h,f.next=null,ec(f,h.props,w,g),oc(f,h.children,g),lt(),ro(f),ct()},U=(f,h,g,w,y,b,M,k,P=!1)=>{const x=f&&f.children,B=f?f.shapeFlag:0,L=h.children,{patchFlag:_,shapeFlag:F}=h;if(_>0){if(_&128){fe(x,L,g,w,y,b,M,k,P);return}else if(_&256){R(x,L,g,w,y,b,M,k,P);return}}F&8?(B&16&&ft(x,y,b),L!==x&&u(g,L)):B&16?F&16?fe(x,L,g,w,y,b,M,k,P):ft(x,y,b,!0):(B&8&&u(g,""),F&16&&ne(L,g,w,y,b,M,k,P))},R=(f,h,g,w,y,b,M,k,P)=>{f=f||Rt,h=h||Rt;const x=f.length,B=h.length,L=Math.min(x,B);let _;for(_=0;_<L;_++){const F=h[_]=P?gt(h[_]):Qe(h[_]);S(f[_],F,g,null,y,b,M,k,P)}x>B?ft(f,y,b,!0,!1,L):ne(h,g,w,y,b,M,k,P,L)},fe=(f,h,g,w,y,b,M,k,P)=>{let x=0;const B=h.length;let L=f.length-1,_=B-1;for(;x<=L&&x<=_;){const F=f[x],X=h[x]=P?gt(h[x]):Qe(h[x]);if(kt(F,X))S(F,X,g,null,y,b,M,k,P);else break;x++}for(;x<=L&&x<=_;){const F=f[L],X=h[_]=P?gt(h[_]):Qe(h[_]);if(kt(F,X))S(F,X,g,null,y,b,M,k,P);else break;L--,_--}if(x>L){if(x<=_){const F=_+1,X=F<B?h[F].el:w;for(;x<=_;)S(null,h[x]=P?gt(h[x]):Qe(h[x]),g,X,y,b,M,k,P),x++}}else if(x>_)for(;x<=L;)Ce(f[x],y,b,!0),x++;else{const F=x,X=x,re=new Map;for(x=X;x<=_;x++){const Fe=h[x]=P?gt(h[x]):Qe(h[x]);Fe.key!=null&&re.set(Fe.key,x)}let ee,ye=0;const be=_-X+1;let Ie=!1,Le=0;const zt=new Array(be);for(x=0;x<be;x++)zt[x]=0;for(x=F;x<=L;x++){const Fe=f[x];if(ye>=be){Ce(Fe,y,b,!0);continue}let Ge;if(Fe.key!=null)Ge=re.get(Fe.key);else for(ee=X;ee<=_;ee++)if(zt[ee-X]===0&&kt(Fe,h[ee])){Ge=ee;break}Ge===void 0?Ce(Fe,y,b,!0):(zt[Ge-X]=x+1,Ge>=Le?Le=Ge:Ie=!0,S(Fe,h[Ge],g,null,y,b,M,k,P),ye++)}const eo=Ie?cc(zt):Rt;for(ee=eo.length-1,x=be-1;x>=0;x--){const Fe=X+x,Ge=h[Fe],to=h[Fe+1],no=Fe+1<B?to.el||to.placeholder:w;zt[x]===0?S(null,Ge,g,no,y,b,M,k,P):Ie&&(ee<0||x!==eo[ee]?ve(Ge,g,no,2):ee--)}}},ve=(f,h,g,w,y=null)=>{const{el:b,type:M,transition:k,children:P,shapeFlag:x}=f;if(x&6){ve(f.component.subTree,h,g,w);return}if(x&128){f.suspense.move(h,g,w);return}if(x&64){M.move(f,h,g,wt);return}if(M===je){s(b,h,g);for(let L=0;L<P.length;L++)ve(P[L],h,g,w);s(f.anchor,h,g);return}if(M===us){H(f,h,g);return}if(w!==2&&x&1&&k)if(w===0)k.beforeEnter(b),s(b,h,g),Oe(()=>k.enter(b),y);else{const{leave:L,delayLeave:_,afterLeave:F}=k,X=()=>{f.ctx.isUnmounted?o(b):s(b,h,g)},re=()=>{b._isLeaving&&b[ot](!0),L(b,()=>{X(),F&&F()})};_?_(b,X,re):re()}else s(b,h,g)},Ce=(f,h,g,w=!1,y=!1)=>{const{type:b,props:M,ref:k,children:P,dynamicChildren:x,shapeFlag:B,patchFlag:L,dirs:_,cacheIndex:F}=f;if(L===-2&&(y=!1),k!=null&&(lt(),tn(k,null,g,f,!0),ct()),F!=null&&(h.renderCache[F]=void 0),B&256){h.ctx.deactivate(f);return}const X=B&1&&_,re=!nn(f);let ee;if(re&&(ee=M&&M.onVnodeBeforeUnmount)&&Xe(ee,h,f),B&6)Wt(f.component,g,w);else{if(B&128){f.suspense.unmount(g,w);return}X&&Ct(f,null,h,"beforeUnmount"),B&64?f.type.remove(f,h,g,wt,w):x&&!x.hasOnce&&(b!==je||L>0&&L&64)?ft(x,h,g,!1,!0):(b===je&&L&384||!y&&B&16)&&ft(P,h,g),w&&bt(f)}(re&&(ee=M&&M.onVnodeUnmounted)||X)&&Oe(()=>{ee&&Xe(ee,h,f),X&&Ct(f,null,h,"unmounted")},g)},bt=f=>{const{type:h,el:g,anchor:w,transition:y}=f;if(h===je){Ut(g,w);return}if(h===us){A(f);return}const b=()=>{o(g),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:M,delayLeave:k}=y,P=()=>M(g,b);k?k(f.el,b,P):P()}else b()},Ut=(f,h)=>{let g;for(;f!==h;)g=p(f),o(f),f=g;o(h)},Wt=(f,h,g)=>{const{bum:w,scope:y,job:b,subTree:M,um:k,m:P,a:x}=f;yo(P),yo(x),w&&ts(w),y.stop(),b&&(b.flags|=8,Ce(M,f,h,g)),k&&Oe(k,h),Oe(()=>{f.isUnmounted=!0},h)},ft=(f,h,g,w=!1,y=!1,b=0)=>{for(let M=b;M<f.length;M++)Ce(f[M],h,g,w,y)},_t=f=>{if(f.shapeFlag&6)return _t(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=p(f.anchor||f.el),g=h&&h[vl];return g?p(g):h};let xt=!1;const yn=(f,h,g)=>{f==null?h._vnode&&Ce(h._vnode,null,null,!0):S(h._vnode||null,f,h,null,null,null,g),h._vnode=f,xt||(xt=!0,ro(),Ti(),xt=!1)},wt={p:S,um:Ce,m:ve,r:bt,mt:ae,mc:ne,pc:U,pbc:K,n:_t,o:e};return{render:yn,hydrate:void 0,createApp:Bl(yn)}}function cs({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 Tt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zi(e,t,n=!1){const s=e.children,o=t.children;if(q(s)&&q(o))for(let i=0;i<s.length;i++){const r=s[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=gt(o[i]),l.el=r.el),!n&&l.patchFlag!==-2&&Zi(r,l)),l.type===Xn&&l.patchFlag!==-1&&(l.el=r.el),l.type===Ee&&!l.el&&(l.el=r.el)}}function cc(e){const t=e.slice(),n=[0];let s,o,i,r,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(o=n[n.length-1],e[o]<a){t[s]=o,n.push(s);continue}for(i=0,r=n.length-1;i<r;)l=i+r>>1,e[n[l]]<a?i=l+1:r=l;a<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}function er(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:er(t)}function yo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const tr=e=>e.__isSuspense;function uc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):ml(e)}const je=Symbol.for("v-fgt"),Xn=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),on=[];let $e=null;function Y(e=!1){on.push($e=e?null:[])}function ac(){on.pop(),$e=on[on.length-1]||null}let an=1;function On(e,t=!1){an+=e,e<0&&$e&&t&&($e.hasOnce=!0)}function nr(e){return e.dynamicChildren=an>0?$e||Rt:null,ac(),an>0&&$e&&$e.push(e),e}function ie(e,t,n,s,o,i){return nr(E(e,t,n,s,o,i,!0))}function Pe(e,t,n,s,o){return nr(Z(e,t,n,s,o,!0))}function Rn(e){return e?e.__v_isVNode===!0:!1}function kt(e,t){return e.type===t.type&&e.key===t.key}const sr=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||we(e)||G(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function E(e,t=null,n=null,s=0,o=null,i=e===je?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sr(t),ref:t&&Tn(t),scopeId:Pi,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:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Re};return l?(Gs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=pe(n)?8:16),an>0&&!r&&$e&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&$e.push(c),c}const Z=fc;function fc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===Di)&&(e=Ee),Rn(e)){const l=vt(e,t,!0);return n&&Gs(l,n),an>0&&!i&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag=-2,l}if(Cc(e)&&(e=e.__vccOpts),t){t=dc(t);let{class:l,style:c}=t;l&&!pe(l)&&(t.class=Ae(l)),ue(c)&&(zs(c)&&!q(c)&&(c=me({},c)),t.style=Ve(c))}const r=pe(e)?1:tr(e)?128:ki(e)?64:ue(e)?4:G(e)?2:0;return E(e,t,n,s,o,r,i,!0)}function dc(e){return e?zs(e)||qi(e)?me({},e):e:null}function vt(e,t,n=!1,s=!1){const{props:o,ref:i,patchFlag:r,children:l,transition:c}=e,a=t?pc(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&sr(a),ref:t&&t.ref?n&&i?q(i)?i.concat(Tn(t)):[i,Tn(t)]:Tn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&un(u,c.clone(u)),u}function hc(e=" ",t=0){return Z(Xn,null,e,t)}function ke(e="",t=!1){return t?(Y(),Pe(Ee,null,e)):Z(Ee,null,e)}function Qe(e){return e==null||typeof e=="boolean"?Z(Ee):q(e)?Z(je,null,e.slice()):Rn(e)?gt(e):Z(Xn,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function Gs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Gs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!qi(t)?t._ctx=Re:o===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),s&64?(n=16,t=[hc(t)]):n=8);e.children=t,e.shapeFlag|=n}function pc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Ae([t.class,s.class]));else if(o==="style")t.style=Ve([t.style,s.style]);else if(Hn(o)){const i=t[o],r=s[o];r&&i!==r&&!(q(i)&&i.includes(r))&&(t[o]=i?[].concat(i,r):r)}else o!==""&&(t[o]=s[o])}return t}function Xe(e,t,n,s=null){ze(e,t,7,[n,s])}const gc=Bi();let mc=0;function vc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||gc,i={uid:mc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new jr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Gi(s,o),emitsOptions:Wi(s,o),emit:null,emitted:null,propsDefaults:le,inheritAttrs:s.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=ql.bind(null,i),e.ce&&e.ce(i),i}let xe=null;const or=()=>xe||Re;let $n,Ps;{const e=Wn(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),i=>{o.length>1?o.forEach(r=>r(i)):o[0](i)}};$n=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),Ps=t("__VUE_SSR_SETTERS__",n=>fn=n)}const mn=e=>{const t=xe;return $n(e),e.scope.on(),()=>{e.scope.off(),$n(t)}},bo=()=>{xe&&xe.scope.off(),$n(null)};function ir(e){return e.vnode.shapeFlag&4}let fn=!1;function yc(e,t=!1,n=!1){t&&Ps(t);const{props:s,children:o}=e.vnode,i=ir(e);Zl(e,s,i,t),sc(e,o,n||t);const r=i?bc(e,t):void 0;return t&&Ps(!1),r}function bc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ol);const{setup:s}=n;if(s){lt();const o=e.setupContext=s.length>1?xc(e):null,i=mn(e),r=gn(s,e,0,[e.props,o]),l=Qo(r);if(ct(),i(),(l||e.sp)&&!nn(e)&&Oi(e),l){if(r.then(bo,bo),t)return r.then(c=>{_o(e,c)}).catch(c=>{Kn(c,e,0)});e.asyncDep=r}else _o(e,r)}else rr(e)}function _o(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=_i(t)),rr(e)}function rr(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const o=mn(e);lt();try{Rl(e)}finally{ct(),o()}}}const _c={get(e,t){return _e(e,"get",""),e[t]}};function xc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,_c),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(_i(rl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}})):e.proxy}function wc(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Cc(e){return G(e)&&"__vccOpts"in e}const ge=(e,t)=>fl(e,t,fn);function Es(e,t,n){try{On(-1);const s=arguments.length;return s===2?ue(t)&&!q(t)?Rn(t)?Z(e,null,[t]):Z(e,t):Z(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Rn(n)&&(n=[n]),Z(e,t,n))}finally{On(1)}}const Tc="3.5.25";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.25
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let ks;const xo=typeof window<"u"&&window.trustedTypes;if(xo)try{ks=xo.createPolicy("vue",{createHTML:e=>e})}catch{}const lr=ks?e=>ks.createHTML(e):e=>e,Sc="http://www.w3.org/2000/svg",Pc="http://www.w3.org/1998/Math/MathML",st=typeof document<"u"?document:null,wo=st&&st.createElement("template"),Ec={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 o=t==="svg"?st.createElementNS(Sc,e):t==="mathml"?st.createElementNS(Pc,e):n?st.createElement(e,{is:n}):st.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{wo.innerHTML=lr(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=wo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dt="transition",qt="animation",dn=Symbol("_vtc"),cr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},kc=me({},Ii,cr),Ic=e=>(e.displayName="Transition",e.props=kc,e),vn=Ic((e,{slots:t})=>Es(_l,Mc(e),t)),St=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Co=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function Mc(e){const t={};for(const O in e)O in cr||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=r,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,T=Ac(o),S=T&&T[0],m=T&&T[1],{onBeforeEnter:I,onEnter:j,onEnterCancelled:H,onLeave:A,onLeaveCancelled:W,onBeforeAppear:$=I,onAppear:J=j,onAppearCancelled:ne=H}=t,V=(O,Q,ae,he)=>{O._enterCancelled=he,Pt(O,Q?u:l),Pt(O,Q?a:r),ae&&ae()},K=(O,Q)=>{O._isLeaving=!1,Pt(O,d),Pt(O,v),Pt(O,p),Q&&Q()},se=O=>(Q,ae)=>{const he=O?J:j,D=()=>V(Q,O,ae);St(he,[Q,D]),To(()=>{Pt(Q,O?c:i),nt(Q,O?u:l),Co(he)||So(Q,s,S,D)})};return me(t,{onBeforeEnter(O){St(I,[O]),nt(O,i),nt(O,r)},onBeforeAppear(O){St($,[O]),nt(O,c),nt(O,a)},onEnter:se(!1),onAppear:se(!0),onLeave(O,Q){O._isLeaving=!0;const ae=()=>K(O,Q);nt(O,d),O._enterCancelled?(nt(O,p),ko(O)):(ko(O),nt(O,p)),To(()=>{O._isLeaving&&(Pt(O,d),nt(O,v),Co(A)||So(O,s,m,ae))}),St(A,[O,ae])},onEnterCancelled(O){V(O,!1,void 0,!0),St(H,[O])},onAppearCancelled(O){V(O,!0,void 0,!0),St(ne,[O])},onLeaveCancelled(O){K(O),St(W,[O])}})}function Ac(e){if(e==null)return null;if(ue(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return Lr(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[dn]||(e[dn]=new Set)).add(t)}function Pt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[dn];n&&(n.delete(t),n.size||(e[dn]=void 0))}function To(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Lc=0;function So(e,t,n,s){const o=e._endId=++Lc,i=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=Fc(e,t);if(!r)return s();const a=r+"end";let u=0;const d=()=>{e.removeEventListener(a,p),i()},p=v=>{v.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},l+1),e.addEventListener(a,p)}function Fc(e,t){const n=window.getComputedStyle(e),s=T=>(n[T]||"").split(", "),o=s(`${dt}Delay`),i=s(`${dt}Duration`),r=Po(o,i),l=s(`${qt}Delay`),c=s(`${qt}Duration`),a=Po(l,c);let u=null,d=0,p=0;t===dt?r>0&&(u=dt,d=r,p=i.length):t===qt?a>0&&(u=qt,d=a,p=c.length):(d=Math.max(r,a),u=d>0?r>a?dt:qt:null,p=u?u===dt?i.length:c.length:0);const v=u===dt&&/\b(?:transform|all)(?:,|$)/.test(s(`${dt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Po(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Eo(n)+Eo(e[s])))}function Eo(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ko(e){return(e?e.ownerDocument:document).body.offsetHeight}function Oc(e,t,n){const s=e[dn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Dn=Symbol("_vod"),ur=Symbol("_vsh"),ar={name:"show",beforeMount(e,{value:t},{transition:n}){e[Dn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Yt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Yt(e,!0),s.enter(e)):s.leave(e,()=>{Yt(e,!1)}):Yt(e,t))},beforeUnmount(e,{value:t}){Yt(e,t)}};function Yt(e,t){e.style.display=t?e[Dn]:"none",e[ur]=!t}const Rc=Symbol(""),$c=/(?:^|;)\s*display\s*:/;function Dc(e,t,n){const s=e.style,o=pe(n);let i=!1;if(n&&!o){if(t)if(pe(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();n[l]==null&&Sn(s,l,"")}else for(const r in t)n[r]==null&&Sn(s,r,"");for(const r in n)r==="display"&&(i=!0),Sn(s,r,n[r])}else if(o){if(t!==n){const r=s[Rc];r&&(n+=";"+r),s.cssText=n,i=$c.test(n)}}else t&&e.removeAttribute("style");Dn in e&&(e[Dn]=i?s.display:"",e[ur]&&(s.display="none"))}const Io=/\s*!important$/;function Sn(e,t,n){if(q(n))n.forEach(s=>Sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Nc(e,t);Io.test(n)?e.setProperty(Lt(s),n.replace(Io,""),"important"):e[s]=n}}const Mo=["Webkit","Moz","ms"],fs={};function Nc(e,t){const n=fs[t];if(n)return n;let s=Be(t);if(s!=="filter"&&s in e)return fs[t]=s;s=Un(s);for(let o=0;o<Mo.length;o++){const i=Mo[o]+s;if(i in e)return fs[t]=i}return t}const Ao="http://www.w3.org/1999/xlink";function Lo(e,t,n,s,o,i=Nr(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ao,t.slice(6,t.length)):e.setAttributeNS(Ao,t,n):n==null||i&&!ni(n)?e.removeAttribute(t):e.setAttribute(t,i?"":yt(n)?String(n):n)}function Fo(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?lr(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=ni(n):n==null&&l==="string"?(n="",r=!0):l==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(o||t)}function jc(e,t,n,s){e.addEventListener(t,n,s)}function Hc(e,t,n,s){e.removeEventListener(t,n,s)}const Oo=Symbol("_vei");function Bc(e,t,n,s,o=null){const i=e[Oo]||(e[Oo]={}),r=i[t];if(s&&r)r.value=s;else{const[l,c]=Vc(t);if(s){const a=i[t]=zc(s,o);jc(e,l,a,c)}else r&&(Hc(e,l,r,c),i[t]=void 0)}}const Ro=/(?:Once|Passive|Capture)$/;function Vc(e){let t;if(Ro.test(e)){t={};let s;for(;s=e.match(Ro);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Lt(e.slice(2)),t]}let ds=0;const Uc=Promise.resolve(),Wc=()=>ds||(Uc.then(()=>ds=0),ds=Date.now());function zc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ze(Kc(s,n.value),t,5,[s])};return n.value=e,n.attached=Wc(),n}function Kc(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const $o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qc=(e,t,n,s,o,i)=>{const r=o==="svg";t==="class"?Oc(e,s,r):t==="style"?Dc(e,n,s):Hn(t)?Rs(t)||Bc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yc(e,t,s,r))?(Fo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lo(e,t,s,r,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(s))?Fo(e,Be(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Lo(e,t,s,r))};function Yc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&$o(t)&&G(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return $o(t)&&pe(n)?!1:t in e}const Gc=["ctrl","shift","alt","meta"],Xc={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)=>Gc.some(n=>e[`${n}Key`]&&!t.includes(n))},Nn=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((o,...i)=>{for(let r=0;r<t.length;r++){const l=Xc[t[r]];if(l&&l(o,t))return}return e(o,...i)}))},Jc=me({patchProp:qc},Ec);let Do;function Qc(){return Do||(Do=ic(Jc))}const Zc=((...e)=>{const t=Qc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=tu(s);if(!o)return;const i=t._component;!G(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=n(o,!1,eu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t});function eu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function tu(e){return pe(e)?document.querySelector(e):e}const fr=/^[a-z0-9]+(-[a-z0-9]+)*$/,Qn=(e,t,n,s="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;s=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),c=o.pop(),a={provider:o.length>0?o[0]:s,prefix:c,name:l};return t&&!Pn(a)?null:a}const i=o[0],r=i.split("-");if(r.length>1){const l={provider:s,prefix:r.shift(),name:r.join("-")};return t&&!Pn(l)?null:l}if(n&&s===""){const l={provider:s,prefix:"",name:i};return t&&!Pn(l,n)?null:l}return null},Pn=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,dr=Object.freeze({left:0,top:0,width:16,height:16}),jn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Zn=Object.freeze({...dr,...jn}),Is=Object.freeze({...Zn,body:"",hidden:!1});function nu(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function No(e,t){const n=nu(e,t);for(const s in Is)s in jn?s in e&&!(s in n)&&(n[s]=jn[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function su(e,t){const n=e.icons,s=e.aliases||Object.create(null),o=Object.create(null);function i(r){if(n[r])return o[r]=[];if(!(r in o)){o[r]=null;const l=s[r]&&s[r].parent,c=l&&i(l);c&&(o[r]=[l].concat(c))}return o[r]}return Object.keys(n).concat(Object.keys(s)).forEach(i),o}function ou(e,t,n){const s=e.icons,o=e.aliases||Object.create(null);let i={};function r(l){i=No(s[l]||o[l],i)}return r(t),n.forEach(r),No(e,i)}function hr(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const s=su(e);for(const o in s){const i=s[o];i&&(t(o,ou(e,o,i)),n.push(o))}return n}const iu={provider:"",aliases:{},not_found:{},...dr};function hs(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function pr(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!hs(e,iu))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!hs(i,Is))return null}const s=t.aliases||Object.create(null);for(const o in s){const i=s[o],r=i.parent;if(!o||typeof r!="string"||!n[r]&&!s[r]||!hs(i,Is))return null}return t}const jo=Object.create(null);function ru(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ht(e,t){const n=jo[e]||(jo[e]=Object.create(null));return n[t]||(n[t]=ru(e,t))}function gr(e,t){return pr(t)?hr(t,(n,s)=>{s?e.icons[n]=s:e.missing.add(n)}):[]}function lu(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let hn=!1;function mr(e){return typeof e=="boolean"&&(hn=e),hn}function cu(e){const t=typeof e=="string"?Qn(e,!0,hn):e;if(t){const n=Ht(t.provider,t.prefix),s=t.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function uu(e,t){const n=Qn(e,!0,hn);if(!n)return!1;const s=Ht(n.provider,n.prefix);return t?lu(s,n.name,t):(s.missing.add(n.name),!0)}function au(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),hn&&!t&&!e.prefix){let o=!1;return pr(e)&&(e.prefix="",hr(e,(i,r)=>{uu(i,r)&&(o=!0)})),o}const n=e.prefix;if(!Pn({prefix:n,name:"a"}))return!1;const s=Ht(t,n);return!!gr(s,e)}const vr=Object.freeze({width:null,height:null}),yr=Object.freeze({...vr,...jn}),fu=/(-?[0-9.]*[0-9]+[0-9.]*)/g,du=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ho(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(fu);if(s===null||!s.length)return e;const o=[];let i=s.shift(),r=du.test(i);for(;;){if(r){const l=parseFloat(i);isNaN(l)?o.push(i):o.push(Math.ceil(l*t*n)/n)}else o.push(i);if(i=s.shift(),i===void 0)return o.join("");r=!r}}function hu(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const o=e.indexOf(">",s),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const r=e.indexOf(">",i);if(r===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,s).trim()+e.slice(r+1)}return{defs:n,content:e}}function pu(e,t){return e?"<defs>"+e+"</defs>"+t:t}function gu(e,t,n){const s=hu(e);return pu(s.defs,t+s.content+n)}const mu=e=>e==="unset"||e==="undefined"||e==="none";function vu(e,t){const n={...Zn,...e},s={...yr,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,s].forEach(S=>{const m=[],I=S.hFlip,j=S.vFlip;let H=S.rotate;I?j?H+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):j&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0);let A;switch(H<0&&(H-=Math.floor(H/4)*4),H=H%4,H){case 1:A=o.height/2+o.top,m.unshift("rotate(90 "+A.toString()+" "+A.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:A=o.width/2+o.left,m.unshift("rotate(-90 "+A.toString()+" "+A.toString()+")");break}H%2===1&&(o.left!==o.top&&(A=o.left,o.left=o.top,o.top=A),o.width!==o.height&&(A=o.width,o.width=o.height,o.height=A)),m.length&&(i=gu(i,'<g transform="'+m.join(" ")+'">',"</g>"))});const r=s.width,l=s.height,c=o.width,a=o.height;let u,d;r===null?(d=l===null?"1em":l==="auto"?a:l,u=Ho(d,c/a)):(u=r==="auto"?c:r,d=l===null?Ho(u,a/c):l==="auto"?a:l);const p={},v=(S,m)=>{mu(m)||(p[S]=m.toString())};v("width",u),v("height",d);const T=[o.left,o.top,c,a];return p.viewBox=T.join(" "),{attributes:p,viewBox:T,body:i}}const yu=/\sid="(\S+)"/g,bu="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let _u=0;function xu(e,t=bu){const n=[];let s;for(;s=yu.exec(e);)n.push(s[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const r=typeof t=="function"?t(i):t+(_u++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+r+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Ms=Object.create(null);function wu(e,t){Ms[e]=t}function As(e){return Ms[e]||Ms[""]}function Xs(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Js=Object.create(null),Gt=["https://api.simplesvg.com","https://api.unisvg.com"],En=[];for(;Gt.length>0;)Gt.length===1||Math.random()>.5?En.push(Gt.shift()):En.push(Gt.pop());Js[""]=Xs({resources:["https://api.iconify.design"].concat(En)});function Cu(e,t){const n=Xs(t);return n===null?!1:(Js[e]=n,!0)}function Qs(e){return Js[e]}const Tu=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Bo=Tu();function Su(e,t){const n=Qs(e);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let o=0;n.resources.forEach(r=>{o=Math.max(o,r.length)});const i=t+".json?icons=";s=n.maxURL-o-n.path.length-i.length}return s}function Pu(e){return e===404}const Eu=(e,t,n)=>{const s=[],o=Su(e,t),i="icons";let r={type:i,provider:e,prefix:t,icons:[]},l=0;return n.forEach((c,a)=>{l+=c.length+1,l>=o&&a>0&&(s.push(r),r={type:i,provider:e,prefix:t,icons:[]},l=c.length),r.icons.push(c)}),s.push(r),s};function ku(e){if(typeof e=="string"){const t=Qs(e);if(t)return t.path}return"/"}const Iu=(e,t,n)=>{if(!Bo){n("abort",424);return}let s=ku(t.provider);switch(t.type){case"icons":{const i=t.prefix,l=t.icons.join(","),c=new URLSearchParams({icons:l});s+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;s+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;Bo(e+s).then(i=>{const r=i.status;if(r!==200){setTimeout(()=>{n(Pu(r)?"abort":"next",r)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},Mu={prepare:Eu,send:Iu};function Au(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let s={provider:"",prefix:"",name:""};return e.forEach(o=>{if(s.name===o.name&&s.prefix===o.prefix&&s.provider===o.provider)return;s=o;const i=o.provider,r=o.prefix,l=o.name,c=n[i]||(n[i]=Object.create(null)),a=c[r]||(c[r]=Ht(i,r));let u;l in a.icons?u=t.loaded:r===""||a.missing.has(l)?u=t.missing:u=t.pending;const d={provider:i,prefix:r,name:l};u.push(d)}),t}function br(e,t){e.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(o=>o.id!==t))})}function Lu(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const s=e.provider,o=e.prefix;t.forEach(i=>{const r=i.icons,l=r.pending.length;r.pending=r.pending.filter(c=>{if(c.prefix!==o)return!0;const a=c.name;if(e.icons[a])r.loaded.push({provider:s,prefix:o,name:a});else if(e.missing.has(a))r.missing.push({provider:s,prefix:o,name:a});else return n=!0,!0;return!1}),r.pending.length!==l&&(n||br([e],i.id),i.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),i.abort))})}))}let Fu=0;function Ou(e,t,n){const s=Fu++,o=br.bind(null,n,s);if(!t.pending.length)return o;const i={id:s,icons:t,callback:e,abort:o};return n.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(i)}),o}function Ru(e,t=!0,n=!1){const s=[];return e.forEach(o=>{const i=typeof o=="string"?Qn(o,t,n):o;i&&s.push(i)}),s}var $u={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Du(e,t,n,s){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let r;if(e.random){let $=e.resources.slice(0);for(r=[];$.length>1;){const J=Math.floor(Math.random()*$.length);r.push($[J]),$=$.slice(0,J).concat($.slice(J+1))}r=r.concat($)}else r=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let c="pending",a=0,u,d=null,p=[],v=[];typeof s=="function"&&v.push(s);function T(){d&&(clearTimeout(d),d=null)}function S(){c==="pending"&&(c="aborted"),T(),p.forEach($=>{$.status==="pending"&&($.status="aborted")}),p=[]}function m($,J){J&&(v=[]),typeof $=="function"&&v.push($)}function I(){return{startTime:l,payload:t,status:c,queriesSent:a,queriesPending:p.length,subscribe:m,abort:S}}function j(){c="failed",v.forEach($=>{$(void 0,u)})}function H(){p.forEach($=>{$.status==="pending"&&($.status="aborted")}),p=[]}function A($,J,ne){const V=J!=="success";switch(p=p.filter(K=>K!==$),c){case"pending":break;case"failed":if(V||!e.dataAfterTimeout)return;break;default:return}if(J==="abort"){u=ne,j();return}if(V){u=ne,p.length||(r.length?W():j());return}if(T(),H(),!e.random){const K=e.resources.indexOf($.resource);K!==-1&&K!==e.index&&(e.index=K)}c="completed",v.forEach(K=>{K(ne)})}function W(){if(c!=="pending")return;T();const $=r.shift();if($===void 0){if(p.length){d=setTimeout(()=>{T(),c==="pending"&&(H(),j())},e.timeout);return}j();return}const J={status:"pending",resource:$,callback:(ne,V)=>{A(J,ne,V)}};p.push(J),a++,d=setTimeout(W,e.rotate),n($,t,J.callback)}return setTimeout(W),I}function _r(e){const t={...$u,...e};let n=[];function s(){n=n.filter(l=>l().status==="pending")}function o(l,c,a){const u=Du(t,l,c,(d,p)=>{s(),a&&a(d,p)});return n.push(u),u}function i(l){return n.find(c=>l(c))||null}return{query:o,find:i,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:s}}function Vo(){}const ps=Object.create(null);function Nu(e){if(!ps[e]){const t=Qs(e);if(!t)return;const n=_r(t),s={config:t,redundancy:n};ps[e]=s}return ps[e]}function ju(e,t,n){let s,o;if(typeof e=="string"){const i=As(e);if(!i)return n(void 0,424),Vo;o=i.send;const r=Nu(e);r&&(s=r.redundancy)}else{const i=Xs(e);if(i){s=_r(i);const r=e.resources?e.resources[0]:"",l=As(r);l&&(o=l.send)}}return!s||!o?(n(void 0,424),Vo):s.query(t,o,n)().abort}function Uo(){}function Hu(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Lu(e)}))}function Bu(e){const t=[],n=[];return e.forEach(s=>{(s.match(fr)?t:n).push(s)}),{valid:t,invalid:n}}function Xt(e,t,n){function s(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!gr(e,n).length){s();return}}catch(o){console.error(o)}s(),Hu(e)}function Wo(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function Vu(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:s}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){Wo(e.loadIcons(o,s,n),u=>{Xt(e,o,u)});return}if(i){o.forEach(u=>{const d=i(u,s,n);Wo(d,p=>{const v=p?{prefix:s,icons:{[u]:p}}:null;Xt(e,[u],v)})});return}const{valid:r,invalid:l}=Bu(o);if(l.length&&Xt(e,l,null),!r.length)return;const c=s.match(fr)?As(n):null;if(!c){Xt(e,r,null);return}c.prepare(n,s,r).forEach(u=>{ju(n,u,d=>{Xt(e,u.icons,d)})})}))}const Uu=(e,t)=>{const n=Ru(e,!0,mr()),s=Au(n);if(!s.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(s.loaded,s.missing,s.pending,Uo)}),()=>{c=!1}}const o=Object.create(null),i=[];let r,l;return s.pending.forEach(c=>{const{provider:a,prefix:u}=c;if(u===l&&a===r)return;r=a,l=u,i.push(Ht(a,u));const d=o[a]||(o[a]=Object.create(null));d[u]||(d[u]=[])}),s.pending.forEach(c=>{const{provider:a,prefix:u,name:d}=c,p=Ht(a,u),v=p.pendingIcons||(p.pendingIcons=new Set);v.has(d)||(v.add(d),o[a][u].push(d))}),i.forEach(c=>{const a=o[c.provider][c.prefix];a.length&&Vu(c,a)}),t?Ou(t,s,i):Uo};function Wu(e,t){const n={...e};for(const s in t){const o=t[s],i=typeof o;s in vr?(o===null||o&&(i==="string"||i==="number"))&&(n[s]=o):i===typeof n[s]&&(n[s]=s==="rotate"?o%4:o)}return n}const zu=/[\s,]+/;function Ku(e,t){t.split(zu).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function qu(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function s(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:s(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?s(i):0)}}return t}function Yu(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in t)n+=" "+s+'="'+t[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Gu(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Xu(e){return"data:image/svg+xml,"+Gu(e)}function Ju(e){return'url("'+Xu(e)+'")'}const zo={...yr,inline:!1},Qu={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Zu={display:"inline-block"},Ls={backgroundColor:"currentColor"},xr={backgroundColor:"transparent"},Ko={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},qo={webkitMask:Ls,mask:Ls,background:xr};for(const e in qo){const t=qo[e];for(const n in Ko)t[e+n]=Ko[n]}const kn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";kn[e+"-flip"]=t,kn[e.slice(0,1)+"-flip"]=t,kn[e+"Flip"]=t});function Yo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Go=(e,t)=>{const n=Wu(zo,t),s={...Qu},o=t.mode||"svg",i={},r=t.style,l=typeof r=="object"&&!(r instanceof Array)?r:{};for(let S in t){const m=t[S];if(m!==void 0)switch(S){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[S]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&Ku(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[S]=qu(m):typeof m=="number"&&(n[S]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete s["aria-hidden"];break;default:{const I=kn[S];I?(m===!0||m==="true"||m===1)&&(n[I]=!0):zo[S]===void 0&&(s[S]=m)}}}const c=vu(e,n),a=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){s.style={...i,...l},Object.assign(s,a);let S=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),s.innerHTML=xu(c.body,m?()=>m+"ID"+S++:"iconifyVue"),Es("svg",s)}const{body:u,width:d,height:p}=e,v=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),T=Yu(u,{...a,width:d+"",height:p+""});return s.style={...i,"--svg":Ju(T),width:Yo(a.width),height:Yo(a.height),...Zu,...v?Ls:xr,...l},Es("span",s)};mr(!0);wu("",Mu);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!au(s))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const s="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;Cu(n,o)||console.error(s)}catch{console.error(s)}}}}const ea={...Zn,body:""},de=Ke((e,{emit:t})=>{const n=z(null);function s(){var a,u;n.value&&((u=(a=n.value).abort)==null||u.call(a),n.value=null)}const o=z(!!e.ssr),i=z(""),r=ll(null);function l(){const a=e.icon;if(typeof a=="object"&&a!==null&&typeof a.body=="string")return i.value="",{data:a};let u;if(typeof a!="string"||(u=Qn(a,!1,!0))===null)return null;let d=cu(u);if(!d){const T=n.value;return(!T||T.name!==a)&&(d===null?n.value={name:a}:n.value={name:a,abort:Uu([u],c)}),null}s(),i.value!==a&&(i.value=a,wi(()=>{t("load",a)}));const p=e.customise;if(p){d=Object.assign({},d);const T=p(d.body,u.name,u.prefix,u.provider);typeof T=="string"&&(d.body=T)}const v=["iconify"];return u.prefix!==""&&v.push("iconify--"+u.prefix),u.provider!==""&&v.push("iconify--"+u.provider),{data:d,classes:v}}function c(){var u;const a=l();a?a.data!==((u=r.value)==null?void 0:u.data)&&(r.value=a):r.value=null}return o.value?c():qe(()=>{o.value=!0,c()}),At(()=>e.icon,c),Ye(s),()=>{const a=r.value;if(!a)return Go(ea,e);let u=e;return a.classes&&(u={...e,class:a.classes.join(" ")}),Go({...Zn,...a.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),ta={key:0,class:"loading"},na={key:1,class:"error"},sa=["src","alt"],oa={key:2,class:"toolbar"},ia={class:"zoom-label"},ra=["title"],la=["title"],gs=10,ca=Ke({__name:"ImageViewer",props:{url:{},name:{}},setup(e){const t=z(),n=z(),s=z(!0),o=z(!1),i=z(1),r=z(0),l=z(0),c=z(0),a=z(!1),u=z(!0);let d;const p=z(!1);let v=0,T=0,S=0,m=0;const I=z(0),j=z(0),H=z(0),A=z(0);let W=0;const $=z(!1);let J=null;const ne=ge(()=>{if(!I.value||!j.value||!H.value||!A.value)return 1;const _=H.value/I.value,F=A.value/j.value;return Math.min(_,F,1)}),V=ge(()=>Math.max(.1,ne.value*.5)),K=ge(()=>{const _=ne.value*.05;return Math.abs(i.value-ne.value)<_}),se=ge(()=>Math.round(i.value*100)+"%"),O=ge(()=>K.value?"实际像素":"适合窗口");function Q(){n.value&&(n.value.style.transform=`scale(${i.value}) rotate(${r.value}deg)`)}function ae(){if(t.value){const _=t.value.getBoundingClientRect();H.value=_.width,A.value=_.height}}function he(_){$.value=!0,_(),setTimeout(()=>{$.value=!1},250)}function D(){i.value=ne.value,l.value=0,c.value=0,Q()}function N(){i.value=1,l.value=0,c.value=0,Q()}function U(){he(()=>{K.value?N():D()})}function R(){he(()=>{i.value=Math.min(gs,i.value*1.2),Q()})}function fe(){he(()=>{i.value=Math.max(V.value,i.value/1.2),Q()})}function ve(){he(()=>{r.value-=90,Q()})}function Ce(){he(()=>{r.value+=90,Q()})}function bt(){he(()=>{r.value=0,l.value=0,c.value=0,i.value=ne.value,Q()})}async function Ut(){t.value&&(document.fullscreenElement?await document.exitFullscreen():await t.value.requestFullscreen())}function Wt(){a.value=!!document.fullscreenElement,ae(),D(),a.value?_t():(u.value=!0,xt())}function ft(){Wt()}function _t(){u.value=!0,xt(),a.value&&(d=window.setTimeout(()=>{u.value=!1},2e3))}function xt(){d&&(clearTimeout(d),d=void 0)}function yn(){a.value&&_t()}function wt(_){if(_.preventDefault(),!t.value)return;const F=t.value.getBoundingClientRect(),X=_.clientX-F.left-F.width/2,re=_.clientY-F.top-F.height/2,ee=i.value,ye=_.deltaY>0?-1:1,be=ee*.05,Ie=Math.max(V.value,Math.min(gs,ee+ye*be));if(Math.abs(Ie-ee)>.001){const Le=Ie/ee;l.value=X-(X-l.value)*Le,c.value=re-(re-c.value)*Le,i.value=Ie,Q()}}function Zs(_){_.target.closest(".toolbar")||(p.value=!0,v=_.clientX,T=_.clientY,S=l.value,m=c.value,_.preventDefault())}function f(_){p.value&&(l.value=S+_.clientX-v,c.value=m+_.clientY-T)}function h(){p.value=!1}function g(_){_.target.closest(".toolbar")||(_.touches.length===1?(p.value=!0,v=_.touches[0].clientX,T=_.touches[0].clientY,S=l.value,m=c.value):_.touches.length===2&&(W=b(_.touches)))}function w(_){if(_.preventDefault(),_.touches.length===1&&p.value)l.value=S+_.touches[0].clientX-v,c.value=m+_.touches[0].clientY-T;else if(_.touches.length===2){const F=b(_.touches);if(W>0){const X=F/W;i.value=Math.min(Math.max(i.value*X,V.value),gs),Q()}W=F}}function y(){p.value=!1,W=0}function b(_){const F=_[0].clientX-_[1].clientX,X=_[0].clientY-_[1].clientY;return Math.sqrt(F*F+X*X)}function M(_){_.target.closest(".toolbar")||Ut()}function k(_){switch(_.key){case"+":case"=":R();break;case"-":fe();break;case"1":he(N);break;case"0":he(D);break;case"f":case"F":Ut();break;case"Escape":a.value&&(_.preventDefault(),document.exitFullscreen());break;case"[":ve();break;case"]":Ce();break;case"r":case"R":bt();break;case" ":_.preventDefault(),U();break}}function P(){n.value&&(I.value=n.value.naturalWidth,j.value=n.value.naturalHeight,s.value=!1,ae(),D())}function x(){s.value=!1,o.value=!0}function B(){ae(),t.value&&(J=new ResizeObserver(()=>{Wt()}),J.observe(t.value))}function L(){J&&(J.disconnect(),J=null)}return qe(()=>{B(),document.addEventListener("keydown",k),document.addEventListener("mousemove",f),document.addEventListener("mouseup",h),document.addEventListener("fullscreenchange",ft),window.addEventListener("resize",Wt)}),Ye(()=>{L(),xt(),document.removeEventListener("keydown",k),document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",h),document.removeEventListener("fullscreenchange",ft),window.removeEventListener("resize",ae)}),(_,F)=>(Y(),ie("div",{ref_key:"containerRef",ref:t,class:Ae(["viewer",{dragging:p.value,animated:$.value,fullscreen:a.value,"hide-controls":a.value&&!u.value}]),onWheel:Nn(wt,["prevent"]),onMousedown:Zs,onMousemove:yn,onTouchstart:g,onTouchmove:Nn(w,["prevent"]),onTouchend:y,onDblclick:M},[s.value?(Y(),ie("div",ta,[...F[0]||(F[0]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)])])):o.value?(Y(),ie("div",na,[...F[1]||(F[1]=[E("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[E("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),E("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),E("path",{d:"M21 15l-5-5L5 21"})],-1),E("p",null,"无法加载图片",-1)])])):ke("",!0),Ei(E("div",{class:"image-container",style:Ve({transform:`translate(${l.value}px, ${c.value}px)`})},[E("img",{ref_key:"imgRef",ref:n,src:e.url,alt:e.name,draggable:"false",onLoad:P,onError:x},null,40,sa)],4),[[ar,!s.value&&!o.value]]),!s.value&&!o.value?(Y(),ie("div",oa,[E("button",{onClick:fe,title:"缩小 (-)"},[Z(C(de),{icon:"lucide:zoom-out"})]),E("span",ia,De(se.value),1),E("button",{onClick:R,title:"放大 (+)"},[Z(C(de),{icon:"lucide:zoom-in"})]),F[2]||(F[2]=E("div",{class:"divider"},null,-1)),E("button",{onClick:ve,title:"逆时针旋转 ([)"},[Z(C(de),{icon:"lucide:rotate-ccw"})]),E("button",{onClick:Ce,title:"顺时针旋转 (])"},[Z(C(de),{icon:"lucide:rotate-cw"})]),F[3]||(F[3]=E("div",{class:"divider"},null,-1)),E("button",{class:"fit-toggle",onClick:U,title:`${O.value} (空格)`},[K.value?(Y(),Pe(C(de),{key:0,icon:"lucide:maximize-2"})):(Y(),Pe(C(de),{key:1,icon:"lucide:minimize-2"})),E("span",null,De(O.value),1)],8,ra),F[4]||(F[4]=E("div",{class:"divider"},null,-1)),E("button",{onClick:bt,title:"重置 (R)"},[Z(C(de),{icon:"lucide:refresh-ccw"})]),E("button",{onClick:Ut,title:a.value?"退出全屏 (F)":"全屏 (F)"},[a.value?(Y(),Pe(C(de),{key:0,icon:"lucide:minimize-2"})):(Y(),Pe(C(de),{key:1,icon:"lucide:fullscreen"}))],8,la)])):ke("",!0)],34))}}),et=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},ua=et(ca,[["__scopeId","data-v-a74b13b8"]]);function pn(e,t=!1){if(!e||isNaN(e))return"0:00";const n=Math.floor(e/3600),s=Math.floor(e%3600/60),o=Math.floor(e%60);return n>0||t?`${n}:${String(s).padStart(2,"0")}:${String(o).padStart(2,"0")}`:`${s}:${String(o).padStart(2,"0")}`}function aa(e,t){return`${pn(e)} / ${pn(t)}`}function wr(e){const t=z(!0),n=z(!1),s=z(!1),o=z(!1),i=z(0),r=z(0),l=z(0),c=z(1),a=z(1),u=ge(()=>r.value?i.value/r.value*100:0),d=ge(()=>r.value?l.value/r.value*100:0),p=ge(()=>aa(i.value,r.value)),v=[.5,.75,1,1.25,1.5,2];function T(){const R=e();R&&(R.paused?R.play():R.pause())}function S(){const R=e();R&&R.play()}function m(){const R=e();R&&R.pause()}function I(){const R=e();R&&(R.muted=!R.muted,o.value=R.muted)}function j(R){const fe=e();if(!fe)return;const ve=Math.max(0,Math.min(1,R));fe.volume=ve,c.value=ve,fe.muted=!1,o.value=!1}function H(R){const fe=e();fe&&j(fe.volume+R)}function A(R){const fe=e();fe&&(fe.currentTime=Math.max(0,Math.min(r.value,R)))}function W(R){A(R*r.value)}function $(R){const fe=e();fe&&(fe.currentTime+=R)}function J(R){const fe=e();fe&&(fe.playbackRate=R,a.value=R)}function ne(){s.value=!0}function V(){s.value=!1}let K=!1;function se(R){K=R}function O(){if(K)return;const R=e();R&&(i.value=R.currentTime,R.buffered.length>0&&(l.value=R.buffered.end(R.buffered.length-1)))}function Q(){const R=e();R&&(r.value=R.duration,t.value=!1)}function ae(){t.value=!1}function he(){t.value=!0}function D(){t.value=!1,n.value=!0}function N(R){switch(R.code){case"Space":R.preventDefault(),T();break;case"ArrowLeft":$(-10);break;case"ArrowRight":$(10);break;case"ArrowUp":R.preventDefault(),H(.1);break;case"ArrowDown":R.preventDefault(),H(-.1);break;case"KeyM":I();break}}function U(){const R=e();R==null||R.play().catch(()=>{})}return qe(()=>{document.addEventListener("keydown",N)}),Ye(()=>{document.removeEventListener("keydown",N)}),{isLoading:t,hasError:n,isPlaying:s,isMuted:o,currentTime:i,duration:r,buffered:l,volume:c,playbackRate:a,playedPercent:u,bufferedPercent:d,timeDisplay:p,speedOptions:v,togglePlay:T,play:S,pause:m,toggleMute:I,setVolume:j,adjustVolume:H,seekTo:A,seekToPercent:W,seek:$,setSpeed:J,autoPlay:U,setPauseTimeUpdate:se,handlePlay:ne,handlePause:V,handleTimeUpdate:O,handleLoadedMetadata:Q,handleCanPlay:ae,handleWaiting:he,handleError:D,formatTime:pn}}function fa(e){const t=z(!1);async function n(){const c=e();c&&(document.fullscreenElement?await document.exitFullscreen():await c.requestFullscreen())}async function s(){const c=e();!c||document.fullscreenElement||await c.requestFullscreen()}async function o(){document.fullscreenElement&&await document.exitFullscreen()}let i;function r(){t.value=!!document.fullscreenElement,i==null||i(t.value)}function l(c){i=c}return qe(()=>{document.addEventListener("fullscreenchange",r)}),Ye(()=>{document.removeEventListener("fullscreenchange",r)}),{isFullscreen:t,toggleFullscreen:n,enterFullscreen:s,exitFullscreen:o,setOnFullscreenChange:l}}function Bt(e){const n=e.trim().replace(",",".").match(/^(?:(\d+):)?(\d+):(\d+(?:\.\d+)?)$/);if(!n)return 0;const s=n[1]?parseInt(n[1],10):0,o=parseInt(n[2],10),i=parseFloat(n[3]);return s*3600+o*60+i}function Fs(e){const t=[],n=e.trim().split(/\n\s*\n/);for(const s of n){const o=s.trim().split(`
|
|
18
|
-
`);if(o.length<2)continue;let i=0;/-->/.test(o[0])||(i=1);const l=o[i].match(/(\d+:\d+:\d+[,\.]\d+)\s*-->\s*(\d+:\d+:\d+[,\.]\d+)/);if(!l)continue;const c=Bt(l[1]),a=Bt(l[2]),u=o.slice(i+1).join(`
|
|
19
|
-
`).trim();u&&t.push({start:c,end:a,text:u})}return t}function Cr(e){const t=[],n=e.split(`
|
|
20
|
-
`);let s=0;for(;s<n.length&&!n[s].includes("-->");)s++;for(;s<n.length;){const i=n[s].trim().match(/(\d+:?\d+:\d+\.\d+)\s*-->\s*(\d+:?\d+:\d+\.\d+)/);if(i){const r=Bt(i[1]),l=Bt(i[2]),c=[];for(s++;s<n.length&&n[s].trim()!==""&&!n[s].includes("-->");)c.push(n[s].trim()),s++;const a=c.join(`
|
|
21
|
-
`);a&&t.push({start:r,end:l,text:a})}else s++}return t}function Tr(e){const t=[],n=e.split(`
|
|
22
|
-
`);let s=!1,o=[],i=-1,r=-1,l=-1;for(const c of n){const a=c.trim();if(a.toLowerCase()==="[events]"){s=!0;continue}if(a.startsWith("[")&&a.endsWith("]")){s=!1;continue}if(s){if(a.toLowerCase().startsWith("format:")){o=a.substring(7).trim().split(",").map(d=>d.trim().toLowerCase()),i=o.indexOf("text"),r=o.indexOf("start"),l=o.indexOf("end");continue}if(a.toLowerCase().startsWith("dialogue:")){const u=a.substring(9).trim(),d=[];let p="",v=0;for(let T=0;T<u.length;T++){const S=u[T];S===","&&v<o.length-1?(d.push(p.trim()),p="",v++):p+=S}if(d.push(p.trim()),r>=0&&l>=0&&i>=0){const T=Bt(d[r]||"0"),S=Bt(d[l]||"0");let m=d[i]||"";m=m.replace(/\{[^}]*\}/g,"").replace(/\\N/g,`
|
|
23
|
-
`).replace(/\\n/g,`
|
|
24
|
-
`).replace(/\\h/g," ").trim(),m&&t.push({start:T,end:S,text:m})}}}}return t.sort((c,a)=>c.start-a.start),t}function da(e){const t=e.trim();return t.startsWith("WEBVTT")?"vtt":t.includes("[Script Info]")||t.includes("[Events]")?"ass":/^\d+\s*\n/.test(t)?"srt":"unknown"}function ha(e){switch(da(e)){case"srt":return Fs(e);case"vtt":return Cr(e);case"ass":return Tr(e);default:return Fs(e)}}function pa(e,t){switch(t.toLowerCase().replace(".","")){case"srt":return Fs(e);case"vtt":case"webvtt":return Cr(e);case"ass":case"ssa":return Tr(e);default:return ha(e)}}function ga(e,t){for(const n of e)if(t>=n.start&&t<=n.end)return n;return null}function ma(e){const t=e.toLowerCase(),n=[{pattern:/\.zh[-_]?(cn|hans?)?\./,label:"简体中文",language:"zh-CN"},{pattern:/\.zh[-_]?(tw|hant?)\./,label:"繁體中文",language:"zh-TW"},{pattern:/\.chs?\./,label:"简体中文",language:"zh-CN"},{pattern:/\.cht?\./,label:"繁體中文",language:"zh-TW"},{pattern:/\.chinese\./,label:"中文",language:"zh"},{pattern:/\.en(g(lish)?)?\./,label:"English",language:"en"},{pattern:/\.ja(p(anese)?)?\./,label:"日本語",language:"ja"},{pattern:/\.ko(r(ean)?)?\./,label:"한국어",language:"ko"},{pattern:/\.fr(ench)?\./,label:"Français",language:"fr"},{pattern:/\.de(utsch)?\./,label:"Deutsch",language:"de"},{pattern:/\.es(panol)?\./,label:"Español",language:"es"}];for(const{pattern:s,label:o,language:i}of n)if(s.test(t))return{label:o,language:i};return{label:"字幕",language:""}}const va=["innerHTML"],ya=Ke({__name:"SubtitleOverlay",props:{cue:{},visible:{type:Boolean},fontSize:{}},setup(e){const t=e,n=ge(()=>t.fontSize||24),s=ge(()=>{var o;return(o=t.cue)!=null&&o.text?t.cue.text.replace(/</g,"<").replace(/>/g,">").replace(/\n/g,"<br>"):""});return(o,i)=>(Y(),Pe(vn,{name:"subtitle-fade"},{default:Vt(()=>[e.visible&&e.cue?(Y(),ie("div",{key:0,class:"subtitle-overlay",style:Ve({"--subtitle-font-size":n.value+"px"})},[E("div",{class:"subtitle-text",innerHTML:s.value},null,8,va)],4)):ke("",!0)]),_:1}))}}),ba=et(ya,[["__scopeId","data-v-dc97bca0"]]);function Sr(e){const{getElement:t,onChange:n,thumbRadius:s=0}=e,o=z(!1);function i(d){const p=t();if(!p)return 0;const v=p.getBoundingClientRect(),T=v.width-s*2,S=d-v.left-s;return Math.max(0,Math.min(1,S/T))}function r(d){const p=i(d);n(p)}function l(d){d.preventDefault(),o.value=!0,r(d.clientX),document.addEventListener("mousemove",c),document.addEventListener("mouseup",a)}function c(d){o.value&&r(d.clientX)}function a(){o.value=!1,document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",a)}function u(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",a)}return Ye(u),{isDragging:o,handleMouseDown:l,cleanup:u}}const _a={class:"progress-bar"},xa=Ke({__name:"ProgressBar",props:{played:{},buffered:{},color:{}},emits:["change"],setup(e,{emit:t}){const n=e,s=t,o=z(),{isDragging:i,handleMouseDown:r}=Sr({getElement:()=>o.value,onChange:c=>s("change",c),thumbRadius:7}),l=ge(()=>n.color||"var(--huyooo-primary)");return(c,a)=>(Y(),ie("div",{ref_key:"containerRef",ref:o,class:Ae(["progress-container",{dragging:C(i)}]),onMousedown:a[0]||(a[0]=(...u)=>C(r)&&C(r)(...u))},[E("div",_a,[e.buffered!==void 0?(Y(),ie("div",{key:0,class:"progress-buffered",style:Ve({width:e.buffered+"%"})},null,4)):ke("",!0),E("div",{class:"progress-played",style:Ve({width:e.played+"%",backgroundColor:l.value})},null,4),E("div",{class:"progress-thumb",style:Ve({left:e.played+"%"})},null,4)])],34))}}),wa=et(xa,[["__scopeId","data-v-e254f7fa"]]),Ca={class:"volume-control"},Ta={class:"volume-label"},Sa=Ke({__name:"VolumeControl",props:{volume:{},muted:{type:Boolean}},emits:["update:volume","toggleMute"],setup(e,{emit:t}){const n=e,s=t,o=z(),{isDragging:i,handleMouseDown:r}=Sr({getElement:()=>o.value,onChange:a=>s("update:volume",a),thumbRadius:6}),l=ge(()=>n.muted||n.volume<=0?"lucide:volume-x":n.volume>.5?"lucide:volume-2":"lucide:volume-1"),c=ge(()=>Math.round(n.volume*100));return(a,u)=>(Y(),ie("div",Ca,[E("button",{class:"btn",onClick:u[0]||(u[0]=d=>s("toggleMute")),title:"静音 (M)"},[Z(C(de),{icon:l.value},null,8,["icon"])]),E("div",{ref_key:"volumeTrackRef",ref:o,class:Ae(["volume-track",{dragging:C(i)}]),onMousedown:u[1]||(u[1]=(...d)=>C(r)&&C(r)(...d))},[E("div",{class:"volume-progress",style:Ve({width:e.volume*100+"%"})},null,4),E("div",{class:"volume-thumb",style:Ve({left:e.volume*100+"%"})},null,4)],34),E("span",Ta,De(c.value),1)]))}}),Pa=et(Sa,[["__scopeId","data-v-9a3c4622"]]),Ea=["title"],ka={class:"speed-text"},Ia={key:0,class:"speed-menu"},Ma=["onClick"],Aa=Ke({__name:"SpeedMenu",props:{speed:{},options:{},activeColor:{}},emits:["update:speed"],setup(e,{emit:t}){const n=e,s=t,o=z(!1),i=n.options||[.5,.75,1,1.25,1.5,2];function r(c){s("update:speed",c),o.value=!1}function l(){o.value=!1}return qe(()=>{document.addEventListener("click",l)}),Ye(()=>{document.removeEventListener("click",l)}),(c,a)=>(Y(),ie("div",{class:"speed-wrapper",onClick:a[1]||(a[1]=Nn(()=>{},["stop"]))},[E("button",{class:"btn speed-btn",onClick:a[0]||(a[0]=u=>o.value=!o.value),title:`播放速度: ${e.speed}x`},[E("span",ka,De(e.speed)+"x",1)],8,Ea),Z(vn,{name:"menu-fade"},{default:Vt(()=>[o.value?(Y(),ie("div",Ia,[(Y(!0),ie(je,null,Ni(C(i),u=>(Y(),ie("button",{key:u,class:Ae(["speed-option",{active:e.speed===u}]),style:Ve(e.speed===u?{color:e.activeColor||"var(--huyooo-primary)"}:{}),onClick:d=>r(u)},De(u)+"x ",15,Ma))),128))])):ke("",!0)]),_:1})]))}}),La=et(Aa,[["__scopeId","data-v-9043968f"]]),Fa={key:0,class:"subtitle-menu"},Oa={class:"check-mark"},Ra=["onClick"],$a={class:"check-mark"},Da={class:"check-mark"},Na=Ke({__name:"SubtitleMenu",props:{tracks:{},currentTrack:{},activeColor:{}},emits:["update:currentTrack","loadSubtitle"],setup(e,{emit:t}){const n=t,s=z(!1);function o(l){n("update:currentTrack",l),s.value=!1}function i(){n("loadSubtitle"),s.value=!1}function r(){s.value=!1}return qe(()=>{document.addEventListener("click",r)}),Ye(()=>{document.removeEventListener("click",r)}),(l,c)=>(Y(),ie("div",{class:"subtitle-wrapper",onClick:c[2]||(c[2]=Nn(()=>{},["stop"]))},[E("button",{class:Ae(["btn",{active:e.currentTrack>=0}]),title:"字幕",onClick:c[0]||(c[0]=a=>s.value=!s.value)},[Z(C(de),{icon:"lucide:captions"})],2),Z(vn,{name:"menu-fade"},{default:Vt(()=>[s.value?(Y(),ie("div",Fa,[E("button",{class:Ae(["menu-option",{active:e.currentTrack===-1}]),onClick:c[1]||(c[1]=a=>o(-1))},[E("span",Oa,[e.currentTrack===-1?(Y(),Pe(C(de),{key:0,icon:"lucide:check"})):ke("",!0)]),c[3]||(c[3]=E("span",null,"关闭",-1))],2),(Y(!0),ie(je,null,Ni(e.tracks,(a,u)=>(Y(),ie("button",{key:u,class:Ae(["menu-option",{active:e.currentTrack===u}]),onClick:d=>o(u)},[E("span",$a,[e.currentTrack===u?(Y(),Pe(C(de),{key:0,icon:"lucide:check"})):ke("",!0)]),E("span",null,De(a.label),1)],10,Ra))),128)),c[5]||(c[5]=E("div",{class:"menu-divider"},null,-1)),E("button",{class:"menu-option load-option",onClick:i},[E("span",Da,[Z(C(de),{icon:"lucide:plus"})]),c[4]||(c[4]=E("span",null,"加载字幕...",-1))])])):ke("",!0)]),_:1})]))}}),ja=et(Na,[["__scopeId","data-v-b528172d"]]),Ha={key:0,class:"controls"},Ba={class:"controls-row"},Va={class:"left-controls"},Ua={class:"progress-row"},Wa={class:"time time-current"},za={class:"time time-duration"},Ka={class:"center-controls"},qa={class:"right-controls"},Ya=["title"],Ga=Ke({__name:"PlayerControls",props:{showControls:{type:Boolean},hasError:{type:Boolean},isPlaying:{type:Boolean},isMuted:{type:Boolean},currentTime:{},duration:{},playedPercent:{},bufferedPercent:{},volume:{},playbackRate:{},isFullscreen:{type:Boolean},showSubtitle:{type:Boolean},showPiP:{type:Boolean},showFullscreen:{type:Boolean},subtitleTracks:{},currentTrackIndex:{}},emits:["togglePlay","seek","progressChange","volumeChange","toggleMute","speedChange","togglePiP","toggleFullscreen","trackChange","loadSubtitle"],setup(e,{emit:t}){const n=e,s=t,o=ge(()=>pn(n.currentTime)),i=ge(()=>pn(n.duration));function r(){s("togglePlay")}function l(m){s("seek",m)}function c(m){s("progressChange",m)}function a(m){s("volumeChange",m)}function u(){s("toggleMute")}function d(m){s("speedChange",m)}function p(){s("togglePiP")}function v(){s("toggleFullscreen")}function T(m){s("trackChange",m)}function S(){s("loadSubtitle")}return(m,I)=>(Y(),Pe(vn,{name:"controls-slide"},{default:Vt(()=>[e.hasError?ke("",!0):Ei((Y(),ie("div",Ha,[E("div",Ba,[E("div",Va,[E("div",Ua,[E("span",Wa,De(o.value),1),Z(wa,{played:e.playedPercent,buffered:e.bufferedPercent,onChange:c},null,8,["played","buffered"]),E("span",za,De(i.value),1)])]),E("div",Ka,[E("button",{class:"btn",onClick:I[0]||(I[0]=j=>l(-10)),title:"后退10秒 (←)"},[Z(C(de),{icon:"lucide:skip-back"})]),E("button",{class:"btn btn-play",onClick:r,title:"播放/暂停 (空格)"},[e.isPlaying?(Y(),Pe(C(de),{key:1,icon:"lucide:pause"})):(Y(),Pe(C(de),{key:0,icon:"lucide:play"}))]),E("button",{class:"btn",onClick:I[1]||(I[1]=j=>l(10)),title:"快进10秒 (→)"},[Z(C(de),{icon:"lucide:skip-forward"})])]),E("div",qa,[Z(Pa,{volume:e.volume,muted:e.isMuted,"onUpdate:volume":a,onToggleMute:u},null,8,["volume","muted"]),Z(La,{speed:e.playbackRate,"onUpdate:speed":d},null,8,["speed"]),e.showSubtitle?(Y(),Pe(ja,{key:0,tracks:e.subtitleTracks||[],"current-track":e.currentTrackIndex??-1,"onUpdate:currentTrack":T,onLoadSubtitle:S},null,8,["tracks","current-track"])):ke("",!0),e.showPiP?(Y(),ie("button",{key:1,class:"btn",onClick:p,title:"画中画 (P)"},[Z(C(de),{icon:"lucide:picture-in-picture"})])):ke("",!0),e.showFullscreen?(Y(),ie("button",{key:2,class:"btn",onClick:v,title:e.isFullscreen?"退出全屏 (F)":"全屏 (F)"},[e.isFullscreen?(Y(),Pe(C(de),{key:1,icon:"lucide:minimize"})):(Y(),Pe(C(de),{key:0,icon:"lucide:maximize"}))],8,Ya)):ke("",!0)])])],512)),[[ar,e.showControls]])]),_:1}))}}),Pr=et(Ga,[["__scopeId","data-v-6bd09f3e"]]),Xa=["src"],Ja={key:0,class:"loader"},Qa={key:0,class:"big-play"},Za={key:1,class:"error-overlay"},ef=2500,tf=Ke({__name:"VideoPlayer",props:{url:{},name:{}},setup(e){const t=z(),n=z(),s=wr(()=>n.value),{isFullscreen:o,toggleFullscreen:i,exitFullscreen:r}=fa(()=>t.value),l=z([]),c=z(-1),a=z(null),u=ge(()=>c.value>=0?l.value[c.value]:null);function d(){if(!u.value){a.value=null;return}a.value=ga(u.value.cues,s.currentTime.value)}At(()=>s.currentTime.value,d),At(c,d);async function p(){const D=document.createElement("input");D.type="file",D.accept=".srt,.vtt,.ass,.ssa",D.multiple=!0,D.onchange=async()=>{var N;if((N=D.files)!=null&&N.length)for(const U of Array.from(D.files))try{const R=await U.text(),fe=U.name.split(".").pop()||"",ve=pa(R,fe);if(ve.length>0){const{label:Ce,language:bt}=ma(U.name);l.value.push({label:Ce||U.name,language:bt,cues:ve}),c.value===-1&&(c.value=0)}}catch(R){console.error("加载字幕失败:",U.name,R)}},D.click()}function v(D){c.value=D}const T=z(!0);let S;function m(){S&&(clearTimeout(S),S=void 0)}function I(){m(),s.isPlaying.value&&(S=window.setTimeout(()=>{T.value=!1},ef))}function j(){T.value=!0,I()}function H(){j()}function A(){s.isPlaying.value&&(m(),T.value=!1)}At(()=>s.isPlaying.value,D=>{D?I():(m(),T.value=!0)});let W,$=0;function J(){$++,$===1&&(W=window.setTimeout(()=>{$===1&&s.togglePlay(),$=0},200))}function ne(){W&&(clearTimeout(W),W=void 0),$=0,i()}async function V(){n.value&&(document.pictureInPictureElement?await document.exitPictureInPicture():await n.value.requestPictureInPicture())}function K(){var D;(D=window.electronAPI)!=null&&D.hideWindow&&window.electronAPI.hideWindow()}function se(){var D;(D=window.electronAPI)!=null&&D.showWindow&&window.electronAPI.showWindow()}function O(D){switch(D.code){case"KeyF":i();break;case"KeyP":V();break;case"Escape":o.value&&r();break}}function Q(D){s.setPauseTimeUpdate(!0),s.seekToPercent(D),setTimeout(()=>s.setPauseTimeUpdate(!1),100)}function ae(D){s.setVolume(D)}function he(D){s.setSpeed(D)}return qe(()=>{var D,N;document.addEventListener("keydown",O),(D=n.value)==null||D.addEventListener("enterpictureinpicture",K),(N=n.value)==null||N.addEventListener("leavepictureinpicture",se),s.autoPlay()}),Ye(()=>{var D,N;document.removeEventListener("keydown",O),(D=n.value)==null||D.removeEventListener("enterpictureinpicture",K),(N=n.value)==null||N.removeEventListener("leavepictureinpicture",se),m(),W&&clearTimeout(W)}),(D,N)=>(Y(),ie("div",{ref_key:"playerRef",ref:t,class:Ae(["player",{fullscreen:C(o),"hide-cursor":!T.value}]),onMousemove:H,onMouseleave:A},[E("video",{ref_key:"videoRef",ref:n,src:e.url,preload:"metadata",onPlay:N[0]||(N[0]=(...U)=>C(s).handlePlay&&C(s).handlePlay(...U)),onPause:N[1]||(N[1]=(...U)=>C(s).handlePause&&C(s).handlePause(...U)),onTimeupdate:N[2]||(N[2]=(...U)=>C(s).handleTimeUpdate&&C(s).handleTimeUpdate(...U)),onLoadedmetadata:N[3]||(N[3]=(...U)=>C(s).handleLoadedMetadata&&C(s).handleLoadedMetadata(...U)),onCanplay:N[4]||(N[4]=(...U)=>C(s).handleCanPlay&&C(s).handleCanPlay(...U)),onWaiting:N[5]||(N[5]=(...U)=>C(s).handleWaiting&&C(s).handleWaiting(...U)),onError:N[6]||(N[6]=(...U)=>C(s).handleError&&C(s).handleError(...U)),onClick:J,onDblclick:ne},null,40,Xa),C(s).isLoading.value&&!C(s).hasError.value?(Y(),ie("div",Ja)):ke("",!0),Z(vn,{name:"fade"},{default:Vt(()=>[!C(s).isPlaying.value&&!C(s).hasError.value?(Y(),ie("div",Qa,[...N[7]||(N[7]=[E("svg",{viewBox:"0 0 24 24",fill:"currentColor"},[E("path",{d:"M8 5v14l11-7z"})],-1)])])):ke("",!0)]),_:1}),C(s).hasError.value?(Y(),ie("div",Za,[...N[8]||(N[8]=[E("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[E("circle",{cx:"12",cy:"12",r:"10"}),E("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),E("line",{x1:"9",y1:"9",x2:"15",y2:"15"})],-1),E("p",null,"无法播放此视频",-1)])])):ke("",!0),Z(ba,{cue:a.value,visible:c.value>=0},null,8,["cue","visible"]),Z(Pr,{"show-controls":T.value,"has-error":C(s).hasError.value,"is-playing":C(s).isPlaying.value,"is-muted":C(s).isMuted.value,"current-time":C(s).currentTime.value,duration:C(s).duration.value,"played-percent":C(s).playedPercent.value,"buffered-percent":C(s).bufferedPercent.value,volume:C(s).volume.value,"playback-rate":C(s).playbackRate.value,"is-fullscreen":C(o),"show-subtitle":!0,"show-pi-p":!0,"show-fullscreen":!0,"subtitle-tracks":l.value,"current-track-index":c.value,onTogglePlay:C(s).togglePlay,onSeek:C(s).seek,onProgressChange:Q,onVolumeChange:ae,onToggleMute:C(s).toggleMute,onSpeedChange:he,onTogglePiP:V,onToggleFullscreen:C(i),onTrackChange:v,onLoadSubtitle:p},null,8,["show-controls","has-error","is-playing","is-muted","current-time","duration","played-percent","buffered-percent","volume","playback-rate","is-fullscreen","subtitle-tracks","current-track-index","onTogglePlay","onSeek","onToggleMute","onToggleFullscreen"])],34))}}),nf=et(tf,[["__scopeId","data-v-cee7e86a"]]),sf=["src"],of={class:"content"},rf={class:"cover"},lf={class:"title"},cf={class:"controls-wrapper"},uf=Ke({__name:"AudioPlayer",props:{url:{},name:{}},setup(e){const t=z(),n=wr(()=>t.value);function s(r){n.setPauseTimeUpdate(!0),n.seekToPercent(r),setTimeout(()=>n.setPauseTimeUpdate(!1),100)}function o(r){n.setVolume(r)}function i(r){n.setSpeed(r)}return qe(()=>{n.autoPlay()}),(r,l)=>(Y(),ie("div",{class:Ae(["player",{playing:C(n).isPlaying.value}])},[l[8]||(l[8]=E("div",{class:"bg-animation"},null,-1)),E("audio",{ref_key:"audioRef",ref:t,src:e.url,preload:"metadata",onPlay:l[0]||(l[0]=(...c)=>C(n).handlePlay&&C(n).handlePlay(...c)),onPause:l[1]||(l[1]=(...c)=>C(n).handlePause&&C(n).handlePause(...c)),onTimeupdate:l[2]||(l[2]=(...c)=>C(n).handleTimeUpdate&&C(n).handleTimeUpdate(...c)),onLoadedmetadata:l[3]||(l[3]=(...c)=>C(n).handleLoadedMetadata&&C(n).handleLoadedMetadata(...c)),onCanplay:l[4]||(l[4]=(...c)=>C(n).handleCanPlay&&C(n).handleCanPlay(...c)),onWaiting:l[5]||(l[5]=(...c)=>C(n).handleWaiting&&C(n).handleWaiting(...c)),onError:l[6]||(l[6]=(...c)=>C(n).handleError&&C(n).handleError(...c))},null,40,sf),E("div",of,[E("div",rf,[Z(C(de),{icon:"lucide:music-2"})]),E("p",lf,De(e.name),1),l[7]||(l[7]=E("p",{class:"subtitle"},"音频文件",-1))]),E("div",cf,[Z(Pr,{"show-controls":!0,"has-error":C(n).hasError.value,"is-playing":C(n).isPlaying.value,"is-muted":C(n).isMuted.value,"current-time":C(n).currentTime.value,duration:C(n).duration.value,"played-percent":C(n).playedPercent.value,"buffered-percent":C(n).bufferedPercent.value,volume:C(n).volume.value,"playback-rate":C(n).playbackRate.value,"show-subtitle":!1,"show-pi-p":!1,"show-fullscreen":!1,onTogglePlay:C(n).togglePlay,onSeek:C(n).seek,onProgressChange:s,onVolumeChange:o,onToggleMute:C(n).toggleMute,onSpeedChange:i},null,8,["has-error","is-playing","is-muted","current-time","duration","played-percent","buffered-percent","volume","playback-rate","onTogglePlay","onSeek","onToggleMute"])])],2))}}),af=et(uf,[["__scopeId","data-v-690d605e"]]),ff={key:0,class:"titlebar-content mac"},df={class:"window-title"},hf={key:1,class:"titlebar-content windows"},pf={class:"window-title"},gf={class:"window-controls"},mf=["title"],vf={key:0,class:"loading"},yf={key:1,class:"error"},bf={key:2,class:"media-container"},_f=Ke({__name:"App",setup(e){const t=z("video"),n=z(""),s=z(""),o=z(!0),i=z(""),r=z("darwin"),l=z(!1),c=ge(()=>r.value==="darwin"),a=ge(()=>r.value==="win32"),u={image:ua,video:nf,audio:af},d=ge(()=>u[t.value]);function p(){var m,I;(I=(m=window.electronAPI)==null?void 0:m.minimizeWindow)==null||I.call(m)}function v(){var m,I;(I=(m=window.electronAPI)==null?void 0:m.toggleMaximizeWindow)==null||I.call(m)}function T(){var m,I;(I=(m=window.electronAPI)==null?void 0:m.closeWindow)==null||I.call(m)}let S;return qe(()=>{var W,$;const m=new URLSearchParams(window.location.search),I=m.get("type"),j=m.get("url"),H=m.get("name"),A=m.get("platform");if(document.documentElement.setAttribute("data-theme","dark"),!I||!j){i.value="参数错误:缺少必要的媒体信息",o.value=!1;return}t.value=I,n.value=decodeURIComponent(j),s.value=H?decodeURIComponent(H):"未知文件",r.value=A||"darwin",o.value=!1,document.title=s.value,S=($=(W=window.electronAPI)==null?void 0:W.onMaximizeChange)==null?void 0:$.call(W,J=>{l.value=J})}),Ye(()=>{S==null||S()}),(m,I)=>(Y(),ie("div",{class:Ae(["app",{"platform-mac":c.value,"platform-windows":a.value}])},[E("div",{class:Ae(["titlebar",{"titlebar-mac":c.value,"titlebar-windows":a.value}])},[c.value?(Y(),ie("div",ff,[E("span",df,De(s.value),1)])):(Y(),ie("div",hf,[E("span",pf,De(s.value),1),E("div",gf,[E("button",{class:"control-btn minimize",onClick:p,title:"最小化"},[Z(C(de),{icon:"lucide:minus"})]),E("button",{class:"control-btn maximize",onClick:v,title:l.value?"还原":"最大化"},[Z(C(de),{icon:l.value?"lucide:square":"lucide:maximize"},null,8,["icon"])],8,mf),E("button",{class:"control-btn close",onClick:T,title:"关闭"},[Z(C(de),{icon:"lucide:x"})])])]))],2),o.value?(Y(),ie("div",vf,[...I[0]||(I[0]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)])])):i.value?(Y(),ie("div",yf,[I[1]||(I[1]=E("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[E("circle",{cx:"12",cy:"12",r:"10"}),E("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),E("line",{x1:"9",y1:"9",x2:"15",y2:"15"})],-1)),E("p",null,De(i.value),1)])):(Y(),ie("div",bf,[(Y(),Pe(Ll(d.value),{url:n.value,name:s.value},null,8,["url","name"]))]))],2))}}),xf=et(_f,[["__scopeId","data-v-8f4a0312"]]);Zc(xf).mount("#app");
|