// ==UserScript==
// @name fotor ambassador
// @namespace http://tampermonkey.net/
// @version 2025-05-15
// @description 导入csv,快速替换联盟成员社媒信息
// @author You
// @match https://app.getrewardful.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=getrewardful.com
// @grant none
// ==/UserScript==
(function() {
(function(){ try {var elementStyle = document.createElement('style'); elementStyle.appendChild(document.createTextNode(".container[data-v-6454de73]{position:fixed;top:80px;right:20px;z-index:1000;display:flex;justify-content:flex-end;width:max-content}.container button[data-v-6454de73]{background-color:#000;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer}")); document.head.appendChild(elementStyle);} catch(e) {console.error('vite-plugin-css-injected-by-js', e);} })();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Os(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const re={},ht=[],Be=()=>{},Rr=()=>!1,Gt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ts=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Rs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Ar=Object.prototype.hasOwnProperty,ee=(e,t)=>Ar.call(e,t),B=Array.isArray,dt=e=>Yt(e)==="[object Map]",Sn=e=>Yt(e)==="[object Set]",W=e=>typeof e=="function",_e=e=>typeof e=="string",et=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",En=e=>(he(e)||W(e))&&W(e.then)&&W(e.catch),Cn=Object.prototype.toString,Yt=e=>Cn.call(e),Ir=e=>Yt(e).slice(8,-1),On=e=>Yt(e)==="[object Object]",As=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xt=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Pr=/-(\w)/g,Xe=Qt(e=>e.replace(Pr,(t,s)=>s?s.toUpperCase():"")),Fr=/\B([A-Z])/g,ct=Qt(e=>e.replace(Fr,"-$1").toLowerCase()),Tn=Qt(e=>e.charAt(0).toUpperCase()+e.slice(1)),ns=Qt(e=>e?`on${Tn(e)}`:""),Ze=(e,t)=>!Object.is(e,t),rs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Rn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Mr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Js;const Zt=()=>Js||(Js=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Is(e){if(B(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=_e(n)?jr(n):Is(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(_e(e)||he(e))return e}const Dr=/;(?![^(]*\))/g,Lr=/:([^]+)/,kr=/\/\*[^]*?\*\//g;function jr(e){const t={};return e.replace(kr,"").split(Dr).forEach(s=>{if(s){const n=s.split(Lr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ps(e){let t="";if(_e(e))t=e;else if(B(e))for(let s=0;s<e.length;s++){const n=Ps(e[s]);n&&(t+=n+" ")}else if(he(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Nr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Hr=Os(Nr);function An(e){return!!e||e===""}const In=e=>!!(e&&e.__v_isRef===!0),Pn=e=>_e(e)?e:e==null?"":B(e)||he(e)&&(e.toString===Cn||!W(e.toString))?In(e)?Pn(e.value):JSON.stringify(e,Fn,2):String(e),Fn=(e,t)=>In(t)?Fn(e,t.value):dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[is(n,i)+" =>"]=r,s),{})}:Sn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>is(s))}:et(t)?is(t):he(t)&&!B(t)&&!On(t)?String(t):t,is=(e,t="")=>{var s;return et(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Fe;class $r{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[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)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Fe;try{return Fe=this,t()}finally{Fe=s}}}on(){Fe=this}off(){Fe=this.parent}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){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[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 Ur(){return Fe}let ne;const os=new WeakSet;class Mn{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,Fe&&Fe.active&&Fe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,os.has(this)&&(os.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ln(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Gs(this),kn(this);const t=ne,s=Le;ne=this,Le=!0;try{return this.fn()}finally{jn(this),ne=t,Le=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ds(t);this.deps=this.depsTail=void 0,Gs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?os.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){gs(this)&&this.run()}get dirty(){return gs(this)}}let Dn=0,wt,St;function Ln(e,t=!1){if(e.flags|=8,t){e.next=St,St=e;return}e.next=wt,wt=e}function Fs(){Dn++}function Ms(){if(--Dn>0)return;if(St){let t=St;for(St=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;wt;){let t=wt;for(wt=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 kn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function jn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Ds(n),Br(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function gs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Nn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Nn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rt))return;e.globalVersion=Rt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!gs(e)){e.flags&=-3;return}const s=ne,n=Le;ne=e,Le=!0;try{kn(e);const r=e.fn(e._value);(t.version===0||Ze(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ne=s,Le=n,jn(e),e.flags&=-3}}function Ds(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)Ds(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Br(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Le=!0;const Hn=[];function tt(){Hn.push(Le),Le=!1}function st(){const e=Hn.pop();Le=e===void 0?!0:e}function Gs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ne;ne=void 0;try{t()}finally{ne=s}}}let Rt=0;class Kr{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 Ls{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ne||!Le||ne===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ne)s=this.activeLink=new Kr(ne,this),ne.deps?(s.prevDep=ne.depsTail,ne.depsTail.nextDep=s,ne.depsTail=s):ne.deps=ne.depsTail=s,$n(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=ne.depsTail,s.nextDep=void 0,ne.depsTail.nextDep=s,ne.depsTail=s,ne.deps===s&&(ne.deps=n)}return s}trigger(t){this.version++,Rt++,this.notify(t)}notify(t){Fs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ms()}}}function $n(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)$n(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const _s=new WeakMap,ot=Symbol(""),ms=Symbol(""),At=Symbol("");function we(e,t,s){if(Le&&ne){let n=_s.get(e);n||_s.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Ls),r.map=n,r.key=s),r.track()}}function ze(e,t,s,n,r,i){const o=_s.get(e);if(!o){Rt++;return}const f=u=>{u&&u.trigger()};if(Fs(),t==="clear")o.forEach(f);else{const u=B(e),p=u&&As(s);if(u&&s==="length"){const h=Number(n);o.forEach((b,C)=>{(C==="length"||C===At||!et(C)&&C>=h)&&f(b)})}else switch((s!==void 0||o.has(void 0))&&f(o.get(s)),p&&f(o.get(At)),t){case"add":u?p&&f(o.get("length")):(f(o.get(ot)),dt(e)&&f(o.get(ms)));break;case"delete":u||(f(o.get(ot)),dt(e)&&f(o.get(ms)));break;case"set":dt(e)&&f(o.get(ot));break}}Ms()}function ut(e){const t=X(e);return t===e?t:(we(t,"iterate",At),ke(e)?t:t.map(Te))}function ks(e){return we(e=X(e),"iterate",At),e}const Wr={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,Te)},concat(...e){return ut(this).concat(...e.map(t=>B(t)?ut(t):t))},entries(){return ls(this,"entries",e=>(e[1]=Te(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,s=>s.map(Te),arguments)},find(e,t){return We(this,"find",e,t,Te,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,Te,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return fs(this,"includes",e)},indexOf(...e){return fs(this,"indexOf",e)},join(e){return ut(this).join(e)},lastIndexOf(...e){return fs(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return bt(this,"pop")},push(...e){return bt(this,"push",e)},reduce(e,...t){return Ys(this,"reduce",e,t)},reduceRight(e,...t){return Ys(this,"reduceRight",e,t)},shift(){return bt(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return bt(this,"splice",e)},toReversed(){return ut(this).toReversed()},toSorted(e){return ut(this).toSorted(e)},toSpliced(...e){return ut(this).toSpliced(...e)},unshift(...e){return bt(this,"unshift",e)},values(){return ls(this,"values",Te)}};function ls(e,t,s){const n=ks(e),r=n[t]();return n!==e&&!ke(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=s(i.value)),i}),r}const Vr=Array.prototype;function We(e,t,s,n,r,i){const o=ks(e),f=o!==e&&!ke(e),u=o[t];if(u!==Vr[t]){const b=u.apply(e,i);return f?Te(b):b}let p=s;o!==e&&(f?p=function(b,C){return s.call(this,Te(b),C,e)}:s.length>2&&(p=function(b,C){return s.call(this,b,C,e)}));const h=u.call(o,p,n);return f&&r?r(h):h}function Ys(e,t,s,n){const r=ks(e);let i=s;return r!==e&&(ke(e)?s.length>3&&(i=function(o,f,u){return s.call(this,o,f,u,e)}):i=function(o,f,u){return s.call(this,o,Te(f),u,e)}),r[t](i,...n)}function fs(e,t,s){const n=X(e);we(n,"iterate",At);const r=n[t](...s);return(r===-1||r===!1)&&$s(s[0])?(s[0]=X(s[0]),n[t](...s)):r}function bt(e,t,s=[]){tt(),Fs();const n=X(e)[t].apply(e,s);return Ms(),st(),n}const qr=Os("__proto__,__v_isRef,__isVue"),Un=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function zr(e){et(e)||(e=String(e));const t=X(this);return we(t,"has",e),t.hasOwnProperty(e)}class Bn{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?ni:qn:i?Vn:Wn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=B(t);if(!r){let u;if(o&&(u=Wr[s]))return u;if(s==="hasOwnProperty")return zr}const f=Reflect.get(t,s,Se(t)?t:n);return(et(s)?Un.has(s):qr(s))||(r||we(t,"get",s),i)?f:Se(f)?o&&As(s)?f:f.value:he(f)?r?zn(f):Ns(f):f}}class Kn extends Bn{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];if(!this._isShallow){const u=ft(i);if(!ke(n)&&!ft(n)&&(i=X(i),n=X(n)),!B(t)&&Se(i)&&!Se(n))return u?!1:(i.value=n,!0)}const o=B(t)&&As(s)?Number(s)<t.length:ee(t,s),f=Reflect.set(t,s,n,Se(t)?t:r);return t===X(r)&&(o?Ze(n,i)&&ze(t,"set",s,n):ze(t,"add",s,n)),f}deleteProperty(t,s){const n=ee(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&ze(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!et(s)||!Un.has(s))&&we(t,"has",s),n}ownKeys(t){return we(t,"iterate",B(t)?"length":ot),Reflect.ownKeys(t)}}class Jr extends Bn{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Gr=new Kn,Yr=new Jr,Qr=new Kn(!0);const bs=e=>e,kt=e=>Reflect.getPrototypeOf(e);function Zr(e,t,s){return function(...n){const r=this.__v_raw,i=X(r),o=dt(i),f=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,p=r[e](...n),h=s?bs:t?ys:Te;return!t&&we(i,"iterate",u?ms:ot),{next(){const{value:b,done:C}=p.next();return C?{value:b,done:C}:{value:f?[h(b[0]),h(b[1])]:h(b),done:C}},[Symbol.iterator](){return this}}}}function jt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xr(e,t){const s={get(r){const i=this.__v_raw,o=X(i),f=X(r);e||(Ze(r,f)&&we(o,"get",r),we(o,"get",f));const{has:u}=kt(o),p=t?bs:e?ys:Te;if(u.call(o,r))return p(i.get(r));if(u.call(o,f))return p(i.get(f));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&we(X(r),"iterate",ot),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=X(i),f=X(r);return e||(Ze(r,f)&&we(o,"has",r),we(o,"has",f)),r===f?i.has(r):i.has(r)||i.has(f)},forEach(r,i){const o=this,f=o.__v_raw,u=X(f),p=t?bs:e?ys:Te;return!e&&we(u,"iterate",ot),f.forEach((h,b)=>r.call(i,p(h),p(b),o))}};return Ee(s,e?{add:jt("add"),set:jt("set"),delete:jt("delete"),clear:jt("clear")}:{add(r){!t&&!ke(r)&&!ft(r)&&(r=X(r));const i=X(this);return kt(i).has.call(i,r)||(i.add(r),ze(i,"add",r,r)),this},set(r,i){!t&&!ke(i)&&!ft(i)&&(i=X(i));const o=X(this),{has:f,get:u}=kt(o);let p=f.call(o,r);p||(r=X(r),p=f.call(o,r));const h=u.call(o,r);return o.set(r,i),p?Ze(i,h)&&ze(o,"set",r,i):ze(o,"add",r,i),this},delete(r){const i=X(this),{has:o,get:f}=kt(i);let u=o.call(i,r);u||(r=X(r),u=o.call(i,r)),f&&f.call(i,r);const p=i.delete(r);return u&&ze(i,"delete",r,void 0),p},clear(){const r=X(this),i=r.size!==0,o=r.clear();return i&&ze(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Zr(r,e,t)}),s}function js(e,t){const s=Xr(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(ee(s,r)&&r in n?s:n,r,i)}const ei={get:js(!1,!1)},ti={get:js(!1,!0)},si={get:js(!0,!1)};const Wn=new WeakMap,Vn=new WeakMap,qn=new WeakMap,ni=new WeakMap;function ri(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ii(e){return e.__v_skip||!Object.isExtensible(e)?0:ri(Ir(e))}function Ns(e){return ft(e)?e:Hs(e,!1,Gr,ei,Wn)}function oi(e){return Hs(e,!1,Qr,ti,Vn)}function zn(e){return Hs(e,!0,Yr,si,qn)}function Hs(e,t,s,n,r){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=ii(e);if(o===0)return e;const f=new Proxy(e,o===2?n:s);return r.set(e,f),f}function Et(e){return ft(e)?Et(e.__v_raw):!!(e&&e.__v_isReactive)}function ft(e){return!!(e&&e.__v_isReadonly)}function ke(e){return!!(e&&e.__v_isShallow)}function $s(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function li(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&Rn(e,"__v_skip",!0),e}const Te=e=>he(e)?Ns(e):e,ys=e=>he(e)?zn(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function fi(e){return ci(e,!1)}function ci(e,t){return Se(e)?e:new ui(e,t)}class ui{constructor(t,s){this.dep=new Ls,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:X(t),this._value=s?t:Te(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ke(t)||ft(t);t=n?t:X(t),Ze(t,s)&&(this._rawValue=t,this._value=n?t:Te(t),this.dep.trigger())}}function ai(e){return Se(e)?e.value:e}const hi={get:(e,t,s)=>t==="__v_raw"?e:ai(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return Se(r)&&!Se(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Jn(e){return Et(e)?e:new Proxy(e,hi)}class di{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Ls(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return Ln(this,!0),!0}get value(){const t=this.dep.track();return Nn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pi(e,t,s=!1){let n,r;return W(e)?n=e:(n=e.get,r=e.set),new di(n,r,s)}const Nt={},Kt=new WeakMap;let it;function gi(e,t=!1,s=it){if(s){let n=Kt.get(s);n||Kt.set(s,n=[]),n.push(e)}}function _i(e,t,s=re){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:f,call:u}=s,p=N=>r?N:ke(N)||r===!1||r===0?Qe(N,1):Qe(N);let h,b,C,O,V=!1,J=!1;if(Se(e)?(b=()=>e.value,V=ke(e)):Et(e)?(b=()=>p(e),V=!0):B(e)?(J=!0,V=e.some(N=>Et(N)||ke(N)),b=()=>e.map(N=>{if(Se(N))return N.value;if(Et(N))return p(N);if(W(N))return u?u(N,2):N()})):W(e)?t?b=u?()=>u(e,2):e:b=()=>{if(C){tt();try{C()}finally{st()}}const N=it;it=h;try{return u?u(e,3,[O]):e(O)}finally{it=N}}:b=Be,t&&r){const N=b,le=r===!0?1/0:r;b=()=>Qe(N(),le)}const ue=Ur(),Z=()=>{h.stop(),ue&&ue.active&&Rs(ue.effects,h)};if(i&&t){const N=t;t=(...le)=>{N(...le),Z()}}let oe=J?new Array(e.length).fill(Nt):Nt;const ie=N=>{if(!(!(h.flags&1)||!h.dirty&&!N))if(t){const le=h.run();if(r||V||(J?le.some((me,Y)=>Ze(me,oe[Y])):Ze(le,oe))){C&&C();const me=it;it=h;try{const Y=[le,oe===Nt?void 0:J&&oe[0]===Nt?[]:oe,O];u?u(t,3,Y):t(...Y),oe=le}finally{it=me}}}else h.run()};return f&&f(ie),h=new Mn(b),h.scheduler=o?()=>o(ie,!1):ie,O=N=>gi(N,!1,h),C=h.onStop=()=>{const N=Kt.get(h);if(N){if(u)u(N,4);else for(const le of N)le();Kt.delete(h)}},t?n?ie(!0):oe=h.run():o?o(ie.bind(null,!0),!0):h.run(),Z.pause=h.pause.bind(h),Z.resume=h.resume.bind(h),Z.stop=Z,Z}function Qe(e,t=1/0,s){if(t<=0||!he(e)||e.__v_skip||(s=s||new Set,s.has(e)))return e;if(s.add(e),t--,Se(e))Qe(e.value,t,s);else if(B(e))for(let n=0;n<e.length;n++)Qe(e[n],t,s);else if(Sn(e)||dt(e))e.forEach(n=>{Qe(n,t,s)});else if(On(e)){for(const n in e)Qe(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Qe(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Dt(e,t,s,n){try{return n?e(...n):e()}catch(r){Xt(r,t,s)}}function Ke(e,t,s,n){if(W(e)){const r=Dt(e,t,s,n);return r&&En(r)&&r.catch(i=>{Xt(i,t,s)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ke(e[i],t,s,n));return r}}function Xt(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||re;if(t){let f=t.parent;const u=t.proxy,p=`https://vuejs.org/error-reference/#runtime-${s}`;for(;f;){const h=f.ec;if(h){for(let b=0;b<h.length;b++)if(h[b](e,u,p)===!1)return}f=f.parent}if(i){tt(),Dt(i,null,10,[e,u,p]),st();return}}mi(e,s,r,n,o)}function mi(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const Re=[];let He=-1;const pt=[];let Ge=null,at=0;const Gn=Promise.resolve();let Wt=null;function bi(e){const t=Wt||Gn;return e?t.then(this?e.bind(this):e):t}function yi(e){let t=He+1,s=Re.length;for(;t<s;){const n=t+s>>>1,r=Re[n],i=It(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function Us(e){if(!(e.flags&1)){const t=It(e),s=Re[Re.length-1];!s||!(e.flags&2)&&t>=It(s)?Re.push(e):Re.splice(yi(t),0,e),e.flags|=1,Yn()}}function Yn(){Wt||(Wt=Gn.then(Zn))}function vi(e){B(e)?pt.push(...e):Ge&&e.id===-1?Ge.splice(at+1,0,e):e.flags&1||(pt.push(e),e.flags|=1),Yn()}function Qs(e,t,s=He+1){for(;s<Re.length;s++){const n=Re[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Re.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Qn(e){if(pt.length){const t=[...new Set(pt)].sort((s,n)=>It(s)-It(n));if(pt.length=0,Ge){Ge.push(...t);return}for(Ge=t,at=0;at<Ge.length;at++){const s=Ge[at];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ge=null,at=0}}const It=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zn(e){try{for(He=0;He<Re.length;He++){const t=Re[He];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Dt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;He<Re.length;He++){const t=Re[He];t&&(t.flags&=-2)}He=-1,Re.length=0,Qn(),Wt=null,(Re.length||pt.length)&&Zn()}}let Ue=null,Xn=null;function Vt(e){const t=Ue;return Ue=e,Xn=e&&e.type.__scopeId||null,t}function xi(e,t=Ue,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&ln(-1);const i=Vt(t);let o;try{o=e(...r)}finally{Vt(i),n._d&&ln(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function nt(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const f=r[o];i&&(f.oldValue=i[o].value);let u=f.dir[n];u&&(tt(),Ke(u,s,8,[e.el,f,e,t]),st())}}const wi=Symbol("_vte"),Si=e=>e.__isTeleport;function Bs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Ei(e,t){return W(e)?Ee({name:e.name},t,{setup:e}):e}function er(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qt(e,t,s,n,r=!1){if(B(e)){e.forEach((V,J)=>qt(V,t&&(B(t)?t[J]:t),s,n,r));return}if(Ct(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&qt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?qs(n.component):n.el,o=r?null:i,{i:f,r:u}=e,p=t&&t.r,h=f.refs===re?f.refs={}:f.refs,b=f.setupState,C=X(b),O=b===re?()=>!1:V=>ee(C,V);if(p!=null&&p!==u&&(_e(p)?(h[p]=null,O(p)&&(b[p]=null)):Se(p)&&(p.value=null)),W(u))Dt(u,f,12,[o,h]);else{const V=_e(u),J=Se(u);if(V||J){const ue=()=>{if(e.f){const Z=V?O(u)?b[u]:h[u]:u.value;r?B(Z)&&Rs(Z,i):B(Z)?Z.includes(i)||Z.push(i):V?(h[u]=[i],O(u)&&(b[u]=h[u])):(u.value=[i],e.k&&(h[e.k]=u.value))}else V?(h[u]=o,O(u)&&(b[u]=o)):J&&(u.value=o,e.k&&(h[e.k]=o))};o?(ue.id=-1,Pe(ue,s)):ue()}}}Zt().requestIdleCallback;Zt().cancelIdleCallback;const Ct=e=>!!e.type.__asyncLoader,tr=e=>e.type.__isKeepAlive;function Ci(e,t){sr(e,"a",t)}function Oi(e,t){sr(e,"da",t)}function sr(e,t,s=Ae){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(es(t,n,s),s){let r=s.parent;for(;r&&r.parent;)tr(r.parent.vnode)&&Ti(n,t,s,r),r=r.parent}}function Ti(e,t,s,n){const r=es(t,e,n,!0);nr(()=>{Rs(n[t],r)},s)}function es(e,t,s=Ae,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{tt();const f=Lt(s),u=Ke(t,s,e,o);return f(),st(),u});return n?r.unshift(i):r.push(i),i}}const Je=e=>(t,s=Ae)=>{(!Mt||e==="sp")&&es(e,(...n)=>t(...n),s)},Ri=Je("bm"),Ai=Je("m"),Ii=Je("bu"),Pi=Je("u"),Fi=Je("bum"),nr=Je("um"),Mi=Je("sp"),Di=Je("rtg"),Li=Je("rtc");function ki(e,t=Ae){es("ec",e,t)}const ji=Symbol.for("v-ndc"),vs=e=>e?Er(e)?qs(e):vs(e.parent):null,Ot=Ee(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=>vs(e.parent),$root:e=>vs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ir(e),$forceUpdate:e=>e.f||(e.f=()=>{Us(e.update)}),$nextTick:e=>e.n||(e.n=bi.bind(e.proxy)),$watch:e=>io.bind(e)}),cs=(e,t)=>e!==re&&!e.__isScriptSetup&&ee(e,t),Ni={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:f,appContext:u}=e;let p;if(t[0]!=="$"){const O=o[t];if(O!==void 0)switch(O){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(cs(n,t))return o[t]=1,n[t];if(r!==re&&ee(r,t))return o[t]=2,r[t];if((p=e.propsOptions[0])&&ee(p,t))return o[t]=3,i[t];if(s!==re&&ee(s,t))return o[t]=4,s[t];xs&&(o[t]=0)}}const h=Ot[t];let b,C;if(h)return t==="$attrs"&&we(e.attrs,"get",""),h(e);if((b=f.__cssModules)&&(b=b[t]))return b;if(s!==re&&ee(s,t))return o[t]=4,s[t];if(C=u.config.globalProperties,ee(C,t))return C[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return cs(r,t)?(r[t]=s,!0):n!==re&&ee(n,t)?(n[t]=s,!0):ee(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,propsOptions:i}},o){let f;return!!s[o]||e!==re&&ee(e,o)||cs(t,o)||(f=i[0])&&ee(f,o)||ee(n,o)||ee(Ot,o)||ee(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:ee(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Zs(e){return B(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let xs=!0;function Hi(e){const t=ir(e),s=e.proxy,n=e.ctx;xs=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:f,provide:u,inject:p,created:h,beforeMount:b,mounted:C,beforeUpdate:O,updated:V,activated:J,deactivated:ue,beforeDestroy:Z,beforeUnmount:oe,destroyed:ie,unmounted:N,render:le,renderTracked:me,renderTriggered:Y,errorCaptured:a,serverPrefetch:d,expose:v,inheritAttrs:A,components:I,directives:U,filters:fe}=t;if(p&&$i(p,n,null),o)for(const P in o){const j=o[P];W(j)&&(n[P]=j.bind(s))}if(r){const P=r.call(s,s);he(P)&&(e.data=Ns(P))}if(xs=!0,i)for(const P in i){const j=i[P],k=W(j)?j.bind(s,s):W(j.get)?j.get.bind(s,s):Be,de=!W(j)&&W(j.set)?j.set.bind(s):Be,H=Io({get:k,set:de});Object.defineProperty(n,P,{enumerable:!0,configurable:!0,get:()=>H.value,set:$=>H.value=$})}if(f)for(const P in f)rr(f[P],n,s,P);if(u){const P=W(u)?u.call(s):u;Reflect.ownKeys(P).forEach(j=>{qi(j,P[j])})}h&&Xs(h,e,"c");function te(P,j){B(j)?j.forEach(k=>P(k.bind(s))):j&&P(j.bind(s))}if(te(Ri,b),te(Ai,C),te(Ii,O),te(Pi,V),te(Ci,J),te(Oi,ue),te(ki,a),te(Li,me),te(Di,Y),te(Fi,oe),te(nr,N),te(Mi,d),B(v))if(v.length){const P=e.exposed||(e.exposed={});v.forEach(j=>{Object.defineProperty(P,j,{get:()=>s[j],set:k=>s[j]=k})})}else e.exposed||(e.exposed={});le&&e.render===Be&&(e.render=le),A!=null&&(e.inheritAttrs=A),I&&(e.components=I),U&&(e.directives=U),d&&er(e)}function $i(e,t,s=Be){B(e)&&(e=ws(e));for(const n in e){const r=e[n];let i;he(r)?"default"in r?i=Ht(r.from||n,r.default,!0):i=Ht(r.from||n):i=Ht(r),Se(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function Xs(e,t,s){Ke(B(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function rr(e,t,s,n){let r=n.includes(".")?yr(s,n):()=>s[n];if(_e(e)){const i=t[e];W(i)&&as(r,i)}else if(W(e))as(r,e.bind(s));else if(he(e))if(B(e))e.forEach(i=>rr(i,t,s,n));else{const i=W(e.handler)?e.handler.bind(s):t[e.handler];W(i)&&as(r,i,e)}}function ir(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,f=i.get(t);let u;return f?u=f:!r.length&&!s&&!n?u=t:(u={},r.length&&r.forEach(p=>zt(u,p,o,!0)),zt(u,t,o)),he(t)&&i.set(t,u),u}function zt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&zt(e,i,s,!0),r&&r.forEach(o=>zt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const f=Ui[o]||s&&s[o];e[o]=f?f(e[o],t[o]):t[o]}return e}const Ui={data:en,props:tn,emits:tn,methods:vt,computed:vt,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:vt,directives:vt,watch:Ki,provide:en,inject:Bi};function en(e,t){return t?e?function(){return Ee(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Bi(e,t){return vt(ws(e),ws(t))}function ws(e){if(B(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function vt(e,t){return e?Ee(Object.create(null),e,t):t}function tn(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Zs(e),Zs(t??{})):t}function Ki(e,t){if(!e)return t;if(!t)return e;const s=Ee(Object.create(null),e);for(const n in t)s[n]=Oe(e[n],t[n]);return s}function or(){return{app:null,config:{isNativeTag:Rr,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 Wi=0;function Vi(e,t){return function(n,r=null){W(n)||(n=Ee({},n)),r!=null&&!he(r)&&(r=null);const i=or(),o=new WeakSet,f=[];let u=!1;const p=i.app={_uid:Wi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Po,get config(){return i.config},set config(h){},use(h,...b){return o.has(h)||(h&&W(h.install)?(o.add(h),h.install(p,...b)):W(h)&&(o.add(h),h(p,...b))),p},mixin(h){return i.mixins.includes(h)||i.mixins.push(h),p},component(h,b){return b?(i.components[h]=b,p):i.components[h]},directive(h,b){return b?(i.directives[h]=b,p):i.directives[h]},mount(h,b,C){if(!u){const O=p._ceVNode||lt(n,r);return O.appContext=i,C===!0?C="svg":C===!1&&(C=void 0),e(O,h,C),u=!0,p._container=h,h.__vue_app__=p,qs(O.component)}},onUnmount(h){f.push(h)},unmount(){u&&(Ke(f,p._instance,16),e(null,p._container),delete p._container.__vue_app__)},provide(h,b){return i.provides[h]=b,p},runWithContext(h){const b=gt;gt=p;try{return h()}finally{gt=b}}};return p}}let gt=null;function qi(e,t){if(Ae){let s=Ae.provides;const n=Ae.parent&&Ae.parent.provides;n===s&&(s=Ae.provides=Object.create(n)),s[e]=t}}function Ht(e,t,s=!1){const n=Ae||Ue;if(n||gt){const r=gt?gt._context.provides:n?n.parent==null?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&&W(t)?t.call(n&&n.proxy):t}}const lr={},fr=()=>Object.create(lr),cr=e=>Object.getPrototypeOf(e)===lr;function zi(e,t,s,n=!1){const r={},i=fr();e.propsDefaults=Object.create(null),ur(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:oi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Ji(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,f=X(r),[u]=e.propsOptions;let p=!1;if((n||o>0)&&!(o&16)){if(o&8){const h=e.vnode.dynamicProps;for(let b=0;b<h.length;b++){let C=h[b];if(ts(e.emitsOptions,C))continue;const O=t[C];if(u)if(ee(i,C))O!==i[C]&&(i[C]=O,p=!0);else{const V=Xe(C);r[V]=Ss(u,f,V,O,e,!1)}else O!==i[C]&&(i[C]=O,p=!0)}}}else{ur(e,t,r,i)&&(p=!0);let h;for(const b in f)(!t||!ee(t,b)&&((h=ct(b))===b||!ee(t,h)))&&(u?s&&(s[b]!==void 0||s[h]!==void 0)&&(r[b]=Ss(u,f,b,void 0,e,!0)):delete r[b]);if(i!==f)for(const b in i)(!t||!ee(t,b))&&(delete i[b],p=!0)}p&&ze(e.attrs,"set","")}function ur(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,f;if(t)for(let u in t){if(xt(u))continue;const p=t[u];let h;r&&ee(r,h=Xe(u))?!i||!i.includes(h)?s[h]=p:(f||(f={}))[h]=p:ts(e.emitsOptions,u)||(!(u in n)||p!==n[u])&&(n[u]=p,o=!0)}if(i){const u=X(s),p=f||re;for(let h=0;h<i.length;h++){const b=i[h];s[b]=Ss(r,u,b,p[b],e,!ee(p,b))}}return o}function Ss(e,t,s,n,r,i){const o=e[s];if(o!=null){const f=ee(o,"default");if(f&&n===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&W(u)){const{propsDefaults:p}=r;if(s in p)n=p[s];else{const h=Lt(r);n=p[s]=u.call(null,t),h()}}else n=u;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!f?n=!1:o[1]&&(n===""||n===ct(s))&&(n=!0))}return n}const Gi=new WeakMap;function ar(e,t,s=!1){const n=s?Gi:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},f=[];let u=!1;if(!W(e)){const h=b=>{u=!0;const[C,O]=ar(b,t,!0);Ee(o,C),O&&f.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!u)return he(e)&&n.set(e,ht),ht;if(B(i))for(let h=0;h<i.length;h++){const b=Xe(i[h]);sn(b)&&(o[b]=re)}else if(i)for(const h in i){const b=Xe(h);if(sn(b)){const C=i[h],O=o[b]=B(C)||W(C)?{type:C}:Ee({},C),V=O.type;let J=!1,ue=!0;if(B(V))for(let Z=0;Z<V.length;++Z){const oe=V[Z],ie=W(oe)&&oe.name;if(ie==="Boolean"){J=!0;break}else ie==="String"&&(ue=!1)}else J=W(V)&&V.name==="Boolean";O[0]=J,O[1]=ue,(J||ee(O,"default"))&&f.push(b)}}const p=[o,f];return he(e)&&n.set(e,p),p}function sn(e){return e[0]!=="$"&&!xt(e)}const hr=e=>e[0]==="_"||e==="$stable",Ks=e=>B(e)?e.map($e):[$e(e)],Yi=(e,t,s)=>{if(t._n)return t;const n=xi((...r)=>Ks(t(...r)),s);return n._c=!1,n},dr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(hr(r))continue;const i=e[r];if(W(i))t[r]=Yi(r,i,n);else if(i!=null){const o=Ks(i);t[r]=()=>o}}},pr=(e,t)=>{const s=Ks(t);e.slots.default=()=>s},gr=(e,t,s)=>{for(const n in t)(s||n!=="_")&&(e[n]=t[n])},Qi=(e,t,s)=>{const n=e.slots=fr();if(e.vnode.shapeFlag&32){const r=t._;r?(gr(n,t,s),s&&Rn(n,"_",r,!0)):dr(t,n)}else t&&pr(e,t)},Zi=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=re;if(n.shapeFlag&32){const f=t._;f?s&&f===1?i=!1:gr(r,t,s):(i=!t.$stable,dr(t,r)),o=t}else t&&(pr(e,t),o={default:1});if(i)for(const f in r)!hr(f)&&o[f]==null&&delete r[f]},Pe=ho;function Xi(e){return eo(e)}function eo(e,t){const s=Zt();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:f,createComment:u,setText:p,setElementText:h,parentNode:b,nextSibling:C,setScopeId:O=Be,insertStaticContent:V}=e,J=(l,c,g,m=null,_=null,y=null,x=void 0,w=null,S=!!c.dynamicChildren)=>{if(l===c)return;l&&!yt(l,c)&&(m=be(l),$(l,_,y,!0),l=null),c.patchFlag===-2&&(S=!1,c.dynamicChildren=null);const{type:E,ref:F,shapeFlag:T}=c;switch(E){case ss:ue(l,c,g,m);break;case Pt:Z(l,c,g,m);break;case hs:l==null&&oe(c,g,m,x);break;case qe:I(l,c,g,m,_,y,x,w,S);break;default:T&1?le(l,c,g,m,_,y,x,w,S):T&6?U(l,c,g,m,_,y,x,w,S):(T&64||T&128)&&E.process(l,c,g,m,_,y,x,w,S,se)}F!=null&&_&&qt(F,l&&l.ref,y,c||l,!c)},ue=(l,c,g,m)=>{if(l==null)n(c.el=f(c.children),g,m);else{const _=c.el=l.el;c.children!==l.children&&p(_,c.children)}},Z=(l,c,g,m)=>{l==null?n(c.el=u(c.children||""),g,m):c.el=l.el},oe=(l,c,g,m)=>{[l.el,l.anchor]=V(l.children,c,g,m,l.el,l.anchor)},ie=({el:l,anchor:c},g,m)=>{let _;for(;l&&l!==c;)_=C(l),n(l,g,m),l=_;n(c,g,m)},N=({el:l,anchor:c})=>{let g;for(;l&&l!==c;)g=C(l),r(l),l=g;r(c)},le=(l,c,g,m,_,y,x,w,S)=>{c.type==="svg"?x="svg":c.type==="math"&&(x="mathml"),l==null?me(c,g,m,_,y,x,w,S):d(l,c,_,y,x,w,S)},me=(l,c,g,m,_,y,x,w)=>{let S,E;const{props:F,shapeFlag:T,transition:R,dirs:D}=l;if(S=l.el=o(l.type,y,F&&F.is,F),T&8?h(S,l.children):T&16&&a(l.children,S,null,m,_,us(l,y),x,w),D&&nt(l,null,m,"created"),Y(S,l,l.scopeId,x,m),F){for(const K in F)K!=="value"&&!xt(K)&&i(S,K,null,F[K],y,m);"value"in F&&i(S,"value",null,F.value,y),(E=F.onVnodeBeforeMount)&&Ne(E,m,l)}D&&nt(l,null,m,"beforeMount");const L=to(_,R);L&&R.beforeEnter(S),n(S,c,g),((E=F&&F.onVnodeMounted)||L||D)&&Pe(()=>{E&&Ne(E,m,l),L&&R.enter(S),D&&nt(l,null,m,"mounted")},_)},Y=(l,c,g,m,_)=>{if(g&&O(l,g),m)for(let y=0;y<m.length;y++)O(l,m[y]);if(_){let y=_.subTree;if(c===y||xr(y.type)&&(y.ssContent===c||y.ssFallback===c)){const x=_.vnode;Y(l,x,x.scopeId,x.slotScopeIds,_.parent)}}},a=(l,c,g,m,_,y,x,w,S=0)=>{for(let E=S;E<l.length;E++){const F=l[E]=w?Ye(l[E]):$e(l[E]);J(null,F,c,g,m,_,y,x,w)}},d=(l,c,g,m,_,y,x)=>{const w=c.el=l.el;let{patchFlag:S,dynamicChildren:E,dirs:F}=c;S|=l.patchFlag&16;const T=l.props||re,R=c.props||re;let D;if(g&&rt(g,!1),(D=R.onVnodeBeforeUpdate)&&Ne(D,g,c,l),F&&nt(c,l,g,"beforeUpdate"),g&&rt(g,!0),(T.innerHTML&&R.innerHTML==null||T.textContent&&R.textContent==null)&&h(w,""),E?v(l.dynamicChildren,E,w,g,m,us(c,_),y):x||j(l,c,w,null,g,m,us(c,_),y,!1),S>0){if(S&16)A(w,T,R,g,_);else if(S&2&&T.class!==R.class&&i(w,"class",null,R.class,_),S&4&&i(w,"style",T.style,R.style,_),S&8){const L=c.dynamicProps;for(let K=0;K<L.length;K++){const z=L[K],ye=T[z],ve=R[z];(ve!==ye||z==="value")&&i(w,z,ye,ve,_,g)}}S&1&&l.children!==c.children&&h(w,c.children)}else!x&&E==null&&A(w,T,R,g,_);((D=R.onVnodeUpdated)||F)&&Pe(()=>{D&&Ne(D,g,c,l),F&&nt(c,l,g,"updated")},m)},v=(l,c,g,m,_,y,x)=>{for(let w=0;w<c.length;w++){const S=l[w],E=c[w],F=S.el&&(S.type===qe||!yt(S,E)||S.shapeFlag&70)?b(S.el):g;J(S,E,F,null,m,_,y,x,!0)}},A=(l,c,g,m,_)=>{if(c!==g){if(c!==re)for(const y in c)!xt(y)&&!(y in g)&&i(l,y,c[y],null,_,m);for(const y in g){if(xt(y))continue;const x=g[y],w=c[y];x!==w&&y!=="value"&&i(l,y,w,x,_,m)}"value"in g&&i(l,"value",c.value,g.value,_)}},I=(l,c,g,m,_,y,x,w,S)=>{const E=c.el=l?l.el:f(""),F=c.anchor=l?l.anchor:f("");let{patchFlag:T,dynamicChildren:R,slotScopeIds:D}=c;D&&(w=w?w.concat(D):D),l==null?(n(E,g,m),n(F,g,m),a(c.children||[],g,F,_,y,x,w,S)):T>0&&T&64&&R&&l.dynamicChildren?(v(l.dynamicChildren,R,g,_,y,x,w),(c.key!=null||_&&c===_.subTree)&&_r(l,c,!0)):j(l,c,g,F,_,y,x,w,S)},U=(l,c,g,m,_,y,x,w,S)=>{c.slotScopeIds=w,l==null?c.shapeFlag&512?_.ctx.activate(c,g,m,x,S):fe(c,g,m,_,y,x,S):Ce(l,c,S)},fe=(l,c,g,m,_,y,x)=>{const w=l.component=Eo(l,m,_);if(tr(l)&&(w.ctx.renderer=se),Co(w,!1,x),w.asyncDep){if(_&&_.registerDep(w,te,x),!l.el){const S=w.subTree=lt(Pt);Z(null,S,c,g)}}else te(w,l,c,g,_,y,x)},Ce=(l,c,g)=>{const m=c.component=l.component;if(uo(l,c,g))if(m.asyncDep&&!m.asyncResolved){P(m,c,g);return}else m.next=c,m.update();else c.el=l.el,m.vnode=c},te=(l,c,g,m,_,y,x)=>{const w=()=>{if(l.isMounted){let{next:T,bu:R,u:D,parent:L,vnode:K}=l;{const ge=mr(l);if(ge){T&&(T.el=K.el,P(l,T,x)),ge.asyncDep.then(()=>{l.isUnmounted||w()});return}}let z=T,ye;rt(l,!1),T?(T.el=K.el,P(l,T,x)):T=K,R&&rs(R),(ye=T.props&&T.props.onVnodeBeforeUpdate)&&Ne(ye,L,T,K),rt(l,!0);const ve=rn(l),xe=l.subTree;l.subTree=ve,J(xe,ve,b(xe.el),be(xe),l,_,y),T.el=ve.el,z===null&&ao(l,ve.el),D&&Pe(D,_),(ye=T.props&&T.props.onVnodeUpdated)&&Pe(()=>Ne(ye,L,T,K),_)}else{let T;const{el:R,props:D}=c,{bm:L,m:K,parent:z,root:ye,type:ve}=l,xe=Ct(c);rt(l,!1),L&&rs(L),!xe&&(T=D&&D.onVnodeBeforeMount)&&Ne(T,z,c),rt(l,!0);{ye.ce&&ye.ce._injectChildStyle(ve);const ge=l.subTree=rn(l);J(null,ge,g,m,l,_,y),c.el=ge.el}if(K&&Pe(K,_),!xe&&(T=D&&D.onVnodeMounted)){const ge=c;Pe(()=>Ne(T,z,ge),_)}(c.shapeFlag&256||z&&Ct(z.vnode)&&z.vnode.shapeFlag&256)&&l.a&&Pe(l.a,_),l.isMounted=!0,c=g=m=null}};l.scope.on();const S=l.effect=new Mn(w);l.scope.off();const E=l.update=S.run.bind(S),F=l.job=S.runIfDirty.bind(S);F.i=l,F.id=l.uid,S.scheduler=()=>Us(F),rt(l,!0),E()},P=(l,c,g)=>{c.component=l;const m=l.vnode.props;l.vnode=c,l.next=null,Ji(l,c.props,m,g),Zi(l,c.children,g),tt(),Qs(l),st()},j=(l,c,g,m,_,y,x,w,S=!1)=>{const E=l&&l.children,F=l?l.shapeFlag:0,T=c.children,{patchFlag:R,shapeFlag:D}=c;if(R>0){if(R&128){de(E,T,g,m,_,y,x,w,S);return}else if(R&256){k(E,T,g,m,_,y,x,w,S);return}}D&8?(F&16&&ce(E,_,y),T!==E&&h(g,T)):F&16?D&16?de(E,T,g,m,_,y,x,w,S):ce(E,_,y,!0):(F&8&&h(g,""),D&16&&a(T,g,m,_,y,x,w,S))},k=(l,c,g,m,_,y,x,w,S)=>{l=l||ht,c=c||ht;const E=l.length,F=c.length,T=Math.min(E,F);let R;for(R=0;R<T;R++){const D=c[R]=S?Ye(c[R]):$e(c[R]);J(l[R],D,g,null,_,y,x,w,S)}E>F?ce(l,_,y,!0,!1,T):a(c,g,m,_,y,x,w,S,T)},de=(l,c,g,m,_,y,x,w,S)=>{let E=0;const F=c.length;let T=l.length-1,R=F-1;for(;E<=T&&E<=R;){const D=l[E],L=c[E]=S?Ye(c[E]):$e(c[E]);if(yt(D,L))J(D,L,g,null,_,y,x,w,S);else break;E++}for(;E<=T&&E<=R;){const D=l[T],L=c[R]=S?Ye(c[R]):$e(c[R]);if(yt(D,L))J(D,L,g,null,_,y,x,w,S);else break;T--,R--}if(E>T){if(E<=R){const D=R+1,L=D<F?c[D].el:m;for(;E<=R;)J(null,c[E]=S?Ye(c[E]):$e(c[E]),g,L,_,y,x,w,S),E++}}else if(E>R)for(;E<=T;)$(l[E],_,y,!0),E++;else{const D=E,L=E,K=new Map;for(E=L;E<=R;E++){const Ie=c[E]=S?Ye(c[E]):$e(c[E]);Ie.key!=null&&K.set(Ie.key,E)}let z,ye=0;const ve=R-L+1;let xe=!1,ge=0;const De=new Array(ve);for(E=0;E<ve;E++)De[E]=0;for(E=D;E<=T;E++){const Ie=l[E];if(ye>=ve){$(Ie,_,y,!0);continue}let je;if(Ie.key!=null)je=K.get(Ie.key);else for(z=L;z<=R;z++)if(De[z-L]===0&&yt(Ie,c[z])){je=z;break}je===void 0?$(Ie,_,y,!0):(De[je-L]=E+1,je>=ge?ge=je:xe=!0,J(Ie,c[je],g,null,_,y,x,w,S),ye++)}const mt=xe?so(De):ht;for(z=mt.length-1,E=ve-1;E>=0;E--){const Ie=L+E,je=c[Ie],zs=Ie+1<F?c[Ie+1].el:m;De[E]===0?J(null,je,g,zs,_,y,x,w,S):xe&&(z<0||E!==mt[z]?H(je,g,zs,2):z--)}}},H=(l,c,g,m,_=null)=>{const{el:y,type:x,transition:w,children:S,shapeFlag:E}=l;if(E&6){H(l.component.subTree,c,g,m);return}if(E&128){l.suspense.move(c,g,m);return}if(E&64){x.move(l,c,g,se);return}if(x===qe){n(y,c,g);for(let T=0;T<S.length;T++)H(S[T],c,g,m);n(l.anchor,c,g);return}if(x===hs){ie(l,c,g);return}if(m!==2&&E&1&&w)if(m===0)w.beforeEnter(y),n(y,c,g),Pe(()=>w.enter(y),_);else{const{leave:T,delayLeave:R,afterLeave:D}=w,L=()=>n(y,c,g),K=()=>{T(y,()=>{L(),D&&D()})};R?R(y,L,K):K()}else n(y,c,g)},$=(l,c,g,m=!1,_=!1)=>{const{type:y,props:x,ref:w,children:S,dynamicChildren:E,shapeFlag:F,patchFlag:T,dirs:R,cacheIndex:D}=l;if(T===-2&&(_=!1),w!=null&&qt(w,null,g,l,!0),D!=null&&(c.renderCache[D]=void 0),F&256){c.ctx.deactivate(l);return}const L=F&1&&R,K=!Ct(l);let z;if(K&&(z=x&&x.onVnodeBeforeUnmount)&&Ne(z,c,l),F&6)ae(l.component,g,m);else{if(F&128){l.suspense.unmount(g,m);return}L&&nt(l,null,c,"beforeUnmount"),F&64?l.type.remove(l,c,g,se,m):E&&!E.hasOnce&&(y!==qe||T>0&&T&64)?ce(E,c,g,!1,!0):(y===qe&&T&384||!_&&F&16)&&ce(S,c,g),m&&M(l)}(K&&(z=x&&x.onVnodeUnmounted)||L)&&Pe(()=>{z&&Ne(z,c,l),L&&nt(l,null,c,"unmounted")},g)},M=l=>{const{type:c,el:g,anchor:m,transition:_}=l;if(c===qe){pe(g,m);return}if(c===hs){N(l);return}const y=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(l.shapeFlag&1&&_&&!_.persisted){const{leave:x,delayLeave:w}=_,S=()=>x(g,y);w?w(l.el,y,S):S()}else y()},pe=(l,c)=>{let g;for(;l!==c;)g=C(l),r(l),l=g;r(c)},ae=(l,c,g)=>{const{bum:m,scope:_,job:y,subTree:x,um:w,m:S,a:E}=l;nn(S),nn(E),m&&rs(m),_.stop(),y&&(y.flags|=8,$(x,l,c,g)),w&&Pe(w,c),Pe(()=>{l.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},ce=(l,c,g,m=!1,_=!1,y=0)=>{for(let x=y;x<l.length;x++)$(l[x],c,g,m,_)},be=l=>{if(l.shapeFlag&6)return be(l.component.subTree);if(l.shapeFlag&128)return l.suspense.next();const c=C(l.anchor||l.el),g=c&&c[wi];return g?C(g):c};let q=!1;const Q=(l,c,g)=>{l==null?c._vnode&&$(c._vnode,null,null,!0):J(c._vnode||null,l,c,null,null,null,g),c._vnode=l,q||(q=!0,Qs(),Qn(),q=!1)},se={p:J,um:$,m:H,r:M,mt:fe,mc:a,pc:j,pbc:v,n:be,o:e};return{render:Q,hydrate:void 0,createApp:Vi(Q)}}function us({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 rt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function to(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _r(e,t,s=!1){const n=e.children,r=t.children;if(B(n)&&B(r))for(let i=0;i<n.length;i++){const o=n[i];let f=r[i];f.shapeFlag&1&&!f.dynamicChildren&&((f.patchFlag<=0||f.patchFlag===32)&&(f=r[i]=Ye(r[i]),f.el=o.el),!s&&f.patchFlag!==-2&&_r(o,f)),f.type===ss&&(f.el=o.el)}}function so(e){const t=e.slice(),s=[0];let n,r,i,o,f;const u=e.length;for(n=0;n<u;n++){const p=e[n];if(p!==0){if(r=s[s.length-1],e[r]<p){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)f=i+o>>1,e[s[f]]<p?i=f+1:o=f;p<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function mr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:mr(t)}function nn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const no=Symbol.for("v-scx"),ro=()=>Ht(no);function as(e,t,s){return br(e,t,s)}function br(e,t,s=re){const{immediate:n,deep:r,flush:i,once:o}=s,f=Ee({},s),u=t&&n||!t&&i!=="post";let p;if(Mt){if(i==="sync"){const O=ro();p=O.__watcherHandles||(O.__watcherHandles=[])}else if(!u){const O=()=>{};return O.stop=Be,O.resume=Be,O.pause=Be,O}}const h=Ae;f.call=(O,V,J)=>Ke(O,h,V,J);let b=!1;i==="post"?f.scheduler=O=>{Pe(O,h&&h.suspense)}:i!=="sync"&&(b=!0,f.scheduler=(O,V)=>{V?O():Us(O)}),f.augmentJob=O=>{t&&(O.flags|=4),b&&(O.flags|=2,h&&(O.id=h.uid,O.i=h))};const C=_i(e,t,f);return Mt&&(p?p.push(C):u&&C()),C}function io(e,t,s){const n=this.proxy,r=_e(e)?e.includes(".")?yr(n,e):()=>n[e]:e.bind(n,n);let i;W(t)?i=t:(i=t.handler,s=t);const o=Lt(this),f=br(r,i.bind(n),s);return o(),f}function yr(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 oo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Xe(t)}Modifiers`]||e[`${ct(t)}Modifiers`];function lo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||re;let r=s;const i=t.startsWith("update:"),o=i&&oo(n,t.slice(7));o&&(o.trim&&(r=s.map(h=>_e(h)?h.trim():h)),o.number&&(r=s.map(Mr)));let f,u=n[f=ns(t)]||n[f=ns(Xe(t))];!u&&i&&(u=n[f=ns(ct(t))]),u&&Ke(u,e,6,r);const p=n[f+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,Ke(p,e,6,r)}}function vr(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},f=!1;if(!W(e)){const u=p=>{const h=vr(p,t,!0);h&&(f=!0,Ee(o,h))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!f?(he(e)&&n.set(e,null),null):(B(i)?i.forEach(u=>o[u]=null):Ee(o,i),he(e)&&n.set(e,o),o)}function ts(e,t){return!e||!Gt(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,ct(t))||ee(e,t))}function rn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:f,emit:u,render:p,renderCache:h,props:b,data:C,setupState:O,ctx:V,inheritAttrs:J}=e,ue=Vt(e);let Z,oe;try{if(s.shapeFlag&4){const N=r||n,le=N;Z=$e(p.call(le,N,h,b,O,C,V)),oe=f}else{const N=t;Z=$e(N.length>1?N(b,{attrs:f,slots:o,emit:u}):N(b,null)),oe=t.props?f:fo(f)}}catch(N){Tt.length=0,Xt(N,e,1),Z=lt(Pt)}let ie=Z;if(oe&&J!==!1){const N=Object.keys(oe),{shapeFlag:le}=ie;N.length&&le&7&&(i&&N.some(Ts)&&(oe=co(oe,i)),ie=_t(ie,oe,!1,!0))}return s.dirs&&(ie=_t(ie,null,!1,!0),ie.dirs=ie.dirs?ie.dirs.concat(s.dirs):s.dirs),s.transition&&Bs(ie,s.transition),Z=ie,Vt(ue),Z}const fo=e=>{let t;for(const s in e)(s==="class"||s==="style"||Gt(s))&&((t||(t={}))[s]=e[s]);return t},co=(e,t)=>{const s={};for(const n in e)(!Ts(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function uo(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:f,patchFlag:u}=t,p=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?on(n,o,p):!!o;if(u&8){const h=t.dynamicProps;for(let b=0;b<h.length;b++){const C=h[b];if(o[C]!==n[C]&&!ts(p,C))return!0}}}else return(r||f)&&(!f||!f.$stable)?!0:n===o?!1:n?o?on(n,o,p):!0:!!o;return!1}function on(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(t[i]!==e[i]&&!ts(s,i))return!0}return!1}function ao({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const xr=e=>e.__isSuspense;function ho(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):vi(e)}const qe=Symbol.for("v-fgt"),ss=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),hs=Symbol.for("v-stc"),Tt=[];let Me=null;function po(e=!1){Tt.push(Me=e?null:[])}function go(){Tt.pop(),Me=Tt[Tt.length-1]||null}let Ft=1;function ln(e,t=!1){Ft+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function _o(e){return e.dynamicChildren=Ft>0?Me||ht:null,go(),Ft>0&&Me&&Me.push(e),e}function mo(e,t,s,n,r,i){return _o(Ws(e,t,s,n,r,i,!0))}function wr(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}const Sr=({key:e})=>e??null,$t=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Se(e)||W(e)?{i:Ue,r:e,k:t,f:!!s}:e:null);function Ws(e,t=null,s=null,n=0,r=null,i=e===qe?0:1,o=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Sr(t),ref:t&&$t(t),scopeId:Xn,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:Ue};return f?(Vs(u,s),i&128&&e.normalize(u)):s&&(u.shapeFlag|=_e(s)?8:16),Ft>0&&!o&&Me&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Me.push(u),u}const lt=bo;function bo(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===ji)&&(e=Pt),wr(e)){const f=_t(e,t,!0);return s&&Vs(f,s),Ft>0&&!i&&Me&&(f.shapeFlag&6?Me[Me.indexOf(e)]=f:Me.push(f)),f.patchFlag=-2,f}if(Ao(e)&&(e=e.__vccOpts),t){t=yo(t);let{class:f,style:u}=t;f&&!_e(f)&&(t.class=Ps(f)),he(u)&&($s(u)&&!B(u)&&(u=Ee({},u)),t.style=Is(u))}const o=_e(e)?1:xr(e)?128:Si(e)?64:he(e)?4:W(e)?2:0;return Ws(e,t,s,n,r,o,i,!0)}function yo(e){return e?$s(e)||cr(e)?Ee({},e):e:null}function _t(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:f,transition:u}=e,p=t?xo(r||{},t):r,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Sr(p),ref:t&&t.ref?s&&i?B(i)?i.concat($t(t)):[i,$t(t)]:$t(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&Bs(h,u.clone(h)),h}function vo(e=" ",t=0){return lt(ss,null,e,t)}function $e(e){return e==null||typeof e=="boolean"?lt(Pt):B(e)?lt(qe,null,e.slice()):wr(e)?Ye(e):lt(ss,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function Vs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(B(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&&!cr(t)?t._ctx=Ue:r===3&&Ue&&(Ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:Ue},s=32):(t=String(t),n&64?(s=16,t=[vo(t)]):s=8);e.children=t,e.shapeFlag|=s}function xo(...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=Ps([t.class,n.class]));else if(r==="style")t.style=Is([t.style,n.style]);else if(Gt(r)){const i=t[r],o=n[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function Ne(e,t,s,n=null){Ke(e,t,7,[s,n])}const wo=or();let So=0;function Eo(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||wo,i={uid:So++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new $r(!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:ar(n,r),emitsOptions:vr(n,r),emit:null,emitted:null,propsDefaults:re,inheritAttrs:n.inheritAttrs,ctx:re,data:re,props:re,attrs:re,slots:re,refs:re,setupState:re,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=lo.bind(null,i),e.ce&&e.ce(i),i}let Ae=null,Jt,Es;{const e=Zt(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Jt=t("__VUE_INSTANCE_SETTERS__",s=>Ae=s),Es=t("__VUE_SSR_SETTERS__",s=>Mt=s)}const Lt=e=>{const t=Ae;return Jt(e),e.scope.on(),()=>{e.scope.off(),Jt(t)}},fn=()=>{Ae&&Ae.scope.off(),Jt(null)};function Er(e){return e.vnode.shapeFlag&4}let Mt=!1;function Co(e,t=!1,s=!1){t&&Es(t);const{props:n,children:r}=e.vnode,i=Er(e);zi(e,n,i,t),Qi(e,r,s);const o=i?Oo(e,t):void 0;return t&&Es(!1),o}function Oo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ni);const{setup:n}=s;if(n){tt();const r=e.setupContext=n.length>1?Ro(e):null,i=Lt(e),o=Dt(n,e,0,[e.props,r]),f=En(o);if(st(),i(),(f||e.sp)&&!Ct(e)&&er(e),f){if(o.then(fn,fn),t)return o.then(u=>{cn(e,u)}).catch(u=>{Xt(u,e,0)});e.asyncDep=o}else cn(e,o)}else Cr(e)}function cn(e,t,s){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=Jn(t)),Cr(e)}function Cr(e,t,s){const n=e.type;e.render||(e.render=n.render||Be);{const r=Lt(e);tt();try{Hi(e)}finally{st(),r()}}}const To={get(e,t){return we(e,"get",""),e[t]}};function Ro(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,To),slots:e.slots,emit:e.emit,expose:t}}function qs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Jn(li(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ot)return Ot[s](e)},has(t,s){return s in t||s in Ot}})):e.proxy}function Ao(e){return W(e)&&"__vccOpts"in e}const Io=(e,t)=>pi(e,t,Mt),Po="3.5.13";/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Cs;const un=typeof window<"u"&&window.trustedTypes;if(un)try{Cs=un.createPolicy("vue",{createHTML:e=>e})}catch{}const Or=Cs?e=>Cs.createHTML(e):e=>e,Fo="http://www.w3.org/2000/svg",Mo="http://www.w3.org/1998/Math/MathML",Ve=typeof document<"u"?document:null,an=Ve&&Ve.createElement("template"),Do={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"?Ve.createElementNS(Fo,e):t==="mathml"?Ve.createElementNS(Mo,e):s?Ve.createElement(e,{is:s}):Ve.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Ve.createTextNode(e),createComment:e=>Ve.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ve.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{an.innerHTML=Or(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const f=an.content;if(n==="svg"||n==="mathml"){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Lo=Symbol("_vtc");function ko(e,t,s){const n=e[Lo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const hn=Symbol("_vod"),jo=Symbol("_vsh"),No=Symbol(""),Ho=/(^|;)\s*display\s*:/;function $o(e,t,s){const n=e.style,r=_e(s);let i=!1;if(s&&!r){if(t)if(_e(t))for(const o of t.split(";")){const f=o.slice(0,o.indexOf(":")).trim();s[f]==null&&Ut(n,f,"")}else for(const o in t)s[o]==null&&Ut(n,o,"");for(const o in s)o==="display"&&(i=!0),Ut(n,o,s[o])}else if(r){if(t!==s){const o=n[No];o&&(s+=";"+o),n.cssText=s,i=Ho.test(s)}}else t&&e.removeAttribute("style");hn in e&&(e[hn]=i?n.display:"",e[jo]&&(n.display="none"))}const dn=/\s*!important$/;function Ut(e,t,s){if(B(s))s.forEach(n=>Ut(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Uo(e,t);dn.test(s)?e.setProperty(ct(n),s.replace(dn,""),"important"):e[n]=s}}const pn=["Webkit","Moz","ms"],ds={};function Uo(e,t){const s=ds[t];if(s)return s;let n=Xe(t);if(n!=="filter"&&n in e)return ds[t]=n;n=Tn(n);for(let r=0;r<pn.length;r++){const i=pn[r]+n;if(i in e)return ds[t]=i}return t}const gn="http://www.w3.org/1999/xlink";function _n(e,t,s,n,r,i=Hr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(gn,t.slice(6,t.length)):e.setAttributeNS(gn,t,s):s==null||i&&!An(s)?e.removeAttribute(t):e.setAttribute(t,i?"":et(s)?String(s):s)}function mn(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Or(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const f=i==="OPTION"?e.getAttribute("value")||"":e.value,u=s==null?e.type==="checkbox"?"on":"":String(s);(f!==u||!("_value"in e))&&(e.value=u),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const f=typeof e[t];f==="boolean"?s=An(s):s==null&&f==="string"?(s="",o=!0):f==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function Bo(e,t,s,n){e.addEventListener(t,s,n)}function Ko(e,t,s,n){e.removeEventListener(t,s,n)}const bn=Symbol("_vei");function Wo(e,t,s,n,r=null){const i=e[bn]||(e[bn]={}),o=i[t];if(n&&o)o.value=n;else{const[f,u]=Vo(t);if(n){const p=i[t]=Jo(n,r);Bo(e,f,p,u)}else o&&(Ko(e,f,o,u),i[t]=void 0)}}const yn=/(?:Once|Passive|Capture)$/;function Vo(e){let t;if(yn.test(e)){t={};let n;for(;n=e.match(yn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ct(e.slice(2)),t]}let ps=0;const qo=Promise.resolve(),zo=()=>ps||(qo.then(()=>ps=0),ps=Date.now());function Jo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ke(Go(n,s.value),t,5,[n])};return s.value=e,s.attached=zo(),s}function Go(e,t){if(B(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yo=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?ko(e,n,o):t==="style"?$o(e,s,n):Gt(t)?Ts(t)||Wo(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qo(e,t,n,o))?(mn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&_n(e,t,n,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_e(n))?mn(e,Xe(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),_n(e,t,n,o))};function Qo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&vn(t)&&W(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return vn(t)&&_e(s)?!1:t in e}const Zo=Ee({patchProp:Yo},Do);let xn;function Xo(){return xn||(xn=Xi(Zo))}const el=(...e)=>{const t=Xo().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=sl(n);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,tl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function tl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function sl(e){return _e(e)?document.querySelector(e):e}function nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bt={exports:{}};/* @license
Papa Parse
v5.5.2
https://github.com/mholt/PapaParse
License: MIT
*/var rl=Bt.exports,wn;function il(){return wn||(wn=1,function(e,t){((s,n)=>{e.exports=n()})(rl,function s(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},r,i=!n.document&&!!n.postMessage,o=n.IS_PAPA_WORKER||!1,f={},u=0,p={};function h(a){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(d){var v=le(d);v.chunkSize=parseInt(v.chunkSize),d.step||d.chunk||(v.chunkSize=null),this._handle=new J(v),(this._handle.streamer=this)._config=v}).call(this,a),this.parseChunk=function(d,v){var A=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<A){let U=this._config.newline;U||(I=this._config.quoteChar||'"',U=this._handle.guessLineEndings(d,I)),d=[...d.split(U).slice(A)].join(U)}this.isFirstChunk&&Y(this._config.beforeFirstChunk)&&(I=this._config.beforeFirstChunk(d))!==void 0&&(d=I),this.isFirstChunk=!1,this._halted=!1;var A=this._partialLine+d,I=(this._partialLine="",this._handle.parse(A,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(d=I.meta.cursor,A=(this._finished||(this._partialLine=A.substring(d-this._baseIndex),this._baseIndex=d),I&&I.data&&(this._rowCount+=I.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),o)n.postMessage({results:I,workerId:p.WORKER_ID,finished:A});else if(Y(this._config.chunk)&&!v){if(this._config.chunk(I,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=I=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(I.data),this._completeResults.errors=this._completeResults.errors.concat(I.errors),this._completeResults.meta=I.meta),this._completed||!A||!Y(this._config.complete)||I&&I.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),A||I&&I.meta.paused||this._nextChunk(),I}this._halted=!0},this._sendError=function(d){Y(this._config.error)?this._config.error(d):o&&this._config.error&&n.postMessage({workerId:p.WORKER_ID,error:d,finished:!1})}}function b(a){var d;(a=a||{}).chunkSize||(a.chunkSize=p.RemoteChunkSize),h.call(this,a),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(v){this._input=v,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(d=new XMLHttpRequest,this._config.withCredentials&&(d.withCredentials=this._config.withCredentials),i||(d.onload=me(this._chunkLoaded,this),d.onerror=me(this._chunkError,this)),d.open(this._config.downloadRequestBody?"POST":"GET",this._input,!i),this._config.downloadRequestHeaders){var v,A=this._config.downloadRequestHeaders;for(v in A)d.setRequestHeader(v,A[v])}var I;this._config.chunkSize&&(I=this._start+this._config.chunkSize-1,d.setRequestHeader("Range","bytes="+this._start+"-"+I));try{d.send(this._config.downloadRequestBody)}catch(U){this._chunkError(U.message)}i&&d.status===0&&this._chunkError()}},this._chunkLoaded=function(){d.readyState===4&&(d.status<200||400<=d.status?this._chunkError():(this._start+=this._config.chunkSize||d.responseText.length,this._finished=!this._config.chunkSize||this._start>=(v=>(v=v.getResponseHeader("Content-Range"))!==null?parseInt(v.substring(v.lastIndexOf("/")+1)):-1)(d),this.parseChunk(d.responseText)))},this._chunkError=function(v){v=d.statusText||v,this._sendError(new Error(v))}}function C(a){(a=a||{}).chunkSize||(a.chunkSize=p.LocalChunkSize),h.call(this,a);var d,v,A=typeof FileReader<"u";this.stream=function(I){this._input=I,v=I.slice||I.webkitSlice||I.mozSlice,A?((d=new FileReader).onload=me(this._chunkLoaded,this),d.onerror=me(this._chunkError,this)):d=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var I=this._input,U=(this._config.chunkSize&&(U=Math.min(this._start+this._config.chunkSize,this._input.size),I=v.call(I,this._start,U)),d.readAsText(I,this._config.encoding));A||this._chunkLoaded({target:{result:U}})},this._chunkLoaded=function(I){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(I.target.result)},this._chunkError=function(){this._sendError(d.error)}}function O(a){var d;h.call(this,a=a||{}),this.stream=function(v){return d=v,this._nextChunk()},this._nextChunk=function(){var v,A;if(!this._finished)return v=this._config.chunkSize,d=v?(A=d.substring(0,v),d.substring(v)):(A=d,""),this._finished=!d,this.parseChunk(A)}}function V(a){h.call(this,a=a||{});var d=[],v=!0,A=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(I){this._input=I,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){A&&d.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),d.length?this.parseChunk(d.shift()):v=!0},this._streamData=me(function(I){try{d.push(typeof I=="string"?I:I.toString(this._config.encoding)),v&&(v=!1,this._checkIsFinished(),this.parseChunk(d.shift()))}catch(U){this._streamError(U)}},this),this._streamError=me(function(I){this._streamCleanUp(),this._sendError(I)},this),this._streamEnd=me(function(){this._streamCleanUp(),A=!0,this._streamData("")},this),this._streamCleanUp=me(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function J(a){var d,v,A,I,U=Math.pow(2,53),fe=-U,Ce=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,te=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,P=this,j=0,k=0,de=!1,H=!1,$=[],M={data:[],errors:[],meta:{}};function pe(q){return a.skipEmptyLines==="greedy"?q.join("").trim()==="":q.length===1&&q[0].length===0}function ae(){if(M&&A&&(be("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+p.DefaultDelimiter+"'"),A=!1),a.skipEmptyLines&&(M.data=M.data.filter(function(l){return!pe(l)})),ce()){let l=function(c,g){Y(a.transformHeader)&&(c=a.transformHeader(c,g)),$.push(c)};var G=l;if(M)if(Array.isArray(M.data[0])){for(var q=0;ce()&&q<M.data.length;q++)M.data[q].forEach(l);M.data.splice(0,1)}else M.data.forEach(l)}function Q(l,c){for(var g=a.header?{}:[],m=0;m<l.length;m++){var _=m,y=l[m],y=((x,w)=>(S=>(a.dynamicTypingFunction&&a.dynamicTyping[S]===void 0&&(a.dynamicTyping[S]=a.dynamicTypingFunction(S)),(a.dynamicTyping[S]||a.dynamicTyping)===!0))(x)?w==="true"||w==="TRUE"||w!=="false"&&w!=="FALSE"&&((S=>{if(Ce.test(S)&&(S=parseFloat(S),fe<S&&S<U))return 1})(w)?parseFloat(w):te.test(w)?new Date(w):w===""?null:w):w)(_=a.header?m>=$.length?"__parsed_extra":$[m]:_,y=a.transform?a.transform(y,_):y);_==="__parsed_extra"?(g[_]=g[_]||[],g[_].push(y)):g[_]=y}return a.header&&(m>$.length?be("FieldMismatch","TooManyFields","Too many fields: expected "+$.length+" fields but parsed "+m,k+c):m<$.length&&be("FieldMismatch","TooFewFields","Too few fields: expected "+$.length+" fields but parsed "+m,k+c)),g}var se;M&&(a.header||a.dynamicTyping||a.transform)&&(se=1,!M.data.length||Array.isArray(M.data[0])?(M.data=M.data.map(Q),se=M.data.length):M.data=Q(M.data,0),a.header&&M.meta&&(M.meta.fields=$),k+=se)}function ce(){return a.header&&$.length===0}function be(q,Q,se,G){q={type:q,code:Q,message:se},G!==void 0&&(q.row=G),M.errors.push(q)}Y(a.step)&&(I=a.step,a.step=function(q){M=q,ce()?ae():(ae(),M.data.length!==0&&(j+=q.data.length,a.preview&&j>a.preview?v.abort():(M.data=M.data[0],I(M,P))))}),this.parse=function(q,Q,se){var G=a.quoteChar||'"',G=(a.newline||(a.newline=this.guessLineEndings(q,G)),A=!1,a.delimiter?Y(a.delimiter)&&(a.delimiter=a.delimiter(q),M.meta.delimiter=a.delimiter):((G=((l,c,g,m,_)=>{var y,x,w,S;_=_||[","," ","|",";",p.RECORD_SEP,p.UNIT_SEP];for(var E=0;E<_.length;E++){for(var F,T=_[E],R=0,D=0,L=0,K=(w=void 0,new Z({comments:m,delimiter:T,newline:c,preview:10}).parse(l)),z=0;z<K.data.length;z++)g&&pe(K.data[z])?L++:(F=K.data[z].length,D+=F,w===void 0?w=F:0<F&&(R+=Math.abs(F-w),w=F));0<K.data.length&&(D/=K.data.length-L),(x===void 0||R<=x)&&(S===void 0||S<D)&&1.99<D&&(x=R,y=T,S=D)}return{successful:!!(a.delimiter=y),bestDelimiter:y}})(q,a.newline,a.skipEmptyLines,a.comments,a.delimitersToGuess)).successful?a.delimiter=G.bestDelimiter:(A=!0,a.delimiter=p.DefaultDelimiter),M.meta.delimiter=a.delimiter),le(a));return a.preview&&a.header&&G.preview++,d=q,v=new Z(G),M=v.parse(d,Q,se),ae(),de?{meta:{paused:!0}}:M||{meta:{paused:!1}}},this.paused=function(){return de},this.pause=function(){de=!0,v.abort(),d=Y(a.chunk)?"":d.substring(v.getCharIndex())},this.resume=function(){P.streamer._halted?(de=!1,P.streamer.parseChunk(d,!0)):setTimeout(P.resume,3)},this.aborted=function(){return H},this.abort=function(){H=!0,v.abort(),M.meta.aborted=!0,Y(a.complete)&&a.complete(M),d=""},this.guessLineEndings=function(l,G){l=l.substring(0,1048576);var G=new RegExp(ue(G)+"([^]*?)"+ue(G),"gm"),se=(l=l.replace(G,"")).split("\r"),G=l.split(`
`),l=1<G.length&&G[0].length<se[0].length;if(se.length===1||l)return`
`;for(var c=0,g=0;g<se.length;g++)se[g][0]===`
`&&c++;return c>=se.length/2?`\r
`:"\r"}}function ue(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Z(a){var d=(a=a||{}).delimiter,v=a.newline,A=a.comments,I=a.step,U=a.preview,fe=a.fastMode,Ce=null,te=!1,P=a.quoteChar==null?'"':a.quoteChar,j=P;if(a.escapeChar!==void 0&&(j=a.escapeChar),(typeof d!="string"||-1<p.BAD_DELIMITERS.indexOf(d))&&(d=","),A===d)throw new Error("Comment character same as delimiter");A===!0?A="#":(typeof A!="string"||-1<p.BAD_DELIMITERS.indexOf(A))&&(A=!1),v!==`
`&&v!=="\r"&&v!==`\r
`&&(v=`
`);var k=0,de=!1;this.parse=function(H,$,M){if(typeof H!="string")throw new Error("Input must be a string");var pe=H.length,ae=d.length,ce=v.length,be=A.length,q=Y(I),Q=[],se=[],G=[],l=k=0;if(!H)return R();if(fe||fe!==!1&&H.indexOf(P)===-1){for(var c=H.split(v),g=0;g<c.length;g++){if(G=c[g],k+=G.length,g!==c.length-1)k+=v.length;else if(M)return R();if(!A||G.substring(0,be)!==A){if(q){if(Q=[],S(G.split(d)),D(),de)return R()}else S(G.split(d));if(U&&U<=g)return Q=Q.slice(0,U),R(!0)}}return R()}for(var m=H.indexOf(d,k),_=H.indexOf(v,k),y=new RegExp(ue(j)+ue(P),"g"),x=H.indexOf(P,k);;)if(H[k]===P)for(x=k,k++;;){if((x=H.indexOf(P,x+1))===-1)return M||se.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Q.length,index:k}),F();if(x===pe-1)return F(H.substring(k,x).replace(y,P));if(P===j&&H[x+1]===j)x++;else if(P===j||x===0||H[x-1]!==j){m!==-1&&m<x+1&&(m=H.indexOf(d,x+1));var w=E((_=_!==-1&&_<x+1?H.indexOf(v,x+1):_)===-1?m:Math.min(m,_));if(H.substr(x+1+w,ae)===d){G.push(H.substring(k,x).replace(y,P)),H[k=x+1+w+ae]!==P&&(x=H.indexOf(P,k)),m=H.indexOf(d,k),_=H.indexOf(v,k);break}if(w=E(_),H.substring(x+1+w,x+1+w+ce)===v){if(G.push(H.substring(k,x).replace(y,P)),T(x+1+w+ce),m=H.indexOf(d,k),x=H.indexOf(P,k),q&&(D(),de))return R();if(U&&Q.length>=U)return R(!0);break}se.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Q.length,index:k}),x++}}else if(A&&G.length===0&&H.substring(k,k+be)===A){if(_===-1)return R();k=_+ce,_=H.indexOf(v,k),m=H.indexOf(d,k)}else if(m!==-1&&(m<_||_===-1))G.push(H.substring(k,m)),k=m+ae,m=H.indexOf(d,k);else{if(_===-1)break;if(G.push(H.substring(k,_)),T(_+ce),q&&(D(),de))return R();if(U&&Q.length>=U)return R(!0)}return F();function S(L){Q.push(L),l=k}function E(L){var K=0;return K=L!==-1&&(L=H.substring(x+1,L))&&L.trim()===""?L.length:K}function F(L){return M||(L===void 0&&(L=H.substring(k)),G.push(L),k=pe,S(G),q&&D()),R()}function T(L){k=L,S(G),G=[],_=H.indexOf(v,k)}function R(L){if(a.header&&!$&&Q.length&&!te){var K=Q[0],z={},ye=new Set(K);let ve=!1;for(let xe=0;xe<K.length;xe++){let ge=K[xe];if(z[ge=Y(a.transformHeader)?a.transformHeader(ge,xe):ge]){let De,mt=z[ge];for(;De=ge+"_"+mt,mt++,ye.has(De););ye.add(De),K[xe]=De,z[ge]++,ve=!0,(Ce=Ce===null?{}:Ce)[De]=ge}else z[ge]=1,K[xe]=ge;ye.add(ge)}ve&&console.warn("Duplicate headers found and renamed."),te=!0}return{data:Q,errors:se,meta:{delimiter:d,linebreak:v,aborted:de,truncated:!!L,cursor:l+($||0),renamedHeaders:Ce}}}function D(){I(R()),Q=[],se=[]}},this.abort=function(){de=!0},this.getCharIndex=function(){return k}}function oe(a){var d=a.data,v=f[d.workerId],A=!1;if(d.error)v.userError(d.error,d.file);else if(d.results&&d.results.data){var I={abort:function(){A=!0,ie(d.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:N,resume:N};if(Y(v.userStep)){for(var U=0;U<d.results.data.length&&(v.userStep({data:d.results.data[U],errors:d.results.errors,meta:d.results.meta},I),!A);U++);delete d.results}else Y(v.userChunk)&&(v.userChunk(d.results,I,d.file),delete d.results)}d.finished&&!A&&ie(d.workerId,d.results)}function ie(a,d){var v=f[a];Y(v.userComplete)&&v.userComplete(d),v.terminate(),delete f[a]}function N(){throw new Error("Not implemented.")}function le(a){if(typeof a!="object"||a===null)return a;var d,v=Array.isArray(a)?[]:{};for(d in a)v[d]=le(a[d]);return v}function me(a,d){return function(){a.apply(d,arguments)}}function Y(a){return typeof a=="function"}return p.parse=function(a,d){var v=(d=d||{}).dynamicTyping||!1;if(Y(v)&&(d.dynamicTypingFunction=v,v={}),d.dynamicTyping=v,d.transform=!!Y(d.transform)&&d.transform,!d.worker||!p.WORKERS_SUPPORTED)return v=null,p.NODE_STREAM_INPUT,typeof a=="string"?(a=(A=>A.charCodeAt(0)!==65279?A:A.slice(1))(a),v=new(d.download?b:O)(d)):a.readable===!0&&Y(a.read)&&Y(a.on)?v=new V(d):(n.File&&a instanceof File||a instanceof Object)&&(v=new C(d)),v.stream(a);(v=(()=>{var A;return!!p.WORKERS_SUPPORTED&&(A=(()=>{var I=n.URL||n.webkitURL||null,U=s.toString();return p.BLOB_URL||(p.BLOB_URL=I.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",U,")();"],{type:"text/javascript"})))})(),(A=new n.Worker(A)).onmessage=oe,A.id=u++,f[A.id]=A)})()).userStep=d.step,v.userChunk=d.chunk,v.userComplete=d.complete,v.userError=d.error,d.step=Y(d.step),d.chunk=Y(d.chunk),d.complete=Y(d.complete),d.error=Y(d.error),delete d.worker,v.postMessage({input:a,config:d,workerId:v.id})},p.unparse=function(a,d){var v=!1,A=!0,I=",",U=`\r
`,fe='"',Ce=fe+fe,te=!1,P=null,j=!1,k=((()=>{if(typeof d=="object"){if(typeof d.delimiter!="string"||p.BAD_DELIMITERS.filter(function($){return d.delimiter.indexOf($)!==-1}).length||(I=d.delimiter),typeof d.quotes!="boolean"&&typeof d.quotes!="function"&&!Array.isArray(d.quotes)||(v=d.quotes),typeof d.skipEmptyLines!="boolean"&&typeof d.skipEmptyLines!="string"||(te=d.skipEmptyLines),typeof d.newline=="string"&&(U=d.newline),typeof d.quoteChar=="string"&&(fe=d.quoteChar),typeof d.header=="boolean"&&(A=d.header),Array.isArray(d.columns)){if(d.columns.length===0)throw new Error("Option columns is empty");P=d.columns}d.escapeChar!==void 0&&(Ce=d.escapeChar+fe),d.escapeFormulae instanceof RegExp?j=d.escapeFormulae:typeof d.escapeFormulae=="boolean"&&d.escapeFormulae&&(j=/^[=+\-@\t\r].*$/)}})(),new RegExp(ue(fe),"g"));if(typeof a=="string"&&(a=JSON.parse(a)),Array.isArray(a)){if(!a.length||Array.isArray(a[0]))return de(null,a,te);if(typeof a[0]=="object")return de(P||Object.keys(a[0]),a,te)}else if(typeof a=="object")return typeof a.data=="string"&&(a.data=JSON.parse(a.data)),Array.isArray(a.data)&&(a.fields||(a.fields=a.meta&&a.meta.fields||P),a.fields||(a.fields=Array.isArray(a.data[0])?a.fields:typeof a.data[0]=="object"?Object.keys(a.data[0]):[]),Array.isArray(a.data[0])||typeof a.data[0]=="object"||(a.data=[a.data])),de(a.fields||[],a.data||[],te);throw new Error("Unable to serialize unrecognized input");function de($,M,pe){var ae="",ce=(typeof $=="string"&&($=JSON.parse($)),typeof M=="string"&&(M=JSON.parse(M)),Array.isArray($)&&0<$.length),be=!Array.isArray(M[0]);if(ce&&A){for(var q=0;q<$.length;q++)0<q&&(ae+=I),ae+=H($[q],q);0<M.length&&(ae+=U)}for(var Q=0;Q<M.length;Q++){var se=(ce?$:M[Q]).length,G=!1,l=ce?Object.keys(M[Q]).length===0:M[Q].length===0;if(pe&&!ce&&(G=pe==="greedy"?M[Q].join("").trim()==="":M[Q].length===1&&M[Q][0].length===0),pe==="greedy"&&ce){for(var c=[],g=0;g<se;g++){var m=be?$[g]:g;c.push(M[Q][m])}G=c.join("").trim()===""}if(!G){for(var _=0;_<se;_++){0<_&&!l&&(ae+=I);var y=ce&&be?$[_]:_;ae+=H(M[Q][y],_)}Q<M.length-1&&(!pe||0<se&&!l)&&(ae+=U)}}return ae}function H($,M){var pe,ae;return $==null?"":$.constructor===Date?JSON.stringify($).slice(1,25):(ae=!1,j&&typeof $=="string"&&j.test($)&&($="'"+$,ae=!0),pe=$.toString().replace(k,Ce),(ae=ae||v===!0||typeof v=="function"&&v($,M)||Array.isArray(v)&&v[M]||((ce,be)=>{for(var q=0;q<be.length;q++)if(-1<ce.indexOf(be[q]))return!0;return!1})(pe,p.BAD_DELIMITERS)||-1<pe.indexOf(I)||pe.charAt(0)===" "||pe.charAt(pe.length-1)===" ")?fe+pe+fe:pe)}},p.RECORD_SEP="",p.UNIT_SEP="",p.BYTE_ORDER_MARK="\uFEFF",p.BAD_DELIMITERS=["\r",`
`,'"',p.BYTE_ORDER_MARK],p.WORKERS_SUPPORTED=!i&&!!n.Worker,p.NODE_STREAM_INPUT=1,p.LocalChunkSize=10485760,p.RemoteChunkSize=5242880,p.DefaultDelimiter=",",p.Parser=Z,p.ParserHandle=J,p.NetworkStreamer=b,p.FileStreamer=C,p.StringStreamer=O,p.ReadableStreamStreamer=V,n.jQuery&&((r=n.jQuery).fn.parse=function(a){var d=a.config||{},v=[];return this.each(function(U){if(!(r(this).prop("tagName").toUpperCase()==="INPUT"&&r(this).attr("type").toLowerCase()==="file"&&n.FileReader)||!this.files||this.files.length===0)return!0;for(var fe=0;fe<this.files.length;fe++)v.push({file:this.files[fe],inputElem:this,instanceConfig:r.extend({},d)})}),A(),this;function A(){if(v.length===0)Y(a.complete)&&a.complete();else{var U,fe,Ce,te,P=v[0];if(Y(a.before)){var j=a.before(P.file,P.inputElem);if(typeof j=="object"){if(j.action==="abort")return U="AbortError",fe=P.file,Ce=P.inputElem,te=j.reason,void(Y(a.error)&&a.error({name:U},fe,Ce,te));if(j.action==="skip")return void I();typeof j.config=="object"&&(P.instanceConfig=r.extend(P.instanceConfig,j.config))}else if(j==="skip")return void I()}var k=P.instanceConfig.complete;P.instanceConfig.complete=function(de){Y(k)&&k(de,P.file,P.inputElem),I()},p.parse(P.file,P.instanceConfig)}}function I(){v.splice(0,1),A()}}),o&&(n.onmessage=function(a){a=a.data,p.WORKER_ID===void 0&&a&&(p.WORKER_ID=a.workerId),typeof a.input=="string"?n.postMessage({workerId:p.WORKER_ID,results:p.parse(a.input,a.config),finished:!0}):(n.File&&a.input instanceof File||a.input instanceof Object)&&(a=p.parse(a.input,a.config))&&n.postMessage({workerId:p.WORKER_ID,results:a,finished:!0})}),(b.prototype=Object.create(h.prototype)).constructor=b,(C.prototype=Object.create(h.prototype)).constructor=C,(O.prototype=Object.create(O.prototype)).constructor=O,(V.prototype=Object.create(h.prototype)).constructor=V,p})}(Bt)),Bt.exports}var ol=il();const ll=nl(ol),fl={class:"container"},cl=["disabled"],ul=Ei({__name:"App",setup(e){const t=fi(!1);async function s(f){const u=`https://app.getrewardful.com/affiliates/${f}/edit`,h=await(await fetch(u,{credentials:"include"})).text(),C=new DOMParser().parseFromString(h,"text/html").querySelector('input[name="authenticity_token"]');if(C)return C.value;throw new Error("No authenticity token found")}function n(f){let u=0,p=0;for(const h of f)u++,s(h.affiliates_id).then(b=>{console.log(`id: ${h.affiliates_id}. email: ${h.email}. 获取token成功 token: ${b}`);const C=`https://app.getrewardful.com/affiliates/${h.affiliates_id}`,O=new FormData;O.append("_method","patch"),O.append("authenticity_token",b),O.append("affiliate[note_attributes][content]",`<div>社交页面地址:<a href="${h.traffic_source}" target="_blank">${h.traffic_source}</a></div>`),fetch(C,{method:"POST",body:O,credentials:"include"}).then(V=>{console.log(V.status),console.log(`id: ${h.affiliates_id}. email: ${h.email}. 更新成功`),p++,u===p&&(t.value=!1,alert("更新完成,总更新数: "+p))})}).catch(()=>{console.error(`id: ${h.affiliates_id}. email: ${h.email}. 获取token失败`)})}const r=f=>new Promise((u,p)=>{ll.parse(f,{header:!0,complete:h=>{const b=h.data.reduce((C,O)=>(!O.affiliates_id||!O.traffic_source||C.some(J=>J.affiliates_id===O.affiliates_id)||C.push({email:O.email,first_name:O.first_name,last_name:O.last_name,traffic_source:O.traffic_source,affiliates_id:O.affiliates_id}),C),[]);u(b)},error:h=>{p(h)}})}),i=async f=>{var p;const u=(p=f.target.files)==null?void 0:p[0];if(u){t.value=!0;try{const h=await r(u);n(h)}catch(h){console.error("解析CSV文件时出错:",h)}}},o=()=>{var u;if(document.getElementById("file-input")){(u=document.getElementById("file-input"))==null||u.click();return}const f=document.createElement("input");f.id="file-input",f.type="file",f.accept=".csv",f.onchange=i,document.body.appendChild(f),f.click()};return(f,u)=>(po(),mo("div",fl,[Ws("button",{onClick:o,disabled:t.value},Pn(t.value?"更新中...":"上传更新文件(.csv)"),9,cl)]))}}),al=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},hl=al(ul,[["__scopeId","data-v-6454de73"]]),Tr=document.createElement("div");Tr.id="app";document.body.appendChild(Tr);el(hl).mount("#app");
})();