@xysfe/bug-tap 0.1.1 → 0.1.3

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.
@@ -0,0 +1,19 @@
1
+ "use strict";/*! @xysfe/bug-tap v0.1.3 | MIT */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const It=require("./index-D9HD92fq.cjs");/**
2
+ * @vue/shared v3.5.45
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/function ln(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const G={},dt=[],He=()=>{},or=()=>!1,ws=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Es=e=>e.startsWith("onUpdate:"),te=Object.assign,on=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},mi=Object.prototype.hasOwnProperty,U=(e,t)=>mi.call(e,t),R=Array.isArray,nt=e=>Xt(e)==="[object Map]",mt=e=>Xt(e)==="[object Set]",On=e=>Xt(e)==="[object Date]",V=e=>typeof e=="function",Z=e=>typeof e=="string",Le=e=>typeof e=="symbol",q=e=>e!==null&&typeof e=="object",cr=e=>(q(e)||V(e))&&V(e.then)&&V(e.catch),fr=Object.prototype.toString,Xt=e=>fr.call(e),bi=e=>Xt(e).slice(8,-1),ur=e=>Xt(e)==="[object Object]",cn=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vt=ln(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ts=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},_i=/-\w/g,Oe=Ts(e=>e.replace(_i,t=>t.slice(1).toUpperCase())),vi=/\B([A-Z])/g,bt=Ts(e=>e.replace(vi,"-$1").toLowerCase()),ar=Ts(e=>e.charAt(0).toUpperCase()+e.slice(1)),js=Ts(e=>e?`on${ar(e)}`:""),Ne=(e,t)=>!Object.is(e,t),fs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},dr=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Zt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let An;const Os=()=>An||(An=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function fn(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=Z(n)?Ci(n):fn(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(Z(e)||q(e))return e}const yi=/;(?![^(]*\))/g,xi=/:([^]+)/,Si=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function Ci(e){const t={};return e.replace(Si,s=>s.startsWith("/*")?"":s).split(yi).forEach(s=>{if(s){const n=s.split(xi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Tt(e){let t="";if(Z(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=Tt(e[s]);n&&(t+=n+" ")}else if(q(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const wi="itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly",Ei=ln(wi);function hr(e){return!!e||e===""}function Ti(e,t,s){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=it(e[r],t[r],s);return n}function Pn(e,t,s){if(e.size!==t.size)return!1;const n=Array.from(t),r=new Uint8Array(n.length);for(const i of e){let l=-1;for(let o=0;o<n.length;o++)if(!r[o]&&it(i,n[o],s)){l=o;break}if(l<0)return!1;r[l]=1}return!0}function Oi(e,t,s){let n=nt(e),r=nt(t);if(n||r||(n=mt(e),r=mt(t),n||r))return n&&r?Pn(e,t,s):!1;const i=Object.keys(e).length,l=Object.keys(t).length;if(i!==l)return!1;for(const o in e){const f=e.hasOwnProperty(o),d=t.hasOwnProperty(o);if(f&&!d||!f&&d||!it(e[o],t[o],s))return!1}return String(e)===String(t)}function In(e,t,s,n){s||(s=[new Map,new Map]);const[r,i]=s;if(r.has(e)||i.has(t))return r.get(e)===t&&i.get(t)===e;r.set(e,t),i.set(t,e);const l=n(e,t,s);return r.delete(e),i.delete(t),l}function it(e,t,s){if(e===t)return!0;let n=On(e),r=On(t);return n||r?n&&r?e.getTime()===t.getTime():!1:(n=Le(e),r=Le(t),n||r?e===t:(n=R(e),r=R(t),n||r?n&&r?In(e,t,s,Ti):!1:(n=q(e),r=q(t),n||r?!n||!r?!1:In(e,t,s,Oi):String(e)===String(t))))}function Ai(e,t){return e.findIndex(s=>it(s,t))}const pr=e=>!!(e&&e.__v_isRef===!0),De=e=>Z(e)?e:e==null?"":R(e)||q(e)&&(e.toString===fr||!V(e.toString))?pr(e)?De(e.value):JSON.stringify(e,gr,2):String(e),gr=(e,t)=>pr(t)?gr(e,t.value):nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[Vs(n,i)+" =>"]=r,s),{})}:mt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Vs(s))}:Le(t)?Vs(t):q(t)&&!R(t)&&!ur(t)?String(t):t,Vs=(e,t="")=>{var s;return Le(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
6
+ * @vue/reactivity v3.5.45
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let re;class Pi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&re&&(re.active?(this.parent=re,this.index=(re.scopes||(re.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t<s;t++)n[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const r=this.scopes.slice();for(t=0,s=r.length;t<s;t++)r[t].resume()}const n=this.effects.slice();for(t=0,s=n.length;t<s;t++)n[t].resume()}}run(t){if(this._active){const s=re;try{return re=this,t()}finally{re=s}}}on(){++this._on===1&&(this.prevScope=re,re=this)}off(){if(this._on>0&&--this._on===0){if(re===this)re=this.prevScope;else{let t=re;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(s=0,n=r.length;s<n;s++)r[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Ii(){return re}let Y;const $s=new WeakSet;class mr{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,re&&(re.active?re.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,$s.has(this)&&($s.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||_r(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mn(this),vr(this);const t=Y,s=Ae;Y=this,Ae=!0;try{return this.fn()}finally{yr(this),Y=t,Ae=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)dn(t);this.deps=this.depsTail=void 0,Mn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?$s.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Js(this)&&this.run()}get dirty(){return Js(this)}}let br=0,$t,Nt;function _r(e,t=!1){if(e.flags|=8,t){e.next=Nt,Nt=e;return}e.next=$t,$t=e}function un(){br++}function an(){if(--br>0)return;if(Nt){let t=Nt;for(Nt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;$t;){let t=$t;for($t=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function vr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yr(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),dn(n),Mi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function Js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kt)||(e.globalVersion=kt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Js(e))))return;e.flags|=2;const t=e.dep,s=Y,n=Ae;Y=e,Ae=!0;try{vr(e);const r=e.fn(e._value);(t.version===0||Ne(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Y=s,Ae=n,yr(e),e.flags&=-3}}function dn(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)dn(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Mi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ae=!0;const Sr=[];function Ue(){Sr.push(Ae),Ae=!1}function Ke(){const e=Sr.pop();Ae=e===void 0?!0:e}function Mn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=Y;Y=void 0;try{t()}finally{Y=s}}}let kt=0;class Ri{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class hn{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(!Y||!Ae||Y===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Y)s=this.activeLink=new Ri(Y,this),Y.deps?(s.prevDep=Y.depsTail,Y.depsTail.nextDep=s,Y.depsTail=s):Y.deps=Y.depsTail=s,Cr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=Y.depsTail,s.nextDep=void 0,Y.depsTail.nextDep=s,Y.depsTail=s,Y.deps===s&&(Y.deps=n)}return s}trigger(t){this.version++,kt++,this.notify(t)}notify(t){un();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{an()}}}function Cr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Cr(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ys=new WeakMap,pt=Symbol(""),zs=Symbol(""),Wt=Symbol("");function ie(e,t,s){if(Ae&&Y){let n=Ys.get(e);n||Ys.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new hn),r.map=n,r.key=s),r.track()}}function Xe(e,t,s,n,r,i){const l=Ys.get(e);if(!l){kt++;return}const o=f=>{f&&f.trigger()};if(un(),t==="clear")l.forEach(o);else{const f=R(e),d=f&&cn(s);if(f&&s==="length"){const a=Number(n);l.forEach((g,E)=>{(E==="length"||E===Wt||!Le(E)&&E>=a)&&o(g)})}else switch((s!==void 0||l.has(void 0))&&o(l.get(s)),d&&o(l.get(Wt)),t){case"add":f?d&&o(l.get("length")):(o(l.get(pt)),nt(e)&&o(l.get(zs)));break;case"delete":f||(o(l.get(pt)),nt(e)&&o(l.get(zs)));break;case"set":nt(e)&&o(l.get(pt));break}}an()}function St(e){const t=K(e);return t===e||(ie(t,"iterate",Wt),Se(e))?t:Be(e)?rt(e)?t.map(s=>lt(Ce(s))):t.map(lt):t.map(Ce)}function As(e){return ie(e=K(e),"iterate",Wt),e}function je(e,t){return Be(e)?lt(rt(e)?Ce(t):t):Ce(t)}const Fi={__proto__:null,[Symbol.iterator](){return Ns(this,Symbol.iterator,e=>je(this,e))},concat(...e){return St(this).concat(...e.map(t=>R(t)?St(t):t))},entries(){return Ns(this,"entries",e=>(e[1]=je(this,e[1]),e))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,s=>s.map(n=>je(this,n)),arguments)},find(e,t){return Je(this,"find",e,t,s=>je(this,s),arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,s=>je(this,s),arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hs(this,"includes",e)},indexOf(...e){return Hs(this,"indexOf",e)},join(e){return St(this).join(e)},lastIndexOf(...e){return Hs(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return Mt(this,"pop")},push(...e){return Mt(this,"push",e)},reduce(e,...t){return Fn(this,"reduce",e,t)},reduceRight(e,...t){return Fn(this,"reduceRight",e,t)},shift(){return Mt(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return Mt(this,"splice",e)},toReversed(){return St(this).toReversed()},toSorted(e){return St(this).toSorted(e)},toSpliced(...e){return St(this).toSpliced(...e)},unshift(...e){return Mt(this,"unshift",e)},values(){return Ns(this,"values",e=>je(this,e))}};function Ns(e,t,s){const n=As(e),r=n[t],i=r.call(n);if(n!==e&&!Se(e)){if(i[Symbol.toStringTag]==="Array Iterator"){const l=Object.create(Object.getPrototypeOf(i));return l.next=()=>Rn(i.next(),s),r!==wr[t]&&Object.defineProperties(l,{return:{get(){const o=i.return;return typeof o=="function"?o.bind(i):o}},throw:{get(){const o=i.throw;return typeof o=="function"?o.bind(i):o}}}),l}i._next=i.next,i.next=()=>Rn(i._next(),s)}return i}function Rn(e,t){return e.done||(e.value=t(e.value)),e}const wr=Array.prototype;function Je(e,t,s,n,r,i){const l=As(e),o=l!==e&&!Se(e),f=l[t];if(f!==wr[t]){const g=f.apply(e,i);return o?Ce(g):g}let d=s;l!==e&&(o?d=function(g,E){return s.call(this,je(e,g),E,e)}:s.length>2&&(d=function(g,E){return s.call(this,g,E,e)}));const a=f.call(l,d,n);return o&&r?r(a):a}function Fn(e,t,s,n){const r=As(e),i=r!==e&&!Se(e);let l=s,o=!1;r!==e&&(i?(o=n.length===0,l=function(d,a,g){return o&&(o=!1,d=je(e,d)),s.call(this,d,je(e,a),g,e)}):s.length>3&&(l=function(d,a,g){return s.call(this,d,a,g,e)}));const f=r[t](l,...n);return o?je(e,f):f}function Hs(e,t,s){const n=K(e);ie(n,"iterate",Wt);const r=n[t](...s);return(r===-1||r===!1)&&bn(s[0])?(s[0]=K(s[0]),n[t](...s)):r}function Mt(e,t,s=[]){Ue(),un();const n=K(e)[t].apply(e,s);return an(),Ke(),n}const Di=ln("__proto__,__v_isRef,__isVue"),Er=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function ji(e){Le(e)||(e=String(e));const t=K(this);return ie(t,"has",e),t.hasOwnProperty(e)}class Tr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Wi:Ir:i?Pr:Ar).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=R(t);if(!r){let f;if(l&&(f=Fi[s]))return f;if(s==="hasOwnProperty")return ji}const o=Reflect.get(t,s,le(t)?t:n);if((Le(s)?Er.has(s):Di(s))||(r||ie(t,"get",s),i))return o;if(le(o)){const f=l&&cn(s)?o:o.value;return r&&q(f)?Zs(f):f}return q(o)?r?Zs(o):gn(o):o}}class Or extends Tr{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const l=R(t)&&cn(s);if(!this._isShallow){const d=Be(i);if(!Se(n)&&!Be(n)&&(i=K(i),n=K(n)),!l&&le(i)&&!le(n))return d||(i.value=n),!0}const o=l?Number(s)<t.length:U(t,s),f=Reflect.set(t,s,n,le(t)?t:r);return t===K(r)&&f&&(o?Ne(n,i)&&Xe(t,"set",s,n):Xe(t,"add",s,n)),f}deleteProperty(t,s){const n=U(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&Xe(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!Le(s)||!Er.has(s))&&ie(t,"has",s),n}ownKeys(t){return ie(t,"iterate",R(t)?"length":pt),Reflect.ownKeys(t)}}class Vi extends Tr{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const $i=new Or,Ni=new Vi,Hi=new Or(!0);const Xs=e=>e,ns=e=>Reflect.getPrototypeOf(e);function Li(e,t,s){return function(...n){const r=this.__v_raw,i=K(r),l=nt(i),o=e==="entries"||e===Symbol.iterator&&l,f=e==="keys"&&l,d=r[e](...n),a=s?Xs:t?lt:Ce;return!t&&ie(i,"iterate",f?zs:pt),te(Object.create(d),{next(){const{value:g,done:E}=d.next();return E?{value:g,done:E}:{value:o?[a(g[0]),a(g[1])]:a(g),done:E}}})}}function rs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ui(e,t){const s={get(r){const i=this.__v_raw,l=K(i),o=K(r);e||(Ne(r,o)&&ie(l,"get",r),ie(l,"get",o));const{has:f}=ns(l),d=t?Xs:e?lt:Ce;if(f.call(l,r))return d(i.get(r));if(f.call(l,o))return d(i.get(o));i!==l&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ie(K(r),"iterate",pt),r.size},has(r){const i=this.__v_raw,l=K(i),o=K(r);return e||(Ne(r,o)&&ie(l,"has",r),ie(l,"has",o)),r===o?i.has(r):i.has(r)||i.has(o)},forEach(r,i){const l=this,o=l.__v_raw,f=K(o),d=t?Xs:e?lt:Ce;return!e&&ie(f,"iterate",pt),o.forEach((a,g)=>r.call(i,d(a),d(g),l))}};return te(s,e?{add:rs("add"),set:rs("set"),delete:rs("delete"),clear:rs("clear")}:{add(r){const i=K(this),l=ns(i),o=K(r),f=!t&&!Se(r)&&!Be(r)?o:r;return l.has.call(i,f)||Ne(r,f)&&l.has.call(i,r)||Ne(o,f)&&l.has.call(i,o)||(i.add(f),Xe(i,"add",f,f)),this},set(r,i){!t&&!Se(i)&&!Be(i)&&(i=K(i));const l=K(this),{has:o,get:f}=ns(l);let d=o.call(l,r);d||(r=K(r),d=o.call(l,r));const a=f.call(l,r);return l.set(r,i),d?Ne(i,a)&&Xe(l,"set",r,i):Xe(l,"add",r,i),this},delete(r){const i=K(this),{has:l,get:o}=ns(i);let f=l.call(i,r);f||(r=K(r),f=l.call(i,r)),o&&o.call(i,r);const d=i.delete(r);return f&&Xe(i,"delete",r,void 0),d},clear(){const r=K(this),i=r.size!==0,l=r.clear();return i&&Xe(r,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Li(r,e,t)}),s}function pn(e,t){const s=Ui(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_isShallow"?t:r==="__v_raw"?n:Reflect.get(U(s,r)&&r in n?s:n,r,i)}const Ki={get:pn(!1,!1)},Bi={get:pn(!1,!0)},ki={get:pn(!0,!1)};const Ar=new WeakMap,Pr=new WeakMap,Ir=new WeakMap,Wi=new WeakMap;function qi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gn(e){return Be(e)?e:mn(e,!1,$i,Ki,Ar)}function Gi(e){return mn(e,!1,Hi,Bi,Pr)}function Zs(e){return mn(e,!0,Ni,ki,Ir)}function mn(e,t,s,n,r){if(!q(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const l=qi(bi(e));if(l===0)return e;const o=new Proxy(e,l===2?n:s);return r.set(e,o),o}function rt(e){return Be(e)?rt(e.__v_raw):!!(e&&e.__v_isReactive)}function Be(e){return!!(e&&e.__v_isReadonly)}function Se(e){return!!(e&&e.__v_isShallow)}function bn(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function Ji(e){return!U(e,"__v_skip")&&Object.isExtensible(e)&&dr(e,"__v_skip",!0),e}const Ce=e=>q(e)?gn(e):e,lt=e=>q(e)?Zs(e):e;function le(e){return e?e.__v_isRef===!0:!1}function ee(e){return Yi(e,!1)}function Yi(e,t){return le(e)?e:new zi(e,t)}class zi{constructor(t,s){this.dep=new hn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:K(t),this._value=s?t:Ce(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Se(t)||Be(t);t=n?t:K(t),Ne(t,s)&&(this._rawValue=t,this._value=n?t:Ce(t),this.dep.trigger())}}function Xi(e){return le(e)?e.value:e}const Zi={get:(e,t,s)=>t==="__v_raw"?e:Xi(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return le(r)&&!le(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Mr(e){return rt(e)?e:new Proxy(e,Zi)}class Qi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new hn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return _r(this,!0),!0}get value(){const t=this.dep.track();return xr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function el(e,t,s=!1){let n,r;return V(e)?n=e:(n=e.get,r=e.set),new Qi(n,r,s)}const is={},hs=new WeakMap;let ut;function tl(e,t=!1,s=ut){if(s){let n=hs.get(s);n||hs.set(s,n=[]),n.push(e)}}function sl(e,t,s=G){const{immediate:n,deep:r,once:i,scheduler:l,augmentJob:o,call:f}=s,d=I=>r?I:Se(I)||r===!1||r===0?Ze(I,1):Ze(I);let a,g,E,O,L=!1,F=!1;if(le(e)?(g=()=>e.value,L=Se(e)):rt(e)?(g=()=>d(e),L=!0):R(e)?(F=!0,L=e.some(I=>rt(I)||Se(I)),g=()=>e.map(I=>{if(le(I))return I.value;if(rt(I))return d(I);if(V(I))return f?f(I,2):I()})):V(e)?t?g=f?()=>f(e,2):e:g=()=>{if(E){Ue();try{E()}finally{Ke()}}const I=ut;ut=a;try{return f?f(e,3,[O]):e(O)}finally{ut=I}}:g=He,t&&r){const I=g,X=r===!0?1/0:r;g=()=>Ze(I(),X)}const B=Ii(),k=()=>{a.stop(),B&&B.active&&on(B.effects,a)};if(i&&t){const I=t;t=(...X)=>{try{return I(...X)}finally{k()}}}let N=F?new Array(e.length).fill(is):is;const H=I=>{if(!(!(a.flags&1)||!a.dirty&&!I))if(t){const X=a.run();if(I||r||L||(F?X.some((we,me)=>Ne(we,N[me])):Ne(X,N))){const we=ut;Ue();try{E&&E(),ut=a;const me=[X,N===is?void 0:F&&N[0]===is?[]:N,O];N=X,f?f(t,3,me):t(...me)}finally{ut=we,Ke()}}}else a.run()};return o&&o(H),a=new mr(g),a.scheduler=l?()=>l(H,!1):H,O=I=>tl(I,!1,a),E=a.onStop=()=>{const I=hs.get(a);if(I){if(f)f(I,4);else for(const X of I)X();hs.delete(a)}},t?n?H(!0):N=a.run():l?l(H.bind(null,!0),!0):a.run(),k.pause=a.pause.bind(a),k.resume=a.resume.bind(a),k.stop=k,k}function Ze(e,t=1/0,s){if(t<=0||!q(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,le(e))Ze(e.value,t,s);else if(R(e))for(let n=0;n<e.length;n++)Ze(e[n],t,s);else if(mt(e)||nt(e))e.forEach(n=>{Ze(n,t,s)});else if(ur(e)){for(const n in e)Ze(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ze(e[n],t,s)}return e}/**
10
+ * @vue/runtime-core v3.5.45
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/function Qt(e,t,s,n){try{return n?e(...n):e()}catch(r){Ps(r,t,s)}}function Pe(e,t,s,n){if(V(e)){const r=Qt(e,t,s,n);return r&&cr(r)&&r.catch(i=>{Ps(i,t,s,void 0,!0)}),r}if(R(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Pe(e[i],t,s,n));return r}}function Ps(e,t,s,n=!0,r=!1){const i=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||G;if(t){let f=t.parent;const d=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${s}`;for(;f;){const g=f.ec;if(g&&!f.isUnmounted&&(!r||f.scope.active)){for(let E=0;E<g.length;E++)if(g[E](e,d,a)===!1)return}f=f.parent}if(l){Ue(),Qt(l,null,10,[e,d,a]),Ke();return}}nl(e,s,i,n,o)}function nl(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const de=[];let Te=-1;const Ve=[];let st=null,wt=0;const Rr=Promise.resolve();let ps=null;function gs(e){const t=ps||Rr;return e?t.then(this?e.bind(this):e):t}function rl(e){let t=Te+1,s=de.length;for(;t<s;){const n=t+s>>>1,r=de[n],i=qt(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function _n(e){if(!(e.flags&1)){const t=qt(e),s=de[de.length-1];!s||!(e.flags&2)&&t>=qt(s)?de.push(e):de.splice(rl(t),0,e),e.flags|=1,Fr()}}function Fr(){ps||(ps=Rr.then(Vr))}function il(e){if(!R(e))st&&e.id===-1?st.splice(wt+1,0,e):e.flags&1||(Ve.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Ve.push(e[t]);Fr()}function Dr(e,t,s,n=Te+1){for(;n<de.length;n++){const r=de[n];if(r&&r.flags&2){if(e&&r.id!==e.uid||t!==void 0&&!(r.id>=t))continue;de.splice(n,1),n=e?n-1:Te,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function jr(e,t,s=0){if(Ve.length){let n=Ve,r=0;if(t){n=[];for(let l=0;l<Ve.length;l++){const o=Ve[l];(o.i!==void 0?!o.i||o.i.uid<s:t.has(o))?Ve[r++]=o:n.push(o)}}const i=[...new Set(n)].sort((l,o)=>qt(l)-qt(o));if(Ve.length=r,st){for(let l=0;l<i.length;l++)st.push(i[l]);return}for(st=i,wt=0;wt<st.length;wt++){const l=st[wt];l.flags&4&&(l.flags&=-2),l.flags&8||l(),l.flags&=-2}st=null,wt=0}}let Ls=!1;function ll(e,t){if(Ls){e();return}const s=t===void 0?void 0:new Set(Ve);e(),Ls=!0;try{Dr(void 0,t),jr(void 0,s,t)}finally{Ls=!1}}const qt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Vr(e){try{for(Te=0;Te<de.length;Te++){const t=de[Te];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Qt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Te<de.length;Te++){const t=de[Te];t&&(t.flags&=-2)}Te=-1,de.length=0,jr(),ps=null,(de.length||Ve.length)&&Vr()}}let xe=null,$r=null;function ms(e){const t=xe;return xe=e,$r=e&&e.type.__scopeId||null,t}function ol(e,t=xe,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&kn(-1);const i=ms(t),l=gt.length;let o;try{o=e(...r)}finally{for(let f=gt.length;f>l;f--)li();ms(i),n._d&&kn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ct(e,t){if(xe===null)return e;const s=Fs(xe),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,l,o,f=G]=t[r];i&&(V(i)&&(i={mounted:i,updated:i}),i.deep&&Ze(l),n.push({dir:i,instance:s,value:l,oldValue:void 0,arg:o,modifiers:f}))}return e}function ot(e,t,s,n){let r=e;if(n==="beforeMount")e._mount=e;else if(n==="beforeUpdate"){const o=t&&t._mount;o&&(o._latest=e,e._mount=o)}else if(n==="mounted"){const o=e._latest;e._mount=e._latest=void 0,o&&(r=o,o._mount=void 0)}const i=r.dirs,l=t&&t.dirs;for(let o=0;o<i.length;o++){let f=i[o];l?f.oldValue=l[o].value:n==="mounted"&&f.oldValue!==void 0&&(f=te({},f,{oldValue:void 0}));let d=f.dir[n];d&&(Ue(),Pe(d,s,8,[e.el,f,r,t]),Ke())}}function cl(e,t){if(pe){let s=pe.provides;const n=pe.parent&&pe.parent.provides;n===s&&(s=pe.provides=Object.create(n)),s[e]=t}}function us(e,t,s=!1){const n=fo();if(n||Ot){let r=Ot?Ot._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&V(t)?t.call(n&&n.proxy):t}}const fl=Symbol.for("v-scx"),ul=()=>us(fl);function as(e,t,s){return Nr(e,t,s)}function Nr(e,t,s=G){const{immediate:n,deep:r,flush:i,once:l}=s,o=te({},s),f=t&&n||!t&&i!=="post";let d;if(zt){if(i==="sync"){const O=ul();d=O.__watcherHandles||(O.__watcherHandles=[])}else if(!f){const O=()=>{};return O.stop=He,O.resume=He,O.pause=He,O}}const a=pe;o.call=(O,L,F)=>Pe(O,a,L,F);let g=!1;i==="post"?o.scheduler=O=>{O.i=a,ae(O,a&&a.suspense)}:i!=="sync"&&(g=!0,o.scheduler=(O,L)=>{L?O():_n(O)}),o.augmentJob=O=>{t&&(O.flags|=4),g&&(O.flags|=2,a&&(O.id=a.uid,O.i=a))};const E=sl(e,t,o);return zt&&(d?d.push(E):f&&E()),E}function al(e,t,s){const n=this.proxy,r=Z(e)?e.includes(".")?Hr(n,e):()=>n[e]:e.bind(n,n);let i;V(t)?i=t:(i=t.handler,s=t);const l=es(this),o=Nr(r,i.bind(n),s);return l(),o}function Hr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const dl=Symbol("_vte"),Is=e=>e.__isTeleport,Us=Symbol("_leaveCb");function hl(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ie){t=s;break}}return t}function Lr(e){if(!vn(e))return Is(e.type)&&e.children?hl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&V(s.default))return s.default()}}function Ht(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Ht(Is(s.type)&&Lr(s)||s,t)}else if(e.shapeFlag&128){const s=e.suspense;if(s){const n=s.isHydrating?s.pendingBranch:s.activeBranch;n&&Ht(n,t.clone(n))}else e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)}else if(e.transition=t,e.type===he&&R(e.children)){const s=Gr(e.children,!1);s&&Ht(s,t)}}function Qs(e){if(e.component)return Qs(e.component.subTree);if(e.type===he){const t=R(e.children)&&Gr(e.children,!1);return t?Qs(t):void 0}if(e.type!==Ie)return e}function pl(e,t){return V(e)?te({name:e.name},t,{setup:e}):e}function Ur(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Dn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const bs=new WeakMap;function Lt(e,t,s,n,r=!1){if(R(e)){e.forEach((F,B)=>Lt(F,t&&(R(t)?t[B]:t),s,n,r));return}if(Ut(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Lt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?Fs(n.component):n.el,l=r?null:i,{i:o,r:f}=e,d=t&&t.r,a=o.refs===G?o.refs={}:o.refs,g=o.setupState,E=K(g),O=g===G?or:F=>Dn(a,F)?!1:U(E,F),L=(F,B)=>!(B&&Dn(a,B));if(d!=null&&d!==f){if(jn(t),Z(d))a[d]=null,O(d)&&(g[d]=null);else if(le(d)){const F=t;L(d,F.k)&&(d.value=null),F.k&&(a[F.k]=null)}}if(V(f))Qt(f,o,12,[l,a]);else{const F=Z(f),B=le(f);if(F||B){const k=()=>{if(e.f){const N=F?O(f)?g[f]:a[f]:L()||!e.k?f.value:a[e.k];if(r)R(N)&&on(N,i);else if(R(N))N.includes(i)||N.push(i);else if(F)a[f]=[i],O(f)&&(g[f]=a[f]);else{const H=[i];L(f,e.k)&&(f.value=H),e.k&&(a[e.k]=H)}}else F?(a[f]=l,O(f)&&(g[f]=l)):B&&(L(f,e.k)&&(f.value=l),e.k&&(a[e.k]=l))};if(l){const N=()=>{k(),bs.delete(e)};N.id=-1,bs.set(e,N),ae(N,s)}else jn(e),k()}}}function jn(e){const t=bs.get(e);t&&(t.flags|=8,bs.delete(e))}Os().requestIdleCallback;Os().cancelIdleCallback;const Ut=e=>!!e.type.__asyncLoader,vn=e=>e.type.__isKeepAlive;function gl(e,t){Kr(e,"a",t)}function ml(e,t){Kr(e,"da",t)}function Kr(e,t,s=pe){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Gt(t,n,s),s){let r=s.parent;for(;r&&r.parent;)vn(r.parent.vnode)&&bl(n,t,s,r),r=r.parent}}function bl(e,t,s,n){const r=Gt(t,e,n,!0),i=Gt("um",()=>on(n[t],r),s);i.flags=16}function Gt(e,t,s=pe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...l)=>{Ue();const o=es(s),f=Pe(t,s,e,l);return o(),Ke(),f});return n?r.unshift(i):r.push(i),i}}const et=e=>(t,s=pe)=>{(!zt||e==="sp")&&Gt(e,(...n)=>t(...n),s)},_l=et("bm"),vl=et("m"),yl=et("bu"),xl=et("u"),Sl=et("bum"),Cl=et("um"),wl=et("sp"),El=et("rtg"),Tl=et("rtc");function Ol(e,t=pe){Gt("ec",e,t)}const Al=Symbol.for("v-ndc");function ls(e,t,s,n){let r;const i=s,l=R(e);if(l||Z(e)){const o=l&&rt(e);let f=!1,d=!1;o&&(f=!Se(e),d=Be(e),e=As(e)),r=new Array(e.length);for(let a=0,g=e.length;a<g;a++)r[a]=t(f?d?lt(Ce(e[a])):Ce(e[a]):e[a],a,void 0,i)}else if(typeof e=="number")if(!Number.isInteger(e)||e<0)r=[];else{r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i)}else if(q(e))if(e[Symbol.iterator])r=Array.from(e,(o,f)=>t(o,f,void 0,i));else{const o=Object.keys(e);r=new Array(o.length);for(let f=0,d=o.length;f<d;f++){const a=o[f];r[f]=t(e[a],a,f,i)}}else r=[];return r}const en=e=>e?ai(e)?Fs(e):en(e.parent):null,Kt=te(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=>en(e.parent),$root:e=>en(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>kr(e),$forceUpdate:e=>e.f||(e.f=()=>{_n(e.update)}),$nextTick:e=>e.n||(e.n=gs.bind(e.proxy)),$watch:e=>al.bind(e)}),Ks=(e,t)=>e!==G&&!e.__isScriptSetup&&U(e,t),Pl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:l,type:o,appContext:f}=e;if(t[0]!=="$"){const E=l[t];if(E!==void 0)switch(E){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(Ks(n,t))return l[t]=1,n[t];if(r!==G&&U(r,t))return l[t]=2,r[t];if(U(i,t))return l[t]=3,i[t];if(s!==G&&U(s,t))return l[t]=4,s[t];tn&&(l[t]=0)}}const d=Kt[t];let a,g;if(d)return t==="$attrs"&&ie(e.attrs,"get",""),d(e);if((a=o.__cssModules)&&(a=a[t]))return a;if(s!==G&&U(s,t))return l[t]=4,s[t];if(g=f.config.globalProperties,U(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return Ks(r,t)?(r[t]=s,!0):n!==G&&U(n,t)?(n[t]=s,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:l}},o){let f;return!!(s[o]||e!==G&&o[0]!=="$"&&U(e,o)||Ks(t,o)||U(i,o)||U(n,o)||U(Kt,o)||U(r.config.globalProperties,o)||(f=l.__cssModules)&&f[o])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:U(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Vn(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let tn=!0;function Il(e){const t=kr(e),s=e.proxy,n=e.ctx;tn=!1,t.beforeCreate&&$n(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:o,provide:f,inject:d,created:a,beforeMount:g,mounted:E,beforeUpdate:O,updated:L,activated:F,deactivated:B,beforeDestroy:k,beforeUnmount:N,destroyed:H,unmounted:I,render:X,renderTracked:we,renderTriggered:me,errorCaptured:ve,serverPrefetch:_t,expose:ke,inheritAttrs:We,components:vt,directives:ye,filters:Pt}=t;if(d&&Ml(d,n,null),l)for(const J in l){const W=l[J];V(W)&&(n[J]=W.bind(s))}if(r){const J=r.call(s,s);q(J)&&(e.data=gn(J))}if(tn=!0,i)for(const J in i){const W=i[J],ce=V(W)?W.bind(s,s):V(W.get)?W.get.bind(s,s):He,yt=!V(W)&&V(W.set)?W.set.bind(s):He,Me=Et({get:ce,set:yt});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>Me.value,set:se=>Me.value=se})}if(o)for(const J in o)Br(o[J],n,s,J);if(f){const J=V(f)?f.call(s):f;Reflect.ownKeys(J).forEach(W=>{cl(W,J[W])})}a&&$n(a,e,"c");function z(J,W){R(W)?W.forEach(ce=>J(ce.bind(s))):W&&J(W.bind(s))}if(z(_l,g),z(vl,E),z(yl,O),z(xl,L),z(gl,F),z(ml,B),z(Ol,ve),z(Tl,we),z(El,me),z(Sl,N),z(Cl,I),z(wl,_t),R(ke))if(ke.length){const J=e.exposed||(e.exposed={});ke.forEach(W=>{Object.defineProperty(J,W,{get:()=>s[W],set:ce=>s[W]=ce,enumerable:!0})})}else e.exposed||(e.exposed={});X&&e.render===He&&(e.render=X),We!=null&&(e.inheritAttrs=We),vt&&(e.components=vt),ye&&(e.directives=ye),_t&&Ur(e)}function Ml(e,t,s=He){R(e)&&(e=sn(e));for(const n in e){const r=e[n];let i;q(r)?"default"in r?i=us(r.from||n,r.default,!0):i=us(r.from||n):i=us(r),le(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[n]=i}}function $n(e,t,s){Pe(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Br(e,t,s,n){let r=n.includes(".")?Hr(s,n):()=>s[n];if(Z(e)){const i=t[e];V(i)&&as(r,i)}else if(V(e))as(r,e.bind(s));else if(q(e))if(R(e))e.forEach(i=>Br(i,t,s,n));else{const i=V(e.handler)?e.handler.bind(s):t[e.handler];V(i)&&as(r,i,e)}}function kr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,o=i.get(t);let f;return o?f=o:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>_s(f,d,l,!0)),_s(f,t,l)),q(t)&&i.set(t,f),f}function _s(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&_s(e,i,s,!0),r&&r.forEach(l=>_s(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const o=Rl[l]||s&&s[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const Rl={data:Nn,props:Hn,emits:Hn,methods:Dt,computed:Dt,beforeCreate:fe,created:fe,beforeMount:fe,mounted:fe,beforeUpdate:fe,updated:fe,beforeDestroy:fe,beforeUnmount:fe,destroyed:fe,unmounted:fe,activated:fe,deactivated:fe,errorCaptured:fe,serverPrefetch:fe,components:Dt,directives:Dt,watch:Dl,provide:Nn,inject:Fl};function Nn(e,t){return t?e?function(){return te(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Fl(e,t){return Dt(sn(e),sn(t))}function sn(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function fe(e,t){return e?[...new Set([].concat(e,t))]:t}function Dt(e,t){return e?te(Object.create(null),e,t):t}function Hn(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:te(Object.create(null),Vn(e),Vn(t!=null?t:{})):t}function Dl(e,t){if(!e)return t;if(!t)return e;const s=te(Object.create(null),e);for(const n in t)s[n]=fe(e[n],t[n]);return s}function Wr(){return{app:null,config:{isNativeTag:or,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 jl=0;function Vl(e,t){return function(n,r=null){V(n)||(n=te({},n)),r!=null&&!q(r)&&(r=null);const i=Wr(),l=new WeakSet,o=[];let f=!1;const d=i.app={_uid:jl++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:mo,get config(){return i.config},set config(a){},use(a,...g){return l.has(a)||(a&&V(a.install)?(l.add(a),a.install(d,...g)):V(a)&&(l.add(a),a(d,...g))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,g){return g?(i.components[a]=g,d):i.components[a]},directive(a,g){return g?(i.directives[a]=g,d):i.directives[a]},mount(a,g,E){if(!f){const O=d._ceVNode||Qe(n,r);return O.appContext=i,E===!0?E="svg":E===!1&&(E=void 0),e(O,a,E),f=!0,d._container=a,a.__vue_app__=d,Fs(O.component)}},onUnmount(a){o.push(a)},unmount(){f&&(Pe(o,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,g){return i.provides[a]=g,d},runWithContext(a){const g=Ot;Ot=d;try{return a()}finally{Ot=g}}};return d}}let Ot=null;const $l=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${bt(t)}Modifiers`];function Nl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||G;let r=s;const i=t.startsWith("update:"),l=i&&$l(n,t.slice(7));l&&(l.trim&&(r=s.map(a=>Z(a)?a.trim():a)),l.number&&(r=r.map(Zt)));let o,f=n[o=js(t)]||n[o=js(Oe(t))];!f&&i&&(f=n[o=js(bt(t))]),f&&Pe(f,e,6,r);const d=n[o+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Pe(d,e,6,r)}}const Hl=new WeakMap;function qr(e,t,s=!1){const n=s?Hl:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let l={},o=!1;if(!V(e)){const f=d=>{const a=qr(d,t,!0);a&&(o=!0,te(l,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!o?(q(e)&&n.set(e,null),null):(R(i)?i.forEach(f=>l[f]=null):te(l,i),q(e)&&n.set(e,l),l)}function Ms(e,t){return!e||!ws(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,bt(t))||U(e,t))}function Ln(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:l,attrs:o,emit:f,render:d,renderCache:a,props:g,data:E,setupState:O,ctx:L,inheritAttrs:F}=e,B=ms(e);let k,N;try{if(s.shapeFlag&4){const I=r||n,X=I;k=$e(d.call(X,I,a,g,O,E,L)),N=o}else{const I=t;k=$e(I.length>1?I(g,{attrs:o,slots:l,emit:f}):I(g,null)),N=t.props?o:Ll(o)}}catch(I){gt.length=0,Ps(I,e,1),k=Qe(Ie)}let H=k;if(N&&F!==!1){const I=Object.keys(N),{shapeFlag:X}=H;I.length&&X&7&&(i&&I.some(Es)&&(N=Ul(N,i)),H=At(H,N,!1,!0))}if(s.dirs&&(H=At(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition){const I=Is(H.type)&&Lr(H)||H;Ht(I,s.transition)}return k=H,ms(B),k}function Gr(e,t=!0){let s;for(let n=0;n<e.length;n++){const r=e[n];if(Sn(r)){if(r.type!==Ie||r.children==="v-if"){if(s)return;s=r}}else return}return s}const Ll=e=>{let t;for(const s in e)(s==="class"||s==="style"||ws(s))&&((t||(t={}))[s]=e[s]);return t},Ul=(e,t)=>{const s={};for(const n in e)(!Es(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Kl(e,t,s){const{props:n,children:r,component:i}=e,{props:l,children:o,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?Un(n,l,d):!!l;if(f&8){const a=t.dynamicProps;for(let g=0;g<a.length;g++){const E=a[g];if(Jr(l,n,E)&&!Ms(d,E))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:n===l?!1:n?l?Un(n,l,d):!0:!!l;return!1}function Un(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(!U(e,i)||Jr(t,e,i)&&!Ms(s,i))return!0}return!1}function Jr(e,t,s){const n=e[s],r=t[s];return s==="style"&&q(n)&&q(r)?!it(n,r):n!==r}function Bl({vnode:e,parent:t,suspense:s},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Yr={},zr=()=>Object.create(Yr),Xr=e=>Object.getPrototypeOf(e)===Yr;function kl(e,t,s,n=!1){const r={},i=zr();e.propsDefaults=Object.create(null),Zr(e,t,r,i);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);s?e.props=n?r:Gi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Wl(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:l}}=e,o=K(r),[f]=e.propsOptions;let d=!1;if((n||l>0)&&!(l&16)){if(l&8){const a=e.vnode.dynamicProps;for(let g=0;g<a.length;g++){let E=a[g];if(Ms(e.emitsOptions,E))continue;const O=t[E];if(f)if(U(i,E))O!==i[E]&&(i[E]=O,d=!0);else{const L=Oe(E);r[L]=nn(f,o,L,O,e,!1)}else O!==i[E]&&(i[E]=O,d=!0)}}}else{Zr(e,t,r,i)&&(d=!0);let a;for(const g in o)(!t||!U(t,g)&&((a=bt(g))===g||!U(t,a)))&&(f?s&&(s[g]!==void 0||s[a]!==void 0)&&(r[g]=nn(f,o,g,void 0,e,!0)):delete r[g]);if(i!==o)for(const g in i)(!t||!U(t,g))&&(delete i[g],d=!0)}d&&Xe(e.attrs,"set","")}function Zr(e,t,s,n){const[r,i]=e.propsOptions;let l=!1,o;if(t)for(let f in t){if(Vt(f))continue;const d=t[f];let a;r&&U(r,a=Oe(f))?!i||!i.includes(a)?s[a]=d:(o||(o={}))[a]=d:Ms(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,l=!0)}if(i){const f=K(s),d=o||G;for(let a=0;a<i.length;a++){const g=i[a];s[g]=nn(r,f,g,d[g],e,!U(d,g))}}return l}function nn(e,t,s,n,r,i){const l=e[s];if(l!=null){const o=U(l,"default");if(o&&n===void 0){const f=l.default;if(l.type!==Function&&!l.skipFactory&&V(f)){const{propsDefaults:d}=r;if(s in d)n=d[s];else{const a=es(r);n=d[s]=f.call(null,t),a()}}else n=f;r.ce&&r.ce._setProp(s,n)}l[0]&&(i&&!o?n=!1:l[1]&&(n===""||n===bt(s))&&(n=!0))}return n}const ql=new WeakMap;function Qr(e,t,s=!1){const n=s?ql:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,l={},o=[];let f=!1;if(!V(e)){const a=g=>{f=!0;const[E,O]=Qr(g,t,!0);te(l,E),O&&o.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return q(e)&&n.set(e,dt),dt;if(R(i))for(let a=0;a<i.length;a++){const g=Oe(i[a]);Kn(g)&&(l[g]=G)}else if(i)for(const a in i){const g=Oe(a);if(Kn(g)){const E=i[a],O=l[g]=R(E)||V(E)?{type:E}:te({},E),L=O.type;let F=!1,B=!0;if(R(L))for(let k=0;k<L.length;++k){const N=L[k],H=V(N)&&N.name;if(H==="Boolean"){F=!0;break}else H==="String"&&(B=!1)}else F=V(L)&&L.name==="Boolean";O[0]=F,O[1]=B,(F||U(O,"default"))&&o.push(g)}}const d=[l,o];return q(e)&&n.set(e,d),d}function Kn(e){return e[0]!=="$"&&!Vt(e)}const yn=e=>e==="_"||e==="_ctx"||e==="$stable",xn=e=>R(e)?e.map($e):[$e(e)],Gl=(e,t,s)=>{if(t._n)return t;const n=ol((...r)=>xn(t(...r)),s);return n._c=!1,n},ei=(e,t,s)=>{const n=e._ctx;for(const r in e){if(yn(r))continue;const i=e[r];if(V(i))t[r]=Gl(r,i,n);else if(i!=null){const l=xn(i);t[r]=()=>l}}},ti=(e,t)=>{const s=xn(t);e.slots.default=()=>s},si=(e,t,s)=>{for(const n in t)(s||!yn(n))&&(e[n]=t[n])},Jl=(e,t,s)=>{const n=e.slots=zr();if(e.vnode.shapeFlag&32){const r=t._;r?(si(n,t,s),s&&dr(n,"_",r,!0)):ei(t,n)}else t&&ti(e,t)},Yl=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,l=G;if(n.shapeFlag&32){const o=t._;o?s&&o===1?i=!1:si(r,t,s):(i=!t.$stable,ei(t,r)),l=t}else t&&(ti(e,t),l={default:1});if(i)for(const o in r)!yn(o)&&l[o]==null&&delete r[o]},ae=to;function zl(e){return Xl(e)}function Xl(e,t){const s=Os();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:l,createText:o,createComment:f,setText:d,setElementText:a,parentNode:g,nextSibling:E,setScopeId:O=He,insertStaticContent:L}=e,F=(c,u,p,y=null,m=null,v=null,C=void 0,S=null,x=!!u.dynamicChildren)=>{if(c===u)return;c&&!Rt(c,u)&&(y=xt(c),se(c,m,v,!0),c=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null),u.dynamicChildren&&c&&c.dynamicChildren&&c.dynamicChildren.hasOnce&&(u.dynamicChildren===dt&&(u.dynamicChildren=[]),u.dynamicChildren.hasOnce=!0);const{type:b,ref:T,shapeFlag:w}=u;switch(b){case Rs:B(c,u,p,y);break;case Ie:k(c,u,p,y);break;case ks:c==null&&N(u,p,y,C);break;case he:vt(c,u,p,y,m,v,C,S,x);break;default:w&1?X(c,u,p,y,m,v,C,S,x):w&6?ye(c,u,p,y,m,v,C,S,x):(w&64||w&128)&&b.process(c,u,p,y,m,v,C,S,x,qe)}T!=null&&m?Lt(T,c&&c.ref,v,u||c,!u):T==null&&c&&c.ref!=null&&Lt(c.ref,null,v,c,!0)},B=(c,u,p,y)=>{if(c==null)n(u.el=o(u.children),p,y);else{const m=u.el=c.el;u.children!==c.children&&d(m,u.children)}},k=(c,u,p,y)=>{c==null?n(u.el=f(u.children||""),p,y):u.el=c.el},N=(c,u,p,y)=>{[c.el,c.anchor]=L(c.children,u,p,y,c.el,c.anchor)},H=({el:c,anchor:u},p,y)=>{let m;for(;c&&c!==u;)m=E(c),n(c,p,y),c=m;n(u,p,y)},I=({el:c,anchor:u})=>{let p;for(;c&&c!==u;)p=E(c),r(c),c=p;r(u)},X=(c,u,p,y,m,v,C,S,x)=>{if(u.type==="svg"?C="svg":u.type==="math"&&(C="mathml"),c==null)we(u,p,y,m,v,C,S,x);else{const b=c.el&&c.el._isVueCE?c.el:null;try{b&&b._beginPatch(),_t(c,u,m,v,C,S,x)}finally{b&&b._endPatch()}}},we=(c,u,p,y,m,v,C,S)=>{let x,b;const{props:T,shapeFlag:w,transition:A,dirs:h}=c;if(x=c.el=l(c.type,v,T&&T.is,T),w&8?a(x,c.children):w&16&&ve(c.children,x,null,y,m,Bs(c,v),C,S),h&&ot(c,null,y,"created"),me(x,c,c.scopeId,C,y),T){for(const P in T)P!=="value"&&!Vt(P)&&i(x,P,null,T[P],v,y);"value"in T&&i(x,"value",null,T.value,v),(b=T.onVnodeBeforeMount)&&Fe(b,y,c)}h&&ot(c,null,y,"beforeMount");const _=Zl(m,A);_?A.beforeEnter(x):A&&!A.persisted&&(x[eo]=!0),n(x,u,p),((b=T&&T.onVnodeMounted)||_||h)&&ae(()=>{b&&Fe(b,y,c),_&&A.enter(x),h&&ot(c,null,y,"mounted")},m)},me=(c,u,p,y,m)=>{if(p&&O(c,p),y)for(let v=0;v<y.length;v++)O(c,y[v]);if(m){let v=m.subTree;if(u===v||ii(v.type)&&(v.ssContent===u||v.ssFallback===u)){const C=m.vnode;me(c,C,C.scopeId,C.slotScopeIds,m.parent)}}},ve=(c,u,p,y,m,v,C,S,x=0)=>{for(let b=x;b<c.length;b++){const T=c[b]=S?ze(c[b]):$e(c[b]);F(null,T,u,p,y,m,v,C,S)}},_t=(c,u,p,y,m,v,C)=>{const S=u.el=c.el;let{patchFlag:x,dynamicChildren:b,dirs:T}=u;x|=c.patchFlag&16;const w=c.props||G,A=u.props||G;let h;if(p&&ct(p,!1),(h=A.onVnodeBeforeUpdate)&&Fe(h,p,u,c),T&&ot(u,c,p,"beforeUpdate"),p&&ct(p,!0),b&&(!c.dynamicChildren||c.dynamicChildren.length!==b.length)&&(x=0,C=!1,b=null),(w.innerHTML&&A.innerHTML==null||w.textContent&&A.textContent==null)&&a(S,""),b?ke(c.dynamicChildren,b,S,p,y,Bs(u,m),v):C||W(c,u,S,null,p,y,Bs(u,m),v,!1),x>0){if(x&16)We(S,w,A,p,m);else if(x&2&&w.class!==A.class&&i(S,"class",null,A.class,m),x&4&&i(S,"style",w.style,A.style,m),x&8){const _=u.dynamicProps;for(let P=0;P<_.length;P++){const M=_[P],$=w[M],j=A[M];(j!==$||M==="value")&&i(S,M,$,j,m,p)}}x&1&&c.children!==u.children&&a(S,u.children)}else!C&&b==null&&We(S,w,A,p,m);((h=A.onVnodeUpdated)||T)&&ae(()=>{h&&Fe(h,p,u,c),T&&ot(u,c,p,"updated")},y)},ke=(c,u,p,y,m,v,C)=>{for(let S=0;S<u.length;S++){const x=c[S],b=u[S],T=x.el||Bt(x),w=T&&(x.type===he||!Rt(x,b)||x.shapeFlag&198)?g(T):p;F(x,b,w,null,y,m,v,C,!0)}},We=(c,u,p,y,m)=>{if(u!==p){if(u!==G)for(const v in u)!Vt(v)&&!(v in p)&&i(c,v,u[v],null,m,y);for(const v in p){if(Vt(v))continue;const C=p[v],S=u[v];C!==S&&v!=="value"&&i(c,v,S,C,m,y)}"value"in p&&i(c,"value",u.value,p.value,m)}},vt=(c,u,p,y,m,v,C,S,x)=>{const b=u.el=c?c.el:o(""),T=u.anchor=c?c.anchor:o("");let{patchFlag:w,dynamicChildren:A,slotScopeIds:h}=u;h&&(S=S?S.concat(h):h),c==null?(n(b,p,y),n(T,p,y),ve(u.children||[],p,T,m,v,C,S,x)):w>0&&w&64&&A&&c.dynamicChildren&&c.dynamicChildren.length===A.length?(ke(c.dynamicChildren,A,p,m,v,C,S),(u.key!=null||m&&u===m.subTree)&&ni(c,u,!0)):W(c,u,p,T,m,v,C,S,x)},ye=(c,u,p,y,m,v,C,S,x)=>{u.slotScopeIds=S,c==null?u.shapeFlag&512?m.ctx.activate(u,p,y,C,x):Pt(u,p,y,m,v,C,x):oe(c,u,x)},Pt=(c,u,p,y,m,v,C)=>{const S=c.component=co(c,y,m);if(vn(c)&&(S.ctx.renderer=qe),uo(S,!1,C),S.asyncDep){if(m&&m.registerDep(S,z,C,v),!c.el){const x=S.subTree=Qe(Ie);k(null,x,u,p),c.placeholder=x.el}}else z(S,c,u,p,m,v,C)},oe=(c,u,p)=>{const y=u.component=c.component;if(Kl(c,u,p))if(y.asyncDep&&!y.asyncResolved){u.el=c.el,u.placeholder=c.placeholder,J(y,u,p);return}else y.next=u,y.update();else u.el=c.el,u.placeholder=c.placeholder,y.vnode=u},z=(c,u,p,y,m,v,C)=>{const S=()=>{if(c.isMounted){let{next:w,bu:A,u:h,parent:_,vnode:P}=c;{const Ee=ri(c);if(Ee){w&&(w.el=P.el,J(c,w,C)),Ee.asyncDep.then(()=>{const Ge=()=>{c.job.flags&8||(m&&m.pendingBranch?ae(Ge,m):b())};Ge.flags=48,ae(Ge,m)});return}}let M=w,$;ct(c,!1),w?(w.el=P.el,J(c,w,C)):w=P,A&&fs(A),($=w.props&&w.props.onVnodeBeforeUpdate)&&Fe($,_,w,P),ct(c,!0);const j=Ln(c),Q=c.subTree;c.subTree=j,F(Q,j,g(Q.el||Bt(Q)),xt(Q),c,m,v),w.el=j.el,M===null&&Bl(c,j.el),h&&ae(h,m),($=w.props&&w.props.onVnodeUpdated)&&ae(()=>Fe($,_,w,P),m)}else{let w;const{el:A,props:h}=u,{bm:_,m:P,parent:M,root:$,type:j}=c,Q=Ut(u);ct(c,!1),_&&fs(_),!Q&&(w=h&&h.onVnodeBeforeMount)&&Fe(w,M,u),ct(c,!0);{$.ce&&$.ce._hasShadowRoot()&&$.ce._injectChildStyle(j,c.parent?c.parent.type:void 0);const Ee=c.subTree=Ln(c);F(null,Ee,p,y,c,m,v),u.el=Ee.el}if(P&&ae(P,m),!Q&&(w=h&&h.onVnodeMounted)){const Ee=u;ae(()=>Fe(w,M,Ee),m)}(u.shapeFlag&256||M&&Ut(M.vnode)&&M.vnode.shapeFlag&256)&&c.a&&ae(c.a,m),c.isMounted=!0,u=p=y=null}};c.scope.on();const x=c.effect=new mr(S);c.scope.off();const b=c.update=x.run.bind(x),T=c.job=x.runIfDirty.bind(x);T.i=c,T.id=c.uid,x.scheduler=()=>_n(T),ct(c,!0),b()},J=(c,u,p)=>{u.component=c;const y=c.vnode.props;c.vnode=u,c.next=null,Wl(c,u.props,y,p),Yl(c,u.children,p),Ue(),Dr(c),Ke()},W=(c,u,p,y,m,v,C,S,x=!1)=>{const b=c&&c.children,T=c?c.shapeFlag:0,w=u.children,{patchFlag:A,shapeFlag:h}=u;if(A>0){if(A&128){yt(b,w,p,y,m,v,C,S,x);return}else if(A&256){ce(b,w,p,y,m,v,C,S,x);return}}h&8?(T&16&&tt(b,m,v),w!==b&&a(p,w)):T&16?h&16?yt(b,w,p,y,m,v,C,S,x):tt(b,m,v,!0):(T&8&&a(p,""),h&16&&ve(w,p,y,m,v,C,S,x))},ce=(c,u,p,y,m,v,C,S,x)=>{c=c||dt,u=u||dt;const b=c.length,T=u.length,w=Math.min(b,T);let A;for(A=0;A<w;A++){const h=u[A]=x?ze(u[A]):$e(u[A]);F(c[A],h,p,null,m,v,C,S,x)}b>T?tt(c,m,v,!0,!1,w):ve(u,p,y,m,v,C,S,x,w)},yt=(c,u,p,y,m,v,C,S,x)=>{let b=0;const T=u.length;let w=c.length-1,A=T-1;for(;b<=w&&b<=A;){const h=c[b],_=u[b]=x?ze(u[b]):$e(u[b]);if(Rt(h,_))F(h,_,p,null,m,v,C,S,x);else break;b++}for(;b<=w&&b<=A;){const h=c[w],_=u[A]=x?ze(u[A]):$e(u[A]);if(Rt(h,_))F(h,_,p,null,m,v,C,S,x);else break;w--,A--}if(b>w){if(b<=A){const h=A+1,_=h<T?u[h].el:y;for(;b<=A;)F(null,u[b]=x?ze(u[b]):$e(u[b]),p,_,m,v,C,S,x),b++}}else if(b>A)for(;b<=w;)se(c[b],m,v,!0),b++;else{const h=b,_=b,P=new Map;for(b=_;b<=A;b++){const be=u[b]=x?ze(u[b]):$e(u[b]);be.key!=null&&P.set(be.key,b)}let M,$=0;const j=A-_+1;let Q=!1,Ee=0;const Ge=new Array(j);for(b=0;b<j;b++)Ge[b]=0;for(b=h;b<=w;b++){const be=c[b];if($>=j){se(be,m,v,!0);continue}let Re;if(be.key!=null)Re=P.get(be.key);else for(M=_;M<=A;M++)if(Ge[M-_]===0&&Rt(be,u[M])){Re=M;break}Re===void 0?se(be,m,v,!0):(Ge[Re-_]=b+1,Re>=Ee?Ee=Re:Q=!0,F(be,u[Re],p,null,m,v,C,S,x),$++)}const wn=Q?Ql(Ge):dt;for(M=wn.length-1,b=j-1;b>=0;b--){const be=_+b,Re=u[be],En=u[be+1],Tn=be+1<T?En.el||Bt(En):y;Ge[b]===0?F(null,Re,p,Tn,m,v,C,S,x):Q&&(M<0||b!==wn[M]?Me(Re,p,Tn,2):M--)}}},Me=(c,u,p,y,m=null)=>{const{el:v,type:C,transition:S,children:x,shapeFlag:b}=c;if(b&6){Me(c.component.subTree,u,p,y);return}if(b&128){c.suspense.move(u,p,y);return}if(b&64){C.move(c,u,p,qe);return}if(C===he){n(v,u,p);for(let w=0;w<x.length;w++)Me(x[w],u,p,y);n(c.anchor,u,p);return}if(C===ks){H(c,u,p);return}if(y!==2&&b&1&&S)if(y===0)S.persisted&&!v[Us]?n(v,u,p):(S.beforeEnter(v),n(v,u,p),ae(()=>S.enter(v),m));else{const{leave:w,delayLeave:A,afterLeave:h}=S,_=()=>{c.ctx.isUnmounted?r(v):n(v,u,p)},P=()=>{const M=v._isLeaving||!!v[Us];v._isLeaving&&v[Us](!0),S.persisted&&!M?_():w(v,()=>{_(),h&&h()})};A?A(v,_,P):P()}else n(v,u,p)},se=(c,u,p,y=!1,m=!1)=>{const{type:v,props:C,ref:S,children:x,dynamicChildren:b,shapeFlag:T,patchFlag:w,dirs:A,cacheIndex:h,memo:_}=c;if((w===-2||b&&b.hasOnce)&&(m=!1),S!=null&&(Ue(),Lt(S,null,p,c,!0),Ke()),h!=null&&(!c.ctx||c.ctx===u)&&(u.renderCache[h]=void 0),T&256&&u.ctx.deactivate(c))return;const P=T&1&&A,M=!Ut(c);let $;if(M&&($=C&&C.onVnodeBeforeUnmount)&&Fe($,u,c),T&6)Ds(c.component,p,y);else{if(T&128){c.suspense.unmount(p,y);return}P&&ot(c,null,u,"beforeUnmount"),T&64?c.type.remove(c,u,p,qe,y):b&&!b.hasOnce&&(v!==he||w>0&&w&64)?tt(b,u,p,!1,!0):(v===he&&w&384||!m&&T&16)&&tt(x,u,p),y&&ne(c)}const j=_!=null&&h==null;(M&&($=C&&C.onVnodeUnmounted)||P||j)&&ae(()=>{$&&Fe($,u,c),P&&ot(c,null,u,"unmounted"),j&&(c.el=null)},p)},ne=c=>{const{type:u,el:p,anchor:y,transition:m}=c,v=u===he;if(v&&!m){ts(p,y);return}if(u===ks){I(c),m&&!m.persisted&&m.afterLeave&&m.afterLeave();return}const C=v?Qs(c):c,S=()=>{v?g(p)&&ts(p,y):r(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(C&&C.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:b}=m,T=C.el,w=()=>x(T,S);b?b(T,S,w):w()}else S()},ts=(c,u)=>{let p;for(;c!==u;)p=E(c),r(c),c=p;r(u)},Ds=(c,u,p)=>{const{bum:y,scope:m,job:v,subTree:C,um:S,m:x,a:b}=c;Bn(x),Bn(b),y&&fs(y),m.stop(),v?(v.flags|=8,se(C,c,u,p)):C&&(C.transition=c.vnode.transition,se(C,c,u,p)),S&&ae(S,u);const T=()=>{c.isUnmounted=!0};T.flags=16,ae(T,u)},tt=(c,u,p,y=!1,m=!1,v=0)=>{for(let C=v;C<c.length;C++)se(c[C],u,p,y,m)},xt=c=>{if(c.shapeFlag&6)return xt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=E(c.anchor||c.el),p=u&&u[dl];return p?E(p):u},ss=(c,u,p)=>{const y=c&&u._vnode?void 0:c&&c.component?c.component.uid:oo();ll(()=>{c==null?u._vnode&&se(u._vnode,null,null,!0):F(u._vnode||null,c,u,null,null,null,p),u._vnode=c},y)},qe={p:F,um:se,m:Me,r:ne,mt:Pt,mc:ve,pc:W,pbc:ke,n:xt,o:e};return{render:ss,hydrate:void 0,createApp:Vl(ss)}}function Bs({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function ct({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Zl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ni(e,t,s=!1){const n=e.children,r=t.children;if(R(n)&&R(r))for(let i=0;i<n.length;i++){const l=n[i];let o=r[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[i]=ze(r[i]),o.el=l.el),!s&&o.patchFlag!==-2&&ni(l,o)),o.type===Rs&&(o.patchFlag===-1&&(o=r[i]=ze(o)),o.el=l.el),o.type===Ie&&!o.el&&(o.el=l.el)}}function Ql(e){const t=e.slice(),s=[0];let n,r,i,l,o;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(r=s[s.length-1],e[r]<d){t[n]=r,s.push(n);continue}for(i=0,l=s.length-1;i<l;)o=i+l>>1,e[s[o]]<d?i=o+1:l=o;d<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,l=s[i-1];i-- >0;)s[i]=l,l=t[l];return s}function ri(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ri(t)}function Bn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Bt(e){if(e.placeholder)return e.placeholder;const t=e.component;if(t)return Bt(t.subTree);const s=e.suspense;return s&&s.activeBranch?Bt(s.activeBranch):null}const ii=e=>e.__isSuspense,eo=Symbol("_deferredEnter");function to(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):il(e)}const he=Symbol.for("v-fgt"),Rs=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),ks=Symbol.for("v-stc"),gt=[];let _e=null;function ue(e=!1){gt.push(_e=e?null:[])}function li(){gt.pop(),_e=gt[gt.length-1]||null}let Jt=1;function kn(e,t=!1){Jt+=e,e<0&&_e&&t&&(_e.hasOnce=!0)}function oi(e){return e.dynamicChildren=Jt>0?_e||dt:null,li(),Jt>0&&_e&&_e.push(e),e}function ge(e,t,s,n,r,i){return oi(D(e,t,s,n,r,i,!0))}function so(e,t,s,n,r){return oi(Qe(e,t,s,n,r,!0))}function Sn(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const ci=({key:e})=>e!=null?e:null,ds=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||le(e)||V(e)?{i:xe,r:e,k:t,f:!!s}:e:null);function D(e,t=null,s=null,n=0,r=null,i=e===he?0:1,l=!1,o=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ci(t),ref:t&&ds(t),scopeId:$r,slotScopeIds:null,children:s,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:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xe};return o?(vs(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=Z(s)?8:16),Jt>0&&!l&&_e&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&_e.push(f),f}const Qe=no;function no(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Al)&&(e=Ie),Sn(e)){const o=At(e,t,!0);return s&&vs(o,s),Jt>0&&!i&&_e&&(o.shapeFlag&6?_e[_e.indexOf(e)]=o:_e.push(o)),o.patchFlag=-2,o}if(go(e)&&(e=e.__vccOpts),t){t=ro(t);let{class:o,style:f}=t;o&&!Z(o)&&(t.class=Tt(o)),q(f)&&(bn(f)&&!R(f)&&(f=te({},f)),t.style=fn(f))}const l=Z(e)?1:ii(e)?128:Is(e)?64:q(e)?4:V(e)?2:0;return D(e,t,s,n,r,l,i,!0)}function ro(e){return e?bn(e)?te({},e):Xr(e)?te({},e[hi]||e):e:null}function At(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:l,children:o,transition:f}=e,d=t?io(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&ci(d),ref:t&&t.ref?s&&i?R(i)?i.concat(ds(t)):[i,ds(t)]:ds(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return f&&n&&Ht(a,f.clone(a)),a}function fi(e=" ",t=0){return Qe(Rs,null,e,t)}function ft(e="",t=!1){return t?(ue(),so(Ie,null,e)):Qe(Ie,null,e)}function $e(e){return e==null||typeof e=="boolean"?Qe(Ie):R(e)?Qe(he,null,e.slice()):Sn(e)?ze(e):Qe(Rs,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function vs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),vs(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Xr(t)?t._ctx=xe:r===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(V(t)){if(n&65){vs(e,{default:t});return}t={default:t,_ctx:xe},s=32}else t=String(t),n&64?(s=16,t=[fi(t)]):s=8;e.children=t,e.shapeFlag|=s}function io(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Tt([t.class,n.class]));else if(r==="style")t.style=fn([t.style,n.style]);else if(ws(r)){const i=t[r],l=n[r];l&&i!==l&&!(R(i)&&i.includes(l))?t[r]=i?[].concat(i,l):l:l==null&&i==null&&!Es(r)&&(t[r]=l)}else r!==""&&(t[r]=n[r])}return t}function Fe(e,t,s,n=null){Pe(e,t,7,[s,n])}const lo=Wr();let ui=0;function oo(){return ui}function co(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||lo,i={uid:ui++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Pi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qr(n,r),emitsOptions:qr(n,r),emit:null,emitted:null,propsDefaults:G,inheritAttrs:n.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,setupContext:null,suspense:s,suspenseId:s?s.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=Nl.bind(null,i),e.ce&&e.ce(i),i}let pe=null;const fo=()=>pe||xe;let ys,Yt;{const e=Os(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(l=>l(i)):r[0](i)}};ys=t("__VUE_INSTANCE_SETTERS__",s=>pe=s),Yt=t("__VUE_SSR_SETTERS__",s=>zt=s)}const es=e=>{const t=pe;return ys(e),e.scope.on(),()=>{e.scope.off(),ys(t)}},Wn=()=>{pe&&pe.scope.off(),ys(null)};function ai(e){return e.vnode.shapeFlag&4}let zt=!1;function uo(e,t=!1,s=!1){t&&Yt(t);const{props:n,children:r}=e.vnode,i=ai(e);kl(e,n,i,t),Jl(e,r,s||t);const l=i?ao(e,t):void 0;return t&&Yt(!1),l}function ao(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Pl);const{setup:n}=s;if(n){Ue();const r=e.setupContext=n.length>1?po(e):null,i=es(e),l=Qt(n,e,0,[e.props,r]),o=cr(l);if(Ke(),i(),(o||e.sp)&&!Ut(e)&&Ur(e),o){if(l.then(Wn,Wn),t)return l.then(f=>{Yt(!0);try{qn(e,f,t)}finally{Yt(!1)}}).catch(f=>{Ps(f,e,0,void 0,!0),e.ssrRender=(d,a)=>a("<!---->")});e.asyncDep=l}else qn(e,l)}else di(e)}function qn(e,t,s){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:q(t)&&(e.setupState=Mr(t)),di(e)}function di(e,t,s){const n=e.type;e.render||(e.render=n.render||He);{const r=es(e);Ue();try{Il(e)}finally{Ke(),r()}}}const hi=Symbol(),ho={get(e,t){return ie(e,"get",""),t===hi?e:e[t]}};function po(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ho),slots:e.slots,emit:e.emit,expose:t}}function Fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mr(Ji(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Kt)return Kt[s](e)},has(t,s){return s in t||s in Kt}})):e.proxy}function go(e){return V(e)&&"__vccOpts"in e}const Et=(e,t)=>el(e,t,zt),mo="3.5.45";/**
14
+ * @vue/runtime-dom v3.5.45
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
+ * @license MIT
17
+ **/let rn;const Gn=typeof window!="undefined"&&window.trustedTypes;if(Gn)try{rn=Gn.createPolicy("vue",{createHTML:e=>e})}catch(e){}const pi=rn?e=>rn.createHTML(e):e=>e,bo="http://www.w3.org/2000/svg",_o="http://www.w3.org/1998/Math/MathML",Ye=typeof document!="undefined"?document:null,Jn=Ye&&Ye.createElement("template"),vo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?Ye.createElementNS(bo,e):t==="mathml"?Ye.createElementNS(_o,e):s?Ye.createElement(e,{is:s}):Ye.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Ye.createTextNode(e),createComment:e=>Ye.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ye.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const l=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Jn.innerHTML=pi(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const o=Jn.content;if(n==="svg"||n==="mathml"){const f=o.firstChild;for(;f.firstChild;)o.appendChild(f.firstChild);o.removeChild(f)}t.insertBefore(o,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},yo=Symbol("_vtc");function xo(e,t,s){const n=e[yo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const xs=Symbol("_vod"),gi=Symbol("_vsh"),Yn={name:"show",beforeMount(e,{value:t},{transition:s}){e[xs]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Ft(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),Ft(e,!0),n.enter(e)):n.leave(e,()=>{Ft(e,!1)}):Ft(e,t))},beforeUnmount(e,{value:t}){Ft(e,t)}};function Ft(e,t){e.style.display=t?e[xs]:"none",e[gi]=!t}const So=Symbol(""),Co=/(?:^|;)\s*display\s*:/;function wo(e,t,s){const n=e.style,r=Z(s);let i=!1;if(s&&!r){if(t)if(Z(t))for(const l of t.split(";")){const o=l.slice(0,l.indexOf(":")).trim();s[o]==null&&jt(n,o,"")}else for(const l in t)s[l]==null&&jt(n,l,"");for(const l in s){l==="display"&&(i=!0);const o=s[l];o!=null?To(e,l,!Z(t)&&t?t[l]:void 0,o)||jt(n,l,o):jt(n,l,"")}}else if(r){if(t!==s){const l=n[So];l&&(s+=";"+l),n.cssText=s,i=Co.test(s)}}else t&&e.removeAttribute("style");xs in e&&((!r||t!==s)&&(e[xs]=i?n.display:""),e[gi]&&(n.display="none"))}const os=/\s*!important$/;function jt(e,t,s){if(R(s))s.forEach(n=>jt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))os.test(s)?e.setProperty(t,s.replace(os,""),"important"):e.setProperty(t,s);else{const n=Eo(e,t);os.test(s)?e.setProperty(bt(n),s.replace(os,""),"important"):e[n]=s}}const zn=["Webkit","Moz","ms"],Ws={};function Eo(e,t){const s=Ws[t];if(s)return s;let n=Oe(t);if(n!=="filter"&&n in e)return Ws[t]=n;n=ar(n);for(let r=0;r<zn.length;r++){const i=zn[r]+n;if(i in e)return Ws[t]=i}return t}function To(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Z(n)&&s===n}const Xn="http://www.w3.org/1999/xlink";function Zn(e,t,s,n,r,i=Ei(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Xn,t.slice(6,t.length)):e.setAttributeNS(Xn,t,s):s==null||i&&!hr(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Le(s)?String(s):s)}function Qn(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?pi(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(o!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let l=!1;if(s===""||s==null){const o=typeof e[t];o==="boolean"?s=hr(s):s==null&&o==="string"?(s="",l=!0):o==="number"&&(s=0,l=!0)}try{e[t]=s}catch(o){}l&&e.removeAttribute(r||t)}function at(e,t,s,n){e.addEventListener(t,s,n)}function Oo(e,t,s,n){e.removeEventListener(t,s,n)}const er=Symbol("_vei");function Ao(e,t,s,n,r=null){const i=e[er]||(e[er]={}),l=i[t];if(n&&l)l.value=n;else{const[o,f]=Mo(t);if(n){const d=i[t]=Do(n,r);at(e,o,d,f)}else l&&(Oo(e,o,l,f),i[t]=void 0)}}const Po=/(Once|Passive|Capture)$/,Io=/^on:?(?:Once|Passive|Capture)$/;function Mo(e){let t,s;for(;(s=e.match(Po))&&!Io.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):bt(e.slice(2)),t]}let qs=0;const Ro=Promise.resolve(),Fo=()=>qs||(Ro.then(()=>qs=0),qs=Date.now());function Do(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const r=s.value;if(R(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const l=r.slice(),o=[n];for(let f=0;f<l.length&&!n._stopped;f++){const d=l[f];d&&Pe(d,t,5,o)}}else Pe(r,t,5,[n])};return s.value=e,s.attached=Fo(),s}const tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jo=(e,t,s,n,r,i)=>{const l=r==="svg";t==="class"?xo(e,n,l):t==="style"?wo(e,s,n):ws(t)?Es(t)||Ao(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vo(e,t,n,l))?(Qn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Zn(e,t,n,l,i,t!=="value")):e._isVueCE&&($o(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Z(n)))?Qn(e,Oe(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Zn(e,t,n,l))};function Vo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&tr(t)&&V(s));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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return tr(t)&&Z(s)?!1:t in e}function $o(e,t){const s=e._def.props;if(!s)return!1;const n=Oe(t);return Array.isArray(s)?s.some(r=>Oe(r)===n):Object.keys(s).some(r=>Oe(r)===n)}const Ss=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?s=>fs(t,s):t};function No(e){e.target.composing=!0}function sr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ht=Symbol("_assign"),cs=Symbol("_initialValue");function Gs(e,t,s){return t&&(e=e.trim()),s&&(e=Zt(e)),e}const nr={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e.parentNode&&(e.type==="text"?e[cs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[cs]=e.defaultValue.replace(/\r\n?/g,`
18
+ `))),e[ht]=Ss(r);const i=n||r.props&&r.props.type==="number";at(e,t?"change":"input",l=>{l.target.composing||e[ht](Gs(e.value,s,i))}),(s||i)&&at(e,"change",()=>{e.value=Gs(e.value,s,i)}),t||(at(e,"compositionstart",No),at(e,"compositionend",sr),at(e,"change",sr))},mounted(e,{value:t,modifiers:{trim:s,number:n}}){const r=t==null?"":t,i=e[cs];delete e[cs],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[ht](Gs(e.value,s,n)):e.value=r},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},l){if(e[ht]=Ss(l),e.composing)return;const o=(i||e.type==="number")&&!/^0\d/.test(e.value)?Zt(e.value):e.value,f=t==null?"":t;if(o===f)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===f)||(e.value=f)}},rr={deep:!0,created(e,{value:t,modifiers:{number:s}},n){e._modelValue=t,at(e,"change",()=>{const r=Array.prototype.filter.call(e.options,f=>f.selected).map(f=>s?Zt(Cs(f)):Cs(f)),i=e.multiple,l=i?mt(e._modelValue)?new Set(r):r:r[0],o=e._pendingValue=[i,i?R(l)?r.slice():r:l];try{e[ht](l)}finally{gs(()=>{e._pendingValue===o&&(e._pendingValue=void 0)})}}),e[ht]=Ss(n)},mounted(e,{value:t,modifiers:{number:s}}){ir(e,t,s)},beforeUpdate(e,{value:t},s){e._modelValue=t,e[ht]=Ss(s)},updated(e,{value:t,modifiers:{number:s}}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!Ho(t,n[1],n[0]))&&ir(e,t,s)}};function Ho(e,t,s){if(!s||R(e))return it(e,t);if(mt(e)){if(e.size!==t.length)return!1;for(const n of t)if(!e.has(n))return!1;return!0}return!1}function ir(e,t,s=!1){const n=e.multiple,r=R(t);if(!(n&&!r&&!mt(t))){for(let i=0,l=e.options.length;i<l;i++){const o=e.options[i],f=Cs(o);if(n)if(r){const d=typeof f;d==="string"||d==="number"?o.selected=t.some(a=>String(a)===String(f)):o.selected=Ai(t,f)>-1}else o.selected=t.has(f)||s&&typeof f=="string"&&t.has(Zt(f));else if(it(Cs(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Cs(e){return"_value"in e?e._value:e.value}const Lo=te({patchProp:jo},vo);let lr;function Uo(){return lr||(lr=zl(Lo))}const Ko=((...e)=>{const t=Uo().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=ko(n);if(!r)return;const i=t._component;!V(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const l=s(r,!1,Bo(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),l},t});function Bo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ko(e){return Z(e)?document.querySelector(e):e}const Wo={class:"br-body"},qo={class:"br-form"},Go={class:"br-field"},Jo={key:0,class:"br-hint"},Yo={key:1,class:"br-attach-row"},zo=["disabled"],Xo=["disabled"],Zo={key:2,class:"br-thumb-list"},Qo={key:0,class:"br-thumb"},ec=["src"],tc=["src"],sc=["onClick"],nc={class:"br-row"},rc={class:"br-field"},ic=["value"],lc={class:"br-field"},oc=["value"],cc={class:"br-field"},fc={class:"br-field"},uc={class:"br-element-box"},ac={class:"br-shot-actions"},dc=["disabled"],hc={key:0,class:"br-element-list"},pc=["title"],gc=["aria-label","onClick"],mc={key:0,class:"br-success"},bc={class:"br-success-title"},_c={class:"br-hint"},vc={class:"br-footer"},yc=["disabled"],xc=["disabled"],Sc=["disabled"],Cc=pl({__name:"panel",props:{callbacks:{}},setup(e,{expose:t}){const s=e,n=ee(!1),r=ee(!1),i=ee("form"),l=ee(""),o=ee(""),f=ee("normal"),d=ee(""),a=ee([]),g=ee(null),E=ee([]);let O=0;const L=ee(""),F=ee(!1),B=ee(0),k=Et(()=>B.value>0),N=ee(null),H=ee(!1);let I=!1;const X=ee(null),we=ee(null),me=ee(null);let ve=null;const _t=[["","请选择"],["functional","功能异常"],["style","样式问题"],["data","数据问题"],["performance","性能问题"],["suggestion","使用建议"],["other","其他"]],ke=[["normal","一般"],["serious","严重"],["fatal","致命"]],We=Et(()=>r.value||k.value),vt=Et(()=>We.value||z.value),ye=Et(()=>s.callbacks.canUploadScreenshot!==!1),Pt=Et(()=>{const h=E.value.map(_=>_.shot);return g.value&&h.unshift(g.value),h});let oe=null;const z=ee(!1);function J(){gs(()=>{var h;try{(h=X.value)==null||h.focus()}catch(_){}})}function W(h=!0){!r.value&&(I||i.value==="success")&&se(),n.value||(ve=document.activeElement||null),n.value=!0,h&&ye.value&&ts(),J()}function ce(){var h,_;n.value&&(n.value=!1,g.value=null,oe=null,z.value=!1,I?(I=!1,se()):r.value||Me(),yt(),(_=(h=s.callbacks).onClose)==null||_.call(h))}function yt(){const h=ve;ve=null,!(!h||!h.isConnected)&&gs(()=>{try{h.focus()}catch(_){}})}function Me(){i.value="form",r.value=!1,ne("",!1)}function se(){l.value="",o.value="",f.value="normal",d.value="",a.value=[],g.value=null,oe=null,z.value=!1,E.value=[],B.value=0,L.value="",F.value=!1,I=!1,i.value="form",J()}function ne(h,_){L.value=h,F.value=_}function ts(){if(oe)return;const h=s.callbacks.onCapture().then(_=>{h!==oe||!n.value||(g.value=_)}).catch(()=>{}).finally(()=>{h===oe&&(oe=null)});oe=h}function Ds(){if(z.value||r.value)return;z.value=!0,ne("正在截图…",!1);const h=s.callbacks.onCapture().then(_=>{h!==oe||!n.value||(g.value=_,F.value||ne("截图已更新",!1))}).catch(_=>{ne(`截图失败:${It.messageOf(_)}`,!0)}).finally(()=>{h===oe&&(oe=null),z.value=!1});oe=h}function tt(h){return h.dataBase64?`data:${h.mime};base64,${h.dataBase64}`:h.url||""}function xt(h){O+=1,E.value=[...E.value,{id:O,shot:h,preview:tt(h)}]}function ss(h){E.value=E.value.filter(_=>_.id!==h)}function qe(h){B.value+=1,ne(`上传中(${B.value})…`,!1),s.callbacks.onUpload(h).then(_=>{xt(_)}).catch(_=>{ne(`图片处理失败:${It.messageOf(_)}`,!0)}).finally(()=>{B.value=Math.max(0,B.value-1),B.value===0&&!F.value&&ne("",!1)})}function Cn(h){var P;if(!ye.value)return;const _=(P=h.dataTransfer)==null?void 0:P.types;!_||!Array.from(_).includes("Files")||(h.preventDefault(),h.dataTransfer.dropEffect="copy")}function c(h){var M;if(!ye.value)return;const _=Array.from(((M=h.dataTransfer)==null?void 0:M.files)||[]);if(h.preventDefault(),_.length===0)return;const P=_.filter($=>$.type.startsWith("image/"));if(P.length===0){ne("只支持图片文件",!0);return}P.forEach($=>qe($))}function u(){var h;ye.value&&((h=we.value)==null||h.click())}function p(h){const _=h.target,P=Array.from(_.files||[]);_.value="",P.forEach(M=>qe(M))}function y(h){var M;if(!ye.value)return;const _=(M=h.clipboardData)==null?void 0:M.items;if(!_)return;const P=[];for(const $ of Array.from(_))if($.kind==="file"&&$.type.startsWith("image/")){const j=$.getAsFile();j&&P.push(j)}P.length!==0&&(h.preventDefault(),P.forEach($=>qe($)))}function m(){r.value||(H.value=!0,s.callbacks.onPickElement().then(h=>{h&&v(h)}).catch(h=>{ne(`元素拾取失败:${It.messageOf(h)}`,!0)}).finally(()=>{H.value=!1}))}function v(h){var P;if(a.value.some(M=>M.selector===h.selector))return;const _=(P=s.callbacks.maxElements)!=null?P:5;if(a.value.length>=_){ne(`最多关联 ${_} 个元素,请先移除一个`,!0);return}a.value=[...a.value,h]}function C(h){a.value=a.value.filter((_,P)=>P!==h)}function S(){return l.value.trim()?"":"请填写问题描述"}function x(h=3e3){const _=oe;if(!_)return Promise.resolve();let P=0;const M=new Promise($=>{P=window.setTimeout($,h)});return Promise.race([_,M]).finally(()=>{P&&clearTimeout(P)})}function b(){if(r.value||k.value)return;const h=S();if(h){ne(h,!0);return}const _=l.value.trim(),P={title:It.deriveTitle(_),description:_,category:o.value||void 0,severity:f.value||void 0,contact:d.value.trim()||void 0};r.value=!0,ne("提交中…",!1),x().then(()=>s.callbacks.onSubmit(P,Pt.value,a.value.slice())).then(M=>{if(r.value=!1,ne("",!1),!n.value){se();return}N.value=M,i.value="success",I=!0}).catch(M=>{ne(It.messageOf(M),!0),r.value=!1})}function T(){var h,_;r.value||(ce(),(_=(h=s.callbacks).onDisable)==null||_.call(h))}function w(h){h.target===h.currentTarget&&ce()}function A(h){if(!n.value)return;if(h.key==="Escape"){h.stopPropagation(),ce();return}if(h.key!=="Tab"||H.value)return;const _=me.value;if(!_)return;const P=Array.from(_.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(Q=>Q.offsetParent!==null);if(P.length===0)return;const M=P[0],$=P[P.length-1];if(!M||!$)return;const j=document.activeElement;h.shiftKey&&j===M?(h.preventDefault(),$.focus()):!h.shiftKey&&j===$&&(h.preventDefault(),M.focus())}return as(n,h=>{h?document.addEventListener("keydown",A,!0):document.removeEventListener("keydown",A,!0)}),t({show:W,hide:ce,resetForm:se,resetView:Me}),(h,_)=>{var P,M,$;return ue(),ge("div",{class:Tt(["br-overlay",{"br-overlay--open":n.value,"br-overlay--hidden":H.value}]),onClick:w},[D("div",{ref_key:"panelEl",ref:me,class:Tt(["br-panel",{"br-panel--open":n.value,"br-panel--hidden":H.value}]),role:"dialog","aria-modal":"true","aria-labelledby":"br-heading"},[D("div",{class:"br-header"},[_[4]||(_[4]=D("h2",{id:"br-heading",class:"br-heading"},"反馈问题",-1)),D("button",{class:"br-close",type:"button","aria-label":"关闭",onClick:ce},"×")]),D("div",Wo,[Ct(D("div",qo,[D("div",Go,[_[6]||(_[6]=D("label",{class:"br-label"},[fi("问题描述"),D("span",{class:"br-required"},"*")],-1)),Ct(D("textarea",{ref_key:"descriptionEl",ref:X,"onUpdate:modelValue":_[0]||(_[0]=j=>l.value=j),class:"br-textarea",maxlength:"5000",placeholder:"描述一下现象,比如点了哪个按钮没反应(可直接粘贴或拖入截图)",onPaste:y,onDragover:Cn,onDrop:c},null,544),[[nr,l.value]]),k.value?(ue(),ge("div",Jo,"图片处理中…")):ft("",!0),ye.value?(ue(),ge("div",Yo,[D("button",{class:"br-btn--link-inline",type:"button",disabled:vt.value,onClick:Ds},De(z.value?"截图中…":"+ 重新截图"),9,zo),D("button",{class:"br-btn--link-inline",type:"button",disabled:We.value,onClick:u}," + 上传图片 ",8,Xo),D("input",{ref_key:"imageInputEl",ref:we,type:"file",accept:"image/*",multiple:"",class:"br-hidden",onChange:p},null,544)])):ft("",!0),ye.value&&(E.value.length>0||g.value)?(ue(),ge("div",Zo,[g.value?(ue(),ge("div",Qo,[D("img",{src:tt(g.value),alt:"自动截图预览"},null,8,ec),_[5]||(_[5]=D("span",{class:"br-thumb-tag"},"自动",-1))])):ft("",!0),(ue(!0),ge(he,null,ls(E.value,j=>(ue(),ge("div",{key:j.id,class:"br-thumb"},[D("img",{src:j.preview,alt:""},null,8,tc),D("button",{class:"br-thumb-del",type:"button",title:"移除图片","aria-label":"移除图片",onClick:Q=>ss(j.id)}," × ",8,sc)]))),128))])):ft("",!0)]),D("div",nc,[D("div",rc,[_[7]||(_[7]=D("label",{class:"br-label"},"问题分类",-1)),Ct(D("select",{"onUpdate:modelValue":_[1]||(_[1]=j=>o.value=j),class:"br-select"},[(ue(),ge(he,null,ls(_t,([j,Q])=>D("option",{key:j||"empty",value:j},De(Q),9,ic)),64))],512),[[rr,o.value]])]),D("div",lc,[_[8]||(_[8]=D("label",{class:"br-label"},"严重程度",-1)),Ct(D("select",{"onUpdate:modelValue":_[2]||(_[2]=j=>f.value=j),class:"br-select"},[(ue(),ge(he,null,ls(ke,([j,Q])=>D("option",{key:j,value:j},De(Q),9,oc)),64))],512),[[rr,f.value]])])]),D("div",cc,[_[9]||(_[9]=D("label",{class:"br-label"},"联系方式",-1)),Ct(D("input",{"onUpdate:modelValue":_[3]||(_[3]=j=>d.value=j),class:"br-input",type:"text",maxlength:"200",placeholder:"选填,便于开发同学联系你"},null,512),[[nr,d.value]])]),D("div",fc,[_[10]||(_[10]=D("div",{class:"br-label"},"关联元素(选填)",-1)),D("div",uc,[D("div",ac,[D("button",{class:"br-btn br-btn--sm",type:"button",disabled:We.value,onClick:m}," 选择页面元素 ",8,dc)]),a.value.length>0?(ue(),ge("div",hc,[(ue(!0),ge(he,null,ls(a.value,(j,Q)=>(ue(),ge("div",{key:j.selector,class:"br-element-item"},[D("div",{class:"br-element-item-text",title:j.selector}," <"+De(j.tag)+"> "+De(j.selector),9,pc),D("button",{class:"br-element-item-del",type:"button",title:"移除该元素","aria-label":`移除元素 ${j.selector}`,onClick:Ee=>C(Q)}," × ",8,gc)]))),128))])):ft("",!0)])])],512),[[Yn,i.value==="form"]]),i.value==="success"?(ue(),ge("div",mc,[D("div",bc,De((P=N.value)!=null&&P.queued?"已保存":"提交成功"),1),D("div",_c,De(((M=N.value)==null?void 0:M.message)||(($=N.value)!=null&&$.reportId?`反馈编号:${N.value.reportId}`:"后端已收到你的反馈")),1),D("div",{class:"br-success-actions"},[D("button",{class:"br-btn",type:"button",onClick:se},"继续反馈"),D("button",{class:"br-btn br-btn--primary",type:"button",onClick:ce},"完成")])])):ft("",!0)]),Ct(D("div",vc,[e.callbacks.onDisable?(ue(),ge("button",{key:0,class:"br-btn--link",type:"button",title:"隐藏右下角的反馈按钮",disabled:r.value,onClick:T}," 不再显示 ",8,yc)):ft("",!0),D("span",{class:Tt(["br-status",{"br-status--error":F.value}]),"aria-live":"polite"},De(L.value),3),_[11]||(_[11]=D("span",{class:"br-spacer"},null,-1)),D("button",{class:"br-btn br-btn--ghost",type:"button",disabled:r.value,onClick:ce},"取消",8,xc),D("button",{class:"br-btn br-btn--primary",type:"button",disabled:r.value,onClick:b},De(r.value?"提交中…":"提交"),9,Sc)],512),[[Yn,i.value==="form"]])],2)],2)}}});class wc{constructor(t){this.overlay=document.createElement("div"),this.overlay.className="br-panel-mount",this.app=Ko(Cc,{callbacks:t});const s=this.app.mount(this.overlay);this.api=s}open(t=!0){this.api.show(t)}close(){this.api.hide()}unmount(){try{this.app.unmount()}catch(t){}}}exports.ReporterPanel=wc;
19
+ //# sourceMappingURL=panel-mount-OcyVZePw.cjs.map