Files
git-velocity/internal/generator/site/dist/assets/index-CEo220ix.js
T
2025-12-19 11:22:42 +00:00

18 lines
200 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{C as dr,r as Li}from"./chart-Bcjh2pZL.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function s(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=s(o);fetch(o.href,i)}})();function Ln(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const de={},qt=[],it=()=>{},io=()=>!1,Ws=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fn=e=>e.startsWith("onUpdate:"),$e=Object.assign,Vn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Fi=Object.prototype.hasOwnProperty,le=(e,t)=>Fi.call(e,t),K=Array.isArray,Kt=e=>As(e)==="[object Map]",qs=e=>As(e)==="[object Set]",fr=e=>As(e)==="[object Date]",J=e=>typeof e=="function",ye=e=>typeof e=="string",ze=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",lo=e=>(fe(e)||J(e))&&J(e.then)&&J(e.catch),ao=Object.prototype.toString,As=e=>ao.call(e),Vi=e=>As(e).slice(8,-1),co=e=>As(e)==="[object Object]",Hn=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fs=Ln(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ks=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Hi=/-\w/g,Ue=Ks(e=>e.replace(Hi,t=>t.slice(1).toUpperCase())),Bi=/\B([A-Z])/g,Ft=Ks(e=>e.replace(Bi,"-$1").toLowerCase()),zs=Ks(e=>e.charAt(0).toUpperCase()+e.slice(1)),an=Ks(e=>e?`on${zs(e)}`:""),At=(e,t)=>!Object.is(e,t),Is=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},uo=(e,t,s,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:s})},Bn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let mr;const Qs=()=>mr||(mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pt(e){if(K(e)){const t={};for(let s=0;s<e.length;s++){const r=e[s],o=ye(r)?qi(r):Pt(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ye(e)||fe(e))return e}const Gi=/;(?![^(]*\))/g,Ui=/:([^]+)/,Wi=/\/\*[^]*?\*\//g;function qi(e){const t={};return e.replace(Wi,"").split(Gi).forEach(s=>{if(s){const r=s.split(Ui);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Y(e){let t="";if(ye(e))t=e;else if(K(e))for(let s=0;s<e.length;s++){const r=Y(e[s]);r&&(t+=r+" ")}else if(fe(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Ki="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zi=Ln(Ki);function fo(e){return!!e||e===""}function Qi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let r=0;s&&r<e.length;r++)s=Js(e[r],t[r]);return s}function Js(e,t){if(e===t)return!0;let s=fr(e),r=fr(t);if(s||r)return s&&r?e.getTime()===t.getTime():!1;if(s=ze(e),r=ze(t),s||r)return e===t;if(s=K(e),r=K(t),s||r)return s&&r?Qi(e,t):!1;if(s=fe(e),r=fe(t),s||r){if(!s||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const l in e){const a=e.hasOwnProperty(l),c=t.hasOwnProperty(l);if(a&&!c||!a&&c||!Js(e[l],t[l]))return!1}}return String(e)===String(t)}function mo(e,t){return e.findIndex(s=>Js(s,t))}const po=e=>!!(e&&e.__v_isRef===!0),b=e=>ye(e)?e:e==null?"":K(e)||fe(e)&&(e.toString===ao||!J(e.toString))?po(e)?b(e.value):JSON.stringify(e,go,2):String(e),go=(e,t)=>po(t)?go(e,t.value):Kt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[r,o],i)=>(s[cn(r,i)+" =>"]=o,s),{})}:qs(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>cn(s))}:ze(t)?cn(t):fe(t)&&!K(t)&&!co(t)?String(t):t,cn=(e,t="")=>{var s;return ze(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};let Le;class Ji{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.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=Le;try{return Le=this,t()}finally{Le=s}}}on(){++this._on===1&&(this.prevScope=Le,Le=this)}off(){this._on>0&&--this._on===0&&(Le=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,r;for(s=0,r=this.effects.length;s<r;s++)this.effects[s].stop();for(this.effects.length=0,s=0,r=this.cleanups.length;s<r;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,r=this.scopes.length;s<r;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Yi(){return Le}let pe;const un=new WeakSet;class ho{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,Le&&Le.active&&Le.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,un.has(this)&&(un.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||yo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,pr(this),bo(this);const t=pe,s=qe;pe=this,qe=!0;try{return this.fn()}finally{vo(this),pe=t,qe=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Wn(t);this.deps=this.depsTail=void 0,pr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?un.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){wn(this)&&this.run()}get dirty(){return wn(this)}}let xo=0,ms,ps;function yo(e,t=!1){if(e.flags|=8,t){e.next=ps,ps=e;return}e.next=ms,ms=e}function Gn(){xo++}function Un(){if(--xo>0)return;if(ps){let t=ps;for(ps=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;ms;){let t=ms;for(ms=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=s}}if(e)throw e}function bo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vo(e){let t,s=e.depsTail,r=s;for(;r;){const o=r.prevDep;r.version===-1?(r===s&&(s=o),Wn(r),Xi(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=s}function wn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_o(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _o(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===vs)||(e.globalVersion=vs,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!wn(e))))return;e.flags|=2;const t=e.dep,s=pe,r=qe;pe=e,qe=!0;try{bo(e);const o=e.fn(e._value);(t.version===0||At(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{pe=s,qe=r,vo(e),e.flags&=-3}}function Wn(e,t=!1){const{dep:s,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Wn(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Xi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let qe=!0;const wo=[];function pt(){wo.push(qe),qe=!1}function gt(){const e=wo.pop();qe=e===void 0?!0:e}function pr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=pe;pe=void 0;try{t()}finally{pe=s}}}let vs=0;class Zi{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 qn{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(!pe||!qe||pe===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==pe)s=this.activeLink=new Zi(pe,this),pe.deps?(s.prevDep=pe.depsTail,pe.depsTail.nextDep=s,pe.depsTail=s):pe.deps=pe.depsTail=s,Co(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const r=s.nextDep;r.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=r),s.prevDep=pe.depsTail,s.nextDep=void 0,pe.depsTail.nextDep=s,pe.depsTail=s,pe.deps===s&&(pe.deps=r)}return s}trigger(t){this.version++,vs++,this.notify(t)}notify(t){Gn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Un()}}}function Co(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Co(r)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Cn=new WeakMap,jt=Symbol(""),Rn=Symbol(""),_s=Symbol("");function Ae(e,t,s){if(qe&&pe){let r=Cn.get(e);r||Cn.set(e,r=new Map);let o=r.get(s);o||(r.set(s,o=new qn),o.map=r,o.key=s),o.track()}}function ft(e,t,s,r,o,i){const l=Cn.get(e);if(!l){vs++;return}const a=c=>{c&&c.trigger()};if(Gn(),t==="clear")l.forEach(a);else{const c=K(e),u=c&&Hn(s);if(c&&s==="length"){const d=Number(r);l.forEach((m,p)=>{(p==="length"||p===_s||!ze(p)&&p>=d)&&a(m)})}else switch((s!==void 0||l.has(void 0))&&a(l.get(s)),u&&a(l.get(_s)),t){case"add":c?u&&a(l.get("length")):(a(l.get(jt)),Kt(e)&&a(l.get(Rn)));break;case"delete":c||(a(l.get(jt)),Kt(e)&&a(l.get(Rn)));break;case"set":Kt(e)&&a(l.get(jt));break}}Un()}function Gt(e){const t=ie(e);return t===e?t:(Ae(t,"iterate",_s),Ge(e)?t:t.map(Qe))}function Ys(e){return Ae(e=ie(e),"iterate",_s),e}function Ct(e,t){return ht(e)?Lt(e)?Xt(Qe(t)):Xt(t):Qe(t)}const el={__proto__:null,[Symbol.iterator](){return dn(this,Symbol.iterator,e=>Ct(this,e))},concat(...e){return Gt(this).concat(...e.map(t=>K(t)?Gt(t):t))},entries(){return dn(this,"entries",e=>(e[1]=Ct(this,e[1]),e))},every(e,t){return ct(this,"every",e,t,void 0,arguments)},filter(e,t){return ct(this,"filter",e,t,s=>s.map(r=>Ct(this,r)),arguments)},find(e,t){return ct(this,"find",e,t,s=>Ct(this,s),arguments)},findIndex(e,t){return ct(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ct(this,"findLast",e,t,s=>Ct(this,s),arguments)},findLastIndex(e,t){return ct(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ct(this,"forEach",e,t,void 0,arguments)},includes(...e){return fn(this,"includes",e)},indexOf(...e){return fn(this,"indexOf",e)},join(e){return Gt(this).join(e)},lastIndexOf(...e){return fn(this,"lastIndexOf",e)},map(e,t){return ct(this,"map",e,t,void 0,arguments)},pop(){return ls(this,"pop")},push(...e){return ls(this,"push",e)},reduce(e,...t){return gr(this,"reduce",e,t)},reduceRight(e,...t){return gr(this,"reduceRight",e,t)},shift(){return ls(this,"shift")},some(e,t){return ct(this,"some",e,t,void 0,arguments)},splice(...e){return ls(this,"splice",e)},toReversed(){return Gt(this).toReversed()},toSorted(e){return Gt(this).toSorted(e)},toSpliced(...e){return Gt(this).toSpliced(...e)},unshift(...e){return ls(this,"unshift",e)},values(){return dn(this,"values",e=>Ct(this,e))}};function dn(e,t,s){const r=Ys(e),o=r[t]();return r!==e&&!Ge(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=s(i.value)),i}),o}const tl=Array.prototype;function ct(e,t,s,r,o,i){const l=Ys(e),a=l!==e&&!Ge(e),c=l[t];if(c!==tl[t]){const m=c.apply(e,i);return a?Qe(m):m}let u=s;l!==e&&(a?u=function(m,p){return s.call(this,Ct(e,m),p,e)}:s.length>2&&(u=function(m,p){return s.call(this,m,p,e)}));const d=c.call(l,u,r);return a&&o?o(d):d}function gr(e,t,s,r){const o=Ys(e);let i=s;return o!==e&&(Ge(e)?s.length>3&&(i=function(l,a,c){return s.call(this,l,a,c,e)}):i=function(l,a,c){return s.call(this,l,Ct(e,a),c,e)}),o[t](i,...r)}function fn(e,t,s){const r=ie(e);Ae(r,"iterate",_s);const o=r[t](...s);return(o===-1||o===!1)&&Qn(s[0])?(s[0]=ie(s[0]),r[t](...s)):o}function ls(e,t,s=[]){pt(),Gn();const r=ie(e)[t].apply(e,s);return Un(),gt(),r}const sl=Ln("__proto__,__v_isRef,__isVue"),Ro=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ze));function nl(e){ze(e)||(e=String(e));const t=ie(this);return Ae(t,"has",e),t.hasOwnProperty(e)}class ko{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,r){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return i;if(s==="__v_raw")return r===(o?i?ml:Po:i?Eo:Ao).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=K(t);if(!o){let c;if(l&&(c=el[s]))return c;if(s==="hasOwnProperty")return nl}const a=Reflect.get(t,s,Pe(t)?t:r);if((ze(s)?Ro.has(s):sl(s))||(o||Ae(t,"get",s),i))return a;if(Pe(a)){const c=l&&Hn(s)?a:a.value;return o&&fe(c)?Sn(c):c}return fe(a)?o?Sn(a):Xs(a):a}}class So extends ko{constructor(t=!1){super(!1,t)}set(t,s,r,o){let i=t[s];const l=K(t)&&Hn(s);if(!this._isShallow){const u=ht(i);if(!Ge(r)&&!ht(r)&&(i=ie(i),r=ie(r)),!l&&Pe(i)&&!Pe(r))return u||(i.value=r),!0}const a=l?Number(s)<t.length:le(t,s),c=Reflect.set(t,s,r,Pe(t)?t:o);return t===ie(o)&&(a?At(r,i)&&ft(t,"set",s,r):ft(t,"add",s,r)),c}deleteProperty(t,s){const r=le(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&r&&ft(t,"delete",s,void 0),o}has(t,s){const r=Reflect.has(t,s);return(!ze(s)||!Ro.has(s))&&Ae(t,"has",s),r}ownKeys(t){return Ae(t,"iterate",K(t)?"length":jt),Reflect.ownKeys(t)}}class rl extends ko{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const ol=new So,il=new rl,ll=new So(!0);const kn=e=>e,Ts=e=>Reflect.getPrototypeOf(e);function al(e,t,s){return function(...r){const o=this.__v_raw,i=ie(o),l=Kt(i),a=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,u=o[e](...r),d=s?kn:t?Xt:Qe;return!t&&Ae(i,"iterate",c?Rn:jt),{next(){const{value:m,done:p}=u.next();return p?{value:m,done:p}:{value:a?[d(m[0]),d(m[1])]:d(m),done:p}},[Symbol.iterator](){return this}}}}function $s(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cl(e,t){const s={get(o){const i=this.__v_raw,l=ie(i),a=ie(o);e||(At(o,a)&&Ae(l,"get",o),Ae(l,"get",a));const{has:c}=Ts(l),u=t?kn:e?Xt:Qe;if(c.call(l,o))return u(i.get(o));if(c.call(l,a))return u(i.get(a));i!==l&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Ae(ie(o),"iterate",jt),o.size},has(o){const i=this.__v_raw,l=ie(i),a=ie(o);return e||(At(o,a)&&Ae(l,"has",o),Ae(l,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const l=this,a=l.__v_raw,c=ie(a),u=t?kn:e?Xt:Qe;return!e&&Ae(c,"iterate",jt),a.forEach((d,m)=>o.call(i,u(d),u(m),l))}};return $e(s,e?{add:$s("add"),set:$s("set"),delete:$s("delete"),clear:$s("clear")}:{add(o){!t&&!Ge(o)&&!ht(o)&&(o=ie(o));const i=ie(this);return Ts(i).has.call(i,o)||(i.add(o),ft(i,"add",o,o)),this},set(o,i){!t&&!Ge(i)&&!ht(i)&&(i=ie(i));const l=ie(this),{has:a,get:c}=Ts(l);let u=a.call(l,o);u||(o=ie(o),u=a.call(l,o));const d=c.call(l,o);return l.set(o,i),u?At(i,d)&&ft(l,"set",o,i):ft(l,"add",o,i),this},delete(o){const i=ie(this),{has:l,get:a}=Ts(i);let c=l.call(i,o);c||(o=ie(o),c=l.call(i,o)),a&&a.call(i,o);const u=i.delete(o);return c&&ft(i,"delete",o,void 0),u},clear(){const o=ie(this),i=o.size!==0,l=o.clear();return i&&ft(o,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=al(o,e,t)}),s}function Kn(e,t){const s=cl(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(le(s,o)&&o in r?s:r,o,i)}const ul={get:Kn(!1,!1)},dl={get:Kn(!1,!0)},fl={get:Kn(!0,!1)};const Ao=new WeakMap,Eo=new WeakMap,Po=new WeakMap,ml=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gl(e){return e.__v_skip||!Object.isExtensible(e)?0:pl(Vi(e))}function Xs(e){return ht(e)?e:zn(e,!1,ol,ul,Ao)}function To(e){return zn(e,!1,ll,dl,Eo)}function Sn(e){return zn(e,!0,il,fl,Po)}function zn(e,t,s,r,o){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=gl(e);if(i===0)return e;const l=o.get(e);if(l)return l;const a=new Proxy(e,i===2?r:s);return o.set(e,a),a}function Lt(e){return ht(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function ht(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function Qn(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function hl(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&uo(e,"__v_skip",!0),e}const Qe=e=>fe(e)?Xs(e):e,Xt=e=>fe(e)?Sn(e):e;function Pe(e){return e?e.__v_isRef===!0:!1}function we(e){return $o(e,!1)}function xl(e){return $o(e,!0)}function $o(e,t){return Pe(e)?e:new yl(e,t)}class yl{constructor(t,s){this.dep=new qn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:ie(t),this._value=s?t:Qe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,r=this.__v_isShallow||Ge(t)||ht(t);t=r?t:ie(t),At(t,s)&&(this._rawValue=t,this._value=r?t:Qe(t),this.dep.trigger())}}function E(e){return Pe(e)?e.value:e}const bl={get:(e,t,s)=>t==="__v_raw"?e:E(Reflect.get(e,t,s)),set:(e,t,s,r)=>{const o=e[t];return Pe(o)&&!Pe(s)?(o.value=s,!0):Reflect.set(e,t,s,r)}};function Oo(e){return Lt(e)?e:new Proxy(e,bl)}class vl{constructor(t,s,r){this.fn=t,this.setter=s,this._value=void 0,this.dep=new qn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return yo(this,!0),!0}get value(){const t=this.dep.track();return _o(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _l(e,t,s=!1){let r,o;return J(e)?r=e:(r=e.get,o=e.set),new vl(r,o,s)}const Os={},js=new WeakMap;let Mt;function wl(e,t=!1,s=Mt){if(s){let r=js.get(s);r||js.set(s,r=[]),r.push(e)}}function Cl(e,t,s=de){const{immediate:r,deep:o,once:i,scheduler:l,augmentJob:a,call:c}=s,u=F=>o?F:Ge(F)||o===!1||o===0?mt(F,1):mt(F);let d,m,p,h,P=!1,N=!1;if(Pe(e)?(m=()=>e.value,P=Ge(e)):Lt(e)?(m=()=>u(e),P=!0):K(e)?(N=!0,P=e.some(F=>Lt(F)||Ge(F)),m=()=>e.map(F=>{if(Pe(F))return F.value;if(Lt(F))return u(F);if(J(F))return c?c(F,2):F()})):J(e)?t?m=c?()=>c(e,2):e:m=()=>{if(p){pt();try{p()}finally{gt()}}const F=Mt;Mt=d;try{return c?c(e,3,[h]):e(h)}finally{Mt=F}}:m=it,t&&o){const F=m,ne=o===!0?1/0:o;m=()=>mt(F(),ne)}const Q=Yi(),V=()=>{d.stop(),Q&&Q.active&&Vn(Q.effects,d)};if(i&&t){const F=t;t=(...ne)=>{F(...ne),V()}}let L=N?new Array(e.length).fill(Os):Os;const G=F=>{if(!(!(d.flags&1)||!d.dirty&&!F))if(t){const ne=d.run();if(o||P||(N?ne.some((be,ge)=>At(be,L[ge])):At(ne,L))){p&&p();const be=Mt;Mt=d;try{const ge=[ne,L===Os?void 0:N&&L[0]===Os?[]:L,h];L=ne,c?c(t,3,ge):t(...ge)}finally{Mt=be}}}else d.run()};return a&&a(G),d=new ho(m),d.scheduler=l?()=>l(G,!1):G,h=F=>wl(F,!1,d),p=d.onStop=()=>{const F=js.get(d);if(F){if(c)c(F,4);else for(const ne of F)ne();js.delete(d)}},t?r?G(!0):L=d.run():l?l(G.bind(null,!0),!0):d.run(),V.pause=d.pause.bind(d),V.resume=d.resume.bind(d),V.stop=V,V}function mt(e,t=1/0,s){if(t<=0||!fe(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Pe(e))mt(e.value,t,s);else if(K(e))for(let r=0;r<e.length;r++)mt(e[r],t,s);else if(qs(e)||Kt(e))e.forEach(r=>{mt(r,t,s)});else if(co(e)){for(const r in e)mt(e[r],t,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&mt(e[r],t,s)}return e}function Es(e,t,s,r){try{return r?e(...r):e()}catch(o){Zs(o,t,s)}}function lt(e,t,s,r){if(J(e)){const o=Es(e,t,s,r);return o&&lo(o)&&o.catch(i=>{Zs(i,t,s)}),o}if(K(e)){const o=[];for(let i=0;i<e.length;i++)o.push(lt(e[i],t,s,r));return o}}function Zs(e,t,s,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||de;if(t){let a=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const d=a.ec;if(d){for(let m=0;m<d.length;m++)if(d[m](e,c,u)===!1)return}a=a.parent}if(i){pt(),Es(i,null,10,[e,c,u]),gt();return}}Rl(e,s,o,r,l)}function Rl(e,t,s,r=!0,o=!1){if(o)throw e;console.error(e)}const Me=[];let rt=-1;const zt=[];let Rt=null,Ut=0;const Io=Promise.resolve();let Ls=null;function Mo(e){const t=Ls||Io;return e?t.then(this?e.bind(this):e):t}function kl(e){let t=rt+1,s=Me.length;for(;t<s;){const r=t+s>>>1,o=Me[r],i=ws(o);i<e||i===e&&o.flags&2?t=r+1:s=r}return t}function Jn(e){if(!(e.flags&1)){const t=ws(e),s=Me[Me.length-1];!s||!(e.flags&2)&&t>=ws(s)?Me.push(e):Me.splice(kl(t),0,e),e.flags|=1,No()}}function No(){Ls||(Ls=Io.then(jo))}function Sl(e){K(e)?zt.push(...e):Rt&&e.id===-1?Rt.splice(Ut+1,0,e):e.flags&1||(zt.push(e),e.flags|=1),No()}function hr(e,t,s=rt+1){for(;s<Me.length;s++){const r=Me[s];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Me.splice(s,1),s--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Do(e){if(zt.length){const t=[...new Set(zt)].sort((s,r)=>ws(s)-ws(r));if(zt.length=0,Rt){Rt.push(...t);return}for(Rt=t,Ut=0;Ut<Rt.length;Ut++){const s=Rt[Ut];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Rt=null,Ut=0}}const ws=e=>e.id==null?e.flags&2?-1:1/0:e.id;function jo(e){try{for(rt=0;rt<Me.length;rt++){const t=Me[rt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Es(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;rt<Me.length;rt++){const t=Me[rt];t&&(t.flags&=-2)}rt=-1,Me.length=0,Do(),Ls=null,(Me.length||zt.length)&&jo()}}let ke=null,Lo=null;function Fs(e){const t=ke;return ke=e,Lo=e&&e.type.__scopeId||null,t}function j(e,t=ke,s){if(!t||e._n)return e;const r=(...o)=>{r._d&&Bs(-1);const i=Fs(t);let l;try{l=e(...o)}finally{Fs(i),r._d&&Bs(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Yn(e,t){if(ke===null)return e;const s=nn(ke),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,a,c=de]=t[o];i&&(J(i)&&(i={mounted:i,updated:i}),i.deep&&mt(l),r.push({dir:i,instance:s,value:l,oldValue:void 0,arg:a,modifiers:c}))}return e}function Ot(e,t,s,r){const o=e.dirs,i=t&&t.dirs;for(let l=0;l<o.length;l++){const a=o[l];i&&(a.oldValue=i[l].value);let c=a.dir[r];c&&(pt(),lt(c,s,8,[e.el,a,e,t]),gt())}}const Al=Symbol("_vte"),El=e=>e.__isTeleport,Pl=Symbol("_leaveCb");function Xn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fo(e,t){return J(e)?$e({name:e.name},t,{setup:e}):e}function Vo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Vs=new WeakMap;function gs(e,t,s,r,o=!1){if(K(e)){e.forEach((P,N)=>gs(P,t&&(K(t)?t[N]:t),s,r,o));return}if(Qt(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&gs(e,t,s,r.component.subTree);return}const i=r.shapeFlag&4?nn(r.component):r.el,l=o?null:i,{i:a,r:c}=e,u=t&&t.r,d=a.refs===de?a.refs={}:a.refs,m=a.setupState,p=ie(m),h=m===de?io:P=>le(p,P);if(u!=null&&u!==c){if(xr(t),ye(u))d[u]=null,h(u)&&(m[u]=null);else if(Pe(u)){u.value=null;const P=t;P.k&&(d[P.k]=null)}}if(J(c))Es(c,a,12,[l,d]);else{const P=ye(c),N=Pe(c);if(P||N){const Q=()=>{if(e.f){const V=P?h(c)?m[c]:d[c]:c.value;if(o)K(V)&&Vn(V,i);else if(K(V))V.includes(i)||V.push(i);else if(P)d[c]=[i],h(c)&&(m[c]=d[c]);else{const L=[i];c.value=L,e.k&&(d[e.k]=L)}}else P?(d[c]=l,h(c)&&(m[c]=l)):N&&(c.value=l,e.k&&(d[e.k]=l))};if(l){const V=()=>{Q(),Vs.delete(e)};V.id=-1,Vs.set(e,V),Ve(V,s)}else xr(e),Q()}}}function xr(e){const t=Vs.get(e);t&&(t.flags|=8,Vs.delete(e))}Qs().requestIdleCallback;Qs().cancelIdleCallback;const Qt=e=>!!e.type.__asyncLoader,Ho=e=>e.type.__isKeepAlive;function Tl(e,t){Bo(e,"a",t)}function $l(e,t){Bo(e,"da",t)}function Bo(e,t,s=Ee){const r=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(en(t,r,s),s){let o=s.parent;for(;o&&o.parent;)Ho(o.parent.vnode)&&Ol(r,t,s,o),o=o.parent}}function Ol(e,t,s,r){const o=en(t,e,r,!0);Zn(()=>{Vn(r[t],o)},s)}function en(e,t,s=Ee,r=!1){if(s){const o=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...l)=>{pt();const a=Ps(s),c=lt(t,s,e,l);return a(),gt(),c});return r?o.unshift(i):o.push(i),i}}const yt=e=>(t,s=Ee)=>{(!ks||e==="sp")&&en(e,(...r)=>t(...r),s)},Il=yt("bm"),ns=yt("m"),Ml=yt("bu"),Nl=yt("u"),Dl=yt("bum"),Zn=yt("um"),jl=yt("sp"),Ll=yt("rtg"),Fl=yt("rtc");function Vl(e,t=Ee){en("ec",e,t)}const Go="components";function Hl(e,t){return Wo(Go,e,!0,t)||e}const Uo=Symbol.for("v-ndc");function Bl(e){return ye(e)?Wo(Go,e,!1)||e:e||Uo}function Wo(e,t,s=!0,r=!1){const o=ke||Ee;if(o){const i=o.type;{const a=$a(i,!1);if(a&&(a===t||a===Ue(t)||a===zs(Ue(t))))return i}const l=yr(o[e]||i[e],t)||yr(o.appContext[e],t);return!l&&r?i:l}}function yr(e,t){return e&&(e[t]||e[Ue(t)]||e[zs(Ue(t))])}function xe(e,t,s,r){let o;const i=s,l=K(e);if(l||ye(e)){const a=l&&Lt(e);let c=!1,u=!1;a&&(c=!Ge(e),u=ht(e),e=Ys(e)),o=new Array(e.length);for(let d=0,m=e.length;d<m;d++)o[d]=t(c?u?Xt(Qe(e[d])):Qe(e[d]):e[d],d,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i)}else if(fe(e))if(e[Symbol.iterator])o=Array.from(e,(a,c)=>t(a,c,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let c=0,u=a.length;c<u;c++){const d=a[c];o[c]=t(e[d],d,c,i)}}else o=[];return o}function Et(e,t,s={},r,o){if(ke.ce||ke.parent&&Qt(ke.parent)&&ke.parent.ce){const u=Object.keys(s).length>0;return t!=="default"&&(s.name=t),y(),Z(X,null,[A("slot",s,r&&r())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),y();const l=i&&qo(i(s)),a=s.key||l&&l.key,c=Z(X,{key:(a&&!ze(a)?a:`_${t}`)+(!l&&r?"_fb":"")},l||(r?r():[]),l&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function qo(e){return e.some(t=>Rs(t)?!(t.type===xt||t.type===X&&!qo(t.children)):!0)?e:null}const An=e=>e?fi(e)?nn(e):An(e.parent):null,hs=$e(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=>An(e.parent),$root:e=>An(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zo(e),$forceUpdate:e=>e.f||(e.f=()=>{Jn(e.update)}),$nextTick:e=>e.n||(e.n=Mo.bind(e.proxy)),$watch:e=>Zl.bind(e)}),mn=(e,t)=>e!==de&&!e.__isScriptSetup&&le(e,t),Gl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:r,data:o,props:i,accessCache:l,type:a,appContext:c}=e;if(t[0]!=="$"){const p=l[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return s[t];case 3:return i[t]}else{if(mn(r,t))return l[t]=1,r[t];if(o!==de&&le(o,t))return l[t]=2,o[t];if(le(i,t))return l[t]=3,i[t];if(s!==de&&le(s,t))return l[t]=4,s[t];En&&(l[t]=0)}}const u=hs[t];let d,m;if(u)return t==="$attrs"&&Ae(e.attrs,"get",""),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(s!==de&&le(s,t))return l[t]=4,s[t];if(m=c.config.globalProperties,le(m,t))return m[t]},set({_:e},t,s){const{data:r,setupState:o,ctx:i}=e;return mn(o,t)?(o[t]=s,!0):r!==de&&le(r,t)?(r[t]=s,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:o,props:i,type:l}},a){let c;return!!(s[a]||e!==de&&a[0]!=="$"&&le(e,a)||mn(t,a)||le(i,a)||le(r,a)||le(hs,a)||le(o.config.globalProperties,a)||(c=l.__cssModules)&&c[a])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:le(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function br(e){return K(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let En=!0;function Ul(e){const t=zo(e),s=e.proxy,r=e.ctx;En=!1,t.beforeCreate&&vr(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:l,watch:a,provide:c,inject:u,created:d,beforeMount:m,mounted:p,beforeUpdate:h,updated:P,activated:N,deactivated:Q,beforeDestroy:V,beforeUnmount:L,destroyed:G,unmounted:F,render:ne,renderTracked:be,renderTriggered:ge,errorCaptured:Se,serverPrefetch:bt,expose:Ye,inheritAttrs:vt,components:Tt,directives:Xe,filters:os}=t;if(u&&Wl(u,r,null),l)for(const ce in l){const re=l[ce];J(re)&&(r[ce]=re.bind(s))}if(o){const ce=o.call(s,s);fe(ce)&&(e.data=Xs(ce))}if(En=!0,i)for(const ce in i){const re=i[ce],at=J(re)?re.bind(s,s):J(re.get)?re.get.bind(s,s):it,_t=!J(re)&&J(re.set)?re.set.bind(s):it,Ze=ee({get:at,set:_t});Object.defineProperty(r,ce,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:Ne=>Ze.value=Ne})}if(a)for(const ce in a)Ko(a[ce],r,s,ce);if(c){const ce=J(c)?c.call(s):c;Reflect.ownKeys(ce).forEach(re=>{xs(re,ce[re])})}d&&vr(d,e,"c");function Ce(ce,re){K(re)?re.forEach(at=>ce(at.bind(s))):re&&ce(re.bind(s))}if(Ce(Il,m),Ce(ns,p),Ce(Ml,h),Ce(Nl,P),Ce(Tl,N),Ce($l,Q),Ce(Vl,Se),Ce(Fl,be),Ce(Ll,ge),Ce(Dl,L),Ce(Zn,F),Ce(jl,bt),K(Ye))if(Ye.length){const ce=e.exposed||(e.exposed={});Ye.forEach(re=>{Object.defineProperty(ce,re,{get:()=>s[re],set:at=>s[re]=at,enumerable:!0})})}else e.exposed||(e.exposed={});ne&&e.render===it&&(e.render=ne),vt!=null&&(e.inheritAttrs=vt),Tt&&(e.components=Tt),Xe&&(e.directives=Xe),bt&&Vo(e)}function Wl(e,t,s=it){K(e)&&(e=Pn(e));for(const r in e){const o=e[r];let i;fe(o)?"default"in o?i=Te(o.from||r,o.default,!0):i=Te(o.from||r):i=Te(o),Pe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function vr(e,t,s){lt(K(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ko(e,t,s,r){let o=r.includes(".")?Yo(s,r):()=>s[r];if(ye(e)){const i=t[e];J(i)&&Ke(o,i)}else if(J(e))Ke(o,e.bind(s));else if(fe(e))if(K(e))e.forEach(i=>Ko(i,t,s,r));else{const i=J(e.handler)?e.handler.bind(s):t[e.handler];J(i)&&Ke(o,i,e)}}function zo(e){const t=e.type,{mixins:s,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,a=i.get(t);let c;return a?c=a:!o.length&&!s&&!r?c=t:(c={},o.length&&o.forEach(u=>Hs(c,u,l,!0)),Hs(c,t,l)),fe(t)&&i.set(t,c),c}function Hs(e,t,s,r=!1){const{mixins:o,extends:i}=t;i&&Hs(e,i,s,!0),o&&o.forEach(l=>Hs(e,l,s,!0));for(const l in t)if(!(r&&l==="expose")){const a=ql[l]||s&&s[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const ql={data:_r,props:wr,emits:wr,methods:us,computed:us,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:us,directives:us,watch:zl,provide:_r,inject:Kl};function _r(e,t){return t?e?function(){return $e(J(e)?e.call(this,this):e,J(t)?t.call(this,this):t)}:t:e}function Kl(e,t){return us(Pn(e),Pn(t))}function Pn(e){if(K(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 us(e,t){return e?$e(Object.create(null),e,t):t}function wr(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:$e(Object.create(null),br(e),br(t??{})):t}function zl(e,t){if(!e)return t;if(!t)return e;const s=$e(Object.create(null),e);for(const r in t)s[r]=Oe(e[r],t[r]);return s}function Qo(){return{app:null,config:{isNativeTag:io,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 Ql=0;function Jl(e,t){return function(r,o=null){J(r)||(r=$e({},r)),o!=null&&!fe(o)&&(o=null);const i=Qo(),l=new WeakSet,a=[];let c=!1;const u=i.app={_uid:Ql++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Ia,get config(){return i.config},set config(d){},use(d,...m){return l.has(d)||(d&&J(d.install)?(l.add(d),d.install(u,...m)):J(d)&&(l.add(d),d(u,...m))),u},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),u},component(d,m){return m?(i.components[d]=m,u):i.components[d]},directive(d,m){return m?(i.directives[d]=m,u):i.directives[d]},mount(d,m,p){if(!c){const h=u._ceVNode||A(r,o);return h.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(h,d,p),c=!0,u._container=d,d.__vue_app__=u,nn(h.component)}},onUnmount(d){a.push(d)},unmount(){c&&(lt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(d,m){return i.provides[d]=m,u},runWithContext(d){const m=Jt;Jt=u;try{return d()}finally{Jt=m}}};return u}}let Jt=null;function xs(e,t){if(Ee){let s=Ee.provides;const r=Ee.parent&&Ee.parent.provides;r===s&&(s=Ee.provides=Object.create(r)),s[e]=t}}function Te(e,t,s=!1){const r=Sa();if(r||Jt){let o=Jt?Jt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&J(t)?t.call(r&&r.proxy):t}}const Yl=Symbol.for("v-scx"),Xl=()=>Te(Yl);function Ke(e,t,s){return Jo(e,t,s)}function Jo(e,t,s=de){const{immediate:r,deep:o,flush:i,once:l}=s,a=$e({},s),c=t&&r||!t&&i!=="post";let u;if(ks){if(i==="sync"){const h=Xl();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=it,h.resume=it,h.pause=it,h}}const d=Ee;a.call=(h,P,N)=>lt(h,d,P,N);let m=!1;i==="post"?a.scheduler=h=>{Ve(h,d&&d.suspense)}:i!=="sync"&&(m=!0,a.scheduler=(h,P)=>{P?h():Jn(h)}),a.augmentJob=h=>{t&&(h.flags|=4),m&&(h.flags|=2,d&&(h.id=d.uid,h.i=d))};const p=Cl(e,t,a);return ks&&(u?u.push(p):c&&p()),p}function Zl(e,t,s){const r=this.proxy,o=ye(e)?e.includes(".")?Yo(r,e):()=>r[e]:e.bind(r,r);let i;J(t)?i=t:(i=t.handler,s=t);const l=Ps(this),a=Jo(o,i.bind(r),s);return l(),a}function Yo(e,t){const s=t.split(".");return()=>{let r=e;for(let o=0;o<s.length&&r;o++)r=r[s[o]];return r}}const ea=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ue(t)}Modifiers`]||e[`${Ft(t)}Modifiers`];function ta(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||de;let o=s;const i=t.startsWith("update:"),l=i&&ea(r,t.slice(7));l&&(l.trim&&(o=s.map(d=>ye(d)?d.trim():d)),l.number&&(o=s.map(Bn)));let a,c=r[a=an(t)]||r[a=an(Ue(t))];!c&&i&&(c=r[a=an(Ft(t))]),c&&lt(c,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,lt(u,e,6,o)}}const sa=new WeakMap;function Xo(e,t,s=!1){const r=s?sa:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let l={},a=!1;if(!J(e)){const c=u=>{const d=Xo(u,t,!0);d&&(a=!0,$e(l,d))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(fe(e)&&r.set(e,null),null):(K(i)?i.forEach(c=>l[c]=null):$e(l,i),fe(e)&&r.set(e,l),l)}function tn(e,t){return!e||!Ws(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,Ft(t))||le(e,t))}function Cr(e){const{type:t,vnode:s,proxy:r,withProxy:o,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:d,props:m,data:p,setupState:h,ctx:P,inheritAttrs:N}=e,Q=Fs(e);let V,L;try{if(s.shapeFlag&4){const F=o||r,ne=F;V=ot(u.call(ne,F,d,m,h,p,P)),L=a}else{const F=t;V=ot(F.length>1?F(m,{attrs:a,slots:l,emit:c}):F(m,null)),L=t.props?a:na(a)}}catch(F){ys.length=0,Zs(F,e,1),V=A(xt)}let G=V;if(L&&N!==!1){const F=Object.keys(L),{shapeFlag:ne}=G;F.length&&ne&7&&(i&&F.some(Fn)&&(L=ra(L,i)),G=Zt(G,L,!1,!0))}return s.dirs&&(G=Zt(G,null,!1,!0),G.dirs=G.dirs?G.dirs.concat(s.dirs):s.dirs),s.transition&&Xn(G,s.transition),V=G,Fs(Q),V}const na=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ws(s))&&((t||(t={}))[s]=e[s]);return t},ra=(e,t)=>{const s={};for(const r in e)(!Fn(r)||!(r.slice(9)in t))&&(s[r]=e[r]);return s};function oa(e,t,s){const{props:r,children:o,component:i}=e,{props:l,children:a,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return r?Rr(r,l,u):!!l;if(c&8){const d=t.dynamicProps;for(let m=0;m<d.length;m++){const p=d[m];if(l[p]!==r[p]&&!tn(u,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===l?!1:r?l?Rr(r,l,u):!0:!!l;return!1}function Rr(e,t,s){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!tn(s,i))return!0}return!1}function ia({vnode:e,parent:t},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=s,t=t.parent;else break}}const Zo={},ei=()=>Object.create(Zo),ti=e=>Object.getPrototypeOf(e)===Zo;function la(e,t,s,r=!1){const o={},i=ei();e.propsDefaults=Object.create(null),si(e,t,o,i);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);s?e.props=r?o:To(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function aa(e,t,s,r){const{props:o,attrs:i,vnode:{patchFlag:l}}=e,a=ie(o),[c]=e.propsOptions;let u=!1;if((r||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let m=0;m<d.length;m++){let p=d[m];if(tn(e.emitsOptions,p))continue;const h=t[p];if(c)if(le(i,p))h!==i[p]&&(i[p]=h,u=!0);else{const P=Ue(p);o[P]=Tn(c,a,P,h,e,!1)}else h!==i[p]&&(i[p]=h,u=!0)}}}else{si(e,t,o,i)&&(u=!0);let d;for(const m in a)(!t||!le(t,m)&&((d=Ft(m))===m||!le(t,d)))&&(c?s&&(s[m]!==void 0||s[d]!==void 0)&&(o[m]=Tn(c,a,m,void 0,e,!0)):delete o[m]);if(i!==a)for(const m in i)(!t||!le(t,m))&&(delete i[m],u=!0)}u&&ft(e.attrs,"set","")}function si(e,t,s,r){const[o,i]=e.propsOptions;let l=!1,a;if(t)for(let c in t){if(fs(c))continue;const u=t[c];let d;o&&le(o,d=Ue(c))?!i||!i.includes(d)?s[d]=u:(a||(a={}))[d]=u:tn(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,l=!0)}if(i){const c=ie(s),u=a||de;for(let d=0;d<i.length;d++){const m=i[d];s[m]=Tn(o,c,m,u[m],e,!le(u,m))}}return l}function Tn(e,t,s,r,o,i){const l=e[s];if(l!=null){const a=le(l,"default");if(a&&r===void 0){const c=l.default;if(l.type!==Function&&!l.skipFactory&&J(c)){const{propsDefaults:u}=o;if(s in u)r=u[s];else{const d=Ps(o);r=u[s]=c.call(null,t),d()}}else r=c;o.ce&&o.ce._setProp(s,r)}l[0]&&(i&&!a?r=!1:l[1]&&(r===""||r===Ft(s))&&(r=!0))}return r}const ca=new WeakMap;function ni(e,t,s=!1){const r=s?ca:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,l={},a=[];let c=!1;if(!J(e)){const d=m=>{c=!0;const[p,h]=ni(m,t,!0);$e(l,p),h&&a.push(...h)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return fe(e)&&r.set(e,qt),qt;if(K(i))for(let d=0;d<i.length;d++){const m=Ue(i[d]);kr(m)&&(l[m]=de)}else if(i)for(const d in i){const m=Ue(d);if(kr(m)){const p=i[d],h=l[m]=K(p)||J(p)?{type:p}:$e({},p),P=h.type;let N=!1,Q=!0;if(K(P))for(let V=0;V<P.length;++V){const L=P[V],G=J(L)&&L.name;if(G==="Boolean"){N=!0;break}else G==="String"&&(Q=!1)}else N=J(P)&&P.name==="Boolean";h[0]=N,h[1]=Q,(N||le(h,"default"))&&a.push(m)}}const u=[l,a];return fe(e)&&r.set(e,u),u}function kr(e){return e[0]!=="$"&&!fs(e)}const er=e=>e==="_"||e==="_ctx"||e==="$stable",tr=e=>K(e)?e.map(ot):[ot(e)],ua=(e,t,s)=>{if(t._n)return t;const r=j((...o)=>tr(t(...o)),s);return r._c=!1,r},ri=(e,t,s)=>{const r=e._ctx;for(const o in e){if(er(o))continue;const i=e[o];if(J(i))t[o]=ua(o,i,r);else if(i!=null){const l=tr(i);t[o]=()=>l}}},oi=(e,t)=>{const s=tr(t);e.slots.default=()=>s},ii=(e,t,s)=>{for(const r in t)(s||!er(r))&&(e[r]=t[r])},da=(e,t,s)=>{const r=e.slots=ei();if(e.vnode.shapeFlag&32){const o=t._;o?(ii(r,t,s),s&&uo(r,"_",o,!0)):ri(t,r)}else t&&oi(e,t)},fa=(e,t,s)=>{const{vnode:r,slots:o}=e;let i=!0,l=de;if(r.shapeFlag&32){const a=t._;a?s&&a===1?i=!1:ii(o,t,s):(i=!t.$stable,ri(t,o)),l=t}else t&&(oi(e,t),l={default:1});if(i)for(const a in o)!er(a)&&l[a]==null&&delete o[a]},Ve=xa;function ma(e){return pa(e)}function pa(e,t){const s=Qs();s.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:l,createText:a,createComment:c,setText:u,setElementText:d,parentNode:m,nextSibling:p,setScopeId:h=it,insertStaticContent:P}=e,N=(f,g,x,_=null,k=null,v=null,O=void 0,$=null,T=!!g.dynamicChildren)=>{if(f===g)return;f&&!as(f,g)&&(_=w(f),Ne(f,k,v,!0),f=null),g.patchFlag===-2&&(T=!1,g.dynamicChildren=null);const{type:S,ref:W,shapeFlag:M}=g;switch(S){case sn:Q(f,g,x,_);break;case xt:V(f,g,x,_);break;case Ms:f==null&&L(g,x,_,O);break;case X:Tt(f,g,x,_,k,v,O,$,T);break;default:M&1?ne(f,g,x,_,k,v,O,$,T):M&6?Xe(f,g,x,_,k,v,O,$,T):(M&64||M&128)&&S.process(f,g,x,_,k,v,O,$,T,H)}W!=null&&k?gs(W,f&&f.ref,v,g||f,!g):W==null&&f&&f.ref!=null&&gs(f.ref,null,v,f,!0)},Q=(f,g,x,_)=>{if(f==null)r(g.el=a(g.children),x,_);else{const k=g.el=f.el;g.children!==f.children&&u(k,g.children)}},V=(f,g,x,_)=>{f==null?r(g.el=c(g.children||""),x,_):g.el=f.el},L=(f,g,x,_)=>{[f.el,f.anchor]=P(f.children,g,x,_,f.el,f.anchor)},G=({el:f,anchor:g},x,_)=>{let k;for(;f&&f!==g;)k=p(f),r(f,x,_),f=k;r(g,x,_)},F=({el:f,anchor:g})=>{let x;for(;f&&f!==g;)x=p(f),o(f),f=x;o(g)},ne=(f,g,x,_,k,v,O,$,T)=>{if(g.type==="svg"?O="svg":g.type==="math"&&(O="mathml"),f==null)be(g,x,_,k,v,O,$,T);else{const S=f.el&&f.el._isVueCE?f.el:null;try{S&&S._beginPatch(),bt(f,g,k,v,O,$,T)}finally{S&&S._endPatch()}}},be=(f,g,x,_,k,v,O,$)=>{let T,S;const{props:W,shapeFlag:M,transition:U,dirs:z}=f;if(T=f.el=l(f.type,v,W&&W.is,W),M&8?d(T,f.children):M&16&&Se(f.children,T,null,_,k,pn(f,v),O,$),z&&Ot(f,null,_,"created"),ge(T,f,f.scopeId,O,_),W){for(const me in W)me!=="value"&&!fs(me)&&i(T,me,null,W[me],v,_);"value"in W&&i(T,"value",null,W.value,v),(S=W.onVnodeBeforeMount)&&nt(S,_,f)}z&&Ot(f,null,_,"beforeMount");const se=ga(k,U);se&&U.beforeEnter(T),r(T,g,x),((S=W&&W.onVnodeMounted)||se||z)&&Ve(()=>{S&&nt(S,_,f),se&&U.enter(T),z&&Ot(f,null,_,"mounted")},k)},ge=(f,g,x,_,k)=>{if(x&&h(f,x),_)for(let v=0;v<_.length;v++)h(f,_[v]);if(k){let v=k.subTree;if(g===v||ci(v.type)&&(v.ssContent===g||v.ssFallback===g)){const O=k.vnode;ge(f,O,O.scopeId,O.slotScopeIds,k.parent)}}},Se=(f,g,x,_,k,v,O,$,T=0)=>{for(let S=T;S<f.length;S++){const W=f[S]=$?kt(f[S]):ot(f[S]);N(null,W,g,x,_,k,v,O,$)}},bt=(f,g,x,_,k,v,O)=>{const $=g.el=f.el;let{patchFlag:T,dynamicChildren:S,dirs:W}=g;T|=f.patchFlag&16;const M=f.props||de,U=g.props||de;let z;if(x&&It(x,!1),(z=U.onVnodeBeforeUpdate)&&nt(z,x,g,f),W&&Ot(g,f,x,"beforeUpdate"),x&&It(x,!0),(M.innerHTML&&U.innerHTML==null||M.textContent&&U.textContent==null)&&d($,""),S?Ye(f.dynamicChildren,S,$,x,_,pn(g,k),v):O||re(f,g,$,null,x,_,pn(g,k),v,!1),T>0){if(T&16)vt($,M,U,x,k);else if(T&2&&M.class!==U.class&&i($,"class",null,U.class,k),T&4&&i($,"style",M.style,U.style,k),T&8){const se=g.dynamicProps;for(let me=0;me<se.length;me++){const ae=se[me],De=M[ae],je=U[ae];(je!==De||ae==="value")&&i($,ae,De,je,k,x)}}T&1&&f.children!==g.children&&d($,g.children)}else!O&&S==null&&vt($,M,U,x,k);((z=U.onVnodeUpdated)||W)&&Ve(()=>{z&&nt(z,x,g,f),W&&Ot(g,f,x,"updated")},_)},Ye=(f,g,x,_,k,v,O)=>{for(let $=0;$<g.length;$++){const T=f[$],S=g[$],W=T.el&&(T.type===X||!as(T,S)||T.shapeFlag&198)?m(T.el):x;N(T,S,W,null,_,k,v,O,!0)}},vt=(f,g,x,_,k)=>{if(g!==x){if(g!==de)for(const v in g)!fs(v)&&!(v in x)&&i(f,v,g[v],null,k,_);for(const v in x){if(fs(v))continue;const O=x[v],$=g[v];O!==$&&v!=="value"&&i(f,v,$,O,k,_)}"value"in x&&i(f,"value",g.value,x.value,k)}},Tt=(f,g,x,_,k,v,O,$,T)=>{const S=g.el=f?f.el:a(""),W=g.anchor=f?f.anchor:a("");let{patchFlag:M,dynamicChildren:U,slotScopeIds:z}=g;z&&($=$?$.concat(z):z),f==null?(r(S,x,_),r(W,x,_),Se(g.children||[],x,W,k,v,O,$,T)):M>0&&M&64&&U&&f.dynamicChildren?(Ye(f.dynamicChildren,U,x,k,v,O,$),(g.key!=null||k&&g===k.subTree)&&li(f,g,!0)):re(f,g,x,W,k,v,O,$,T)},Xe=(f,g,x,_,k,v,O,$,T)=>{g.slotScopeIds=$,f==null?g.shapeFlag&512?k.ctx.activate(g,x,_,O,T):os(g,x,_,k,v,O,T):Vt(f,g,T)},os=(f,g,x,_,k,v,O)=>{const $=f.component=ka(f,_,k);if(Ho(f)&&($.ctx.renderer=H),Aa($,!1,O),$.asyncDep){if(k&&k.registerDep($,Ce,O),!f.el){const T=$.subTree=A(xt);V(null,T,g,x),f.placeholder=T.el}}else Ce($,f,g,x,k,v,O)},Vt=(f,g,x)=>{const _=g.component=f.component;if(oa(f,g,x))if(_.asyncDep&&!_.asyncResolved){ce(_,g,x);return}else _.next=g,_.update();else g.el=f.el,_.vnode=g},Ce=(f,g,x,_,k,v,O)=>{const $=()=>{if(f.isMounted){let{next:M,bu:U,u:z,parent:se,vnode:me}=f;{const tt=ai(f);if(tt){M&&(M.el=me.el,ce(f,M,O)),tt.asyncDep.then(()=>{f.isUnmounted||$()});return}}let ae=M,De;It(f,!1),M?(M.el=me.el,ce(f,M,O)):M=me,U&&Is(U),(De=M.props&&M.props.onVnodeBeforeUpdate)&&nt(De,se,M,me),It(f,!0);const je=Cr(f),et=f.subTree;f.subTree=je,N(et,je,m(et.el),w(et),f,k,v),M.el=je.el,ae===null&&ia(f,je.el),z&&Ve(z,k),(De=M.props&&M.props.onVnodeUpdated)&&Ve(()=>nt(De,se,M,me),k)}else{let M;const{el:U,props:z}=g,{bm:se,m:me,parent:ae,root:De,type:je}=f,et=Qt(g);It(f,!1),se&&Is(se),!et&&(M=z&&z.onVnodeBeforeMount)&&nt(M,ae,g),It(f,!0);{De.ce&&De.ce._def.shadowRoot!==!1&&De.ce._injectChildStyle(je);const tt=f.subTree=Cr(f);N(null,tt,x,_,f,k,v),g.el=tt.el}if(me&&Ve(me,k),!et&&(M=z&&z.onVnodeMounted)){const tt=g;Ve(()=>nt(M,ae,tt),k)}(g.shapeFlag&256||ae&&Qt(ae.vnode)&&ae.vnode.shapeFlag&256)&&f.a&&Ve(f.a,k),f.isMounted=!0,g=x=_=null}};f.scope.on();const T=f.effect=new ho($);f.scope.off();const S=f.update=T.run.bind(T),W=f.job=T.runIfDirty.bind(T);W.i=f,W.id=f.uid,T.scheduler=()=>Jn(W),It(f,!0),S()},ce=(f,g,x)=>{g.component=f;const _=f.vnode.props;f.vnode=g,f.next=null,aa(f,g.props,_,x),fa(f,g.children,x),pt(),hr(f),gt()},re=(f,g,x,_,k,v,O,$,T=!1)=>{const S=f&&f.children,W=f?f.shapeFlag:0,M=g.children,{patchFlag:U,shapeFlag:z}=g;if(U>0){if(U&128){_t(S,M,x,_,k,v,O,$,T);return}else if(U&256){at(S,M,x,_,k,v,O,$,T);return}}z&8?(W&16&&Be(S,k,v),M!==S&&d(x,M)):W&16?z&16?_t(S,M,x,_,k,v,O,$,T):Be(S,k,v,!0):(W&8&&d(x,""),z&16&&Se(M,x,_,k,v,O,$,T))},at=(f,g,x,_,k,v,O,$,T)=>{f=f||qt,g=g||qt;const S=f.length,W=g.length,M=Math.min(S,W);let U;for(U=0;U<M;U++){const z=g[U]=T?kt(g[U]):ot(g[U]);N(f[U],z,x,null,k,v,O,$,T)}S>W?Be(f,k,v,!0,!1,M):Se(g,x,_,k,v,O,$,T,M)},_t=(f,g,x,_,k,v,O,$,T)=>{let S=0;const W=g.length;let M=f.length-1,U=W-1;for(;S<=M&&S<=U;){const z=f[S],se=g[S]=T?kt(g[S]):ot(g[S]);if(as(z,se))N(z,se,x,null,k,v,O,$,T);else break;S++}for(;S<=M&&S<=U;){const z=f[M],se=g[U]=T?kt(g[U]):ot(g[U]);if(as(z,se))N(z,se,x,null,k,v,O,$,T);else break;M--,U--}if(S>M){if(S<=U){const z=U+1,se=z<W?g[z].el:_;for(;S<=U;)N(null,g[S]=T?kt(g[S]):ot(g[S]),x,se,k,v,O,$,T),S++}}else if(S>U)for(;S<=M;)Ne(f[S],k,v,!0),S++;else{const z=S,se=S,me=new Map;for(S=se;S<=U;S++){const Fe=g[S]=T?kt(g[S]):ot(g[S]);Fe.key!=null&&me.set(Fe.key,S)}let ae,De=0;const je=U-se+1;let et=!1,tt=0;const is=new Array(je);for(S=0;S<je;S++)is[S]=0;for(S=z;S<=M;S++){const Fe=f[S];if(De>=je){Ne(Fe,k,v,!0);continue}let st;if(Fe.key!=null)st=me.get(Fe.key);else for(ae=se;ae<=U;ae++)if(is[ae-se]===0&&as(Fe,g[ae])){st=ae;break}st===void 0?Ne(Fe,k,v,!0):(is[st-se]=S+1,st>=tt?tt=st:et=!0,N(Fe,g[st],x,null,k,v,O,$,T),De++)}const ar=et?ha(is):qt;for(ae=ar.length-1,S=je-1;S>=0;S--){const Fe=se+S,st=g[Fe],cr=g[Fe+1],ur=Fe+1<W?cr.el||cr.placeholder:_;is[S]===0?N(null,st,x,ur,k,v,O,$,T):et&&(ae<0||S!==ar[ae]?Ze(st,x,ur,2):ae--)}}},Ze=(f,g,x,_,k=null)=>{const{el:v,type:O,transition:$,children:T,shapeFlag:S}=f;if(S&6){Ze(f.component.subTree,g,x,_);return}if(S&128){f.suspense.move(g,x,_);return}if(S&64){O.move(f,g,x,H);return}if(O===X){r(v,g,x);for(let M=0;M<T.length;M++)Ze(T[M],g,x,_);r(f.anchor,g,x);return}if(O===Ms){G(f,g,x);return}if(_!==2&&S&1&&$)if(_===0)$.beforeEnter(v),r(v,g,x),Ve(()=>$.enter(v),k);else{const{leave:M,delayLeave:U,afterLeave:z}=$,se=()=>{f.ctx.isUnmounted?o(v):r(v,g,x)},me=()=>{v._isLeaving&&v[Pl](!0),M(v,()=>{se(),z&&z()})};U?U(v,se,me):me()}else r(v,g,x)},Ne=(f,g,x,_=!1,k=!1)=>{const{type:v,props:O,ref:$,children:T,dynamicChildren:S,shapeFlag:W,patchFlag:M,dirs:U,cacheIndex:z}=f;if(M===-2&&(k=!1),$!=null&&(pt(),gs($,null,x,f,!0),gt()),z!=null&&(g.renderCache[z]=void 0),W&256){g.ctx.deactivate(f);return}const se=W&1&&U,me=!Qt(f);let ae;if(me&&(ae=O&&O.onVnodeBeforeUnmount)&&nt(ae,g,f),W&6)$t(f.component,x,_);else{if(W&128){f.suspense.unmount(x,_);return}se&&Ot(f,null,g,"beforeUnmount"),W&64?f.type.remove(f,g,x,H,_):S&&!S.hasOnce&&(v!==X||M>0&&M&64)?Be(S,g,x,!1,!0):(v===X&&M&384||!k&&W&16)&&Be(T,g,x),_&&Ht(f)}(me&&(ae=O&&O.onVnodeUnmounted)||se)&&Ve(()=>{ae&&nt(ae,g,f),se&&Ot(f,null,g,"unmounted")},x)},Ht=f=>{const{type:g,el:x,anchor:_,transition:k}=f;if(g===X){Bt(x,_);return}if(g===Ms){F(f);return}const v=()=>{o(x),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(f.shapeFlag&1&&k&&!k.persisted){const{leave:O,delayLeave:$}=k,T=()=>O(x,v);$?$(f.el,v,T):T()}else v()},Bt=(f,g)=>{let x;for(;f!==g;)x=p(f),o(f),f=x;o(g)},$t=(f,g,x)=>{const{bum:_,scope:k,job:v,subTree:O,um:$,m:T,a:S}=f;Sr(T),Sr(S),_&&Is(_),k.stop(),v&&(v.flags|=8,Ne(O,f,g,x)),$&&Ve($,g),Ve(()=>{f.isUnmounted=!0},g)},Be=(f,g,x,_=!1,k=!1,v=0)=>{for(let O=v;O<f.length;O++)Ne(f[O],g,x,_,k)},w=f=>{if(f.shapeFlag&6)return w(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const g=p(f.anchor||f.el),x=g&&g[Al];return x?p(x):g};let D=!1;const I=(f,g,x)=>{f==null?g._vnode&&Ne(g._vnode,null,null,!0):N(g._vnode||null,f,g,null,null,null,x),g._vnode=f,D||(D=!0,hr(),Do(),D=!1)},H={p:N,um:Ne,m:Ze,r:Ht,mt:os,mc:Se,pc:re,pbc:Ye,n:w,o:e};return{render:I,hydrate:void 0,createApp:Jl(I)}}function pn({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 It({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ga(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function li(e,t,s=!1){const r=e.children,o=t.children;if(K(r)&&K(o))for(let i=0;i<r.length;i++){const l=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=kt(o[i]),a.el=l.el),!s&&a.patchFlag!==-2&&li(l,a)),a.type===sn&&a.patchFlag!==-1&&(a.el=l.el),a.type===xt&&!a.el&&(a.el=l.el)}}function ha(e){const t=e.slice(),s=[0];let r,o,i,l,a;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(o=s[s.length-1],e[o]<u){t[r]=o,s.push(r);continue}for(i=0,l=s.length-1;i<l;)a=i+l>>1,e[s[a]]<u?i=a+1:l=a;u<e[s[i]]&&(i>0&&(t[r]=s[i-1]),s[i]=r)}}for(i=s.length,l=s[i-1];i-- >0;)s[i]=l,l=t[l];return s}function ai(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ai(t)}function Sr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ci=e=>e.__isSuspense;function xa(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Sl(e)}const X=Symbol.for("v-fgt"),sn=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),Ms=Symbol.for("v-stc"),ys=[];let He=null;function y(e=!1){ys.push(He=e?null:[])}function ya(){ys.pop(),He=ys[ys.length-1]||null}let Cs=1;function Bs(e,t=!1){Cs+=e,e<0&&He&&t&&(He.hasOnce=!0)}function ui(e){return e.dynamicChildren=Cs>0?He||qt:null,ya(),Cs>0&&He&&He.push(e),e}function R(e,t,s,r,o,i){return ui(n(e,t,s,r,o,i,!0))}function Z(e,t,s,r,o){return ui(A(e,t,s,r,o,!0))}function Rs(e){return e?e.__v_isVNode===!0:!1}function as(e,t){return e.type===t.type&&e.key===t.key}const di=({key:e})=>e??null,Ns=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||Pe(e)||J(e)?{i:ke,r:e,k:t,f:!!s}:e:null);function n(e,t=null,s=null,r=0,o=null,i=e===X?0:1,l=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&di(t),ref:t&&Ns(t),scopeId:Lo,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ke};return a?(sr(c,s),i&128&&e.normalize(c)):s&&(c.shapeFlag|=ye(s)?8:16),Cs>0&&!l&&He&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&He.push(c),c}const A=ba;function ba(e,t=null,s=null,r=0,o=null,i=!1){if((!e||e===Uo)&&(e=xt),Rs(e)){const a=Zt(e,t,!0);return s&&sr(a,s),Cs>0&&!i&&He&&(a.shapeFlag&6?He[He.indexOf(e)]=a:He.push(a)),a.patchFlag=-2,a}if(Oa(e)&&(e=e.__vccOpts),t){t=va(t);let{class:a,style:c}=t;a&&!ye(a)&&(t.class=Y(a)),fe(c)&&(Qn(c)&&!K(c)&&(c=$e({},c)),t.style=Pt(c))}const l=ye(e)?1:ci(e)?128:El(e)?64:fe(e)?4:J(e)?2:0;return n(e,t,s,r,o,l,i,!0)}function va(e){return e?Qn(e)||ti(e)?$e({},e):e:null}function Zt(e,t,s=!1,r=!1){const{props:o,ref:i,patchFlag:l,children:a,transition:c}=e,u=t?wa(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&di(u),ref:t&&t.ref?s&&i?K(i)?i.concat(Ns(t)):[i,Ns(t)]:Ns(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==X?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zt(e.ssContent),ssFallback:e.ssFallback&&Zt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Xn(d,c.clone(d)),d}function C(e=" ",t=0){return A(sn,null,e,t)}function _a(e,t){const s=A(Ms,null,e);return s.staticCount=t,s}function B(e="",t=!1){return t?(y(),Z(xt,null,e)):A(xt,null,e)}function ot(e){return e==null||typeof e=="boolean"?A(xt):K(e)?A(X,null,e.slice()):Rs(e)?kt(e):A(sn,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zt(e)}function sr(e,t){let s=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(K(t))s=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),sr(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!ti(t)?t._ctx=ke:o===3&&ke&&(ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else J(t)?(t={default:t,_ctx:ke},s=32):(t=String(t),r&64?(s=16,t=[C(t)]):s=8);e.children=t,e.shapeFlag|=s}function wa(...e){const t={};for(let s=0;s<e.length;s++){const r=e[s];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Y([t.class,r.class]));else if(o==="style")t.style=Pt([t.style,r.style]);else if(Ws(o)){const i=t[o],l=r[o];l&&i!==l&&!(K(i)&&i.includes(l))&&(t[o]=i?[].concat(i,l):l)}else o!==""&&(t[o]=r[o])}return t}function nt(e,t,s,r=null){lt(e,t,7,[s,r])}const Ca=Qo();let Ra=0;function ka(e,t,s){const r=e.type,o=(t?t.appContext:e.appContext)||Ca,i={uid:Ra++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ji(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ni(r,o),emitsOptions:Xo(r,o),emit:null,emitted:null,propsDefaults:de,inheritAttrs:r.inheritAttrs,ctx:de,data:de,props:de,attrs:de,slots:de,refs:de,setupState:de,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=ta.bind(null,i),e.ce&&e.ce(i),i}let Ee=null;const Sa=()=>Ee||ke;let Gs,$n;{const e=Qs(),t=(s,r)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(r),i=>{o.length>1?o.forEach(l=>l(i)):o[0](i)}};Gs=t("__VUE_INSTANCE_SETTERS__",s=>Ee=s),$n=t("__VUE_SSR_SETTERS__",s=>ks=s)}const Ps=e=>{const t=Ee;return Gs(e),e.scope.on(),()=>{e.scope.off(),Gs(t)}},Ar=()=>{Ee&&Ee.scope.off(),Gs(null)};function fi(e){return e.vnode.shapeFlag&4}let ks=!1;function Aa(e,t=!1,s=!1){t&&$n(t);const{props:r,children:o}=e.vnode,i=fi(e);la(e,r,i,t),da(e,o,s||t);const l=i?Ea(e,t):void 0;return t&&$n(!1),l}function Ea(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gl);const{setup:r}=s;if(r){pt();const o=e.setupContext=r.length>1?Ta(e):null,i=Ps(e),l=Es(r,e,0,[e.props,o]),a=lo(l);if(gt(),i(),(a||e.sp)&&!Qt(e)&&Vo(e),a){if(l.then(Ar,Ar),t)return l.then(c=>{Er(e,c)}).catch(c=>{Zs(c,e,0)});e.asyncDep=l}else Er(e,l)}else mi(e)}function Er(e,t,s){J(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=Oo(t)),mi(e)}function mi(e,t,s){const r=e.type;e.render||(e.render=r.render||it);{const o=Ps(e);pt();try{Ul(e)}finally{gt(),o()}}}const Pa={get(e,t){return Ae(e,"get",""),e[t]}};function Ta(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Pa),slots:e.slots,emit:e.emit,expose:t}}function nn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Oo(hl(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in hs)return hs[s](e)},has(t,s){return s in t||s in hs}})):e.proxy}function $a(e,t=!0){return J(e)?e.displayName||e.name:e.name||t&&e.__name}function Oa(e){return J(e)&&"__vccOpts"in e}const ee=(e,t)=>_l(e,t,ks);function pi(e,t,s){try{Bs(-1);const r=arguments.length;return r===2?fe(t)&&!K(t)?Rs(t)?A(e,null,[t]):A(e,t):A(e,null,t):(r>3?s=Array.prototype.slice.call(arguments,2):r===3&&Rs(s)&&(s=[s]),A(e,t,s))}finally{Bs(1)}}const Ia="3.5.25";let On;const Pr=typeof window<"u"&&window.trustedTypes;if(Pr)try{On=Pr.createPolicy("vue",{createHTML:e=>e})}catch{}const gi=On?e=>On.createHTML(e):e=>e,Ma="http://www.w3.org/2000/svg",Na="http://www.w3.org/1998/Math/MathML",dt=typeof document<"u"?document:null,Tr=dt&&dt.createElement("template"),Da={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,r)=>{const o=t==="svg"?dt.createElementNS(Ma,e):t==="mathml"?dt.createElementNS(Na,e):s?dt.createElement(e,{is:s}):dt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>dt.createTextNode(e),createComment:e=>dt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>dt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,r,o,i){const l=s?s.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===i||!(o=o.nextSibling)););else{Tr.innerHTML=gi(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Tr.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},ja=Symbol("_vtc");function La(e,t,s){const r=e[ja];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const $r=Symbol("_vod"),Fa=Symbol("_vsh"),Va=Symbol(""),Ha=/(?:^|;)\s*display\s*:/;function Ba(e,t,s){const r=e.style,o=ye(s);let i=!1;if(s&&!o){if(t)if(ye(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();s[a]==null&&Ds(r,a,"")}else for(const l in t)s[l]==null&&Ds(r,l,"");for(const l in s)l==="display"&&(i=!0),Ds(r,l,s[l])}else if(o){if(t!==s){const l=r[Va];l&&(s+=";"+l),r.cssText=s,i=Ha.test(s)}}else t&&e.removeAttribute("style");$r in e&&(e[$r]=i?r.display:"",e[Fa]&&(r.display="none"))}const Or=/\s*!important$/;function Ds(e,t,s){if(K(s))s.forEach(r=>Ds(e,t,r));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const r=Ga(e,t);Or.test(s)?e.setProperty(Ft(r),s.replace(Or,""),"important"):e[r]=s}}const Ir=["Webkit","Moz","ms"],gn={};function Ga(e,t){const s=gn[t];if(s)return s;let r=Ue(t);if(r!=="filter"&&r in e)return gn[t]=r;r=zs(r);for(let o=0;o<Ir.length;o++){const i=Ir[o]+r;if(i in e)return gn[t]=i}return t}const Mr="http://www.w3.org/1999/xlink";function Nr(e,t,s,r,o,i=zi(t)){r&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Mr,t.slice(6,t.length)):e.setAttributeNS(Mr,t,s):s==null||i&&!fo(s)?e.removeAttribute(t):e.setAttribute(t,i?"":ze(s)?String(s):s)}function Dr(e,t,s,r,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?gi(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(a!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let l=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=fo(s):s==null&&a==="string"?(s="",l=!0):a==="number"&&(s=0,l=!0)}try{e[t]=s}catch{}l&&e.removeAttribute(o||t)}function Nt(e,t,s,r){e.addEventListener(t,s,r)}function Ua(e,t,s,r){e.removeEventListener(t,s,r)}const jr=Symbol("_vei");function Wa(e,t,s,r,o=null){const i=e[jr]||(e[jr]={}),l=i[t];if(r&&l)l.value=r;else{const[a,c]=qa(t);if(r){const u=i[t]=Qa(r,o);Nt(e,a,u,c)}else l&&(Ua(e,a,l,c),i[t]=void 0)}}const Lr=/(?:Once|Passive|Capture)$/;function qa(e){let t;if(Lr.test(e)){t={};let r;for(;r=e.match(Lr);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ft(e.slice(2)),t]}let hn=0;const Ka=Promise.resolve(),za=()=>hn||(Ka.then(()=>hn=0),hn=Date.now());function Qa(e,t){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;lt(Ja(r,s.value),t,5,[r])};return s.value=e,s.attached=za(),s}function Ja(e,t){if(K(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ya=(e,t,s,r,o,i)=>{const l=o==="svg";t==="class"?La(e,r,l):t==="style"?Ba(e,s,r):Ws(t)?Fn(t)||Wa(e,t,s,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xa(e,t,r,l))?(Dr(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Nr(e,t,r,l,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ye(r))?Dr(e,Ue(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Nr(e,t,r,l))};function Xa(e,t,s,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fr(t)&&J(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Fr(t)&&ye(s)?!1:t in e}const Us=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?s=>Is(t,s):t};function Za(e){e.target.composing=!0}function Vr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Yt=Symbol("_assign");function Hr(e,t,s){return t&&(e=e.trim()),s&&(e=Bn(e)),e}const hi={created(e,{modifiers:{lazy:t,trim:s,number:r}},o){e[Yt]=Us(o);const i=r||o.props&&o.props.type==="number";Nt(e,t?"change":"input",l=>{l.target.composing||e[Yt](Hr(e.value,s,i))}),(s||i)&&Nt(e,"change",()=>{e.value=Hr(e.value,s,i)}),t||(Nt(e,"compositionstart",Za),Nt(e,"compositionend",Vr),Nt(e,"change",Vr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:r,trim:o,number:i}},l){if(e[Yt]=Us(l),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Bn(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===s||o&&e.value.trim()===c)||(e.value=c))}},ec={deep:!0,created(e,t,s){e[Yt]=Us(s),Nt(e,"change",()=>{const r=e._modelValue,o=tc(e),i=e.checked,l=e[Yt];if(K(r)){const a=mo(r,o),c=a!==-1;if(i&&!c)l(r.concat(o));else if(!i&&c){const u=[...r];u.splice(a,1),l(u)}}else if(qs(r)){const a=new Set(r);i?a.add(o):a.delete(o),l(a)}else l(xi(e,i))})},mounted:Br,beforeUpdate(e,t,s){e[Yt]=Us(s),Br(e,t,s)}};function Br(e,{value:t,oldValue:s},r){e._modelValue=t;let o;if(K(t))o=mo(t,r.props.value)>-1;else if(qs(t))o=t.has(r.props.value);else{if(t===s)return;o=Js(t,xi(e,!0))}e.checked!==o&&(e.checked=o)}function tc(e){return"_value"in e?e._value:e.value}function xi(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const sc=["ctrl","shift","alt","meta"],nc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>sc.some(s=>e[`${s}Key`]&&!t.includes(s))},yi=(e,t)=>{const s=e._withMods||(e._withMods={}),r=t.join(".");return s[r]||(s[r]=((o,...i)=>{for(let l=0;l<t.length;l++){const a=nc[t[l]];if(a&&a(o,t))return}return e(o,...i)}))},rc=$e({patchProp:Ya},Da);let Gr;function oc(){return Gr||(Gr=ma(rc))}const ic=((...e)=>{const t=oc().createApp(...e),{mount:s}=t;return t.mount=r=>{const o=ac(r);if(!o)return;const i=t._component;!J(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const l=s(o,!1,lc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},t});function lc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ac(e){return ye(e)?document.querySelector(e):e}const Wt=typeof document<"u";function bi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function cc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&bi(e.default)}const oe=Object.assign;function xn(e,t){const s={};for(const r in t){const o=t[r];s[r]=Je(o)?o.map(e):e(o)}return s}const bs=()=>{},Je=Array.isArray;function Ur(e,t){const s={};for(const r in e)s[r]=r in t?t[r]:e[r];return s}const vi=/#/g,uc=/&/g,dc=/\//g,fc=/=/g,mc=/\?/g,_i=/\+/g,pc=/%5B/g,gc=/%5D/g,wi=/%5E/g,hc=/%60/g,Ci=/%7B/g,xc=/%7C/g,Ri=/%7D/g,yc=/%20/g;function nr(e){return e==null?"":encodeURI(""+e).replace(xc,"|").replace(pc,"[").replace(gc,"]")}function bc(e){return nr(e).replace(Ci,"{").replace(Ri,"}").replace(wi,"^")}function In(e){return nr(e).replace(_i,"%2B").replace(yc,"+").replace(vi,"%23").replace(uc,"%26").replace(hc,"`").replace(Ci,"{").replace(Ri,"}").replace(wi,"^")}function vc(e){return In(e).replace(fc,"%3D")}function _c(e){return nr(e).replace(vi,"%23").replace(mc,"%3F")}function wc(e){return _c(e).replace(dc,"%2F")}function Ss(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Cc=/\/$/,Rc=e=>e.replace(Cc,"");function yn(e,t,s="/"){let r,o={},i="",l="";const a=t.indexOf("#");let c=t.indexOf("?");return c=a>=0&&c>a?-1:c,c>=0&&(r=t.slice(0,c),i=t.slice(c,a>0?a:t.length),o=e(i.slice(1))),a>=0&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=Ec(r??t,s),{fullPath:r+i+l,path:r,query:o,hash:Ss(l)}}function kc(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function Wr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Sc(e,t,s){const r=t.matched.length-1,o=s.matched.length-1;return r>-1&&r===o&&es(t.matched[r],s.matched[o])&&ki(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ki(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!Ac(e[s],t[s]))return!1;return!0}function Ac(e,t){return Je(e)?qr(e,t):Je(t)?qr(t,e):e===t}function qr(e,t){return Je(t)?e.length===t.length&&e.every((s,r)=>s===t[r]):e.length===1&&e[0]===t}function Ec(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=s.length-1,l,a;for(l=0;l<r.length;l++)if(a=r[l],a!==".")if(a==="..")i>1&&i--;else break;return s.slice(0,i).join("/")+"/"+r.slice(l).join("/")}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Mn=(function(e){return e.pop="pop",e.push="push",e})({}),bn=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Pc(e){if(!e)if(Wt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Rc(e)}const Tc=/^[^#]+#/;function $c(e,t){return e.replace(Tc,"#")+t}function Oc(e,t){const s=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-s.left-(t.left||0),top:r.top-s.top-(t.top||0)}}const rn=()=>({left:window.scrollX,top:window.scrollY});function Ic(e){let t;if("el"in e){const s=e.el,r=typeof s=="string"&&s.startsWith("#"),o=typeof s=="string"?r?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!o)return;t=Oc(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Kr(e,t){return(history.state?history.state.position-t:-1)+e}const Nn=new Map;function Mc(e,t){Nn.set(e,t)}function Nc(e){const t=Nn.get(e);return Nn.delete(e),t}function Dc(e){return typeof e=="string"||e&&typeof e=="object"}function Si(e){return typeof e=="string"||typeof e=="symbol"}let he=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Ai=Symbol("");he.MATCHER_NOT_FOUND+"",he.NAVIGATION_GUARD_REDIRECT+"",he.NAVIGATION_ABORTED+"",he.NAVIGATION_CANCELLED+"",he.NAVIGATION_DUPLICATED+"";function ts(e,t){return oe(new Error,{type:e,[Ai]:!0},t)}function ut(e,t){return e instanceof Error&&Ai in e&&(t==null||!!(e.type&t))}const jc=["params","query","hash"];function Lc(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const s of jc)s in e&&(t[s]=e[s]);return JSON.stringify(t,null,2)}function Fc(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(_i," "),i=o.indexOf("="),l=Ss(i<0?o:o.slice(0,i)),a=i<0?null:Ss(o.slice(i+1));if(l in t){let c=t[l];Je(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function zr(e){let t="";for(let s in e){const r=e[s];if(s=vc(s),r==null){r!==void 0&&(t+=(t.length?"&":"")+s);continue}(Je(r)?r.map(o=>o&&In(o)):[r&&In(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+s,o!=null&&(t+="="+o))})}return t}function Vc(e){const t={};for(const s in e){const r=e[s];r!==void 0&&(t[s]=Je(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Hc=Symbol(""),Qr=Symbol(""),rr=Symbol(""),or=Symbol(""),Dn=Symbol("");function cs(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function s(){e=[]}return{add:t,list:()=>e.slice(),reset:s}}function St(e,t,s,r,o,i=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,c)=>{const u=p=>{p===!1?c(ts(he.NAVIGATION_ABORTED,{from:s,to:t})):p instanceof Error?c(p):Dc(p)?c(ts(he.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},d=i(()=>e.call(r&&r.instances[o],t,s,u));let m=Promise.resolve(d);e.length<3&&(m=m.then(u)),m.catch(p=>c(p))})}function vn(e,t,s,r,o=i=>i()){const i=[];for(const l of e)for(const a in l.components){let c=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if(bi(c)){const u=(c.__vccOpts||c)[t];u&&i.push(St(u,s,r,l,a,o))}else{let u=c();i.push(()=>u.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${a}" at "${l.path}"`);const m=cc(d)?d.default:d;l.mods[a]=d,l.components[a]=m;const p=(m.__vccOpts||m)[t];return p&&St(p,s,r,l,a,o)()}))}}return i}function Bc(e,t){const s=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;l<i;l++){const a=t.matched[l];a&&(e.matched.find(u=>es(u,a))?r.push(a):s.push(a));const c=e.matched[l];c&&(t.matched.find(u=>es(u,c))||o.push(c))}return[s,r,o]}let Gc=()=>location.protocol+"//"+location.host;function Ei(e,t){const{pathname:s,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let l=o.includes(e.slice(i))?e.slice(i).length:1,a=o.slice(l);return a[0]!=="/"&&(a="/"+a),Wr(a,"")}return Wr(s,e)+r+o}function Uc(e,t,s,r){let o=[],i=[],l=null;const a=({state:p})=>{const h=Ei(e,location),P=s.value,N=t.value;let Q=0;if(p){if(s.value=h,t.value=p,l&&l===P){l=null;return}Q=N?p.position-N.position:0}else r(h);o.forEach(V=>{V(s.value,P,{delta:Q,type:Mn.pop,direction:Q?Q>0?bn.forward:bn.back:bn.unknown})})};function c(){l=s.value}function u(p){o.push(p);const h=()=>{const P=o.indexOf(p);P>-1&&o.splice(P,1)};return i.push(h),h}function d(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(oe({},p.state,{scroll:rn()}),"")}}function m(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:c,listen:u,destroy:m}}function Jr(e,t,s,r=!1,o=!1){return{back:e,current:t,forward:s,replaced:r,position:window.history.length,scroll:o?rn():null}}function Wc(e){const{history:t,location:s}=window,r={value:Ei(e,s)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,d){const m=e.indexOf("#"),p=m>-1?(s.host&&document.querySelector("base")?e:e.slice(m))+c:Gc()+e+c;try{t[d?"replaceState":"pushState"](u,"",p),o.value=u}catch(h){console.error(h),s[d?"replace":"assign"](p)}}function l(c,u){i(c,oe({},t.state,Jr(o.value.back,c,o.value.forward,!0),u,{position:o.value.position}),!0),r.value=c}function a(c,u){const d=oe({},o.value,t.state,{forward:c,scroll:rn()});i(d.current,d,!0),i(c,oe({},Jr(r.value,c,null),{position:d.position+1},u),!1),r.value=c}return{location:r,state:o,push:a,replace:l}}function qc(e){e=Pc(e);const t=Wc(e),s=Uc(e,t.state,t.location,t.replace);function r(i,l=!0){l||s.pauseListeners(),history.go(i)}const o=oe({location:"",base:e,go:r,createHref:$c.bind(null,e)},t,s);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Kc(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),qc(e)}let Dt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ve=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ve||{});const zc={type:Dt.Static,value:""},Qc=/[a-zA-Z0-9_]/;function Jc(e){if(!e)return[[]];if(e==="/")return[[zc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${s})/"${u}": ${h}`)}let s=ve.Static,r=s;const o=[];let i;function l(){i&&o.push(i),i=[]}let a=0,c,u="",d="";function m(){u&&(s===ve.Static?i.push({type:Dt.Static,value:u}):s===ve.Param||s===ve.ParamRegExp||s===ve.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Dt.Param,value:u,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&s!==ve.ParamRegExp){r=s,s=ve.EscapeNext;continue}switch(s){case ve.Static:c==="/"?(u&&m(),l()):c===":"?(m(),s=ve.Param):p();break;case ve.EscapeNext:p(),s=r;break;case ve.Param:c==="("?s=ve.ParamRegExp:Qc.test(c)?p():(m(),s=ve.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case ve.ParamRegExp:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:s=ve.ParamRegExpEnd:d+=c;break;case ve.ParamRegExpEnd:m(),s=ve.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:t("Unknown state");break}}return s===ve.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),m(),l(),o}const Yr="[^/]+?",Yc={sensitive:!1,strict:!1,start:!0,end:!0};var Ie=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ie||{});const Xc=/[.+*?^${}()[\]/\\]/g;function Zc(e,t){const s=oe({},Yc,t),r=[];let o=s.start?"^":"";const i=[];for(const u of e){const d=u.length?[]:[Ie.Root];s.strict&&!u.length&&(o+="/");for(let m=0;m<u.length;m++){const p=u[m];let h=Ie.Segment+(s.sensitive?Ie.BonusCaseSensitive:0);if(p.type===Dt.Static)m||(o+="/"),o+=p.value.replace(Xc,"\\$&"),h+=Ie.Static;else if(p.type===Dt.Param){const{value:P,repeatable:N,optional:Q,regexp:V}=p;i.push({name:P,repeatable:N,optional:Q});const L=V||Yr;if(L!==Yr){h+=Ie.BonusCustomRegExp;try{`${L}`}catch(F){throw new Error(`Invalid custom RegExp for param "${P}" (${L}): `+F.message)}}let G=N?`((?:${L})(?:/(?:${L}))*)`:`(${L})`;m||(G=Q&&u.length<2?`(?:/${G})`:"/"+G),Q&&(G+="?"),o+=G,h+=Ie.Dynamic,Q&&(h+=Ie.BonusOptional),N&&(h+=Ie.BonusRepeatable),L===".*"&&(h+=Ie.BonusWildcard)}d.push(h)}r.push(d)}if(s.strict&&s.end){const u=r.length-1;r[u][r[u].length-1]+=Ie.BonusStrict}s.strict||(o+="/?"),s.end?o+="$":s.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const l=new RegExp(o,s.sensitive?"":"i");function a(u){const d=u.match(l),m={};if(!d)return null;for(let p=1;p<d.length;p++){const h=d[p]||"",P=i[p-1];m[P.name]=h&&P.repeatable?h.split("/"):h}return m}function c(u){let d="",m=!1;for(const p of e){(!m||!d.endsWith("/"))&&(d+="/"),m=!1;for(const h of p)if(h.type===Dt.Static)d+=h.value;else if(h.type===Dt.Param){const{value:P,repeatable:N,optional:Q}=h,V=P in u?u[P]:"";if(Je(V)&&!N)throw new Error(`Provided param "${P}" is an array but it is not repeatable (* or + modifiers)`);const L=Je(V)?V.join("/"):V;if(!L)if(Q)p.length<2&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${P}"`);d+=L}}return d||"/"}return{re:l,score:r,keys:i,parse:a,stringify:c}}function eu(e,t){let s=0;for(;s<e.length&&s<t.length;){const r=t[s]-e[s];if(r)return r;s++}return e.length<t.length?e.length===1&&e[0]===Ie.Static+Ie.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ie.Static+Ie.Segment?1:-1:0}function Pi(e,t){let s=0;const r=e.score,o=t.score;for(;s<r.length&&s<o.length;){const i=eu(r[s],o[s]);if(i)return i;s++}if(Math.abs(o.length-r.length)===1){if(Xr(r))return 1;if(Xr(o))return-1}return o.length-r.length}function Xr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const tu={strict:!1,end:!0,sensitive:!1};function su(e,t,s){const r=Zc(Jc(e.path),s),o=oe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function nu(e,t){const s=[],r=new Map;t=Ur(tu,t);function o(m){return r.get(m)}function i(m,p,h){const P=!h,N=eo(m);N.aliasOf=h&&h.record;const Q=Ur(t,m),V=[N];if("alias"in m){const F=typeof m.alias=="string"?[m.alias]:m.alias;for(const ne of F)V.push(eo(oe({},N,{components:h?h.record.components:N.components,path:ne,aliasOf:h?h.record:N})))}let L,G;for(const F of V){const{path:ne}=F;if(p&&ne[0]!=="/"){const be=p.record.path,ge=be[be.length-1]==="/"?"":"/";F.path=p.record.path+(ne&&ge+ne)}if(L=su(F,p,Q),h?h.alias.push(L):(G=G||L,G!==L&&G.alias.push(L),P&&m.name&&!to(L)&&l(m.name)),Ti(L)&&c(L),N.children){const be=N.children;for(let ge=0;ge<be.length;ge++)i(be[ge],L,h&&h.children[ge])}h=h||L}return G?()=>{l(G)}:bs}function l(m){if(Si(m)){const p=r.get(m);p&&(r.delete(m),s.splice(s.indexOf(p),1),p.children.forEach(l),p.alias.forEach(l))}else{const p=s.indexOf(m);p>-1&&(s.splice(p,1),m.record.name&&r.delete(m.record.name),m.children.forEach(l),m.alias.forEach(l))}}function a(){return s}function c(m){const p=iu(m,s);s.splice(p,0,m),m.record.name&&!to(m)&&r.set(m.record.name,m)}function u(m,p){let h,P={},N,Q;if("name"in m&&m.name){if(h=r.get(m.name),!h)throw ts(he.MATCHER_NOT_FOUND,{location:m});Q=h.record.name,P=oe(Zr(p.params,h.keys.filter(G=>!G.optional).concat(h.parent?h.parent.keys.filter(G=>G.optional):[]).map(G=>G.name)),m.params&&Zr(m.params,h.keys.map(G=>G.name))),N=h.stringify(P)}else if(m.path!=null)N=m.path,h=s.find(G=>G.re.test(N)),h&&(P=h.parse(N),Q=h.record.name);else{if(h=p.name?r.get(p.name):s.find(G=>G.re.test(p.path)),!h)throw ts(he.MATCHER_NOT_FOUND,{location:m,currentLocation:p});Q=h.record.name,P=oe({},p.params,m.params),N=h.stringify(P)}const V=[];let L=h;for(;L;)V.unshift(L.record),L=L.parent;return{name:Q,path:N,params:P,matched:V,meta:ou(V)}}e.forEach(m=>i(m));function d(){s.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:l,clearRoutes:d,getRoutes:a,getRecordMatcher:o}}function Zr(e,t){const s={};for(const r of t)r in e&&(s[r]=e[r]);return s}function eo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ru(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ru(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const r in e.components)t[r]=typeof s=="object"?s[r]:s;return t}function to(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ou(e){return e.reduce((t,s)=>oe(t,s.meta),{})}function iu(e,t){let s=0,r=t.length;for(;s!==r;){const i=s+r>>1;Pi(e,t[i])<0?r=i:s=i+1}const o=lu(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function lu(e){let t=e;for(;t=t.parent;)if(Ti(t)&&Pi(e,t)===0)return t}function Ti({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function so(e){const t=Te(rr),s=Te(or),r=ee(()=>{const c=E(e.to);return t.resolve(c)}),o=ee(()=>{const{matched:c}=r.value,{length:u}=c,d=c[u-1],m=s.matched;if(!d||!m.length)return-1;const p=m.findIndex(es.bind(null,d));if(p>-1)return p;const h=no(c[u-2]);return u>1&&no(d)===h&&m[m.length-1].path!==h?m.findIndex(es.bind(null,c[u-2])):p}),i=ee(()=>o.value>-1&&du(s.params,r.value.params)),l=ee(()=>o.value>-1&&o.value===s.matched.length-1&&ki(s.params,r.value.params));function a(c={}){if(uu(c)){const u=t[E(e.replace)?"replace":"push"](E(e.to)).catch(bs);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:ee(()=>r.value.href),isActive:i,isExactActive:l,navigate:a}}function au(e){return e.length===1?e[0]:e}const cu=Fo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:so,setup(e,{slots:t}){const s=Xs(so(e)),{options:r}=Te(rr),o=ee(()=>({[ro(e.activeClass,r.linkActiveClass,"router-link-active")]:s.isActive,[ro(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const i=t.default&&au(t.default(s));return e.custom?i:pi("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:o.value},i)}}}),_e=cu;function uu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function du(e,t){for(const s in t){const r=t[s],o=e[s];if(typeof r=="string"){if(r!==o)return!1}else if(!Je(o)||o.length!==r.length||r.some((i,l)=>i!==o[l]))return!1}return!0}function no(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ro=(e,t,s)=>e??t??s,fu=Fo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const r=Te(Dn),o=ee(()=>e.route||r.value),i=Te(Qr,0),l=ee(()=>{let u=E(i);const{matched:d}=o.value;let m;for(;(m=d[u])&&!m.components;)u++;return u}),a=ee(()=>o.value.matched[l.value]);xs(Qr,ee(()=>l.value+1)),xs(Hc,a),xs(Dn,o);const c=we();return Ke(()=>[c.value,a.value,e.name],([u,d,m],[p,h,P])=>{d&&(d.instances[m]=u,h&&h!==d&&u&&u===p&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),u&&d&&(!h||!es(d,h)||!p)&&(d.enterCallbacks[m]||[]).forEach(N=>N(u))},{flush:"post"}),()=>{const u=o.value,d=e.name,m=a.value,p=m&&m.components[d];if(!p)return oo(s.default,{Component:p,route:u});const h=m.props[d],P=h?h===!0?u.params:typeof h=="function"?h(u):h:null,Q=pi(p,oe({},P,t,{onVnodeUnmounted:V=>{V.component.isUnmounted&&(m.instances[d]=null)},ref:c}));return oo(s.default,{Component:Q,route:u})||Q}}});function oo(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const mu=fu;function pu(e){const t=nu(e.routes,e),s=e.parseQuery||Fc,r=e.stringifyQuery||zr,o=e.history,i=cs(),l=cs(),a=cs(),c=xl(wt);let u=wt;Wt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=xn.bind(null,w=>""+w),m=xn.bind(null,wc),p=xn.bind(null,Ss);function h(w,D){let I,H;return Si(w)?(I=t.getRecordMatcher(w),H=D):H=w,t.addRoute(H,I)}function P(w){const D=t.getRecordMatcher(w);D&&t.removeRoute(D)}function N(){return t.getRoutes().map(w=>w.record)}function Q(w){return!!t.getRecordMatcher(w)}function V(w,D){if(D=oe({},D||c.value),typeof w=="string"){const x=yn(s,w,D.path),_=t.resolve({path:x.path},D),k=o.createHref(x.fullPath);return oe(x,_,{params:p(_.params),hash:Ss(x.hash),redirectedFrom:void 0,href:k})}let I;if(w.path!=null)I=oe({},w,{path:yn(s,w.path,D.path).path});else{const x=oe({},w.params);for(const _ in x)x[_]==null&&delete x[_];I=oe({},w,{params:m(x)}),D.params=m(D.params)}const H=t.resolve(I,D),te=w.hash||"";H.params=d(p(H.params));const f=kc(r,oe({},w,{hash:bc(te),path:H.path})),g=o.createHref(f);return oe({fullPath:f,hash:te,query:r===zr?Vc(w.query):w.query||{}},H,{redirectedFrom:void 0,href:g})}function L(w){return typeof w=="string"?yn(s,w,c.value.path):oe({},w)}function G(w,D){if(u!==w)return ts(he.NAVIGATION_CANCELLED,{from:D,to:w})}function F(w){return ge(w)}function ne(w){return F(oe(L(w),{replace:!0}))}function be(w,D){const I=w.matched[w.matched.length-1];if(I&&I.redirect){const{redirect:H}=I;let te=typeof H=="function"?H(w,D):H;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=L(te):{path:te},te.params={}),oe({query:w.query,hash:w.hash,params:te.path!=null?{}:w.params},te)}}function ge(w,D){const I=u=V(w),H=c.value,te=w.state,f=w.force,g=w.replace===!0,x=be(I,H);if(x)return ge(oe(L(x),{state:typeof x=="object"?oe({},te,x.state):te,force:f,replace:g}),D||I);const _=I;_.redirectedFrom=D;let k;return!f&&Sc(r,H,I)&&(k=ts(he.NAVIGATION_DUPLICATED,{to:_,from:H}),Ze(H,H,!0,!1)),(k?Promise.resolve(k):Ye(_,H)).catch(v=>ut(v)?ut(v,he.NAVIGATION_GUARD_REDIRECT)?v:_t(v):re(v,_,H)).then(v=>{if(v){if(ut(v,he.NAVIGATION_GUARD_REDIRECT))return ge(oe({replace:g},L(v.to),{state:typeof v.to=="object"?oe({},te,v.to.state):te,force:f}),D||_)}else v=Tt(_,H,!0,g,te);return vt(_,H,v),v})}function Se(w,D){const I=G(w,D);return I?Promise.reject(I):Promise.resolve()}function bt(w){const D=Bt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(w):w()}function Ye(w,D){let I;const[H,te,f]=Bc(w,D);I=vn(H.reverse(),"beforeRouteLeave",w,D);for(const x of H)x.leaveGuards.forEach(_=>{I.push(St(_,w,D))});const g=Se.bind(null,w,D);return I.push(g),Be(I).then(()=>{I=[];for(const x of i.list())I.push(St(x,w,D));return I.push(g),Be(I)}).then(()=>{I=vn(te,"beforeRouteUpdate",w,D);for(const x of te)x.updateGuards.forEach(_=>{I.push(St(_,w,D))});return I.push(g),Be(I)}).then(()=>{I=[];for(const x of f)if(x.beforeEnter)if(Je(x.beforeEnter))for(const _ of x.beforeEnter)I.push(St(_,w,D));else I.push(St(x.beforeEnter,w,D));return I.push(g),Be(I)}).then(()=>(w.matched.forEach(x=>x.enterCallbacks={}),I=vn(f,"beforeRouteEnter",w,D,bt),I.push(g),Be(I))).then(()=>{I=[];for(const x of l.list())I.push(St(x,w,D));return I.push(g),Be(I)}).catch(x=>ut(x,he.NAVIGATION_CANCELLED)?x:Promise.reject(x))}function vt(w,D,I){a.list().forEach(H=>bt(()=>H(w,D,I)))}function Tt(w,D,I,H,te){const f=G(w,D);if(f)return f;const g=D===wt,x=Wt?history.state:{};I&&(H||g?o.replace(w.fullPath,oe({scroll:g&&x&&x.scroll},te)):o.push(w.fullPath,te)),c.value=w,Ze(w,D,I,g),_t()}let Xe;function os(){Xe||(Xe=o.listen((w,D,I)=>{if(!$t.listening)return;const H=V(w),te=be(H,$t.currentRoute.value);if(te){ge(oe(te,{replace:!0,force:!0}),H).catch(bs);return}u=H;const f=c.value;Wt&&Mc(Kr(f.fullPath,I.delta),rn()),Ye(H,f).catch(g=>ut(g,he.NAVIGATION_ABORTED|he.NAVIGATION_CANCELLED)?g:ut(g,he.NAVIGATION_GUARD_REDIRECT)?(ge(oe(L(g.to),{force:!0}),H).then(x=>{ut(x,he.NAVIGATION_ABORTED|he.NAVIGATION_DUPLICATED)&&!I.delta&&I.type===Mn.pop&&o.go(-1,!1)}).catch(bs),Promise.reject()):(I.delta&&o.go(-I.delta,!1),re(g,H,f))).then(g=>{g=g||Tt(H,f,!1),g&&(I.delta&&!ut(g,he.NAVIGATION_CANCELLED)?o.go(-I.delta,!1):I.type===Mn.pop&&ut(g,he.NAVIGATION_ABORTED|he.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),vt(H,f,g)}).catch(bs)}))}let Vt=cs(),Ce=cs(),ce;function re(w,D,I){_t(w);const H=Ce.list();return H.length?H.forEach(te=>te(w,D,I)):console.error(w),Promise.reject(w)}function at(){return ce&&c.value!==wt?Promise.resolve():new Promise((w,D)=>{Vt.add([w,D])})}function _t(w){return ce||(ce=!w,os(),Vt.list().forEach(([D,I])=>w?I(w):D()),Vt.reset()),w}function Ze(w,D,I,H){const{scrollBehavior:te}=e;if(!Wt||!te)return Promise.resolve();const f=!I&&Nc(Kr(w.fullPath,0))||(H||!I)&&history.state&&history.state.scroll||null;return Mo().then(()=>te(w,D,f)).then(g=>g&&Ic(g)).catch(g=>re(g,w,D))}const Ne=w=>o.go(w);let Ht;const Bt=new Set,$t={currentRoute:c,listening:!0,addRoute:h,removeRoute:P,clearRoutes:t.clearRoutes,hasRoute:Q,getRoutes:N,resolve:V,options:e,push:F,replace:ne,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:i.add,beforeResolve:l.add,afterEach:a.add,onError:Ce.add,isReady:at,install(w){w.component("RouterLink",_e),w.component("RouterView",mu),w.config.globalProperties.$router=$t,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>E(c)}),Wt&&!Ht&&c.value===wt&&(Ht=!0,F(o.location).catch(H=>{}));const D={};for(const H in wt)Object.defineProperty(D,H,{get:()=>c.value[H],enumerable:!0});w.provide(rr,$t),w.provide(or,To(D)),w.provide(Dn,c);const I=w.unmount;Bt.add(w),w.unmount=function(){Bt.delete(w),Bt.size<1&&(u=wt,Xe&&Xe(),Xe=null,c.value=wt,Ht=!1,ce=!1),I()}}};function Be(w){return w.reduce((D,I)=>D.then(()=>bt(I)),Promise.resolve())}return $t}function on(e){return Te(or)}const gu={class:"sticky top-0 z-50 bg-gray-900/80 backdrop-blur-md border-b border-gray-700 shadow-lg"},hu={class:"container mx-auto px-4"},xu={class:"flex items-center justify-between h-16"},yu={class:"hidden md:flex items-center space-x-6"},bu={key:0,class:"md:hidden py-2 border-t border-gray-700"},vu={class:"flex flex-col space-y-1"},_u={__name:"Navbar",setup(e){const t=on(),s=Te("globalData"),r=we(!1),o=ee(()=>s.value?.Repositories||[]);return(i,l)=>(y(),R("nav",gu,[n("div",hu,[n("div",xu,[A(E(_e),{to:"/",class:"flex items-center space-x-2"},{default:j(()=>[...l[5]||(l[5]=[n("i",{class:"fas fa-rocket text-2xl bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},null,-1),n("span",{class:"text-xl font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},"Git Velocity",-1)])]),_:1}),n("div",yu,[A(E(_e),{to:"/",class:Y(E(t).path==="/"?"text-primary-500 font-medium":"text-gray-200 font-medium hover:text-primary-400 transition-colors")},{default:j(()=>[...l[6]||(l[6]=[C(" Dashboard ",-1)])]),_:1},8,["class"]),A(E(_e),{to:"/leaderboard",class:Y(E(t).path==="/leaderboard"?"text-primary-500 font-medium":"text-gray-200 font-medium hover:text-primary-400 transition-colors")},{default:j(()=>[...l[7]||(l[7]=[C(" Leaderboard ",-1)])]),_:1},8,["class"]),A(E(_e),{to:"/how-scoring-works",class:Y(E(t).path==="/how-scoring-works"?"text-primary-500 font-medium":"text-gray-200 font-medium hover:text-primary-400 transition-colors")},{default:j(()=>[...l[8]||(l[8]=[C(" How Scoring Works ",-1)])]),_:1},8,["class"]),(y(!0),R(X,null,xe(o.value,a=>(y(),Z(E(_e),{key:`${a.Owner}/${a.Name}`,to:`/repos/${a.Owner}/${a.Name}`,class:Y(E(t).path.includes(`/repos/${a.Owner}/${a.Name}`)?"text-primary-500 font-medium":"text-gray-200 font-medium hover:text-primary-400 transition-colors")},{default:j(()=>[C(b(a.Name),1)]),_:2},1032,["to","class"]))),128))]),n("button",{onClick:l[0]||(l[0]=a=>r.value=!r.value),class:"md:hidden p-2 rounded-lg hover:bg-gray-700 transition"},[...l[9]||(l[9]=[n("i",{class:"fas fa-bars text-gray-200"},null,-1)])])]),r.value?(y(),R("div",bu,[n("div",vu,[A(E(_e),{to:"/",onClick:l[1]||(l[1]=a=>r.value=!1),class:Y(["block px-4 py-3 rounded-lg text-base font-medium transition-colors",E(t).path==="/"?"bg-primary-900/20 text-primary-400":"text-gray-200 hover:bg-gray-800"])},{default:j(()=>[...l[10]||(l[10]=[n("i",{class:"fas fa-home mr-3 w-5 text-center"},null,-1),C("Dashboard ",-1)])]),_:1},8,["class"]),A(E(_e),{to:"/leaderboard",onClick:l[2]||(l[2]=a=>r.value=!1),class:Y(["block px-4 py-3 rounded-lg text-base font-medium transition-colors",E(t).path==="/leaderboard"?"bg-primary-900/20 text-primary-400":"text-gray-200 hover:bg-gray-800"])},{default:j(()=>[...l[11]||(l[11]=[n("i",{class:"fas fa-trophy mr-3 w-5 text-center"},null,-1),C("Leaderboard ",-1)])]),_:1},8,["class"]),A(E(_e),{to:"/how-scoring-works",onClick:l[3]||(l[3]=a=>r.value=!1),class:Y(["block px-4 py-3 rounded-lg text-base font-medium transition-colors",E(t).path==="/how-scoring-works"?"bg-primary-900/20 text-primary-400":"text-gray-200 hover:bg-gray-800"])},{default:j(()=>[...l[12]||(l[12]=[n("i",{class:"fas fa-calculator mr-3 w-5 text-center"},null,-1),C("How Scoring Works ",-1)])]),_:1},8,["class"]),(y(!0),R(X,null,xe(o.value,a=>(y(),Z(E(_e),{key:`${a.Owner}/${a.Name}`,to:`/repos/${a.Owner}/${a.Name}`,onClick:l[4]||(l[4]=c=>r.value=!1),class:Y(["block px-4 py-3 rounded-lg text-base font-medium transition-colors",E(t).path.includes(`/repos/${a.Owner}/${a.Name}`)?"bg-primary-900/20 text-primary-400":"text-gray-200 hover:bg-gray-800"])},{default:j(()=>[l[13]||(l[13]=n("i",{class:"fas fa-code-branch mr-3 w-5 text-center"},null,-1)),C(b(a.Name),1)]),_:2},1032,["to","class"]))),128))])])):B("",!0)])]))}},wu={class:"py-8 px-4 mt-16 border-t border-gray-700"},Cu={class:"container mx-auto text-center"},Ru={key:0,class:"text-sm text-gray-500 mt-2"},ku={__name:"Footer",setup(e){const t=Te("globalData"),s=ee(()=>t.value?.GeneratedAt?new Date(t.value.GeneratedAt).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}):"");return(r,o)=>(y(),R("footer",wu,[n("div",Cu,[o[0]||(o[0]=n("p",{class:"text-gray-400"},[C(" Generated by "),n("a",{href:"https://github.com/lukaszraczylo/git-velocity",class:"text-primary-400 hover:text-primary-300 font-medium",target:"_blank",rel:"noopener noreferrer"}," Git Velocity ")],-1)),s.value?(y(),R("p",Ru,b(s.value),1)):B("",!0)])]))}},Su={class:"min-h-screen flex flex-col"},Au={class:"flex-1"},Eu={key:0,class:"flex items-center justify-center min-h-[60vh]"},Pu={key:1,class:"flex items-center justify-center min-h-[60vh]"},Tu={class:"text-center"},$u={class:"text-gray-400"},Ou={__name:"App",setup(e){const t=we(null),s=we(!0),r=we(null);return xs("globalData",t),ns(async()=>{try{const o=await fetch("./data/global.json");if(!o.ok)throw new Error("Failed to load data");t.value=await o.json()}catch(o){r.value=o.message}finally{s.value=!1}}),(o,i)=>{const l=Hl("router-view");return y(),R("div",Su,[A(_u),n("main",Au,[s.value?(y(),R("div",Eu,[...i[0]||(i[0]=[n("div",{class:"text-center"},[n("i",{class:"fas fa-spinner fa-spin text-4xl text-primary-500 mb-4"}),n("p",{class:"text-gray-400"},"Loading dashboard...")],-1)])])):r.value?(y(),R("div",Pu,[n("div",Tu,[i[1]||(i[1]=n("i",{class:"fas fa-exclamation-triangle text-4xl text-red-500 mb-4"},null,-1)),n("p",$u,b(r.value),1)])])):(y(),Z(l,{key:2}))]),A(ku)])}}},ue={__name:"Card",props:{padding:{type:Boolean,default:!0},hover:{type:Boolean,default:!1}},setup(e){return(t,s)=>(y(),R("div",{class:Y(["rounded-xl bg-gray-800 text-white border border-gray-700 shadow",e.padding?"p-6":"",e.hover?"hover:shadow-lg transition-shadow":""])},[Et(t.$slots,"default")],2))}};function q(e){return e==null?"0":e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":String(e)}function Iu(e){return e==null?"-":e<1?Math.round(e*60)+"m":e<24?e.toFixed(1)+"h":(e/24).toFixed(1)+"d"}function _n(e){return e?new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}):""}function Mu(e){return e==null?"0%":e.toFixed(1)+"%"}function $i(e){return e?e.toLowerCase().replace(/\s+/g,"-").replace(/_/g,"-").replace(/[^a-z0-9-]/g,""):""}const Nu={class:"flex items-center justify-between"},Du={class:"min-w-0 flex-1"},ju={class:"text-xs sm:text-sm text-gray-400 mt-1 truncate"},Re={__name:"StatCard",props:{value:{type:[Number,String],required:!0},label:{type:String,required:!0},icon:{type:String,default:""},iconColor:{type:String,default:"text-gray-500"},valueClass:{type:String,default:"bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},delay:{type:String,default:"0s"}},setup(e){return(t,s)=>(y(),Z(ue,{class:"animate-[fadeInUp_0.6s_ease-out]",style:Pt({animationDelay:e.delay})},{default:j(()=>[n("div",Nu,[n("div",Du,[n("div",{class:Y(["text-xl sm:text-2xl md:text-3xl font-bold truncate",e.valueClass])},b(typeof e.value=="number"?E(q)(e.value):e.value),3),n("div",ju,b(e.label),1)]),e.icon?(y(),R("div",{key:0,class:Y(["text-2xl sm:text-3xl opacity-50 ml-2 flex-shrink-0",e.iconColor])},[n("i",{class:Y(e.icon)},null,2)],2)):B("",!0)])]),_:1},8,["style"]))}},Lu=["src","alt"],rs={__name:"Avatar",props:{src:{type:String,default:""},name:{type:String,required:!0},size:{type:String,default:"md"}},setup(e){const t=e,s={sm:"w-8 h-8 text-xs",md:"w-10 h-10 text-sm",lg:"w-14 h-14 text-xl",xl:"w-16 h-16 text-2xl","2xl":"w-32 h-32 text-4xl"},r=ee(()=>t.name.charAt(0).toUpperCase()),o=ee(()=>s[t.size]||s.md);return(i,l)=>e.src?(y(),R("img",{key:0,src:e.src,alt:e.name,class:Y([o.value,"rounded-full"])},null,10,Lu)):(y(),R("div",{key:1,class:Y([o.value,"rounded-full bg-gradient-to-br from-primary-500 to-accent-500 flex items-center justify-center text-white font-bold"])},b(r.value),3))}},Fu={key:0,class:"fas fa-trophy"},jn={__name:"RankBadge",props:{rank:{type:Number,required:!0},size:{type:String,default:"md"}},setup(e){const t=e,s={sm:"w-6 h-6 text-xs",md:"w-8 h-8 text-sm",lg:"w-10 h-10 text-base"},r=ee(()=>t.rank===1?"bg-gradient-to-r from-yellow-400 to-amber-500":t.rank===2?"bg-gradient-to-r from-slate-400 to-slate-500":t.rank===3?"bg-gradient-to-r from-amber-600 to-amber-700":"bg-gray-700 text-gray-300"),o=ee(()=>s[t.size]||s.md),i=ee(()=>t.rank>=1&&t.rank<=3);return(l,a)=>(y(),R("span",{class:Y([[o.value,r.value,{"text-white":e.rank<=3}],"inline-flex items-center justify-center rounded-full font-bold"])},[i.value?(y(),R("i",Fu)):(y(),R(X,{key:1},[C(b(e.rank),1)],64))],2))}},Vu={class:"inline-flex flex-col items-center gap-2"},Hu=["title"],Bu={class:"absolute bottom-full left-1/2 -translate-x-1/2 mb-3 px-3 py-2 bg-gray-800 text-white text-xs rounded-xl opacity-0 group-hover/badge:opacity-100 transition-all duration-200 pointer-events-none whitespace-nowrap z-50 shadow-xl border border-white/10"},Gu={class:"font-bold text-sm"},Uu={class:"text-gray-300 text-[11px] mt-0.5"},Wu={key:0,class:"text-[11px] font-medium text-gray-400 text-center leading-tight",style:{"max-width":"72px","word-wrap":"break-word"}},ss={__name:"AchievementBadge",props:{achievementId:{type:String,required:!0},size:{type:String,default:"md"},showLabel:{type:Boolean,default:!1}},setup(e){const t={1:"from-stone-400 to-stone-500",2:"from-green-400 to-emerald-500",3:"from-blue-400 to-indigo-500",4:"from-purple-400 to-violet-500",5:"from-yellow-400 to-amber-500",6:"from-orange-400 to-red-500",7:"from-red-500 to-rose-600",8:"from-pink-500 to-fuchsia-600",9:"from-cyan-400 to-teal-500",10:"from-emerald-400 to-cyan-500",11:"from-violet-500 to-purple-600"},s=a=>{const c=[1,10,25,50,100,250,500,1e3,5e3,1e4,25e3];for(let u=c.length-1;u>=0;u--)if(a>=c[u])return u+1;return 1},r=a=>{const c=a.match(/(\d+)$/);return c?parseInt(c[1],10):50},o={"commit-1":{name:"First Steps",description:"Made your first commit",icon:"fa-baby"},"commit-10":{name:"Getting Started",description:"Made 10 commits",icon:"fa-seedling"},"commit-50":{name:"Contributor",description:"Made 50 commits",icon:"fa-code"},"commit-100":{name:"Committed",description:"Made 100 commits",icon:"fa-fire"},"commit-500":{name:"Code Machine",description:"Made 500 commits",icon:"fa-robot"},"commit-1000":{name:"Code Warrior",description:"Made 1000 commits",icon:"fa-crown"},"pr-1":{name:"PR Pioneer",description:"Opened your first pull request",icon:"fa-code-pull-request"},"pr-10":{name:"PR Regular",description:"Opened 10 pull requests",icon:"fa-code-branch"},"pr-25":{name:"PR Pro",description:"Opened 25 pull requests",icon:"fa-code-compare"},"pr-50":{name:"Merge Master",description:"Opened 50 pull requests",icon:"fa-code-merge"},"pr-100":{name:"PR Champion",description:"Opened 100 pull requests",icon:"fa-trophy"},"pr-250":{name:"PR Legend",description:"Opened 250 pull requests",icon:"fa-medal"},"review-1":{name:"First Review",description:"Reviewed your first pull request",icon:"fa-magnifying-glass"},"review-10":{name:"Reviewer",description:"Reviewed 10 pull requests",icon:"fa-eye"},"review-25":{name:"Review Regular",description:"Reviewed 25 pull requests",icon:"fa-glasses"},"review-50":{name:"Review Expert",description:"Reviewed 50 pull requests",icon:"fa-user-check"},"review-100":{name:"Review Guru",description:"Reviewed 100 pull requests",icon:"fa-user-graduate"},"review-250":{name:"Review Master",description:"Reviewed 250 pull requests",icon:"fa-award"},"comment-10":{name:"Commentator",description:"Left 10 PR review comments",icon:"fa-comment"},"comment-50":{name:"Feedback Giver",description:"Left 50 PR review comments",icon:"fa-comments"},"comment-100":{name:"Code Critic",description:"Left 100 PR review comments",icon:"fa-comment-dots"},"comment-250":{name:"Feedback Expert",description:"Left 250 PR review comments",icon:"fa-message"},"comment-500":{name:"Comment Champion",description:"Left 500 PR review comments",icon:"fa-scroll"},"lines-added-100":{name:"First Hundred",description:"Added 100 lines of code",icon:"fa-plus"},"lines-added-1000":{name:"Thousand Lines",description:"Added 1000 lines of code",icon:"fa-layer-group"},"lines-added-5000":{name:"Five Thousand",description:"Added 5000 lines of code",icon:"fa-cubes"},"lines-added-10000":{name:"Ten Thousand",description:"Added 10000 lines of code",icon:"fa-mountain"},"lines-added-50000":{name:"Code Mountain",description:"Added 50000 lines of code",icon:"fa-mountain-sun"},"lines-deleted-100":{name:"Tidying Up",description:"Deleted 100 lines of code",icon:"fa-eraser"},"lines-deleted-500":{name:"Spring Cleaning",description:"Deleted 500 lines of code",icon:"fa-broom"},"lines-deleted-1000":{name:"Code Cleaner",description:"Deleted 1000 lines of code",icon:"fa-trash-can"},"lines-deleted-5000":{name:"Refactoring Hero",description:"Deleted 5000 lines of code",icon:"fa-recycle"},"lines-deleted-10000":{name:"Deletion Master",description:"Deleted 10000 lines of code",icon:"fa-dumpster-fire"},"review-time-24h":{name:"Same Day Reviewer",description:"Average review response under 24 hours",icon:"fa-clock"},"review-time-4h":{name:"Quick Responder",description:"Average review response under 4 hours",icon:"fa-stopwatch"},"review-time-1h":{name:"Speed Demon",description:"Average review response under 1 hour",icon:"fa-bolt"},"repo-2":{name:"Multi-Repo",description:"Contributed to 2 repositories",icon:"fa-folder"},"repo-5":{name:"Repo Explorer",description:"Contributed to 5 repositories",icon:"fa-folder-tree"},"repo-10":{name:"Repo Master",description:"Contributed to 10 repositories",icon:"fa-network-wired"},"reviewees-3":{name:"Helpful Colleague",description:"Reviewed PRs from 3 different contributors",icon:"fa-user-group"},"reviewees-10":{name:"Team Player",description:"Reviewed PRs from 10 different contributors",icon:"fa-people-group"},"reviewees-25":{name:"Community Pillar",description:"Reviewed PRs from 25 different contributors",icon:"fa-people-roof"},"large-pr-500":{name:"Big Change",description:"Merged a PR with 500+ lines changed",icon:"fa-expand"},"large-pr-1000":{name:"Heavy Lifter",description:"Merged a PR with 1000+ lines changed",icon:"fa-weight-hanging"},"large-pr-5000":{name:"Mega Merge",description:"Merged a PR with 5000+ lines changed",icon:"fa-dumbbell"},"small-pr-5":{name:"Small Changes",description:"Merged 5 PRs under 100 lines",icon:"fa-compress"},"small-pr-10":{name:"Small PR Advocate",description:"Merged 10 PRs under 100 lines",icon:"fa-minimize"},"small-pr-25":{name:"Atomic Commits",description:"Merged 25 PRs under 100 lines",icon:"fa-atom"},"small-pr-50":{name:"Micro PR Master",description:"Merged 50 PRs under 100 lines",icon:"fa-microchip"},"perfect-pr-1":{name:"First Try",description:"1 PR merged without changes requested",icon:"fa-check"},"perfect-pr-5":{name:"Clean Code",description:"5 PRs merged without changes requested",icon:"fa-check-double"},"perfect-pr-10":{name:"Quality Author",description:"10 PRs merged without changes requested",icon:"fa-circle-check"},"perfect-pr-25":{name:"Flawless",description:"25 PRs merged without changes requested",icon:"fa-gem"},"active-7":{name:"Week Active",description:"Active on 7 different days",icon:"fa-calendar-day"},"active-30":{name:"Month Active",description:"Active on 30 different days",icon:"fa-calendar-week"},"active-60":{name:"Consistent Contributor",description:"Active on 60 different days",icon:"fa-chart-line"},"active-100":{name:"Dedicated Developer",description:"Active on 100 different days",icon:"fa-fire-flame-curved"},"streak-3":{name:"Getting Rolling",description:"3 day contribution streak",icon:"fa-forward"},"streak-7":{name:"Week Warrior",description:"7 day contribution streak",icon:"fa-calendar-week"},"streak-14":{name:"Two Week Streak",description:"14 day contribution streak",icon:"fa-fire"},"streak-30":{name:"Month Master",description:"30 day contribution streak",icon:"fa-calendar-check"},"workweek-3":{name:"Work Week Start",description:"3 consecutive weekday streak",icon:"fa-briefcase"},"workweek-5":{name:"Full Work Week",description:"5 consecutive weekday streak",icon:"fa-building"},"workweek-10":{name:"Two Week Grind",description:"10 consecutive weekday streak",icon:"fa-business-time"},"workweek-20":{name:"Month of Mondays",description:"20 consecutive weekday streak",icon:"fa-landmark"},"earlybird-10":{name:"Early Riser",description:"10 commits before 9am",icon:"fa-mug-hot"},"earlybird-25":{name:"Morning Person",description:"25 commits before 9am",icon:"fa-cloud-sun"},"earlybird-50":{name:"Early Bird",description:"50 commits before 9am",icon:"fa-sun"},"earlybird-100":{name:"Dawn Warrior",description:"100 commits before 9am",icon:"fa-sunrise"},"nightowl-10":{name:"Late Worker",description:"10 commits after 9pm",icon:"fa-cloud-moon"},"nightowl-25":{name:"Evening Coder",description:"25 commits after 9pm",icon:"fa-moon"},"nightowl-50":{name:"Night Owl",description:"50 commits after 9pm",icon:"fa-star"},"nightowl-100":{name:"Nocturnal",description:"100 commits after 9pm",icon:"fa-star-and-crescent"},"midnight-5":{name:"Night Shift",description:"5 commits between midnight and 4am",icon:"fa-ghost"},"midnight-10":{name:"Insomniac",description:"10 commits between midnight and 4am",icon:"fa-bed"},"midnight-25":{name:"Nosferatu",description:"25 commits between midnight and 4am",icon:"fa-skull"},"midnight-50":{name:"Vampire Coder",description:"50 commits between midnight and 4am",icon:"fa-skull-crossbones"},"weekend-5":{name:"Weekend Work",description:"5 weekend commits",icon:"fa-couch"},"weekend-10":{name:"Weekend Regular",description:"10 weekend commits",icon:"fa-house-laptop"},"weekend-25":{name:"Weekend Warrior",description:"25 weekend commits",icon:"fa-gamepad"},"weekend-50":{name:"No Days Off",description:"50 weekend commits",icon:"fa-person-running"},"ooh-10":{name:"Extra Hours",description:"10 commits outside 9am-5pm",icon:"fa-clock-rotate-left"},"ooh-25":{name:"Flexible Schedule",description:"25 commits outside 9am-5pm",icon:"fa-user-clock"},"ooh-50":{name:"Off-Hours Hero",description:"50 commits outside 9am-5pm",icon:"fa-hourglass-half"},"ooh-100":{name:"Time Bender",description:"100 commits outside 9am-5pm",icon:"fa-infinity"},"docs-100":{name:"Documenter",description:"Added 100 lines of comments/docs",icon:"fa-file-lines"},"docs-500":{name:"Technical Writer",description:"Added 500 lines of comments/docs",icon:"fa-book"},"docs-1000":{name:"Documentation Hero",description:"Added 1000 lines of comments/docs",icon:"fa-book-open"},"docs-2500":{name:"Knowledge Keeper",description:"Added 2500 lines of comments/docs",icon:"fa-scroll"},"docs-5000":{name:"Code Historian",description:"Added 5000 lines of comments/docs",icon:"fa-landmark"},"docs-del-50":{name:"Comment Trimmer",description:"Removed 50 lines of outdated comments",icon:"fa-scissors"},"docs-del-200":{name:"Cleanup Crew",description:"Removed 200 lines of outdated comments",icon:"fa-broom"},"docs-del-500":{name:"Dead Code Hunter",description:"Removed 500 lines of outdated comments",icon:"fa-skull-crossbones"},"docs-del-1000":{name:"Comment Surgeon",description:"Removed 1000 lines of outdated comments",icon:"fa-user-doctor"},"docs-del-2500":{name:"Noise Eliminator",description:"Removed 2500 lines of outdated comments",icon:"fa-volume-xmark"},"issue-1":{name:"Bug Hunter",description:"Opened your first issue",icon:"fa-bug"},"issue-5":{name:"Issue Reporter",description:"Opened 5 issues",icon:"fa-flag"},"issue-10":{name:"Quality Advocate",description:"Opened 10 issues",icon:"fa-clipboard-list"},"issue-25":{name:"Issue Expert",description:"Opened 25 issues",icon:"fa-list-check"},"issue-50":{name:"Issue Champion",description:"Opened 50 issues",icon:"fa-bullhorn"},"issue-close-1":{name:"Problem Solver",description:"Closed your first issue",icon:"fa-circle-check"},"issue-close-5":{name:"Bug Squasher",description:"Closed 5 issues",icon:"fa-bug-slash"},"issue-close-10":{name:"Issue Resolver",description:"Closed 10 issues",icon:"fa-check-double"},"issue-close-25":{name:"Closure Expert",description:"Closed 25 issues",icon:"fa-square-check"},"issue-close-50":{name:"Issue Terminator",description:"Closed 50 issues",icon:"fa-crosshairs"},"issue-comment-5":{name:"Issue Commenter",description:"Left 5 issue comments",icon:"fa-comment"},"issue-comment-10":{name:"Discussion Starter",description:"Left 10 issue comments",icon:"fa-comments"},"issue-comment-25":{name:"Issue Collaborator",description:"Left 25 issue comments",icon:"fa-people-arrows"},"issue-comment-50":{name:"Community Voice",description:"Left 50 issue comments",icon:"fa-bullhorn"},"issue-comment-100":{name:"Issue Guru",description:"Left 100 issue comments",icon:"fa-graduation-cap"},"issue-ref-5":{name:"Issue Linker",description:"Referenced issues in 5 commits",icon:"fa-link"},"issue-ref-10":{name:"Commit Connector",description:"Referenced issues in 10 commits",icon:"fa-diagram-project"},"issue-ref-25":{name:"Traceability Pro",description:"Referenced issues in 25 commits",icon:"fa-sitemap"},"issue-ref-50":{name:"Issue Tracker",description:"Referenced issues in 50 commits",icon:"fa-chart-gantt"},"issue-ref-100":{name:"Traceability Master",description:"Referenced issues in 100 commits",icon:"fa-network-wired"}},i=a=>{const c=o[a]||{name:a,description:"",icon:"fa-medal"},u=r(a),d=s(u),m=t[d]||"from-gray-400 to-gray-500";return{...c,gradient:m,tier:d,threshold:u}},l={sm:{wrapper:"w-9 h-9",icon:"text-sm",radius:"rounded-lg"},md:{wrapper:"w-11 h-11",icon:"text-base",radius:"rounded-xl"},lg:{wrapper:"w-14 h-14",icon:"text-lg",radius:"rounded-xl"}};return(a,c)=>(y(),R("div",Vu,[n("div",{class:"relative group/badge",title:i(e.achievementId).name},[n("div",{class:Y(["flex items-center justify-center bg-gradient-to-br shadow-lg hover:scale-105 hover:shadow-xl transition-all duration-200 cursor-pointer",[l[e.size].wrapper,l[e.size].radius,i(e.achievementId).gradient]])},[n("i",{class:Y(["fas text-white drop-shadow-sm",[i(e.achievementId).icon,l[e.size].icon]])},null,2)],2),n("div",Bu,[n("div",Gu,b(i(e.achievementId).name),1),n("div",Uu,b(i(e.achievementId).description),1),c[0]||(c[0]=n("div",{class:"absolute top-full left-1/2 -translate-x-1/2 border-[6px] border-transparent border-t-gray-800"},null,-1))])],8,Hu),e.showLabel?(y(),R("span",Wu,b(i(e.achievementId).name),1)):B("",!0)]))}},qu={class:"flex flex-col h-full"},Ku={class:"flex items-start justify-between mb-4"},zu={class:"flex items-center gap-4"},Qu={class:"relative"},Ju={class:"font-bold text-lg text-white group-hover:text-primary-500 transition-colors"},Yu={class:"text-sm text-gray-400"},Xu={key:0,class:"text-xs text-accent-500 mt-0.5"},Zu={class:"flex items-center justify-between py-3 px-4 -mx-2 rounded-lg bg-gradient-to-r from-primary-900/20 to-accent-900/20 mb-4"},ed={class:"text-2xl font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},td={key:0,class:"mt-auto"},sd={class:"flex flex-wrap gap-1.5"},nd={key:0,class:"inline-flex items-center justify-center px-2 h-7 rounded-lg bg-gray-700 text-gray-300 text-xs font-bold"},rd={__name:"ContributorCard",props:{contributor:{type:Object,required:!0},rank:{type:Number,default:0},showRank:{type:Boolean,default:!0},featured:{type:Boolean,default:!1}},setup(e){return(t,s)=>(y(),Z(E(_e),{to:{name:"contributor",params:{login:e.contributor.login}},class:"block group"},{default:j(()=>[A(ue,{hover:"",class:Y(["animate-[fadeInUp_0.6s_ease-out] h-full",e.featured&&e.rank===1?"ring-2 ring-yellow-400":"",e.featured&&e.rank===2?"ring-2 ring-gray-300":"",e.featured&&e.rank===3?"ring-2 ring-amber-600":""])},{default:j(()=>[n("div",qu,[n("div",Ku,[n("div",zu,[n("div",Qu,[A(rs,{src:e.contributor.avatar_url,name:e.contributor.login,size:e.featured?"xl":"lg",class:"ring-2 ring-gray-700"},null,8,["src","name","size"]),e.showRank&&e.rank>0?(y(),Z(jn,{key:0,rank:e.rank,size:"sm",class:"absolute -bottom-1 -right-1"},null,8,["rank"])):B("",!0)]),n("div",null,[n("h3",Ju,b(e.contributor.name||e.contributor.login),1),n("p",Yu," @"+b(e.contributor.login),1),e.contributor.team?(y(),R("p",Xu,b(e.contributor.team),1)):B("",!0)])])]),n("div",Zu,[s[0]||(s[0]=n("span",{class:"text-sm font-medium text-gray-300"},"Score",-1)),n("span",ed,b(E(q)(e.contributor.score?.total||e.contributor.score||0)),1)]),e.contributor.achievements?.length?(y(),R("div",td,[s[1]||(s[1]=n("div",{class:"text-xs font-medium text-gray-400 mb-2"},"Achievements",-1)),n("div",sd,[(y(!0),R(X,null,xe(e.contributor.achievements.slice(0,8),r=>(y(),Z(ss,{key:r,"achievement-id":r,size:"sm"},null,8,["achievement-id"]))),128)),e.contributor.achievements.length>8?(y(),R("span",nd," +"+b(e.contributor.achievements.length-8),1)):B("",!0)])])):B("",!0)])]),_:1},8,["class"])]),_:1},8,["to"]))}},od={class:"flex items-center justify-between mb-4"},id={class:"font-semibold text-white group-hover:text-primary-500 transition"},ld={class:"text-sm text-gray-400 mb-4"},ad={class:"grid grid-cols-3 gap-4 text-center"},cd={class:"text-lg font-semibold text-white"},ud={class:"text-lg font-semibold text-white"},dd={class:"text-lg font-semibold text-white"},fd={__name:"RepoCard",props:{repo:{type:Object,required:!0}},setup(e){return(t,s)=>(y(),Z(E(_e),{to:`/repos/${e.repo.owner}/${e.repo.name}`,class:"block group"},{default:j(()=>[A(ue,{hover:""},{default:j(()=>[n("div",od,[n("h3",id,b(e.repo.name),1),s[0]||(s[0]=n("i",{class:"fas fa-arrow-right text-gray-400 group-hover:text-primary-500 transition"},null,-1))]),n("p",ld,b(e.repo.owner)+"/"+b(e.repo.name),1),n("div",ad,[n("div",null,[n("div",cd,b(E(q)(e.repo.total_commits)),1),s[1]||(s[1]=n("div",{class:"text-xs text-gray-400"},"Commits",-1))]),n("div",null,[n("div",ud,b(E(q)(e.repo.total_prs)),1),s[2]||(s[2]=n("div",{class:"text-xs text-gray-400"},"PRs",-1))]),n("div",null,[n("div",dd,b(e.repo.active_contributors),1),s[3]||(s[3]=n("div",{class:"text-xs text-gray-400"},"Contributors",-1))])])]),_:1})]),_:1},8,["to"]))}},md={class:"flex items-center justify-between mb-4"},pd={class:"font-semibold text-white group-hover:text-primary-500 transition"},gd={class:"flex items-center space-x-2 mb-4"},hd={key:0,class:"w-8 h-8 rounded-full bg-gray-700 flex items-center justify-center text-gray-300 text-xs font-bold"},xd={class:"grid grid-cols-2 gap-4 text-center"},yd={class:"text-lg font-semibold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},bd={class:"text-lg font-semibold text-white"},vd={__name:"TeamCard",props:{team:{type:Object,required:!0}},setup(e){return(t,s)=>(y(),Z(E(_e),{to:`/teams/${E($i)(e.team.name)}`,class:"block group"},{default:j(()=>[A(ue,{hover:""},{default:j(()=>[n("div",md,[n("h3",pd,b(e.team.name),1),n("span",{class:"w-3 h-3 rounded-full",style:Pt({backgroundColor:e.team.color||"#8b5cf6"})},null,4)]),n("div",gd,[(y(!0),R(X,null,xe((e.team.member_metrics||[]).slice(0,5),r=>(y(),Z(rs,{key:r.login,name:r.name||r.login,src:r.avatar_url,size:"sm"},null,8,["name","src"]))),128)),(e.team.member_metrics?.length||0)>5?(y(),R("span",hd," +"+b(e.team.member_metrics.length-5),1)):B("",!0)]),n("div",xd,[n("div",null,[n("div",yd,b(E(q)(e.team.total_score)),1),s[0]||(s[0]=n("div",{class:"text-xs text-gray-400"},"Total Score",-1))]),n("div",null,[n("div",bd,b(e.team.members?.length||0),1),s[1]||(s[1]=n("div",{class:"text-xs text-gray-400"},"Members",-1))])])]),_:1})]),_:1},8,["to"]))}},_d={class:"text-2xl font-bold text-white mb-6"},We={__name:"SectionHeader",props:{title:{type:String,required:!0},icon:{type:String,default:""},iconColor:{type:String,default:"text-primary-500"}},setup(e){return(t,s)=>(y(),R("h2",_d,[e.icon?(y(),R("i",{key:0,class:Y([[e.icon,e.iconColor],"mr-2"])},null,2)):B("",!0),C(b(e.title)+" ",1),Et(t.$slots,"suffix")]))}},wd=(e,t)=>{const s=e.__vccOpts||e;for(const[r,o]of t)s[r]=o;return s},Cd={key:0,class:"flex items-center justify-center h-full"},Rd={__name:"VelocityChart",props:{timeline:{type:Object,required:!0},height:{type:String,default:"300px"},showScore:{type:Boolean,default:!1}},setup(e){dr.register(...Li);const t=e,s=we(null);let r=null;const o=ee(()=>t.timeline?.series?t.timeline.series.filter(p=>t.showScore||p.name!=="Score"):[]),i=ee(()=>!t.timeline?.labels||!o.value.length?{labels:[],datasets:[]}:{labels:t.timeline.labels,datasets:o.value.map(p=>({label:p.name,data:p.data,borderColor:p.color,backgroundColor:p.color+"20",fill:!0,tension:.4,pointRadius:3,pointHoverRadius:5}))}),l=we(window.innerWidth<640),a={gridColor:"rgba(255, 255, 255, 0.1)",textColor:"rgba(255, 255, 255, 0.7)",tooltipBg:"rgba(30, 30, 30, 0.95)",tooltipText:"#fff",tooltipBorder:"rgba(255, 255, 255, 0.1)"},c=ee(()=>({responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{position:"top",labels:{usePointStyle:!0,padding:l.value?10:20,boxWidth:l.value?8:12,color:a.textColor,font:{size:l.value?10:12}}},tooltip:{backgroundColor:a.tooltipBg,titleColor:a.tooltipText,bodyColor:a.tooltipText,borderColor:a.tooltipBorder,borderWidth:1,padding:l.value?8:12,titleFont:{size:l.value?12:14},bodyFont:{size:l.value?11:13},callbacks:{label:p=>`${p.dataset.label}: ${p.parsed.y.toLocaleString()}`}}},scales:{x:{grid:{display:!1},ticks:{color:a.textColor,font:{size:l.value?9:11},maxRotation:l.value?45:0,autoSkip:!0,maxTicksLimit:l.value?6:12}},y:{beginAtZero:!0,grid:{color:a.gridColor},ticks:{color:a.textColor,font:{size:l.value?9:11},callback:p=>p>=1e3?(p/1e3).toFixed(1)+"k":p}}}}));function u(){if(!s.value||!i.value.labels.length)return;r&&r.destroy();const p=s.value.getContext("2d");r=new dr(p,{type:"line",data:i.value,options:c.value})}function d(){r?(r.data=i.value,r.update()):u()}function m(){const p=window.innerWidth<640;p!==l.value&&(l.value=p,u())}return ns(()=>{u(),window.addEventListener("resize",m)}),Zn(()=>{window.removeEventListener("resize",m),r&&r.destroy()}),Ke(()=>t.timeline,()=>{d()},{deep:!0}),Ke(()=>t.showScore,()=>{d()}),(p,h)=>(y(),R("div",{class:"velocity-chart",style:Pt({height:e.height})},[n("canvas",{ref_key:"chartRef",ref:s},null,512),e.timeline?.labels?.length?B("",!0):(y(),R("div",Cd,[...h[0]||(h[0]=[n("p",{class:"text-gray-400"},"No velocity data available",-1)])]))],4))}},kd=wd(Rd,[["__scopeId","data-v-d004777b"]]),Sd={class:"py-10 sm:py-16 px-4"},Ad={class:"container mx-auto text-center animate-[fadeInUp_0.6s_ease-out]"},Ed={class:"flex flex-col items-center space-y-2 mt-4 text-sm text-gray-400"},Pd={key:0},Td={key:0},$d={key:1},Od={key:2},Id={key:1},Md={key:0,class:"py-6 sm:py-8 px-4"},Nd={class:"container mx-auto"},Dd={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 mb-4 sm:mb-6"},jd={class:"flex items-center space-x-2 text-sm text-gray-400 cursor-pointer"},Ld={class:"h-[200px] sm:h-[280px] md:h-[320px]"},Fd={class:"py-8 px-4"},Vd={class:"container mx-auto"},Hd={class:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4"},Bd={class:"py-8 px-4"},Gd={class:"container mx-auto"},Ud={class:"grid md:grid-cols-3 gap-6"},Wd={class:"mt-6 text-center"},qd={class:"py-8 px-4"},Kd={class:"container mx-auto"},zd={class:"grid md:grid-cols-2 lg:grid-cols-3 gap-6"},Qd={key:1,class:"py-8 px-4"},Jd={class:"container mx-auto"},Yd={class:"grid md:grid-cols-2 lg:grid-cols-3 gap-6"},Xd={__name:"Dashboard",setup(e){const t=Te("globalData"),s=ee(()=>t.value||{}),r=ee(()=>s.value.leaderboard?.slice(0,3)||[]),o=ee(()=>s.value.repositories||[]),i=ee(()=>s.value.teams||[]),l=ee(()=>s.value.velocity_timeline),a=we(!1);return(c,u)=>(y(),R("div",null,[n("header",Sd,[n("div",Ad,[u[4]||(u[4]=n("h1",{class:"text-3xl sm:text-4xl md:text-6xl font-bold mb-3 sm:mb-4"},[n("span",{class:"bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},"Git Velocity")],-1)),u[5]||(u[5]=n("p",{class:"text-base sm:text-xl text-gray-300 max-w-2xl mx-auto px-2"}," Celebrate your team's achievements and contributions with beautiful insights. ",-1)),n("div",Ed,[s.value.period?.start||s.value.period?.end?(y(),R("p",Pd,[u[1]||(u[1]=n("i",{class:"fas fa-calendar-alt mr-1 text-primary-500"},null,-1)),u[2]||(u[2]=n("span",{class:"font-medium"},"Period:",-1)),s.value.period.start?(y(),R("span",Td,b(E(_n)(s.value.period.start)),1)):B("",!0),s.value.period.start&&s.value.period.end?(y(),R("span",$d," — ")):B("",!0),s.value.period.end?(y(),R("span",Od,b(E(_n)(s.value.period.end)),1)):B("",!0)])):B("",!0),s.value.generated_at?(y(),R("p",Id,[u[3]||(u[3]=n("i",{class:"fas fa-clock mr-1"},null,-1)),C(" Generated on "+b(E(_n)(s.value.generated_at)),1)])):B("",!0)])])]),l.value?(y(),R("section",Md,[n("div",Nd,[A(ue,null,{default:j(()=>[n("div",Dd,[A(We,{title:"Velocity Timeline",icon:"fas fa-chart-line","icon-color":"text-primary-500"}),n("label",jd,[Yn(n("input",{type:"checkbox","onUpdate:modelValue":u[0]||(u[0]=d=>a.value=d),class:"rounded border-gray-600 text-primary-500 focus:ring-primary-500"},null,512),[[ec,a.value]]),u[6]||(u[6]=n("span",null,"Show Score",-1))])]),n("div",Ld,[A(kd,{timeline:l.value,"show-score":a.value,height:"100%"},null,8,["timeline","show-score"])])]),_:1})])])):B("",!0),n("section",Fd,[n("div",Vd,[n("div",Hd,[A(Re,{value:s.value.total_contributors||0,label:"Contributors",delay:"0s"},null,8,["value"]),A(Re,{value:s.value.total_commits||0,label:"Commits",delay:"0.1s"},null,8,["value"]),A(Re,{value:s.value.total_prs||0,label:"Pull Requests",delay:"0.2s"},null,8,["value"]),A(Re,{value:s.value.total_reviews||0,label:"Reviews",delay:"0.3s"},null,8,["value"]),A(Re,{value:"+"+E(q)(s.value.total_lines_added||0),label:"Lines Added","value-class":"text-green-500",delay:"0.4s"},null,8,["value"]),A(Re,{value:"-"+E(q)(s.value.total_lines_deleted||0),label:"Lines Deleted","value-class":"text-red-500",delay:"0.5s"},null,8,["value"])])])]),n("section",Bd,[n("div",Gd,[A(We,{title:"Top Contributors",icon:"fas fa-trophy","icon-color":"text-yellow-500"}),n("div",Ud,[(y(!0),R(X,null,xe(r.value,(d,m)=>(y(),Z(rd,{key:d.login,contributor:d,rank:m+1,featured:""},null,8,["contributor","rank"]))),128))]),n("div",Wd,[A(E(_e),{to:"/leaderboard",class:"inline-flex items-center px-6 py-3 bg-gradient-to-r from-primary-500 to-accent-500 text-white font-medium rounded-lg shadow-lg hover:from-primary-600 hover:to-accent-600 transition-all"},{default:j(()=>[...u[7]||(u[7]=[C(" View Full Leaderboard ",-1),n("i",{class:"fas fa-arrow-right ml-2"},null,-1)])]),_:1})])])]),n("section",qd,[n("div",Kd,[A(We,{title:"Repositories",icon:"fas fa-code-branch","icon-color":"text-accent-500"}),n("div",zd,[(y(!0),R(X,null,xe(o.value,d=>(y(),Z(fd,{key:`${d.owner}/${d.name}`,repo:d},null,8,["repo"]))),128))])])]),i.value.length?(y(),R("section",Qd,[n("div",Jd,[A(We,{title:"Teams",icon:"fas fa-users","icon-color":"text-blue-500"}),n("div",Yd,[(y(!0),R(X,null,xe(i.value,d=>(y(),Z(vd,{key:d.name,team:d},null,8,["team"]))),128))])])])):B("",!0)]))}},Zd={class:"flex items-center space-x-2 text-sm text-gray-400 mb-6"},ef={key:2,class:"fas fa-chevron-right text-xs"},tf={__name:"Breadcrumb",props:{items:{type:Array,required:!0}},setup(e){return(t,s)=>(y(),R("div",Zd,[(y(!0),R(X,null,xe(e.items,(r,o)=>(y(),R(X,{key:o},[r.to?(y(),Z(E(_e),{key:0,to:r.to,class:"hover:text-primary-500"},{default:j(()=>[C(b(r.label),1)]),_:2},1032,["to"])):(y(),R("span",{key:1,class:Y(o===e.items.length-1?"text-white":"")},b(r.label),3)),o<e.items.length-1?(y(),R("i",ef)):B("",!0)],64))),128))]))}},sf={class:"py-12 px-4"},nf={class:"text-4xl font-bold mb-4"},rf={class:"bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},of={key:1,class:"text-gray-300"},ln={__name:"PageHeader",props:{title:{type:String,required:!0},subtitle:{type:String,default:""},icon:{type:String,default:""},iconColor:{type:String,default:"text-primary-500"},breadcrumbs:{type:Array,default:()=>[]},centered:{type:Boolean,default:!1}},setup(e){return(t,s)=>(y(),R("header",sf,[n("div",{class:Y(["container mx-auto",{"text-center":e.centered}])},[e.breadcrumbs.length?(y(),Z(tf,{key:0,items:e.breadcrumbs},null,8,["items"])):B("",!0),n("div",{class:Y(["flex items-center",e.centered?"justify-center":""])},[Et(t.$slots,"prefix"),n("h1",nf,[e.icon?(y(),R("i",{key:0,class:Y([[e.icon,e.iconColor],"mr-3"])},null,2)):B("",!0),n("span",rf,b(e.title),1)])],2),e.subtitle||t.$slots.subtitle?(y(),R("p",of,[Et(t.$slots,"subtitle",{},()=>[C(b(e.subtitle),1)])])):B("",!0),Et(t.$slots,"extra")],2)]))}},lf={class:"w-full"},af={class:"bg-gray-800/50"},cf={class:"divide-y divide-gray-700"},uf=["onClick"],df={key:0,class:"text-center py-12"},ff={class:"text-gray-400"},Oi={__name:"DataTable",props:{columns:{type:Array,required:!0},items:{type:Array,default:()=>[]},emptyIcon:{type:String,default:"fas fa-inbox"},emptyMessage:{type:String,default:"No data found"},rowClass:{type:String,default:"hover:bg-gray-800/30 transition"},clickableRows:{type:Boolean,default:!1}},emits:["row-click"],setup(e){const t=s=>{switch(s){case"center":return"text-center";case"right":return"text-right";default:return"text-left"}};return(s,r)=>(y(),Z(ue,{padding:!1,class:"overflow-hidden"},{default:j(()=>[n("table",lf,[n("thead",af,[n("tr",null,[(y(!0),R(X,null,xe(e.columns,o=>(y(),R("th",{key:o.key,class:Y(["px-3 sm:px-6 py-3 sm:py-4 text-xs font-semibold text-gray-400 uppercase tracking-wider",t(o.align),o.headerClass])},b(o.label),3))),128))])]),n("tbody",cf,[(y(!0),R(X,null,xe(e.items,(o,i)=>(y(),R("tr",{key:o.id||o.login||i,class:Y([e.rowClass,{"cursor-pointer":e.clickableRows}]),onClick:l=>e.clickableRows&&s.$emit("row-click",o)},[(y(!0),R(X,null,xe(e.columns,l=>(y(),R("td",{key:l.key,class:Y(["px-3 sm:px-6 py-3 sm:py-4",t(l.align),l.class])},[Et(s.$slots,l.key,{item:o,index:i},()=>[C(b(o[l.key]),1)])],2))),128))],10,uf))),128))])]),e.items.length?B("",!0):(y(),R("div",df,[n("i",{class:Y([e.emptyIcon,"text-4xl text-gray-600 mb-4"])},null,2),n("p",ff,b(e.emptyMessage),1)]))]),_:3}))}},mf={class:"font-medium text-white group-hover:text-primary-500 transition-colors"},pf={class:"text-sm"},gf=["href"],hf={key:1,class:"font-medium text-gray-400"},Ii={__name:"ContributorRow",props:{contributor:{type:Object,required:!0},showGithubLink:{type:Boolean,default:!1},columns:{type:Array,default:()=>["commits","prs","reviews","lines","score"]}},setup(e){return(t,s)=>(y(),Z(E(_e),{to:{name:"contributor",params:{login:e.contributor.login}},class:"flex items-center space-x-3"},{default:j(()=>[A(rs,{src:e.contributor.avatar_url,name:e.contributor.login,class:"ring-2 ring-transparent group-hover:ring-primary-500 transition-all"},null,8,["src","name"]),n("div",null,[n("div",mf,b(e.contributor.name||e.contributor.login),1),n("div",pf,[e.showGithubLink?(y(),R("a",{key:0,href:`https://github.com/${e.contributor.login}`,target:"_blank",rel:"noopener noreferrer",class:"font-medium text-gray-400 hover:text-primary-500 transition-colors",onClick:s[0]||(s[0]=yi(()=>{},["stop"]))},[C(" @"+b(e.contributor.login)+" ",1),s[1]||(s[1]=n("i",{class:"fas fa-external-link-alt text-xs ml-1 opacity-50"},null,-1))],8,gf)):(y(),R("span",hf," @"+b(e.contributor.login),1))])])]),_:1},8,["to"]))}},Mi={commit:["commit-1","commit-10","commit-50","commit-100","commit-500","commit-1000"],pr:["pr-1","pr-10","pr-25","pr-50","pr-100","pr-250"],review:["review-1","review-10","review-25","review-50","review-100","review-250"],comment:["comment-10","comment-50","comment-100","comment-250","comment-500"],"lines-added":["lines-added-100","lines-added-1000","lines-added-5000","lines-added-10000","lines-added-50000"],"lines-deleted":["lines-deleted-100","lines-deleted-500","lines-deleted-1000","lines-deleted-5000","lines-deleted-10000"],"review-time":["review-time-24h","review-time-4h","review-time-1h"],repo:["repo-2","repo-5","repo-10"],reviewees:["reviewees-3","reviewees-10","reviewees-25"],"large-pr":["large-pr-500","large-pr-1000","large-pr-5000"],"small-pr":["small-pr-5","small-pr-10","small-pr-25","small-pr-50"],"perfect-pr":["perfect-pr-1","perfect-pr-5","perfect-pr-10","perfect-pr-25"],active:["active-7","active-30","active-60","active-100"],streak:["streak-3","streak-7","streak-14","streak-30"],workweek:["workweek-3","workweek-5","workweek-10","workweek-20"],earlybird:["earlybird-10","earlybird-25","earlybird-50","earlybird-100"],nightowl:["nightowl-10","nightowl-25","nightowl-50","nightowl-100"],midnight:["midnight-5","midnight-10","midnight-25","midnight-50"],weekend:["weekend-5","weekend-10","weekend-25","weekend-50"],ooh:["ooh-10","ooh-25","ooh-50","ooh-100"],docs:["docs-100","docs-500","docs-1000","docs-2500","docs-5000"],"docs-del":["docs-del-50","docs-del-200","docs-del-500","docs-del-1000","docs-del-2500"],issue:["issue-1","issue-5","issue-10","issue-25","issue-50"],"issue-close":["issue-close-1","issue-close-5","issue-close-10","issue-close-25","issue-close-50"],"issue-comment":["issue-comment-5","issue-comment-10","issue-comment-25","issue-comment-50","issue-comment-100"],"issue-ref":["issue-ref-5","issue-ref-10","issue-ref-25","issue-ref-50","issue-ref-100"]};function Ni(e){for(const[t,s]of Object.entries(Mi))if(s.includes(e))return t;return null}function xf(e){const t=Ni(e);return t?Mi[t].indexOf(e):-1}function ds(e){if(!e||!e.length)return[];const t={};for(const s of e){const r=Ni(s);if(!r){t[s]={id:s,tier:-1};continue}const o=xf(s);(!t[r]||o>t[r].tier)&&(t[r]={id:s,tier:o})}return Object.values(t).sort((s,r)=>r.tier-s.tier).map(s=>s.id)}const yf={class:"py-4 sm:py-8 px-4"},bf={class:"container mx-auto max-w-5xl"},vf={class:"mb-4 sm:mb-6"},_f={class:"relative"},wf={key:0,class:"mt-2 text-sm text-gray-400"},Cf={class:"md:hidden space-y-3"},Rf={class:"flex items-center gap-3"},kf={class:"flex-1 min-w-0"},Sf={class:"font-semibold text-white truncate"},Af={class:"text-xs text-gray-400 truncate"},Ef={class:"text-right"},Pf={class:"text-lg font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},Tf={key:0,class:"mt-3 pt-3 border-t border-gray-700"},$f={class:"flex flex-wrap gap-1.5"},Of={key:0,class:"inline-flex items-center justify-center px-2 h-7 rounded-lg bg-gray-700 text-gray-300 text-xs font-bold"},If={key:0,class:"text-center py-12"},Mf={class:"hidden md:block"},Nf={class:"hidden md:table-cell"},Df={class:"flex flex-wrap gap-1.5 max-w-[280px]"},jf={key:0,class:"text-gray-400 text-sm"},Lf={class:"hidden xl:table-cell"},Ff={key:0,class:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-purple-900/30 text-purple-300"},Vf={key:1,class:"text-gray-400"},Hf={class:"text-lg font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},Bf={__name:"Leaderboard",setup(e){const t=Te("globalData"),s=we(""),r=ee(()=>t.value?.leaderboard||[]),o=ee(()=>{if(!s.value.trim())return r.value;const l=s.value.toLowerCase().trim();return r.value.filter(a=>{const c=(a.name||"").toLowerCase(),u=(a.login||"").toLowerCase();return c.includes(l)||u.includes(l)})}),i=[{key:"rank",label:"Rank",align:"left"},{key:"contributor",label:"Contributor",align:"left"},{key:"achievements",label:"Achievements",align:"left",headerClass:"hidden md:table-cell"},{key:"team",label:"Team",align:"left",headerClass:"hidden xl:table-cell"},{key:"score",label:"Score",align:"right"}];return(l,a)=>(y(),R("div",null,[A(ln,{title:"Leaderboard",subtitle:"Top contributors ranked by their velocity score",icon:"fas fa-trophy","icon-color":"text-yellow-500",centered:""}),n("section",yf,[n("div",bf,[n("div",vf,[n("div",_f,[a[3]||(a[3]=n("i",{class:"fas fa-search absolute left-3 top-1/2 -translate-y-1/2 text-gray-500"},null,-1)),Yn(n("input",{"onUpdate:modelValue":a[0]||(a[0]=c=>s.value=c),type:"text",placeholder:"Search contributors...",class:"w-full pl-10 pr-10 py-2.5 rounded-lg border border-gray-700 bg-gray-800 text-gray-100 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent transition text-sm sm:text-base"},null,512),[[hi,s.value]]),s.value?(y(),R("button",{key:0,onClick:a[1]||(a[1]=c=>s.value=""),class:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-200"},[...a[2]||(a[2]=[n("i",{class:"fas fa-times"},null,-1)])])):B("",!0)]),s.value&&o.value.length!==r.value.length?(y(),R("p",wf," Showing "+b(o.value.length)+" of "+b(r.value.length)+" contributors ",1)):B("",!0)]),n("div",Cf,[(y(!0),R(X,null,xe(o.value,c=>(y(),Z(E(_e),{key:c.login,to:{name:"contributor",params:{login:c.login}},class:"block"},{default:j(()=>[A(ue,{hover:"",class:"!p-4"},{default:j(()=>[n("div",Rf,[A(jn,{rank:c.rank,size:"sm"},null,8,["rank"]),A(rs,{src:c.avatar_url,name:c.login,size:"md"},null,8,["src","name"]),n("div",kf,[n("div",Sf,b(c.name||c.login),1),n("div",Af," @"+b(c.login),1)]),n("div",Ef,[n("div",Pf,b(E(q)(c.score)),1),a[4]||(a[4]=n("div",{class:"text-xs text-gray-400"},"pts",-1))])]),c.achievements?.length?(y(),R("div",Tf,[n("div",$f,[(y(!0),R(X,null,xe(E(ds)(c.achievements).slice(0,6),u=>(y(),Z(ss,{key:u,"achievement-id":u,size:"sm"},null,8,["achievement-id"]))),128)),E(ds)(c.achievements).length>6?(y(),R("span",Of," +"+b(E(ds)(c.achievements).length-6),1)):B("",!0)])])):B("",!0)]),_:2},1024)]),_:2},1032,["to"]))),128)),o.value.length?B("",!0):(y(),R("div",If,[...a[5]||(a[5]=[n("i",{class:"fas fa-users text-4xl text-gray-500 mb-4"},null,-1),n("p",{class:"text-gray-400"},"No contributors found",-1)])]))]),n("div",Mf,[A(Oi,{columns:i,items:o.value,"empty-icon":"fas fa-users","empty-message":"No contributors found","row-class":"hover:bg-gray-800/30 transition group"},{rank:j(({item:c})=>[A(jn,{rank:c.rank},null,8,["rank"])]),contributor:j(({item:c})=>[A(Ii,{contributor:c,"show-github-link":""},null,8,["contributor"])]),achievements:j(({item:c})=>[n("td",Nf,[n("div",Df,[(y(!0),R(X,null,xe(E(ds)(c.achievements),u=>(y(),Z(ss,{key:u,"achievement-id":u,size:"sm"},null,8,["achievement-id"]))),128)),(c.achievements||[]).length?B("",!0):(y(),R("span",jf,"-"))])])]),team:j(({item:c})=>[n("td",Lf,[c.team?(y(),R("span",Ff,b(c.team),1)):(y(),R("span",Vf,"-"))])]),score:j(({item:c})=>[n("span",Hf,b(E(q)(c.score)),1)]),_:1},8,["items"])])])])]))}},Gf={class:"flex items-center justify-center min-h-[60vh]"},Uf={class:"text-center"},Wf={class:"text-gray-400"},ir={__name:"LoadingState",props:{message:{type:String,default:"Loading..."}},setup(e){return(t,s)=>(y(),R("div",Gf,[n("div",Uf,[s[0]||(s[0]=n("i",{class:"fas fa-spinner fa-spin text-4xl text-primary-500 mb-4"},null,-1)),n("p",Wf,b(e.message),1)])]))}},qf={class:"flex items-center justify-center min-h-[60vh]"},Kf={class:"text-center"},zf={class:"text-gray-400"},lr={__name:"ErrorState",props:{message:{type:String,default:"An error occurred"},icon:{type:String,default:"fas fa-exclamation-triangle"}},setup(e){return(t,s)=>(y(),R("div",qf,[n("div",Kf,[n("i",{class:Y([e.icon,"text-4xl text-red-500 mb-4"])},null,2),n("p",zf,b(e.message),1),Et(t.$slots,"actions")])]))}},Qf=["href"],Jf={key:0,class:"fas fa-external-link-alt text-xs ml-1 opacity-50"},Di={__name:"GithubLink",props:{url:{type:String,required:!0},label:{type:String,default:""},showIcon:{type:Boolean,default:!0}},setup(e){return(t,s)=>(y(),R("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",class:"hover:text-primary-500 transition-colors",onClick:s[0]||(s[0]=yi(()=>{},["stop"]))},[Et(t.$slots,"default",{},()=>[C(b(e.label),1)]),e.showIcon?(y(),R("i",Jf)):B("",!0)],8,Qf))}},Yf={class:"py-8 px-4"},Xf={class:"container mx-auto"},Zf={class:"grid grid-cols-2 md:grid-cols-4 gap-4"},em={class:"py-8 px-4"},tm={class:"container mx-auto"},sm={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6"},nm={class:"relative w-full sm:w-72 lg:w-96"},rm={key:0,class:"mb-4 text-sm text-gray-400"},om={class:"text-white"},im={class:"text-white"},lm={class:"text-white"},am={class:"text-green-500"},cm={class:"text-red-500"},um={class:"text-lg font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},dm={__name:"Repository",setup(e){const t=on(),s=we(null),r=we(!0),o=we(null),i=we(""),l=ee(()=>s.value?.contributors||[]),a=ee(()=>{if(!i.value.trim())return l.value;const m=i.value.toLowerCase().trim();return l.value.filter(p=>{const h=(p.name||"").toLowerCase(),P=(p.login||"").toLowerCase();return h.includes(m)||P.includes(m)})}),c=ee(()=>[{label:"Dashboard",to:"/"},{label:"Repositories"},{label:s.value?.name||t.params.name}]),u=[{key:"contributor",label:"Contributor",align:"left"},{key:"commits",label:"Commits",align:"center"},{key:"prs",label:"PRs",align:"center"},{key:"reviews",label:"Reviews",align:"center"},{key:"lines",label:"Lines +/-",align:"center"},{key:"score",label:"Score",align:"right"}];async function d(){r.value=!0,o.value=null;try{const m=await fetch(`./data/repos/${t.params.owner}/${t.params.name}/metrics.json`);if(!m.ok)throw new Error("Repository not found");s.value=await m.json()}catch(m){o.value=m.message}finally{r.value=!1}}return ns(d),Ke(()=>t.params,d),(m,p)=>(y(),R("div",null,[r.value?(y(),Z(ir,{key:0,message:"Loading repository..."})):o.value?(y(),Z(lr,{key:1,message:o.value},null,8,["message"])):s.value?(y(),R(X,{key:2},[A(ln,{title:s.value.name,icon:"fas fa-code-branch","icon-color":"text-accent-500",breadcrumbs:c.value},{subtitle:j(()=>[A(Di,{url:`https://github.com/${s.value.owner}/${s.value.name}`},{default:j(()=>[C(b(s.value.owner)+"/"+b(s.value.name),1)]),_:1},8,["url"])]),_:1},8,["title","breadcrumbs"]),n("section",Yf,[n("div",Xf,[n("div",Zf,[A(Re,{value:s.value.total_commits,label:"Commits",icon:"fas fa-code-commit","icon-color":"text-green-500"},null,8,["value"]),A(Re,{value:s.value.total_prs,label:"Pull Requests",icon:"fas fa-code-pull-request","icon-color":"text-blue-500"},null,8,["value"]),A(Re,{value:s.value.total_reviews,label:"Reviews",icon:"fas fa-eye","icon-color":"text-purple-500"},null,8,["value"]),A(Re,{value:s.value.active_contributors,label:"Contributors",icon:"fas fa-users","icon-color":"text-orange-500"},null,8,["value"])])])]),n("section",em,[n("div",tm,[n("div",sm,[A(We,{title:"Contributors",icon:"fas fa-users","icon-color":"text-blue-500",class:"mb-0"}),n("div",nm,[p[3]||(p[3]=n("i",{class:"fas fa-search absolute left-3 top-1/2 -translate-y-1/2 text-gray-500"},null,-1)),Yn(n("input",{"onUpdate:modelValue":p[0]||(p[0]=h=>i.value=h),type:"text",placeholder:"Search contributors...",class:"w-full pl-10 pr-4 py-2 rounded-lg border border-gray-700 bg-gray-800 text-gray-100 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent transition text-sm"},null,512),[[hi,i.value]]),i.value?(y(),R("button",{key:0,onClick:p[1]||(p[1]=h=>i.value=""),class:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-200"},[...p[2]||(p[2]=[n("i",{class:"fas fa-times"},null,-1)])])):B("",!0)])]),i.value&&a.value.length!==l.value.length?(y(),R("p",rm," Showing "+b(a.value.length)+" of "+b(l.value.length)+" contributors ",1)):B("",!0),A(Oi,{columns:u,items:a.value,"empty-icon":"fas fa-users","empty-message":"No contributors found","row-class":"hover:bg-gray-800/30 transition group"},{contributor:j(({item:h})=>[A(Ii,{contributor:h},null,8,["contributor"])]),commits:j(({item:h})=>[n("span",om,b(E(q)(h.commit_count)),1)]),prs:j(({item:h})=>[n("span",im,b(E(q)(h.prs_opened)),1)]),reviews:j(({item:h})=>[n("span",lm,b(E(q)(h.reviews_given)),1)]),lines:j(({item:h})=>[n("span",am,"+"+b(E(q)(h.lines_added)),1),p[4]||(p[4]=n("span",{class:"text-gray-400 mx-1"},"/",-1)),n("span",cm,"-"+b(E(q)(h.lines_deleted)),1)]),score:j(({item:h})=>[n("span",um,b(E(q)(h.score?.total||0)),1)]),_:1},8,["items"])])])],64)):B("",!0)]))}},fm={class:"flex items-center space-x-4 mb-4"},mm={class:"font-semibold text-white"},pm={class:"text-sm text-gray-400"},gm={class:"grid grid-cols-3 gap-4 text-center mb-4"},hm={class:"text-lg font-semibold text-white"},xm={class:"text-lg font-semibold text-white"},ym={class:"text-lg font-semibold text-white"},bm={class:"flex items-center justify-between pt-4 border-t border-gray-700"},vm={class:"text-xl font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},_m={key:0,class:"mt-4 flex flex-wrap gap-2"},wm={key:0,class:"inline-flex items-center justify-center w-8 h-8 rounded-lg bg-gray-700 text-gray-300 text-xs font-bold"},Cm={__name:"MemberCard",props:{member:{type:Object,required:!0},linkToProfile:{type:Boolean,default:!0}},setup(e){return(t,s)=>(y(),Z(Bl(e.linkToProfile?E(_e):"div"),{to:e.linkToProfile?{name:"contributor",params:{login:e.member.login}}:void 0,class:Y(["block",{group:e.linkToProfile}])},{default:j(()=>[A(ue,{hover:e.linkToProfile,class:Y({"cursor-pointer":e.linkToProfile})},{default:j(()=>[n("div",fm,[A(rs,{src:e.member.avatar_url,name:e.member.login,size:"lg"},null,8,["src","name"]),n("div",null,[n("h3",mm,b(e.member.name||e.member.login),1),n("p",pm,"@"+b(e.member.login),1)])]),n("div",gm,[n("div",null,[n("div",hm,b(E(q)(e.member.commit_count)),1),s[0]||(s[0]=n("div",{class:"text-xs text-gray-400"},"Commits",-1))]),n("div",null,[n("div",xm,b(E(q)(e.member.prs_opened)),1),s[1]||(s[1]=n("div",{class:"text-xs text-gray-400"},"PRs",-1))]),n("div",null,[n("div",ym,b(E(q)(e.member.reviews_given)),1),s[2]||(s[2]=n("div",{class:"text-xs text-gray-400"},"Reviews",-1))])]),n("div",bm,[s[3]||(s[3]=n("span",{class:"text-sm text-gray-400"},"Score",-1)),n("span",vm,b(E(q)(e.member.score?.total||0)),1)]),e.member.achievements?.length?(y(),R("div",_m,[(y(!0),R(X,null,xe(e.member.achievements.slice(0,4),r=>(y(),Z(ss,{key:r,"achievement-id":r,size:"sm"},null,8,["achievement-id"]))),128)),e.member.achievements.length>4?(y(),R("span",wm," +"+b(e.member.achievements.length-4),1)):B("",!0)])):B("",!0)]),_:1},8,["hover","class"])]),_:1},8,["to","class"]))}},Rm={class:"py-8 px-4"},km={class:"container mx-auto"},Sm={class:"grid grid-cols-2 md:grid-cols-4 gap-4"},Am={class:"py-8 px-4"},Em={class:"container mx-auto"},Pm={class:"grid md:grid-cols-2 lg:grid-cols-3 gap-6"},Tm={__name:"Team",setup(e){const t=on(),s=Te("globalData"),r=we(null),o=we(!0),i=we(null),l=ee(()=>[{label:"Dashboard",to:"/"},{label:"Teams"},{label:r.value?.name||t.params.slug}]);function a(){o.value=!0,i.value=null;const u=(s.value?.teams||[]).find(d=>$i(d.name)===t.params.slug);u?r.value=u:i.value="Team not found",o.value=!1}return ns(a),Ke(()=>t.params,a),Ke(s,a),(c,u)=>(y(),R("div",null,[o.value?(y(),Z(ir,{key:0,message:"Loading team..."})):i.value?(y(),Z(lr,{key:1,message:i.value},null,8,["message"])):r.value?(y(),R(X,{key:2},[A(ln,{title:r.value.name,breadcrumbs:l.value,subtitle:`${r.value.members?.length||0} team members`},{prefix:j(()=>[n("div",{class:"w-4 h-4 rounded-full mr-4",style:Pt({backgroundColor:r.value.color||"#8b5cf6"})},null,4)]),_:1},8,["title","breadcrumbs","subtitle"]),n("section",Rm,[n("div",km,[n("div",Sm,[A(Re,{value:r.value.total_score,label:"Total Score",icon:"fas fa-star","icon-color":"text-yellow-500"},null,8,["value"]),A(Re,{value:r.value.aggregated_metrics?.commit_count||0,label:"Commits",icon:"fas fa-code-commit","icon-color":"text-green-500"},null,8,["value"]),A(Re,{value:r.value.aggregated_metrics?.prs_merged||0,label:"PRs Merged",icon:"fas fa-code-merge","icon-color":"text-purple-500"},null,8,["value"]),A(Re,{value:r.value.aggregated_metrics?.reviews_given||0,label:"Reviews",icon:"fas fa-eye","icon-color":"text-blue-500"},null,8,["value"])])])]),n("section",Am,[n("div",Em,[A(We,{title:"Team Members",icon:"fas fa-users","icon-color":"text-blue-500"}),n("div",Pm,[(y(!0),R(X,null,xe(r.value.member_metrics,d=>(y(),Z(Cm,{key:d.login,member:d},null,8,["member"]))),128))])])])],64)):B("",!0)]))}},$m={class:"space-y-3"},Om={class:"flex items-start justify-between mb-3"},Im={class:"flex items-center space-x-3"},Mm={class:"text-sm font-semibold text-white"},Nm={class:"flex items-center space-x-2 text-xs text-gray-400"},Dm={class:"font-medium"},jm={class:"text-right"},Lm={class:"text-gray-400 font-medium"},Fm={class:"text-xs text-gray-400 mt-0.5"},Vm={class:"h-2.5 bg-gray-700 rounded-full overflow-hidden"},Hm={class:"flex items-center justify-between mt-1.5"},Bm={class:"flex items-center space-x-1"},Gm=["title"],Um={key:0,class:"text-[10px] text-gray-400"},Wm={key:0,class:"text-center text-xs text-gray-400 pt-2"},qm={key:1,class:"text-center py-8 text-gray-400"},Km={__name:"AchievementProgress",props:{contributor:{type:Object,required:!0},showEarned:{type:Boolean,default:!1},maxDisplay:{type:Number,default:6}},setup(e){const t=e,s=[1,10,25,50,100,250,500,1e3,5e3,1e4,25e3],r={1:"from-stone-400 to-stone-500",2:"from-green-400 to-emerald-500",3:"from-blue-400 to-indigo-500",4:"from-purple-400 to-violet-500",5:"from-yellow-400 to-amber-500",6:"from-orange-400 to-red-500",7:"from-red-500 to-rose-600",8:"from-pink-500 to-fuchsia-600",9:"from-cyan-400 to-teal-500",10:"from-emerald-400 to-cyan-500",11:"from-violet-500 to-purple-600"},o={1:"bg-stone-500",2:"bg-green-500",3:"bg-blue-500",4:"bg-purple-500",5:"bg-yellow-500",6:"bg-orange-500",7:"bg-red-500",8:"bg-pink-500",9:"bg-cyan-500",10:"bg-emerald-500",11:"bg-violet-500"},i=[{category:"Commits",icon:"fa-code-commit",iconColor:"text-green-500",getValue:d=>d.commit_count||0,achievements:[{id:"first-commit",threshold:1,name:"First Steps"},{id:"commit-10",threshold:10,name:"Getting Started"},{id:"commit-25",threshold:25,name:"Warming Up"},{id:"commit-50",threshold:50,name:"On A Roll"},{id:"commit-100",threshold:100,name:"Committed"},{id:"commit-250",threshold:250,name:"Dedicated"},{id:"commit-500",threshold:500,name:"Code Machine"},{id:"commit-1000",threshold:1e3,name:"Code Warrior"},{id:"commit-5000",threshold:5e3,name:"Legendary"},{id:"commit-10000",threshold:1e4,name:"Mythical"},{id:"commit-25000",threshold:25e3,name:"Transcendent"}]},{category:"Pull Requests",icon:"fa-code-pull-request",iconColor:"text-blue-500",getValue:d=>d.prs_opened||0,achievements:[{id:"pr-opener",threshold:1,name:"PR Pioneer"},{id:"pr-10",threshold:10,name:"Pull Request Pro"},{id:"pr-25",threshold:25,name:"PR Regular"},{id:"pr-50",threshold:50,name:"Merge Master"},{id:"pr-100",threshold:100,name:"PR Champion"}]},{category:"Reviews",icon:"fa-eye",iconColor:"text-purple-500",getValue:d=>d.reviews_given||0,achievements:[{id:"reviewer",threshold:1,name:"Code Reviewer"},{id:"reviewer-10",threshold:10,name:"Review Starter"},{id:"reviewer-25",threshold:25,name:"Review Regular"},{id:"reviewer-50",threshold:50,name:"Review Expert"},{id:"reviewer-100",threshold:100,name:"Review Guru"}]},{category:"Lines Added",icon:"fa-plus",iconColor:"text-emerald-500",getValue:d=>d.lines_added||0,achievements:[{id:"lines-1000",threshold:1e3,name:"Thousand Lines"},{id:"lines-10000",threshold:1e4,name:"Ten Thousand"}]},{category:"Lines Deleted",icon:"fa-minus",iconColor:"text-red-500",getValue:d=>d.lines_deleted||0,achievements:[{id:"cleaner",threshold:1e3,name:"Code Cleaner"},{id:"refactorer",threshold:1e4,name:"Refactoring Champion"}]},{category:"Small PRs",icon:"fa-compress",iconColor:"text-cyan-500",getValue:d=>d.small_pr_count||0,achievements:[{id:"small-pr-10",threshold:10,name:"Small PR Advocate"},{id:"small-pr-50",threshold:50,name:"Atomic Commits Hero"}]},{category:"Perfect PRs",icon:"fa-gem",iconColor:"text-pink-500",getValue:d=>d.perfect_prs||0,achievements:[{id:"perfect-pr-5",threshold:5,name:"Clean Code"},{id:"perfect-pr-25",threshold:25,name:"Flawless"}]},{category:"Active Days",icon:"fa-calendar-check",iconColor:"text-orange-500",getValue:d=>d.active_days||0,achievements:[{id:"active-30",threshold:30,name:"Consistent Contributor"},{id:"active-100",threshold:100,name:"Dedicated Developer"}]},{category:"Streak",icon:"fa-fire",iconColor:"text-amber-500",getValue:d=>d.longest_streak||0,achievements:[{id:"streak-7",threshold:7,name:"Week Warrior"},{id:"streak-30",threshold:30,name:"Month Master"}]}],l=d=>{for(let m=s.length-1;m>=0;m--)if(d>=s[m])return m+1;return 1},a=d=>d.map(m=>({threshold:m.threshold,name:m.name,tier:l(m.threshold)})),c=ee(()=>{const d=new Set(t.contributor.achievements||[]),m=[];for(const p of i){const h=p.getValue(t.contributor);let P=null,N=null;const Q=a(p.achievements);for(const Se of p.achievements)h>=Se.threshold?N=Se:P||(P=Se);if(!P)continue;const V=N?N.threshold:0,L=P.threshold-V,G=h-V,F=Math.min(100,Math.max(0,Math.round(G/L*100))),ne=l(P.threshold),be=Q.findIndex(Se=>Se.threshold===P.threshold),ge=Q.length;m.push({category:p.category,icon:p.icon,iconColor:p.iconColor,currentValue:h,target:P.threshold,name:P.name,id:P.id,progress:F,tier:ne,tierIndex:be+1,totalTiers:ge,allTiers:Q,gradient:r[ne],progressColor:o[ne],isClose:F>=75,remaining:P.threshold-h,isEarned:d.has(P.id)})}return m.sort((p,h)=>h.progress-p.progress),m}),u=ee(()=>{new Set(t.contributor.achievements||[]);let d=0;for(const m of i){const p=m.getValue(t.contributor);for(const h of m.achievements)p<h.threshold&&d++}return Math.max(0,d-t.maxDisplay)});return(d,m)=>(y(),R("div",$m,[(y(!0),R(X,null,xe(c.value,p=>(y(),R("div",{key:p.id,class:"bg-gray-800/50 rounded-xl p-4 hover:bg-gray-800 transition-colors"},[n("div",Om,[n("div",Im,[n("div",{class:Y(["w-10 h-10 rounded-lg bg-gradient-to-br flex items-center justify-center shadow-md",p.gradient])},[n("i",{class:Y(["fas text-white text-sm",p.icon])},null,2)],2),n("div",null,[n("div",Mm,b(p.name),1),n("div",Nm,[n("span",null,b(p.category),1),m[0]||(m[0]=n("span",{class:"text-gray-400"},"•",-1)),n("span",Dm,"Tier "+b(p.tierIndex)+"/"+b(p.totalTiers),1)])])]),n("div",jm,[n("div",{class:Y(["text-sm font-bold",p.isClose?"text-green-500":"text-gray-200"])},[C(b(E(q)(p.currentValue))+" ",1),m[1]||(m[1]=n("span",{class:"text-gray-400 font-normal"},"/",-1)),n("span",Lm,b(E(q)(p.target)),1)],2),n("div",Fm,b(p.remaining>0?`${E(q)(p.remaining)} to go`:"Ready to claim!"),1)])]),n("div",Vm,[n("div",{class:Y(["h-full rounded-full transition-all duration-500 ease-out",p.progressColor]),style:Pt({width:`${p.progress}%`})},null,6)]),n("div",Hm,[n("div",Bm,[(y(!0),R(X,null,xe(p.allTiers.slice(0,5),(h,P)=>(y(),R("span",{key:h.threshold,class:Y(["w-1.5 h-1.5 rounded-full",P<p.tierIndex?"bg-green-500":"bg-gray-600"]),title:`Tier ${P+1}: ${h.name} (${E(q)(h.threshold)})`},null,10,Gm))),128)),p.totalTiers>5?(y(),R("span",Um,"+"+b(p.totalTiers-5),1)):B("",!0)]),n("span",{class:Y(["text-xs font-semibold",p.isClose?"text-green-500":"text-gray-400"])},b(p.progress)+"% ",3)])]))),128)),u.value>0?(y(),R("div",Wm," +"+b(u.value)+" more achievements to unlock ",1)):B("",!0),c.value.length?B("",!0):(y(),R("div",qm,[...m[2]||(m[2]=[n("div",{class:"w-16 h-16 mx-auto mb-3 rounded-2xl bg-gradient-to-br from-yellow-400 to-amber-500 flex items-center justify-center shadow-lg"},[n("i",{class:"fas fa-trophy text-2xl text-white"})],-1),n("p",{class:"font-medium text-gray-300"},"All achievements unlocked!",-1),n("p",{class:"text-sm mt-1"},"You're a legend!",-1)])]))]))}},zm={class:"py-12 px-4"},Qm={class:"container mx-auto"},Jm={class:"flex flex-col md:flex-row items-center md:items-start space-y-4 md:space-y-0 md:space-x-8"},Ym={class:"text-center md:text-left"},Xm={class:"text-4xl font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent"},Zm={class:"text-xl text-gray-400 mt-1"},e0={class:"flex items-center justify-center md:justify-start space-x-4 mt-4"},t0={class:"bg-gradient-to-r from-pink-400/5 to-purple-400/5 border border-pink-400/10 rounded-lg px-4 py-2"},s0={class:"text-2xl font-bold bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent ml-2"},n0={key:0,class:"text-sm text-gray-400"},r0={key:0},o0={key:0,class:"mt-6 flex flex-wrap justify-center md:justify-start gap-3"},i0={class:"py-8 px-4"},l0={class:"container mx-auto"},a0={class:"grid grid-cols-2 md:grid-cols-4 gap-4"},c0={class:"py-8 px-4"},u0={class:"container mx-auto"},d0={class:"grid md:grid-cols-2 gap-6"},f0={class:"space-y-4"},m0={class:"flex items-center justify-between"},p0={class:"text-green-500 font-semibold"},g0={class:"flex items-center justify-between"},h0={class:"text-red-500 font-semibold"},x0={key:0,class:"flex items-center justify-between"},y0={class:"text-emerald-500 font-semibold"},b0={key:1,class:"flex items-center justify-between"},v0={class:"text-rose-500 font-semibold"},_0={key:2,class:"flex items-center justify-between"},w0={class:"text-cyan-500 font-semibold"},C0={key:3,class:"flex items-center justify-between"},R0={class:"text-amber-500 font-semibold"},k0={class:"flex items-center justify-between"},S0={class:"text-white font-semibold"},A0={key:4,class:"flex items-center justify-between"},E0={class:"text-white font-semibold"},P0={class:"space-y-4"},T0={class:"flex items-center justify-between"},$0={class:"text-white font-semibold"},O0={class:"flex items-center justify-between"},I0={class:"text-green-500 font-semibold"},M0={class:"flex items-center justify-between"},N0={class:"text-orange-500 font-semibold"},D0={class:"flex items-center justify-between"},j0={class:"text-white font-semibold"},L0={key:0,class:"flex items-center justify-between"},F0={class:"text-white font-semibold"},V0={class:"space-y-4"},H0={class:"flex items-center justify-between"},B0={class:"text-red-500 font-semibold"},G0={class:"flex items-center justify-between"},U0={class:"text-green-500 font-semibold"},W0={class:"flex items-center justify-between"},q0={class:"text-blue-500 font-semibold"},K0={class:"flex items-center justify-between"},z0={class:"text-purple-500 font-semibold"},Q0={key:0,class:"py-8 px-4"},J0={class:"container mx-auto"},Y0={class:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-8 gap-4"},X0={class:"text-center p-4 rounded-lg bg-gray-800/50"},Z0={class:"text-2xl font-bold text-green-500"},ep={class:"text-xs text-gray-400"},tp={class:"text-center p-4 rounded-lg bg-gray-800/50"},sp={class:"text-2xl font-bold text-blue-500"},np={class:"text-xs text-gray-400"},rp={class:"text-center p-4 rounded-lg bg-gray-800/50"},op={class:"text-2xl font-bold text-purple-500"},ip={class:"text-xs text-gray-400"},lp={class:"text-center p-4 rounded-lg bg-gray-800/50"},ap={class:"text-2xl font-bold text-pink-500"},cp={class:"text-xs text-gray-400"},up={class:"text-center p-4 rounded-lg bg-gray-800/50"},dp={class:"text-2xl font-bold text-red-500"},fp={class:"text-center p-4 rounded-lg bg-gray-800/50"},mp={class:"text-2xl font-bold text-orange-500"},pp={class:"text-center p-4 rounded-lg bg-gray-800/50"},gp={class:"text-2xl font-bold text-yellow-500"},hp={class:"text-center p-4 rounded-lg bg-gray-800/50"},xp={class:"text-2xl font-bold text-indigo-500"},yp={class:"text-xs text-gray-400"},bp={class:"py-8 px-4"},vp={class:"container mx-auto"},_p={class:"grid md:grid-cols-2 gap-6"},wp={class:"flex items-center justify-between mb-6"},Cp={class:"px-2.5 py-1 rounded-full bg-gradient-to-r from-yellow-400 to-amber-500 text-white text-sm font-bold shadow-md"},Rp={class:"grid grid-cols-4 sm:grid-cols-5 gap-3"},kp={key:1,class:"py-8 px-4"},Sp={class:"container mx-auto"},Ap={class:"flex flex-wrap gap-2"},Ep={__name:"Contributor",setup(e){const t=on(),s=Te("globalData"),r=we(null),o=we(!0),i=we(null),l=ee(()=>[{label:"Dashboard",to:"/"},{label:"Contributors"},{label:r.value?.login||t.params.login}]);async function a(){o.value=!0,i.value=null;const c=t.params.login;try{const u=await fetch(`./data/contributors/${c}.json`);if(u.ok){const d=await u.json(),p=(s.value?.leaderboard||[]).find(h=>h.login===c);p&&(d.score={total:p.score,rank:p.rank,breakdown:d.score?.breakdown},d.achievements=p.achievements),r.value=d}else{let m=(s.value?.leaderboard||[]).find(p=>p.login===c);if(!m){const p=s.value?.repositories||[];for(const h of p){const P=h.contributors?.find(N=>N.login===c);if(P){m=P;break}}}m?r.value=m:i.value="Contributor not found"}}catch(u){i.value=`Failed to load contributor: ${u.message}`}o.value=!1}return ns(a),Ke(()=>t.params,a),Ke(s,a),(c,u)=>(y(),R("div",null,[o.value?(y(),Z(ir,{key:0,message:"Loading contributor..."})):i.value?(y(),Z(lr,{key:1,message:i.value},null,8,["message"])):r.value?(y(),R(X,{key:2},[n("header",zm,[n("div",Qm,[A(ln,{breadcrumbs:l.value,title:""},null,8,["breadcrumbs"]),n("div",Jm,[A(rs,{src:r.value.avatar_url,name:r.value.login,size:"2xl",class:"shadow-lg"},null,8,["src","name"]),n("div",Ym,[n("h1",Xm,b(r.value.name||r.value.login),1),n("p",Zm,[A(Di,{url:`https://github.com/${r.value.login}`},{default:j(()=>[C(" @"+b(r.value.login),1)]),_:1},8,["url"])]),n("div",e0,[n("div",t0,[u[0]||(u[0]=n("span",{class:"text-sm text-gray-400"},"Score:",-1)),n("span",s0,b(E(q)(r.value.score?.total||r.value.score||0)),1)]),r.value.score?.rank?(y(),R("div",n0,[C(" Rank #"+b(r.value.score.rank)+" ",1),r.value.score?.percentile_rank?(y(),R("span",r0," (Top "+b(E(Mu)(r.value.score.percentile_rank))+") ",1)):B("",!0)])):B("",!0)]),r.value.achievements?.length?(y(),R("div",o0,[(y(!0),R(X,null,xe(E(ds)(r.value.achievements),d=>(y(),Z(ss,{key:d,"achievement-id":d,size:"lg","show-label":""},null,8,["achievement-id"]))),128))])):B("",!0)])])])]),n("section",i0,[n("div",l0,[n("div",a0,[A(Re,{value:r.value.commit_count||0,label:"Commits",icon:"fas fa-code-commit","icon-color":"text-green-500"},null,8,["value"]),A(Re,{value:r.value.prs_opened||0,label:"PRs Opened",icon:"fas fa-code-pull-request","icon-color":"text-blue-500"},null,8,["value"]),A(Re,{value:r.value.prs_merged||0,label:"PRs Merged",icon:"fas fa-code-merge","icon-color":"text-purple-500"},null,8,["value"]),A(Re,{value:r.value.reviews_given||0,label:"Reviews Given",icon:"fas fa-eye","icon-color":"text-orange-500"},null,8,["value"])])])]),n("section",c0,[n("div",u0,[n("div",d0,[A(ue,null,{default:j(()=>[u[9]||(u[9]=n("h3",{class:"text-lg font-semibold text-white mb-4"},[n("i",{class:"fas fa-code text-green-500 mr-2"}),C("Code Contributions ")],-1)),n("div",f0,[n("div",m0,[u[1]||(u[1]=n("span",{class:"text-gray-300"},"Lines Added",-1)),n("span",p0," +"+b(E(q)(r.value.lines_added||0)),1)]),n("div",g0,[u[2]||(u[2]=n("span",{class:"text-gray-300"},"Lines Deleted",-1)),n("span",h0," -"+b(E(q)(r.value.lines_deleted||0)),1)]),r.value.meaningful_lines_added!==void 0?(y(),R("div",x0,[u[3]||(u[3]=n("span",{class:"text-gray-300"},"Meaningful Lines Added",-1)),n("span",y0," +"+b(E(q)(r.value.meaningful_lines_added||0)),1)])):B("",!0),r.value.meaningful_lines_deleted!==void 0?(y(),R("div",b0,[u[4]||(u[4]=n("span",{class:"text-gray-300"},"Meaningful Lines Deleted",-1)),n("span",v0," -"+b(E(q)(r.value.meaningful_lines_deleted||0)),1)])):B("",!0),r.value.comment_lines_added!==void 0?(y(),R("div",_0,[u[5]||(u[5]=n("span",{class:"text-gray-300"},"Comment Lines Added",-1)),n("span",w0," +"+b(E(q)(r.value.comment_lines_added||0)),1)])):B("",!0),r.value.comment_lines_deleted!==void 0?(y(),R("div",C0,[u[6]||(u[6]=n("span",{class:"text-gray-300"},"Comment Lines Deleted",-1)),n("span",R0," -"+b(E(q)(r.value.comment_lines_deleted||0)),1)])):B("",!0),n("div",k0,[u[7]||(u[7]=n("span",{class:"text-gray-300"},"Files Changed",-1)),n("span",S0,b(E(q)(r.value.files_changed||0)),1)]),r.value.avg_pr_size?(y(),R("div",A0,[u[8]||(u[8]=n("span",{class:"text-gray-300"},"Avg PR Size",-1)),n("span",E0,b(E(q)(Math.round(r.value.avg_pr_size)))+" lines ",1)])):B("",!0)])]),_:1}),A(ue,null,{default:j(()=>[u[15]||(u[15]=n("h3",{class:"text-lg font-semibold text-white mb-4"},[n("i",{class:"fas fa-comments text-purple-500 mr-2"}),C("Review Activity ")],-1)),n("div",P0,[n("div",T0,[u[10]||(u[10]=n("span",{class:"text-gray-300"},"Reviews Given",-1)),n("span",$0,b(E(q)(r.value.reviews_given||0)),1)]),n("div",O0,[u[11]||(u[11]=n("span",{class:"text-gray-300"},"Approvals",-1)),n("span",I0,b(E(q)(r.value.approvals_given||0)),1)]),n("div",M0,[u[12]||(u[12]=n("span",{class:"text-gray-300"},"Changes Requested",-1)),n("span",N0,b(E(q)(r.value.changes_requested||0)),1)]),n("div",D0,[u[13]||(u[13]=n("span",{class:"text-gray-300"},"Review Comments",-1)),n("span",j0,b(E(q)(r.value.review_comments||0)),1)]),r.value.avg_review_time_hours?(y(),R("div",L0,[u[14]||(u[14]=n("span",{class:"text-gray-300"},"Avg Review Time",-1)),n("span",F0,b(E(Iu)(r.value.avg_review_time_hours)),1)])):B("",!0)])]),_:1}),r.value.issues_opened||r.value.issues_closed||r.value.issue_comments||r.value.issue_references_in_commits?(y(),Z(ue,{key:0},{default:j(()=>[u[20]||(u[20]=n("h3",{class:"text-lg font-semibold text-white mb-4"},[n("i",{class:"fas fa-bug text-red-500 mr-2"}),C("Issue Activity ")],-1)),n("div",V0,[n("div",H0,[u[16]||(u[16]=n("span",{class:"text-gray-300"},"Issues Opened",-1)),n("span",B0,b(E(q)(r.value.issues_opened||0)),1)]),n("div",G0,[u[17]||(u[17]=n("span",{class:"text-gray-300"},"Issues Closed",-1)),n("span",U0,b(E(q)(r.value.issues_closed||0)),1)]),n("div",W0,[u[18]||(u[18]=n("span",{class:"text-gray-300"},"Issue Comments",-1)),n("span",q0,b(E(q)(r.value.issue_comments||0)),1)]),n("div",K0,[u[19]||(u[19]=n("span",{class:"text-gray-300"},"Issue References in Commits",-1)),n("span",z0,b(E(q)(r.value.issue_references_in_commits||0)),1)])])]),_:1})):B("",!0)])])]),r.value.score?.breakdown?(y(),R("section",Q0,[n("div",J0,[A(ue,null,{default:j(()=>[u[32]||(u[32]=n("h3",{class:"text-lg font-semibold text-white mb-4"},[n("i",{class:"fas fa-chart-pie bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent mr-2"}),C("Score Breakdown ")],-1)),n("div",Y0,[n("div",X0,[n("div",Z0,b(E(q)(r.value.score.breakdown.commits||0)),1),u[21]||(u[21]=n("div",{class:"text-xs text-gray-400 mt-1"},"Commits",-1)),n("div",ep,b(r.value.commit_count||0)+" × 10 pts",1)]),n("div",tp,[n("div",sp,b(E(q)(r.value.score.breakdown.prs||0)),1),u[22]||(u[22]=n("div",{class:"text-xs text-gray-400 mt-1"},"PRs",-1)),n("div",np,b(r.value.prs_opened||0)+" opened + "+b(r.value.prs_merged||0)+" merged",1)]),n("div",rp,[n("div",op,b(E(q)(r.value.score.breakdown.reviews||0)),1),u[23]||(u[23]=n("div",{class:"text-xs text-gray-400 mt-1"},"Reviews",-1)),n("div",ip,b(r.value.reviews_given||0)+" × 30 pts",1)]),n("div",lp,[n("div",ap,b(E(q)(r.value.score.breakdown.comments||0)),1),u[24]||(u[24]=n("div",{class:"text-xs text-gray-400 mt-1"},"Comments",-1)),n("div",cp,b(r.value.review_comments||0)+" × 5 pts",1)]),n("div",up,[n("div",dp,b(E(q)(r.value.score.breakdown.issues||0)),1),u[25]||(u[25]=n("div",{class:"text-xs text-gray-400 mt-1"},"Issues",-1)),u[26]||(u[26]=n("div",{class:"text-xs text-gray-400"},"opened, closed, comments, refs",-1))]),n("div",fp,[n("div",mp,b(E(q)(r.value.score.breakdown.line_changes||0)),1),u[27]||(u[27]=n("div",{class:"text-xs text-gray-400 mt-1"},"Line Changes",-1)),u[28]||(u[28]=n("div",{class:"text-xs text-gray-400"},"meaningful lines × 0.1 pts",-1))]),n("div",pp,[n("div",gp,b(E(q)(r.value.score.breakdown.response_bonus||0)),1),u[29]||(u[29]=n("div",{class:"text-xs text-gray-400 mt-1"},"Response Bonus",-1)),u[30]||(u[30]=n("div",{class:"text-xs text-gray-400"},"fast review bonus",-1))]),n("div",hp,[n("div",xp,b(E(q)(r.value.score.breakdown.out_of_hours||0)),1),u[31]||(u[31]=n("div",{class:"text-xs text-gray-400 mt-1"},"Out of Hours",-1)),n("div",yp,b(r.value.out_of_hours_count||0)+" × 2 pts",1)])])]),_:1})])])):B("",!0),n("section",bp,[n("div",vp,[n("div",_p,[r.value.achievements?.length?(y(),Z(ue,{key:0},{default:j(()=>[n("div",wp,[u[33]||(u[33]=n("h3",{class:"text-lg font-semibold text-white"},[n("i",{class:"fas fa-award bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent mr-2"}),C("Achievements Earned ")],-1)),n("span",Cp,b(r.value.achievements.length),1)]),n("div",Rp,[(y(!0),R(X,null,xe(r.value.achievements,d=>(y(),R("div",{key:d,class:"flex flex-col items-center p-2 rounded-xl bg-gray-800/50 hover:bg-gray-800 transition-colors"},[A(ss,{"achievement-id":d,size:"md","show-label":""},null,8,["achievement-id"])]))),128))])]),_:1})):B("",!0),A(ue,null,{default:j(()=>[u[34]||(u[34]=n("h3",{class:"text-lg font-semibold text-white mb-6"},[n("i",{class:"fas fa-chart-line text-primary-500 mr-2"}),C("Next Achievements ")],-1)),A(Km,{contributor:r.value,"max-display":6},null,8,["contributor"])]),_:1})])])]),r.value.repositories_contributed?.length?(y(),R("section",kp,[n("div",Sp,[A(We,{title:`Contributed to ${r.value.repositories_contributed.length} Repositories`,icon:"fas fa-folder-tree","icon-color":"text-blue-500"},null,8,["title"]),n("div",Ap,[(y(!0),R(X,null,xe(r.value.repositories_contributed,d=>(y(),Z(E(_e),{key:d,to:`/repos/${d}`,class:"inline-flex items-center px-3 py-1.5 rounded-full text-sm bg-gray-800 text-gray-300 hover:bg-primary-900/30 hover:text-primary-300 transition-colors"},{default:j(()=>[u[35]||(u[35]=n("i",{class:"fas fa-code-branch text-gray-400 mr-2"},null,-1)),C(" "+b(d),1)]),_:2},1032,["to"]))),128))])])])):B("",!0)],64)):B("",!0)]))}},Pp={class:"py-8 px-4"},Tp={class:"container mx-auto"},$p={id:"scoring",class:"py-8 px-4"},Op={class:"container mx-auto"},Ip={class:"space-y-6"},Mp={id:"leaderboard-info",class:"py-8 px-4"},Np={class:"container mx-auto"},Dp={class:"space-y-6"},jp={id:"achievements",class:"py-8 px-4"},Lp={class:"container mx-auto"},Fp={class:"space-y-6"},Vp={id:"data-sources",class:"py-8 px-4"},Hp={class:"container mx-auto"},Bp={class:"space-y-6"},Gp={__name:"HowScoringWorks",setup(e){return(t,s)=>(y(),R("div",null,[s[14]||(s[14]=_a('<header class="py-10 sm:py-16 px-4"><div class="container mx-auto text-center animate-[fadeInUp_0.6s_ease-out]"><h1 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-3 sm:mb-4 text-white"> How <span class="bg-gradient-to-r from-primary-400 to-accent-400 bg-clip-text text-transparent">Scoring</span> Works </h1><p class="text-base sm:text-lg md:text-xl text-gray-300 max-w-2xl mx-auto px-2"> Understanding the point system, leaderboard rankings, and achievement criteria that power Git Velocity. </p></div></header>',1)),n("section",Pp,[n("div",Tp,[A(ue,{class:"shadow-lg mb-8"},{default:j(()=>[...s[0]||(s[0]=[n("h2",{class:"text-xl font-semibold text-gray-100 mb-4 flex items-center"},[n("i",{class:"fas fa-info-circle mr-3 text-blue-500"}),C(" Overview ")],-1),n("p",{class:"text-gray-400 mb-4"}," Git Velocity calculates developer contributions by analyzing GitHub activity across configured repositories. The scoring system is designed to encourage well-rounded contributions including code commits, pull requests, code reviews, and collaboration. ",-1),n("div",{class:"grid sm:grid-cols-3 gap-4 mt-6"},[n("div",{class:"text-center p-4 bg-primary-900/20 rounded-lg"},[n("i",{class:"fas fa-calculator text-primary-500 text-2xl mb-2"}),n("h3",{class:"font-medium text-gray-100"},"Point-Based"),n("p",{class:"text-sm text-gray-400"},"Activities earn configurable points")]),n("div",{class:"text-center p-4 bg-accent-900/20 rounded-lg"},[n("i",{class:"fas fa-layer-group text-accent-500 text-2xl mb-2"}),n("h3",{class:"font-medium text-gray-100"},"Aggregated"),n("p",{class:"text-sm text-gray-400"},"Combined across all repositories")]),n("div",{class:"text-center p-4 bg-indigo-900/20 rounded-lg"},[n("i",{class:"fas fa-trophy text-indigo-500 text-2xl mb-2"}),n("h3",{class:"font-medium text-gray-100"},"Achievement-Driven"),n("p",{class:"text-sm text-gray-400"},"Unlock badges for milestones")])],-1)])]),_:1})])]),n("section",$p,[n("div",Op,[A(We,{title:"Point Calculations",icon:"fas fa-coins","icon-color":"text-yellow-500"}),n("div",Ip,[A(ue,{class:"shadow-lg"},{default:j(()=>[...s[1]||(s[1]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-lg sm:text-xl"},[n("i",{class:"fas fa-function mr-2 text-primary-500"}),C(" Score Formula ")],-1),n("div",{class:"bg-gray-900 text-gray-100 p-3 sm:p-4 rounded-lg overflow-x-auto mb-4 -mx-2 sm:mx-0"},[n("pre",{class:"text-xs sm:text-sm font-mono whitespace-pre-wrap sm:whitespace-pre"},[n("code",null,`Total Score = Commits + Lines + PRs + Reviews + Comments + Issues + Response
Where:
Commits = sum of (commits x 10 x time_multiplier)
Lines = (added x 0.1) + (deleted x 0.05) pts
PRs = (opened x 25) + (merged x 50) pts
Reviews = reviews_given x 30 pts
Comments = review_comments x 5 pts
Issues = (opened x 10) + (closed x 20) + (comments x 5) + (refs x 5) pts
Response = fast review bonus (0-50 pts)
Time Multipliers:
9am - 5pm = x1 (regular hours)
5pm - 9pm = x2 (evening)
9pm - midnight = x2.5 (late night)
midnight - 6am = x5 (overnight)
6am - 9am = x2 (early morning)`)])],-1),n("p",{class:"text-xs sm:text-sm text-gray-400"},[n("i",{class:"fas fa-info-circle mr-1"}),C(" All point values are configurable in your "),n("code",{class:"text-primary-400"},".git-velocity.yaml"),C(" file. ")],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[2]||(s[2]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-coins mr-2 text-yellow-500"}),C(" Default Point Values ")],-1),n("div",{class:"grid grid-cols-1 gap-3 sm:hidden"},[n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-code-commit text-primary-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Commit")]),n("span",{class:"font-mono font-bold text-primary-400"},"10 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-flask text-green-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Commit + Tests")]),n("span",{class:"font-mono font-bold text-primary-400"},"15 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-plus text-blue-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Lines Added")]),n("span",{class:"font-mono font-bold text-primary-400"},"0.1 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-minus text-red-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Lines Deleted")]),n("span",{class:"font-mono font-bold text-primary-400"},"0.05 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-code-pull-request text-accent-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"PR Opened")]),n("span",{class:"font-mono font-bold text-primary-400"},"25 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-code-merge text-indigo-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"PR Merged")]),n("span",{class:"font-mono font-bold text-primary-400"},"50 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-eye text-cyan-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"PR Reviewed")]),n("span",{class:"font-mono font-bold text-primary-400"},"30 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-comment text-orange-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Review Comment")]),n("span",{class:"font-mono font-bold text-primary-400"},"5 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-bolt text-yellow-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Fast Review <1h")]),n("span",{class:"font-mono font-bold text-primary-400"},"50 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-stopwatch text-yellow-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Fast Review <4h")]),n("span",{class:"font-mono font-bold text-primary-400"},"25 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-clock text-yellow-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Fast Review <24h")]),n("span",{class:"font-mono font-bold text-primary-400"},"10 pts")]),n("div",{class:"col-span-1 py-2 px-3 bg-gray-700/50 rounded-lg text-center"},[n("span",{class:"text-xs font-semibold text-gray-300 uppercase tracking-wide"},"Time Multipliers")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-sun text-yellow-400"}),n("span",{class:"text-sm font-medium text-gray-100"},"9am - 5pm")]),n("span",{class:"font-mono font-bold text-gray-400"},"x1")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-cloud-sun text-orange-400"}),n("span",{class:"text-sm font-medium text-gray-100"},"5pm - 9pm")]),n("span",{class:"font-mono font-bold text-orange-400"},"x2")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-moon text-indigo-400"}),n("span",{class:"text-sm font-medium text-gray-100"},"9pm - midnight")]),n("span",{class:"font-mono font-bold text-indigo-400"},"x2.5")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-star text-purple-400"}),n("span",{class:"text-sm font-medium text-gray-100"},"midnight - 6am")]),n("span",{class:"font-mono font-bold text-purple-400"},"x5")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-mug-hot text-amber-400"}),n("span",{class:"text-sm font-medium text-gray-100"},"6am - 9am")]),n("span",{class:"font-mono font-bold text-amber-400"},"x2")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-circle-exclamation text-teal-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Issue Opened")]),n("span",{class:"font-mono font-bold text-primary-400"},"10 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-circle-check text-green-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Issue Closed")]),n("span",{class:"font-mono font-bold text-primary-400"},"20 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-comment-dots text-blue-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Issue Comment")]),n("span",{class:"font-mono font-bold text-primary-400"},"5 pts")]),n("div",{class:"flex items-center justify-between p-3 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2"},[n("i",{class:"fas fa-link text-accent-500"}),n("span",{class:"text-sm font-medium text-gray-100"},"Issue Reference")]),n("span",{class:"font-mono font-bold text-primary-400"},"5 pts")])],-1),n("div",{class:"hidden sm:block overflow-x-auto"},[n("table",{class:"w-full text-sm"},[n("thead",null,[n("tr",{class:"border-b border-gray-700"},[n("th",{class:"text-left py-3 text-gray-400"},"Activity"),n("th",{class:"text-left py-3 text-gray-400"},"Points"),n("th",{class:"text-left py-3 text-gray-400"},"Description")])]),n("tbody",{class:"text-gray-300"},[n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-code-commit text-primary-500 mr-2"}),C("Commit")]),n("td",{class:"py-3 font-mono text-primary-400"},"10"),n("td",{class:"py-3"},"Base points per commit (multiplied by time of day)")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-flask text-green-500 mr-2"}),C("Commit with Tests")]),n("td",{class:"py-3 font-mono text-primary-400"},"15"),n("td",{class:"py-3"},"Commit that includes test files")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-plus text-blue-500 mr-2"}),C("Lines Added")]),n("td",{class:"py-3 font-mono text-primary-400"},"0.1"),n("td",{class:"py-3"},"Per meaningful line added")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-minus text-red-500 mr-2"}),C("Lines Deleted")]),n("td",{class:"py-3 font-mono text-primary-400"},"0.05"),n("td",{class:"py-3"},"Per meaningful line removed")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-code-pull-request text-accent-500 mr-2"}),C("PR Opened")]),n("td",{class:"py-3 font-mono text-primary-400"},"25"),n("td",{class:"py-3"},"Per pull request created")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-code-merge text-indigo-500 mr-2"}),C("PR Merged")]),n("td",{class:"py-3 font-mono text-primary-400"},"50"),n("td",{class:"py-3"},"Per pull request merged")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-eye text-cyan-500 mr-2"}),C("PR Reviewed")]),n("td",{class:"py-3 font-mono text-primary-400"},"30"),n("td",{class:"py-3"},"Per PR review submitted")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-comment text-orange-500 mr-2"}),C("Review Comment")]),n("td",{class:"py-3 font-mono text-primary-400"},"5"),n("td",{class:"py-3"},"Per comment on PR reviews")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-bolt text-yellow-500 mr-2"}),C("Fast Review (<1h)")]),n("td",{class:"py-3 font-mono text-primary-400"},"50"),n("td",{class:"py-3"},"Bonus for average response under 1 hour")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-stopwatch text-yellow-500 mr-2"}),C("Fast Review (<4h)")]),n("td",{class:"py-3 font-mono text-primary-400"},"25"),n("td",{class:"py-3"},"Bonus for average response under 4 hours")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-clock text-yellow-500 mr-2"}),C("Fast Review (<24h)")]),n("td",{class:"py-3 font-mono text-primary-400"},"10"),n("td",{class:"py-3"},"Bonus for average response under 24 hours")]),n("tr",{class:"border-b border-gray-700 bg-gray-800/30"},[n("td",{class:"py-3 font-semibold text-gray-200",colspan:"3"},[n("i",{class:"fas fa-clock mr-2 text-primary-400"}),C("Time Multipliers (applied to commit points) ")])]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3 pl-6"},[n("i",{class:"fas fa-sun text-yellow-400 mr-2"}),C("9am - 5pm")]),n("td",{class:"py-3 font-mono text-gray-400"},"x1"),n("td",{class:"py-3"},"Regular working hours")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3 pl-6"},[n("i",{class:"fas fa-cloud-sun text-orange-400 mr-2"}),C("5pm - 9pm")]),n("td",{class:"py-3 font-mono text-orange-400"},"x2"),n("td",{class:"py-3"},"Evening commits")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3 pl-6"},[n("i",{class:"fas fa-moon text-indigo-400 mr-2"}),C("9pm - midnight")]),n("td",{class:"py-3 font-mono text-indigo-400"},"x2.5"),n("td",{class:"py-3"},"Late night commits")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3 pl-6"},[n("i",{class:"fas fa-star text-purple-400 mr-2"}),C("midnight - 6am")]),n("td",{class:"py-3 font-mono text-purple-400"},"x5"),n("td",{class:"py-3"},"Overnight commits (night shift bonus!)")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3 pl-6"},[n("i",{class:"fas fa-mug-hot text-amber-400 mr-2"}),C("6am - 9am")]),n("td",{class:"py-3 font-mono text-amber-400"},"x2"),n("td",{class:"py-3"},"Early morning commits")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-circle-exclamation text-teal-500 mr-2"}),C("Issue Opened")]),n("td",{class:"py-3 font-mono text-primary-400"},"10"),n("td",{class:"py-3"},"Per issue created")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-circle-check text-green-500 mr-2"}),C("Issue Closed")]),n("td",{class:"py-3 font-mono text-primary-400"},"20"),n("td",{class:"py-3"},"Per issue resolved/closed")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-3"},[n("i",{class:"fas fa-comment-dots text-blue-500 mr-2"}),C("Issue Comment")]),n("td",{class:"py-3 font-mono text-primary-400"},"5"),n("td",{class:"py-3"},"Per comment on issues")]),n("tr",null,[n("td",{class:"py-3"},[n("i",{class:"fas fa-link text-accent-500 mr-2"}),C("Issue Reference")]),n("td",{class:"py-3 font-mono text-primary-400"},"5"),n("td",{class:"py-3"},"Per commit referencing an issue (#123)")])])])],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[3]||(s[3]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-filter mr-2 text-green-500"}),C(" Meaningful Lines ")],-1),n("p",{class:"text-gray-400 mb-4"},[C(" By default, Git Velocity uses "),n("strong",null,"meaningful lines"),C(" instead of raw line counts. This filters out noise and rewards actual code contributions: ")],-1),n("div",{class:"grid sm:grid-cols-2 gap-4"},[n("div",{class:"p-4 bg-green-900/20 rounded-lg"},[n("h4",{class:"font-medium text-green-400 mb-2"},[n("i",{class:"fas fa-check mr-2"}),C("Counted as Meaningful ")]),n("ul",{class:"text-sm text-gray-400 space-y-1"},[n("li",null,"Actual code logic"),n("li",null,"Function definitions"),n("li",null,"Variable declarations"),n("li",null,"Import statements")])]),n("div",{class:"p-4 bg-red-900/20 rounded-lg"},[n("h4",{class:"font-medium text-red-400 mb-2"},[n("i",{class:"fas fa-times mr-2"}),C("Filtered Out ")]),n("ul",{class:"text-sm text-gray-400 space-y-1"},[n("li",null,"Empty lines / whitespace"),n("li",null,"Single-line comments"),n("li",null,"Multi-line comment blocks"),n("li",null,"Documentation strings")])])],-1),n("p",{class:"text-sm text-gray-400 mt-4"},[n("i",{class:"fas fa-info-circle mr-1"}),C(" Meaningful lines filtering is always enabled to accurately reflect code contributions. ")],-1)])]),_:1})])])]),n("section",Mp,[n("div",Np,[A(We,{title:"Leaderboard Rankings",icon:"fas fa-list-ol","icon-color":"text-accent-500"}),n("div",Dp,[A(ue,{class:"shadow-lg"},{default:j(()=>[...s[4]||(s[4]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-list-ol mr-2 text-accent-500"}),C(" Ranking Process ")],-1),n("ol",{class:"space-y-4"},[n("li",{class:"flex items-start gap-3"},[n("span",{class:"flex-shrink-0 w-8 h-8 rounded-full bg-primary-900/30 flex items-center justify-center text-primary-400 font-bold"},"1"),n("div",null,[n("h4",{class:"font-medium text-gray-100"},"Aggregate Across Repos"),n("p",{class:"text-sm text-gray-400"},"Metrics from all configured repositories are combined per contributor")])]),n("li",{class:"flex items-start gap-3"},[n("span",{class:"flex-shrink-0 w-8 h-8 rounded-full bg-accent-900/30 flex items-center justify-center text-accent-400 font-bold"},"2"),n("div",null,[n("h4",{class:"font-medium text-gray-100"},"Calculate Total Score"),n("p",{class:"text-sm text-gray-400"},"Apply point values to each activity type and sum the breakdown")])]),n("li",{class:"flex items-start gap-3"},[n("span",{class:"flex-shrink-0 w-8 h-8 rounded-full bg-indigo-900/30 flex items-center justify-center text-indigo-400 font-bold"},"3"),n("div",null,[n("h4",{class:"font-medium text-gray-100"},"Sort by Score"),n("p",{class:"text-sm text-gray-400"},"Contributors are sorted in descending order by total score")])]),n("li",{class:"flex items-start gap-3"},[n("span",{class:"flex-shrink-0 w-8 h-8 rounded-full bg-blue-900/30 flex items-center justify-center text-blue-400 font-bold"},"4"),n("div",null,[n("h4",{class:"font-medium text-gray-100"},"Assign Ranks & Percentiles"),n("p",{class:"text-sm text-gray-400"},"Each contributor receives a rank (1st, 2nd...) and percentile position")])])],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[5]||(s[5]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-medal mr-2 text-yellow-500"}),C(" Top Achievers ")],-1),n("p",{class:"text-gray-400 mb-4"}," Git Velocity tracks top performers in each category: ",-1),n("div",{class:"grid sm:grid-cols-2 gap-4"},[n("div",{class:"p-4 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2 mb-2"},[n("i",{class:"fas fa-trophy text-yellow-500"}),n("span",{class:"font-medium text-gray-100"},"Overall Leader")]),n("p",{class:"text-sm text-gray-400"},"Highest total score")]),n("div",{class:"p-4 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2 mb-2"},[n("i",{class:"fas fa-code-commit text-primary-500"}),n("span",{class:"font-medium text-gray-100"},"Top Committer")]),n("p",{class:"text-sm text-gray-400"},"Most commits")]),n("div",{class:"p-4 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2 mb-2"},[n("i",{class:"fas fa-eye text-accent-500"}),n("span",{class:"font-medium text-gray-100"},"Top Reviewer")]),n("p",{class:"text-sm text-gray-400"},"Most reviews given")]),n("div",{class:"p-4 bg-gray-800 rounded-lg"},[n("div",{class:"flex items-center gap-2 mb-2"},[n("i",{class:"fas fa-code-pull-request text-indigo-500"}),n("span",{class:"font-medium text-gray-100"},"Top PR Author")]),n("p",{class:"text-sm text-gray-400"},"Most PRs opened")])],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[6]||(s[6]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-users mr-2 text-blue-500"}),C(" Team Scoring ")],-1),n("p",{class:"text-gray-400 mb-4"}," When teams are configured, Git Velocity calculates team metrics: ",-1),n("ul",{class:"space-y-2 text-gray-400"},[n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),n("strong",null,"Total Team Score:"),C(" Sum of all member scores")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),n("strong",null,"Average Score:"),C(" Total score / number of members")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),n("strong",null,"Member Breakdown:"),C(" Individual scores and achievements per team member")])],-1)])]),_:1})])])]),n("section",jp,[n("div",Lp,[A(We,{title:"Achievement System",icon:"fas fa-trophy","icon-color":"text-yellow-500"}),s[10]||(s[10]=n("p",{class:"text-gray-300 mb-8 text-center"},"115 achievements across 26 categories with tiered progression",-1)),n("div",Fp,[A(ue,{class:"shadow-lg"},{default:j(()=>[...s[7]||(s[7]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-trophy mr-2 text-yellow-500"}),C(" Achievement Categories ")],-1),n("div",{class:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4"},[n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-code-commit text-primary-500 mr-2"}),C("Commits ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 1, 10, 50, 100, 500, 1000"),n("div",{class:"text-xs text-gray-400"}," First Steps, Getting Started, Contributor, Committed, Code Machine, Code Warrior ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-code-pull-request text-accent-500 mr-2"}),C("PRs Opened ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 1, 10, 25, 50, 100, 250"),n("div",{class:"text-xs text-gray-400"}," PR Pioneer, PR Regular, PR Pro, Merge Master, PR Champion, PR Legend ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-eye text-indigo-500 mr-2"}),C("Reviews Given ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 1, 10, 25, 50, 100, 250"),n("div",{class:"text-xs text-gray-400"}," First Review, Reviewer, Review Regular, Review Expert, Review Guru, Review Master ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-comment text-blue-500 mr-2"}),C("Review Comments ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 10, 50, 100, 250, 500"),n("div",{class:"text-xs text-gray-400"}," Commentator, Feedback Giver, Code Critic, Feedback Expert, Comment Champion ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-plus text-green-500 mr-2"}),C("Lines Added ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 100, 1K, 5K, 10K, 50K"),n("div",{class:"text-xs text-gray-400"}," First Hundred, Thousand Lines, Five Thousand, Ten Thousand, Code Mountain ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-minus text-red-500 mr-2"}),C("Lines Deleted ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 100, 500, 1K, 5K, 10K"),n("div",{class:"text-xs text-gray-400"}," Tidying Up, Spring Cleaning, Code Cleaner, Refactoring Hero, Deletion Master ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-bolt text-yellow-500 mr-2"}),C("Response Time ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: <24h, <4h, <1h"),n("div",{class:"text-xs text-gray-400"}," Same Day Reviewer, Quick Responder, Speed Demon ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-fire text-orange-500 mr-2"}),C("Contribution Streaks ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 3, 7, 14, 30 days"),n("div",{class:"text-xs text-gray-400"}," Getting Rolling, Week Warrior, Two Week Streak, Month Master ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-clock text-cyan-500 mr-2"}),C("Activity Patterns ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Early Bird, Night Owl, Weekend Warrior"),n("div",{class:"text-xs text-gray-400"}," Commits at different times of day unlock special badges ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-circle-exclamation text-teal-500 mr-2"}),C("Issues Opened ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 1, 5, 10, 25, 50"),n("div",{class:"text-xs text-gray-400"}," Issue Opener, Reporter, Bug Hunter, Issue Tracker, Issue Master ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-circle-check text-green-500 mr-2"}),C("Issues Closed ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 1, 5, 10, 25, 50"),n("div",{class:"text-xs text-gray-400"}," Issue Closer, Problem Solver, Resolver, Issue Crusher, Closure King ")]),n("div",{class:"p-4 border border-gray-700 rounded-lg"},[n("h4",{class:"font-medium text-gray-100 mb-2"},[n("i",{class:"fas fa-comment-dots text-blue-500 mr-2"}),C("Issue Comments ")]),n("p",{class:"text-xs text-gray-400 mb-2"},"Tiers: 5, 10, 25, 50, 100"),n("div",{class:"text-xs text-gray-400"}," Issue Commenter, Discussion Starter, Feedback Provider, Issue Conversationalist, Discussion Champion ")])],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[8]||(s[8]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-unlock mr-2 text-green-500"}),C(" How Achievements Are Earned ")],-1),n("p",{class:"text-gray-400 mb-4"},[C(" Each achievement has a "),n("strong",null,"condition type"),C(" and "),n("strong",null,"threshold"),C(". When your metrics meet or exceed the threshold, the achievement is unlocked. ")],-1),n("div",{class:"overflow-x-auto"},[n("table",{class:"w-full text-sm"},[n("thead",null,[n("tr",{class:"border-b border-gray-700"},[n("th",{class:"text-left py-2 text-gray-400"},"Condition Type"),n("th",{class:"text-left py-2 text-gray-400"},"Metric Checked"),n("th",{class:"text-left py-2 text-gray-400"},"Comparison")])]),n("tbody",{class:"text-gray-300"},[n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-2 font-mono text-xs"},"commit_count"),n("td",{class:"py-2"},"Total commits"),n("td",{class:"py-2"},"≥ threshold")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-2 font-mono text-xs"},"pr_opened_count"),n("td",{class:"py-2"},"PRs opened"),n("td",{class:"py-2"},"≥ threshold")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-2 font-mono text-xs"},"review_count"),n("td",{class:"py-2"},"Reviews given"),n("td",{class:"py-2"},"≥ threshold")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-2 font-mono text-xs"},"avg_review_time_hours"),n("td",{class:"py-2"},"Average review response"),n("td",{class:"py-2"},"≤ threshold (lower is better)")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-2 font-mono text-xs"},"longest_streak"),n("td",{class:"py-2"},"Consecutive active days"),n("td",{class:"py-2"},"≥ threshold")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-2 font-mono text-xs"},"perfect_prs"),n("td",{class:"py-2"},"PRs with no changes requested"),n("td",{class:"py-2"},"≥ threshold")]),n("tr",{class:"border-b border-gray-800"},[n("td",{class:"py-2 font-mono text-xs"},"issues_opened"),n("td",{class:"py-2"},"Issues created"),n("td",{class:"py-2"},"≥ threshold")]),n("tr",null,[n("td",{class:"py-2 font-mono text-xs"},"issues_closed"),n("td",{class:"py-2"},"Issues resolved/closed"),n("td",{class:"py-2"},"≥ threshold")])])])],-1),n("p",{class:"text-sm text-gray-400 mt-4"},[n("i",{class:"fas fa-shield-halved mr-1"}),C(" Achievement definitions are hardcoded and cannot be customized to prevent manipulation. ")],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[9]||(s[9]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-layer-group mr-2 text-accent-500"}),C(" Tiered Progression ")],-1),n("p",{class:"text-gray-400 mb-4"}," Most achievements have multiple tiers. As you progress, you unlock higher tiers: ",-1),n("div",{class:"grid grid-cols-2 sm:grid-cols-4 gap-2 sm:gap-3 mb-4"},[n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-gray-800 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-gray-400 text-white text-xs sm:text-sm font-bold"},"1"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-gray-300"},"Tier 1")])]),n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-gray-800 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-gray-500 text-white text-xs sm:text-sm font-bold"},"10"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-gray-300"},"Tier 2")])]),n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-green-900/20 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-green-500 text-white text-xs sm:text-sm font-bold"},"25"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-green-400"},"Tier 3")])]),n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-blue-900/20 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-blue-500 text-white text-xs sm:text-sm font-bold"},"50"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-blue-400"},"Tier 4")])]),n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-purple-900/20 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-purple-500 text-white text-xs sm:text-sm font-bold"},"100"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-purple-400"},"Tier 5")])]),n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-primary-900/20 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-primary-500 text-white text-xs sm:text-sm font-bold"},"250"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-primary-400"},"Tier 6")])]),n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-orange-900/20 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-orange-500 text-white text-xs sm:text-sm font-bold"},"500"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-orange-400"},"Tier 7")])]),n("div",{class:"flex items-center gap-2 p-2 sm:p-3 bg-yellow-900/20 rounded-lg"},[n("span",{class:"w-6 h-6 sm:w-8 sm:h-8 flex items-center justify-center rounded-full bg-gradient-to-r from-yellow-500 to-amber-500 text-white text-xs sm:text-sm font-bold"},"1k+"),n("div",{class:"text-xs sm:text-sm"},[n("span",{class:"font-medium text-yellow-400"},"Tier 8+")])])],-1),n("p",{class:"text-sm text-gray-400"}," The leaderboard shows only the highest tier achieved per category for each contributor. ",-1)])]),_:1})])])]),n("section",Vp,[n("div",Hp,[A(We,{title:"Data Sources",icon:"fab fa-github","icon-color":"text-gray-300"}),n("div",Bp,[A(ue,{class:"shadow-lg"},{default:j(()=>[...s[11]||(s[11]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fab fa-github mr-2 text-gray-300"}),C(" GitHub API Data ")],-1),n("div",{class:"grid sm:grid-cols-2 gap-6"},[n("div",null,[n("h4",{class:"font-medium text-gray-200 mb-3"},"Commits"),n("ul",{class:"text-sm text-gray-400 space-y-1"},[n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("SHA, message, timestamp")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Author (login, name, email)")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Additions, deletions, files changed")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Patch/diff for line analysis")])])]),n("div",null,[n("h4",{class:"font-medium text-gray-200 mb-3"},"Pull Requests"),n("ul",{class:"text-sm text-gray-400 space-y-1"},[n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("State (open, merged, closed)")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Author and timestamps")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Size (additions, deletions)")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Comments count")])])]),n("div",null,[n("h4",{class:"font-medium text-gray-200 mb-3"},"Reviews"),n("ul",{class:"text-sm text-gray-400 space-y-1"},[n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Review state (approved, changes requested)")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Reviewer login")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Submission timestamp")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Comment count")])])]),n("div",null,[n("h4",{class:"font-medium text-gray-200 mb-3"},"User Profiles"),n("ul",{class:"text-sm text-gray-400 space-y-1"},[n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("GitHub login (username)")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Display name")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Avatar URL")]),n("li",null,[n("i",{class:"fas fa-check text-green-500 mr-2"}),C("Public email (for deduplication)")])])])],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[12]||(s[12]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-calculator mr-2 text-blue-500"}),C(" Derived Metrics ")],-1),n("p",{class:"text-gray-400 mb-4"}," These metrics are calculated from raw data: ",-1),n("div",{class:"grid sm:grid-cols-2 gap-4 text-sm"},[n("div",{class:"p-3 bg-gray-800 rounded-lg"},[n("strong",{class:"text-gray-100"},"Meaningful Lines"),n("p",{class:"text-gray-400"},"Parsed from commit diffs, filtering comments/whitespace")]),n("div",{class:"p-3 bg-gray-800 rounded-lg"},[n("strong",{class:"text-gray-100"},"Average Review Time"),n("p",{class:"text-gray-400"},"Time between PR creation and first review")]),n("div",{class:"p-3 bg-gray-800 rounded-lg"},[n("strong",{class:"text-gray-100"},"Contribution Streaks"),n("p",{class:"text-gray-400"},"Consecutive days with activity")]),n("div",{class:"p-3 bg-gray-800 rounded-lg"},[n("strong",{class:"text-gray-100"},"Perfect PRs"),n("p",{class:"text-gray-400"},'PRs merged without "changes requested" reviews')]),n("div",{class:"p-3 bg-gray-800 rounded-lg"},[n("strong",{class:"text-gray-100"},"Out of Hours"),n("p",{class:"text-gray-400"},"Commits outside 9am-5pm based on commit timestamp")]),n("div",{class:"p-3 bg-gray-800 rounded-lg"},[n("strong",{class:"text-gray-100"},"Issue References"),n("p",{class:"text-gray-400"},"Commits containing #123 patterns (fixes, closes, resolves, refs)")])],-1)])]),_:1}),A(ue,{class:"shadow-lg"},{default:j(()=>[...s[13]||(s[13]=[n("h3",{class:"font-semibold text-gray-100 mb-4 flex items-center text-xl"},[n("i",{class:"fas fa-robot mr-2 text-red-500"}),C(" Bot Filtering ")],-1),n("p",{class:"text-gray-400 mb-4"}," By default, bot activity is excluded from metrics. The following patterns are automatically filtered: ",-1),n("div",{class:"flex flex-wrap gap-2"},[n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"*[bot]"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"dependabot*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"renovate*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"github-actions*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"codecov*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"snyk*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"greenkeeper*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"imgbot*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"allcontributors*"),n("code",{class:"px-2 py-1 bg-gray-700 rounded text-sm"},"semantic-release*")],-1),n("p",{class:"text-sm text-gray-400 mt-4"},[n("i",{class:"fas fa-cog mr-1"}),C(" Enable with "),n("code",{class:"text-primary-400"},"include_bots: true"),C(" or add custom patterns with "),n("code",{class:"text-primary-400"},"additional_bot_patterns"),C(". ")],-1)])]),_:1})])])])]))}},Up=[{path:"/",name:"dashboard",component:Xd},{path:"/leaderboard",name:"leaderboard",component:Bf},{path:"/how-scoring-works",name:"how-scoring-works",component:Gp},{path:"/repos/:owner/:name",name:"repository",component:dm},{path:"/teams/:slug",name:"team",component:Tm},{path:"/contributors/:login",name:"contributor",component:Ep}],Wp=pu({history:Kc(),routes:Up,scrollBehavior(){return{top:0}}}),ji=ic(Ou);ji.use(Wp);ji.mount("#app");